mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 00:43:07 +02:00
L10N
- Bug in l10n utility where it only searched for used strings in src/??-??.h files instead of src/???-???.h
This commit is contained in:
parent
3716e61259
commit
d6c6245ca9
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue