lang-check: print a warning if cols!=20 on multiline messages
This commit is contained in:
parent
71ab3a9d53
commit
340928acc3
@ -84,6 +84,8 @@ def parse_txt(lang, no_warning):
|
||||
cols = len(translation) # propably fullscreen
|
||||
if rows is None:
|
||||
rows = 1
|
||||
elif rows > 1 and cols != 20:
|
||||
print(yellow("[W]: Multiple rows with odd number of columns on line %d" % lines))
|
||||
|
||||
if (rows_count_translation > rows_count_source and rows_count_translation > rows) or \
|
||||
(rows == 1 and len(translation) > cols):
|
||||
|
Loading…
Reference in New Issue
Block a user