projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2149c
)
Fix xgettext call with UTF8 source code.
author
Carl Hetherington
<cth@carlh.net>
Sun, 5 May 2019 19:20:42 +0000
(20:20 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 5 May 2019 19:20:42 +0000
(20:20 +0100)
i18n.py
patch
|
blob
|
history
diff --git
a/i18n.py
b/i18n.py
index 935bc3461b8792b665af79f8cb143997d2a77794..a3589ff82747b9e84c54ba6a3536181d1b480b41 100644
(file)
--- 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=/ -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')):