diff --git a/src/Messages.sh b/src/Messages.sh index 7bee801d..0eaaf4f3 100755 --- a/src/Messages.sh +++ b/src/Messages.sh @@ -1,14 +1,15 @@ #! /bin/sh # Messages.sh files must have one instance of the line with: # 'potfilename=.pot' # potfilename= must be at the start of the line and without spaces. # It must refer to one pot file only. # Release scripts rely on this. potfilename=calligraplan.pot source ../kundo2_aware_xgettext.sh # Note: Don't extract sub-directories: specifically not libs, workpackage and plugins. -$EXTRACTRC *.ui *.kcfg *.rc >> rc.cpp -kundo2_aware_xgettext $potfilename *.cpp about/*.cpp kptaboutdata.h +# NB! This means subdirs must be explicitly extracted! +$EXTRACTRC *.ui *.kcfg *.rc welcome/*.ui >> rc.cpp +kundo2_aware_xgettext $potfilename *.cpp about/*.cpp kptaboutdata.h welcome/*.cpp rm -f rc.cpp