|
@@ -107,5 +107,5 @@ shutil.move("tools.pot", "tools/translations/tools.pot")
|
|
if (os.name == "posix"):
|
|
if (os.name == "posix"):
|
|
added = subprocess.check_output("git diff tools/translations/tools.pot | grep \+msgid | wc -l", shell = True)
|
|
added = subprocess.check_output("git diff tools/translations/tools.pot | grep \+msgid | wc -l", shell = True)
|
|
removed = subprocess.check_output("git diff tools/translations/tools.pot | grep \\\-msgid | wc -l", shell = True)
|
|
removed = subprocess.check_output("git diff tools/translations/tools.pot | grep \\\-msgid | wc -l", shell = True)
|
|
- print("Template changes compared to the staged status:")
|
|
|
|
- print(" Additions: %s msgids.\n Deletions: %s msgids." % (int(added), int(removed)))
|
|
|
|
|
|
+ print("\n# Template changes compared to the staged status:")
|
|
|
|
+ print("# Additions: %s msgids.\n# Deletions: %s msgids." % (int(added), int(removed)))
|