[Freeciv-Dev] PATCH: po-file comment remove
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi,
as the comments copied to po-files move around in the file
with no real destination, they are a bit useless. Also I checked
all the copied comments and 99% of them are programmer comments
and not useful for translators. So here is a patch to
po/Makefile.in.in, which removes comments copy and thus also useless
comments from po-files. (removes argument --add-comments from xgettext
call).
Also added --escape to the arguments to convert the none-normal
characters to escape characters. This affects some of the gui-mui
strings, which use 0x1B escape character.
Ciao
____ _ _ ____ _ _ _ _ ____
| | | | | | \ / | | | the cool Gremlin from Bischofswerda
| __ | ____| | \/ | | | WWW: http://home.pages.de/~stoecker/
| | | | | | | | PGP key available on www page.
|____| _|_ |____| _|_ _|_ |____| I hope AMIGA never ends to make fun!
************************************************************************
* snail-mail: Dirk Stoecker * e-mail: *
* Geschwister-Scholl-Str. 10 * stoecker@xxxxxxxxxxxxxx *
* 01877 Bischofswerda * phone: *
* GERMANY * GERMANY +49 (0)3594/706666 *
************************************************************************
diff -ur ../../freeciv-cvs/freeciv/po/Makefile.in.in ./po/Makefile.in.in
--- ../../freeciv-cvs/freeciv/po/Makefile.in.in Wed Sep 6 10:08:29 2000
+++ ./po/Makefile.in.in Wed Sep 6 10:29:59 2000
@@ -84,8 +84,7 @@
$(srcdir)/$(PACKAGE).pot: $(POTFILES)
$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
- --add-comments --keyword=_ --keyword=N_ \
- --files-from=$(srcdir)/POTFILES.in \
+ --escape --keyword=_ --keyword=N_ --files-from=$(srcdir)/POTFILES.in \
&& test ! -f $(PACKAGE).po \
|| ( rm -f $(srcdir)/$(PACKAGE).pot \
&& mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
- [Freeciv-Dev] PATCH: po-file comment remove,
Dirk Stoecker <=
|
|