PGOAL = booh
# ruby files to search translatable strings in
-RB_FILES = ../bin/booh ../lib/booh/html-merges.rb ../bin/booh-gui ../lib/booh/booh-lib.rb ../lib/booh/UndoHandler.rb
+RB_FILES = ../bin/booh ../bin/booh-classifier ../lib/booh/html-merges.rb ../bin/booh-backend ../lib/booh/booh-lib.rb ../lib/booh/UndoHandler.rb $(wildcard ../data/booh/themes/*/metadata/parameters.rb)
POFILES = $(wildcard *.po)
$(PGOAL).pot: $(RB_FILES)
rm -f $@
rgettext -o $@ $(RB_FILES)
+ perl -pi -e 's/, , \[ or \], sorry/, \\", [ or ], sorry/' $@
clean:
@rm -rf $(PGOAL).pot