'update_po.py' should use python3
Revert temp workaround for el, vi, zh* translations
This commit is contained in:
parent
40ed6ed31a
commit
dc90fd866d
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/env python
|
||||
#! /usr/bin/env python3
|
||||
#
|
||||
# update_po - a gramps tool to update translations
|
||||
#
|
||||
@ -62,7 +62,7 @@ if sys.platform == 'win32':
|
||||
msgfmtCmd = os.path.join('C:', 'Program Files(x86)', 'gettext', 'bin', 'msgfmt.exe')
|
||||
msgattribCmd = os.path.join('C:', 'Program Files(x86)', 'gettext', 'bin', 'msgattrib.exe')
|
||||
xgettextCmd = os.path.join('C:', 'Program Files(x86)', 'gettext', 'bin', 'xgettext.exe')
|
||||
pythonCmd = os.path.join(sys.prefix, 'bin', 'python.exe')
|
||||
pythonCmd = os.path.join(sys.prefix, 'bin', 'python3.exe')
|
||||
|
||||
# Others OS
|
||||
|
||||
@ -71,7 +71,7 @@ elif sys.platform in ['linux', 'linux2', 'darwin', 'cygwin']:
|
||||
msgfmtCmd = 'msgfmt'
|
||||
msgattribCmd = 'msgattrib'
|
||||
xgettextCmd = 'xgettext'
|
||||
pythonCmd = os.path.join(sys.prefix, 'bin', 'python')
|
||||
pythonCmd = os.path.join(sys.prefix, 'bin', 'python3')
|
||||
else:
|
||||
print("Found platform %s, OS %s" % (sys.platform, os.name))
|
||||
print ("Update PO ERROR: unknown system, don't know msgmerge, ... commands")
|
||||
|
Loading…
Reference in New Issue
Block a user