forked from openlp/openlp
Another small fix
This commit is contained in:
parent
7ac79f0ede
commit
12056b2849
@ -316,7 +316,7 @@ def check_format_strings():
|
|||||||
for num in tag.iter('numerusform'):
|
for num in tag.iter('numerusform'):
|
||||||
print_verbose('parsed numerusform: location: %s, source: %s, translation: %s' % (
|
print_verbose('parsed numerusform: location: %s, source: %s, translation: %s' % (
|
||||||
location, org_text, num.text))
|
location, org_text, num.text))
|
||||||
if org_text.count('%') != num.text.count('%'):
|
if num and org_text.count('%') != num.text.count('%'):
|
||||||
print_quiet(
|
print_quiet(
|
||||||
'ERROR: Translation from %s at line %s has a mismatch of format input:\n%s\n%s\n' % (
|
'ERROR: Translation from %s at line %s has a mismatch of format input:\n%s\n%s\n' % (
|
||||||
location, line, org_text, num.text))
|
location, line, org_text, num.text))
|
||||||
|
Loading…
Reference in New Issue
Block a user