Cosmetics - translations alignment
This commit is contained in:
+914
-914
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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 + " ")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user