- Bug in l10n utility where it only searched for used strings in src/??-??.h
  files instead of src/???-???.h
This commit is contained in:
Paul Beckingham 2014-07-05 11:21:10 -04:00
parent 3716e61259
commit d6c6245ca9

View file

@ -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):