mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 13:25:20 +03:00
Cosmetics - translations alignment
This commit is contained in:
parent
7ee85da0cf
commit
9ab415dadb
2 changed files with 915 additions and 915 deletions
File diff suppressed because it is too large
Load diff
|
@ -20,7 +20,7 @@ def addLine(filename, newline, after):
|
|||
|
||||
def modifyTranslations(constant, translation, after):
|
||||
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 + " ")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue