add translator comments in pot/po files

This commit is contained in:
Yann Leboulanger 2018-03-25 21:09:13 +02:00
parent 5874f5c388
commit 039f2215dc
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def update_trans():
os.path.join(root, f)) and (f.endswith('.py') or f.endswith('.ui'))] 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.desktop.in"))
files.append(os.path.join("data", "org.gajim.Gajim.appdata.xml.in")) files.append(os.path.join("data", "org.gajim.Gajim.appdata.xml.in"))
cmd = 'xgettext --from-code=utf-8 --keyword=Q_ -o %s %s' % ( cmd = 'xgettext -c# --from-code=utf-8 --keyword=Q_ -o %s %s' % (
template, " ".join(files)) template, " ".join(files))
if os.system(cmd) != 0: if os.system(cmd) != 0:
msg = "ERROR: %s could not be created!\n" % template msg = "ERROR: %s could not be created!\n" % template