diff --git a/android/assets/jsons/translations/template.properties b/android/assets/jsons/translations/template.properties index 09dc6b9a5d..1eed6d8f1f 100644 --- a/android/assets/jsons/translations/template.properties +++ b/android/assets/jsons/translations/template.properties @@ -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 = diff --git a/core/src/com/unciv/models/translations/TranslationFileWriter.kt b/core/src/com/unciv/models/translations/TranslationFileWriter.kt index 3cda8d8f0e..613f507725 100644 --- a/core/src/com/unciv/models/translations/TranslationFileWriter.kt +++ b/core/src/com/unciv/models/translations/TranslationFileWriter.kt @@ -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