diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-05 20:20:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-05 20:20:42 +0100 |
| commit | e4dc22a791e3607dc611762eb589c67340cc919e (patch) | |
| tree | 709e2345d33af78f08e4a2c9e5aab9d72043b18d | |
| parent | de2149c04aec596f372988d4e55c94f3fd72204b (diff) | |
Fix xgettext call with UTF8 source code.
| -rw-r--r-- | i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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=/ -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')): |
