[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] Use xgettext instead of deprecated pygettext.

From: Konstantin Mochalov
Subject: [Maposmatic-dev] [PATCH] Use xgettext instead of deprecated pygettext.
Date: Tue, 3 Apr 2012 13:48:43 +0400

>From pygettext man:

pygettext  is deprecated. The current version of xgettext supports many
       languages, including Python.
--- |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ b/
index af45924..a241dc7 100755
--- a/
+++ b/
@@ -30,7 +30,8 @@ import subprocess
 def make_pot():
     print "Make locale/ocitysmap.pot"
-    subprocess.check_call(['pygettext', '-o', 'ocitysmap.pot', '-p', 'locale',
+    subprocess.check_call(['xgettext', '-o', 'ocitysmap.pot', '-p', 'locale',
+                           '-L', 'Python',

reply via email to

[Prev in Thread] Current Thread [Next in Thread]