mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 02:09:21 +07:00
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:
@ -710,6 +710,7 @@ HIGHLY EXPERIMENTAL - YOU HAVE BEEN WARNED! =
|
|||||||
Enable portrait orientation =
|
Enable portrait orientation =
|
||||||
Generate translation files =
|
Generate translation files =
|
||||||
Translation files are generated successfully. =
|
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. =
|
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 =
|
Font family =
|
||||||
Default Font =
|
Default Font =
|
||||||
|
@ -49,7 +49,7 @@ object TranslationFileWriter {
|
|||||||
writeLanguagePercentages(modPercentages, modFolder) // unused by the game but maybe helpful for the mod developer
|
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)
|
writeTranslatedFastlaneFiles(translations)
|
||||||
} catch (ex: Throwable) {
|
} catch (ex: Throwable) {
|
||||||
ex.printStackTrace()
|
ex.printStackTrace()
|
||||||
@ -491,7 +491,7 @@ object TranslationFileWriter {
|
|||||||
writeFastlaneFiles(fullDescriptionFile, translations[fullDescriptionKey], true)
|
writeFastlaneFiles(fullDescriptionFile, translations[fullDescriptionKey], true)
|
||||||
updateFastlaneChangelog()
|
updateFastlaneChangelog()
|
||||||
|
|
||||||
return "Fastlane files are generated successfully."
|
return "Fastlane files are generated successfully.".tr()
|
||||||
} catch (ex: Throwable) {
|
} catch (ex: Throwable) {
|
||||||
ex.printStackTrace()
|
ex.printStackTrace()
|
||||||
return ex.localizedMessage ?: ex.javaClass.simpleName
|
return ex.localizedMessage ?: ex.javaClass.simpleName
|
||||||
|
Reference in New Issue
Block a user