This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
order libc.pot by file
- From: Bruno Haible <haible at ilog dot fr>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 25 Feb 2002 23:51:28 +0100 (CET)
- Subject: order libc.pot by file
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