Translated strings after generating translation files from Adv Opt. (#7209)

* Translated strings after generating translation files from Adv Opt.

* Amend missing space at the end of the line
This commit is contained in:
Joan Josep
2022-06-18 20:43:30 +02:00
committed by GitHub
parent c84580c71e
commit 1facd97782
2 changed files with 3 additions and 2 deletions

View File

@ -710,6 +710,7 @@ HIGHLY EXPERIMENTAL - YOU HAVE BEEN WARNED! =
Enable portrait orientation =
Generate translation files =
Translation files are generated successfully. =
Fastlane files are generated successfully. =
Please note that translations are a community-based work in progress and are INCOMPLETE! The percentage shown is how much of the language is translated in-game. If you want to help translating the game into your language, click here. =
Font family =
Default Font =

View File

@ -49,7 +49,7 @@ object TranslationFileWriter {
writeLanguagePercentages(modPercentages, modFolder) // unused by the game but maybe helpful for the mod developer
}
return "Translation files are generated successfully.\n" +
return "Translation files are generated successfully.".tr() + "\n" +
writeTranslatedFastlaneFiles(translations)
} catch (ex: Throwable) {
ex.printStackTrace()
@ -491,7 +491,7 @@ object TranslationFileWriter {
writeFastlaneFiles(fullDescriptionFile, translations[fullDescriptionKey], true)
updateFastlaneChangelog()
return "Fastlane files are generated successfully."
return "Fastlane files are generated successfully.".tr()
} catch (ex: Throwable) {
ex.printStackTrace()
return ex.localizedMessage ?: ex.javaClass.simpleName