From 69456b34e5dec0bacb19efa0eb5f8e66961939c3 Mon Sep 17 00:00:00 2001 From: romjerome Date: Sun, 23 Oct 2016 15:52:23 +0200 Subject: [PATCH] 9328: enable debug flag on 'xgettext' for python files --- po/update_po.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/update_po.py b/po/update_po.py index 1dc69d55d..70d9a9565 100644 --- a/po/update_po.py +++ b/po/update_po.py @@ -631,7 +631,7 @@ def retrieve(): # additional keywords must always be kept in sync with those in genpot.sh os.system('''%(xgettext)s -F -c -j --directory=./ -d gramps ''' '''-L Python -o gramps.pot --files-from=python.txt ''' - '''--keyword=_ --keyword=ngettext ''' + '''--debug --keyword=_ --keyword=ngettext ''' '''--keyword=_T_ --keyword=trans_text ''' '''--keyword=sgettext --from-code=UTF-8''' % {'xgettext': xgettextCmd} )