From 9119fbef39b3efab3d2fcef8857e0de83e2892bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Mon, 8 Jan 2018 00:08:12 +0100 Subject: [PATCH] xgettext: Additional keyword for translatable strings --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 setup.py diff --git a/setup.py b/setup.py old mode 100755 new mode 100644 index 8c93f9906..b0ef1dcc1 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ def update_trans(): os.path.join(root, f)) and (f.endswith('.py') or f.endswith('.ui'))] files.append(os.path.join("data", "org.gajim.Gajim.desktop.in")) files.append(os.path.join("data", "org.gajim.Gajim.appdata.xml.in")) - cmd = 'xgettext --from-code=utf-8 -o %s %s' % ( + cmd = 'xgettext --from-code=utf-8 --keyword=Q_ -o %s %s' % ( template, " ".join(files)) if os.system(cmd) != 0: msg = "ERROR: %s could not be created!\n" % template