|
@@ -115,7 +115,7 @@ def parse_txt(lang, no_warning):
|
|
|
comment = src.readline().split(' ')
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
cols = None
|
|
|
rows = None
|
|
|
for item in comment[1:]:
|
|
@@ -139,7 +139,7 @@ def parse_txt(lang, no_warning):
|
|
|
elif rows > 1 and cols != 20:
|
|
|
print(yellow("[W]: Multiple rows with odd number of columns on line %d" % lines))
|
|
|
|
|
|
-
|
|
|
+
|
|
|
source = src.readline()[:-1].strip('"')
|
|
|
|
|
|
translation = src.readline()[:-1].strip('"')
|
|
@@ -156,7 +156,6 @@ def parse_txt(lang, no_warning):
|
|
|
rows_count_source = len(wrapped_source)
|
|
|
wrapped_translation = wrap_text(translation, cols)
|
|
|
rows_count_translation = len(wrapped_translation)
|
|
|
-
|
|
|
|
|
|
|
|
|
if not no_warning:
|