[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [gettor/master] Add a hint on how to create the .pot file
commit ac7d4da047ca7d9a74fd9d63315770f3a406df3a
Author: Christian Fromme <kaner@xxxxxxxxxx>
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.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits