From 1c8963553202ccad84a0bd1de7f8a2c078b28fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Tue, 13 Mar 2012 07:10:48 +0000 Subject: [PATCH] 5621: minor issue on references for extracting messages svn: r19051 --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index b6e306083..1437eaa0e 100644 --- a/setup.py +++ b/setup.py @@ -300,7 +300,6 @@ def glade(): 'src/plugins/tool/mergecitations.glade', 'src/plugins/tool/ownereditor.glade', 'src/plugins/tool/patchnames.glade', - 'src/plugins/tool/phpgedview.glade', 'src/plugins/tool/relcalc.glade', 'src/plugins/tool/soundgen.glade', 'src/plugins/tool/removeunused.glade', @@ -322,7 +321,8 @@ class ExtractMessages(Command): def initialize_options(self): for g in glade(): os.system('''intltool-extract --type=gettext/glade %s''' % g) - os.system('''intltool-extract --type=gettext/xml src/data/tips.xml.in''') + os.system('''intltool-extract --type=gettext/xml src/data/tips.xml.in''') + os.system('''intltool-extract --type=gettext/xml src/plugins/lib/holidays.xml.in''') os.system('''intltool-extract --type=gettext/xml data/gramps.xml.in''') os.system('''intltool-extract --type=gettext/ini data/gramps.desktop.in''') os.system('''intltool-extract --type=gettext/keys data/gramps.keys.in''') @@ -362,7 +362,8 @@ class ExtractMessages(Command): # glade (gramps.glade + gramps.plugins - POTFILES.skip ???) os.system('''xgettext -j --keyword=N_ --from-code=UTF-8''' ''' -o "po/gramps.pot" ''' - '''src/*/*.glade.h src/*/*/*.glade */*.in.h */*/*.in.h''') + '''src/*/*.glade.h src/*/*/*.glade ''' + ''' */*.in.h */*/*.in.h */*/*/*.in.h''') def finalize_options (self): pass @@ -396,7 +397,6 @@ class BuildData(build): #os.system('./autogen.sh') # related translations files os.system('intltool-merge -d po/ data/gramps.desktop.in data/gramps.desktop') - os.system('intltool-merge -x po/gramps.pot src/data/tips.xml.in src/data/tips.xml') os.system('intltool-merge -x po/ data/gramps.xml.in data/gramps.xml') os.system('intltool-merge -k po/ data/gramps.keys.in data/gramps.keys')