From dc90fd866d4590a115c2b51b04c6f792617fdeac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 28 Jul 2015 20:56:23 +0200 Subject: [PATCH] 'update_po.py' should use python3 Revert temp workaround for el, vi, zh* translations --- po/update_po.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/update_po.py b/po/update_po.py index a8f05b47d..92e8d7528 100644 --- a/po/update_po.py +++ b/po/update_po.py @@ -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")