mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-13 17:28:57 +07:00
Resolved #2761 - Tutorial titles are auto-added to the translation files
This commit is contained in:
@ -124,6 +124,8 @@ object TranslationFileWriter {
|
||||
|
||||
var uniqueIndexOfNewLine = 0
|
||||
for (tutorial in tutorials) {
|
||||
if (!tutorial.key.startsWith('_'))
|
||||
tutorialsStrings.add("${tutorial.key.replace('_', ' ')} = ")
|
||||
for (str in tutorial.value)
|
||||
if (str != "") tutorialsStrings.add("$str = ")
|
||||
// This is a small hack to insert multiple /n into the set, which can't contain identical lines
|
||||
|
Reference in New Issue
Block a user