Skip to content
Snippets Groups Projects
Commit 71e16133 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

Merge branch 'gettext' into 'master'

xgettext: Additional keyword for translatable strings

See merge request gajim/gajim!184
parents 8b2732cf 9119fbef
No related branches found
No related tags found
No related merge requests found
setup.py 100755 → 100644
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment