1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-20 06:45:10 +03:00

Cosmetics - translations alignment

This commit is contained in:
Bertrand Songis 2016-11-29 18:11:56 +01:00
parent 7ee85da0cf
commit 9ab415dadb
2 changed files with 915 additions and 915 deletions

View file

@ -20,7 +20,7 @@ def addLine(filename, newline, after):
def modifyTranslations(constant, translation, after): def modifyTranslations(constant, translation, after):
for filename in glob.glob('translations/*.h.txt'): for filename in glob.glob('translations/*.h.txt'):
newline = "#define " + constant + " " * max(1, 23 - len(constant)) + '"' + translation + '"' newline = "#define " + constant + " " * max(1, 31 - len(constant)) + '"' + translation + '"'
addLine(filename, newline, after + " ") addLine(filename, newline, after + " ")