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:
parent
7ee85da0cf
commit
9ab415dadb
2 changed files with 915 additions and 915 deletions
|
@ -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 + " ")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue