From d6c6245ca9c7481cc5628d0b855acdc14b638329 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 5 Jul 2014 11:21:10 -0400 Subject: [PATCH] L10N - Bug in l10n utility where it only searched for used strings in src/??-??.h files instead of src/???-???.h --- scripts/utils/l10n | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils/l10n b/scripts/utils/l10n index f65faf7ce..81fac8449 100755 --- a/scripts/utils/l10n +++ b/scripts/utils/l10n @@ -73,7 +73,7 @@ def is_present(translations, file, string): def used_in_source(source, string): '''Determines if the string is used in the source.''' - command = "git grep %s %s | grep -v [a-z][a-z]-[A-Z][A-Z].h >/dev/null 2>&1" % (string, source) + command = "git grep %s %s | grep -v [a-z][a-z][a-z]-[A-Z][A-Z][A-Z].h >/dev/null 2>&1" % (string, source) return True if os.system(command) == 0 else False def is_translated(translations, file, string):