order libc.pot by file

Bruno Haible haible@ilog.fr
Tue Feb 26 15:15:00 GMT 2002


Hi Ulrich,

Translating libc.pot is unnecessarily hard, because the translator's
brain has to constantly switch between RPC terms, NIS terms, and regex
terms. (Using current tools like po-mode or kbabel, the translator
deals with the messages in the order in which they appear in the pot
file.) It's easier if all messages coming from the same source file
are nearby.


2002-02-25  Bruno Haible  <bruno@clisp.org>

	* MakeTAGS (extract): Use --sort-by-file instead of --sort-output.

--- glibc-cvs/MakeTAGS.old	Tue Jul 10 22:57:40 2001
+++ glibc-cvs/MakeTAGS	Mon Feb 25 23:45:04 2002
@@ -139,7 +139,7 @@
 
 define extract
 @rm -f $@.new
-$(XGETTEXT) --keyword=_ --keyword=N_ --add-comments=TRANS  --sort-output \
+$(XGETTEXT) --keyword=_ --keyword=N_ --add-comments=TRANS  --sort-by-file \
 	    --omit-header -n -d - $(XGETTEXTFLAGS-$(@F)) > $@.new $^
 mv -f $@.new $@
 endef



More information about the Libc-alpha mailing list