Skip to content

Commit

Permalink
remove debug output ref #12 #14275
Browse files Browse the repository at this point in the history
Signed-off-by: m-kro <m.barthauer@t-online.de>
  • Loading branch information
m-kro committed Jan 30, 2024
1 parent 675366b commit ae26fef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/build_config/updateMessageIDs.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,6 @@ def processRules(poFilePath, replaceRules, options, markObsolete=False, filterID
len(options.placeholder) + len(str(i)))
i += 1
for replaceRule in replaceRules:
if entry.msgstr.startswith("There is unsaved"):
print("%s newline %s origin string %s" % (entry.msgstr, "\n" in entry.msgstr, entry.msgstr ==
"There is unsaved changes in current edited traffic light.\n"
"Do you want to save it before changing mode?"))
if options.strict and replaceRule[0] == entry.msgstr:
replaced = replaceRule[1]
elif replaceRule[3] and not replaceRule[4] and entry.msgstr.startswith(replaceRule[0]): # starts with ...
Expand Down

0 comments on commit ae26fef

Please sign in to comment.