From 114b46201c82b077fac1c188fb04f1e40ca25553 Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Wed, 14 Sep 2022 07:38:06 +0200 Subject: [PATCH] Fix lang-check.py --- lang/lang-check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/lang-check.py b/lang/lang-check.py index 38144f00..dc6d80e4 100755 --- a/lang/lang-check.py +++ b/lang/lang-check.py @@ -167,7 +167,7 @@ def check_translation(entry, msgids, is_pot, no_warning, no_suggest, warn_empty, errors += 1 print(yellow("[W]: No usable display definition on line %d" % line)) # probably fullscreen, guess from the message length to continue checking - cols = len(LCD_WIDTH) + cols = LCD_WIDTH if cols > LCD_WIDTH: errors += 1 print(yellow("[W]: Invalid column count on line %d" % line))