From 66236192e8373c98d314fc4eba2e8c2ffceae615 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 17 Dec 2021 05:32:24 +0200 Subject: [PATCH 34/34] scripts/potfiles: Add *.tilespec to list of files to search strings from See osdn #43376 Signed-off-by: Marko Lindqvist --- scripts/potfiles | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/potfiles b/scripts/potfiles index 1e7112ad17..e110a63c0a 100755 --- a/scripts/potfiles +++ b/scripts/potfiles @@ -2,7 +2,7 @@ domains="core nations ruledit" -if test "$1" == "" ; then +if test "$1" == "" ; then echo Usage: $0 '' exit 1; fi @@ -20,7 +20,7 @@ cat $POTLIST | grep -v "^#" | sed "s,^,$1," | sort > /tmp/potfile echo Suggestions for addition or removal of files with translatable strings to/from POTFILES.in: echo Please check the output manually -find "$1" -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.sav' -o -name '*.lua' -o -name '*.ruleset' -o -name '*.txt' -o -name '*.in' | +find "$1" -name '*.c' -o -name '*.cpp' -o -name '*.h' -o -name '*.sav' -o -name '*.lua' -o -name '*.ruleset' -o -name '*.tilespec' -o -name '*.txt' -o -name '*.in' | xargs grep -l -I '_("' | sort | diff -u /tmp/potfile - | -- 2.34.1