From a9e53d92ff96589131ba241e5faf8bb15e6d5843 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 23 Sep 2021 17:14:31 +0200 Subject: [PATCH] Tools: small fix in crowdin script --- src/Tools/updatecrowdin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tools/updatecrowdin.py b/src/Tools/updatecrowdin.py index 835b54a161..30d69deaaf 100755 --- a/src/Tools/updatecrowdin.py +++ b/src/Tools/updatecrowdin.py @@ -301,7 +301,7 @@ def updateTranslatorCpp(lncode): if l.startswith(" d->mapLanguageTopLevelDomain[QT_TR_NOOP("): lastentry = i if "\""+lncode+"\"" in l: - print(lnname+" ("+lncode+") already exists in Translator.cpp") + #print(lnname+" ("+lncode+") already exists in Translator.cpp") return # find the position to insert @@ -313,7 +313,7 @@ def updateTranslatorCpp(lncode): # inserting new entry just before the above line line = " d->mapLanguageTopLevelDomain[QT_TR_NOOP(\""+lnname+"\")] = \""+lncode+"\";\n" cppcode.insert(pos,line) - print(lnname+" ("+lncode+") inserted in Translator.cpp") + print(lnname+" ("+lncode+") added Translator.cpp") # writing the file f = open(cppfile,"w")