From f4cf0efe270ca8b47891709e12b579964afbc1b6 Mon Sep 17 00:00:00 2001 From: Michele Date: Thu, 16 May 2024 17:11:02 +0200 Subject: [PATCH] Fix validator column overflow --- validator/CSVValidator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validator/CSVValidator.py b/validator/CSVValidator.py index 973f5f9..174aba3 100644 --- a/validator/CSVValidator.py +++ b/validator/CSVValidator.py @@ -214,7 +214,7 @@ def process_file(self, filename: str): " because in ignore list!\n\n") else: # Check if we want to print a remainder to update the lines - if ("PLEASE UPDATE" in str(row[2])) or ((str(row[5])).strip()): + if ("PLEASE UPDATE" in str(row[2])) or "Required" in str(row[5]) or ((str(row[5])).strip()): warnings_found += 1 file_manager.write_line_separator(str(line_counter)) file_manager.write_string_to_file( @@ -222,7 +222,7 @@ def process_file(self, filename: str): "This line may be marked with [PLEASE UPDATE]. " + "Check if you need to update it \n" + "Description: " + str(row[2]) + "\n" + - "Please Update: " + str(row[6]) + "\n" + + "Please Update: " + str(row[5]) + "\n" + "Original: " + str(row[3]) + "\n" + "Translated: " + str(row[4]) + "\n\n") # Check deprecation first