Resolved #2761 - Tutorial titles are auto-added to the translation files

This commit is contained in:
Yair Morgenstern
2020-06-24 23:44:17 +03:00
parent 213f71def3
commit a23d9ff291
24 changed files with 744 additions and 652 deletions

View File

@ -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