[tor-commits] [gettor/master] Add a hint on how to create the .pot file

kaner at torproject.org kaner at torproject.org
Sat Sep 10 09:56:45 UTC 2011


commit ac7d4da047ca7d9a74fd9d63315770f3a406df3a
Author: Christian Fromme <kaner at strace.org>
Date:   Sat Sep 10 11:56:08 2011 +0200

    Add a hint on how to create the .pot file
---
 README.locale-spec-draft |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/README.locale-spec-draft b/README.locale-spec-draft
index ade531a..c60a41a 100644
--- a/README.locale-spec-draft
+++ b/README.locale-spec-draft
@@ -33,6 +33,10 @@ This will allow the user to interact without any knowledge of locales.
 GENERATING .po/.pot FILES
 -------------------------
 
+In the top level directory of the gettor source, run the following command:
+
+xgettext lib/gettor/i18n.py -dgettor --from-code=utf-8 -o i18n/templates/gettor.pot 
+
 Don't worry about generating .po files anymore. All that's needed for 
 Transifex to generate the .po files for us it to push the gettor .pot file
 to gettor.git's master branch.



More information about the tor-commits mailing list