3d-gussner před 2 roky
rodič
revize
114b46201c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lang/lang-check.py

+ 1 - 1
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))