From 340928acc3fcd7e700a51de5f6bada7b1303863d Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Fri, 23 Apr 2021 15:03:44 +0200 Subject: [PATCH] lang-check: print a warning if cols!=20 on multiline messages --- lang/lang-check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/lang-check.py b/lang/lang-check.py index 62ba0252..5647e88c 100755 --- a/lang/lang-check.py +++ b/lang/lang-check.py @@ -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):