X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=i18n.py;h=f2b03215784abd451e8d3f4b034bc17918aaa140;hb=2ecd5036a065e5bfe6109a972853c97c421f4691;hp=935bc3461b8792b665af79f8cb143997d2a77794;hpb=591dc9ed8fc748d5e594b337d03f22d897610eff;p=dcpomatic.git diff --git a/i18n.py b/i18n.py index 935bc3461..f2b032157 100644 --- a/i18n.py +++ b/i18n.py @@ -20,7 +20,7 @@ def pot(dir, sources, name): except: pass - command('xgettext -d %s -s --keyword=_ --keyword=S_ --add-comments=/ -p %s -o %s.pot %s' % (name, d, name, s)) + command('xgettext --from-code=UTF-8 -d %s -s --keyword=_ --keyword=S_ --add-comments=TRANSLATORS: -p %s -o %s.pot %s' % (name, d, name, s)) def pot_merge(dir, name): for f in glob.glob(os.path.join(os.getcwd(), dir, 'po', '*.po')):