Skip to content

Commit

Permalink
Added turkish lang.
Browse files Browse the repository at this point in the history
Updated Deutsch and Russian translations
  • Loading branch information
Wolfteam committed Dec 8, 2022
1 parent e806c4c commit 59675e1
Show file tree
Hide file tree
Showing 7 changed files with 510 additions and 46 deletions.
4 changes: 2 additions & 2 deletions lib/domain/app_constants.dart
Expand Up @@ -134,8 +134,7 @@ List<StatType> getCharacterPossibleAscensionStats() {
StatType.physDmgPercentage,
StatType.atkPercentage,
StatType.defPercentage,
//TODO: UNCOMMENT THIS ONE ON 3.0
// StatType.dendroDmgBonusPercentage,
StatType.dendroDmgBonusPercentage,
];
}

Expand All @@ -154,6 +153,7 @@ const languagesMap = {
AppLanguageType.traditionalChinese: LanguageModel('zh', 'TW'),
AppLanguageType.korean: LanguageModel('ko', 'KO'),
AppLanguageType.thai: LanguageModel('th', 'TH'),
AppLanguageType.turkish: LanguageModel('tr', 'TR'),
AppLanguageType.ukrainian: LanguageModel('uk', 'UA'),
};

Expand Down
1 change: 1 addition & 0 deletions lib/domain/enums/app_language_type.dart
Expand Up @@ -13,5 +13,6 @@ enum AppLanguageType {
traditionalChinese,
korean,
thai,
turkish,
ukrainian,
}
2 changes: 2 additions & 0 deletions lib/infrastructure/resources_service.dart
Expand Up @@ -611,6 +611,8 @@ class ResourceServiceImpl implements ResourceService {
return 'ko.json';
case AppLanguageType.thai:
return 'th.json';
case AppLanguageType.turkish:
return 'tr.json';
default:
throw Exception('Invalid language = $languageType');
}
Expand Down
42 changes: 21 additions & 21 deletions lib/l10n/intl_de.arb
Expand Up @@ -435,25 +435,25 @@
"regions": "Regionen",
"genders": "Geschlechter",
"perRegion": "Pro Region",
"currentResourcesVersion": "Current resources version: {version}",
"newResourcesVersion": "New resources version: {version}",
"retry": "Retry",
"continueLabel": "Continue",
"check": "Check",
"updatingResources": "Updating resources",
"resourceUpdateFailed": "Resource update failed",
"resourceUpdateCompleted": "Resource update was successfully applied",
"internetRequiredToUpdate": "Make sure you are connected to a stable internet connection",
"doNotCloseAppWhileUpdating": "Do not close the app while the update takes place",
"unknownErrorWhileUpdating": "Unknown error occurred while checking updates",
"newAppVersionInStore": "A new version of the app should be available in the store",
"beforeSendingEmailMsg": "Before sending an email, make sure you write in either english or spanish.\nIf you write in any other language I may not answer you.",
"checkForResourceUpdates": "Check for resource updates",
"updatesAvailable": "Updates available",
"noUpdatesAvailable": "No updates available",
"tryAgainLater": "Please try again later",
"applyUpdate": "Apply update",
"checkingForResourceUpdates": "Checking for resource updates...",
"startingFromVersionUpdateMsg": "Starting from version 1.6.0, resources will be updated on demand",
"updateMayTakeMinutes": "Depending on your internet connection, the update may take some minutes to complete"
"currentResourcesVersion": "aktuelle Ressourcen Version: {version}",
"newResourcesVersion": "Neue Ressourcen Version: {version}",
"retry": "Wiederholen",
"continueLabel": "Weiter",
"check": "Prüfe",
"updatingResources": "Ressourcen aktualisieren",
"resourceUpdateFailed": "Ressourcenaktualisierung fehlgeschlagen",
"resourceUpdateCompleted": "Ressourcenaktualisierung erfolgreich abgeschlossen",
"internetRequiredToUpdate": "Für die Ressourcenaktualisierung wird eine stabile Internetverbindung benötigt",
"doNotCloseAppWhileUpdating": "Schließe die App während der Aktualisierung nicht",
"unknownErrorWhileUpdating": "Ein unbekannter Fehler trat während der Aktualisierung auf",
"newAppVersionInStore": "Eine neue Version der App sollte im Store verfügbar sein",
"beforeSendingEmailMsg": "Bevor Sie eine E-Mail senden, vergewissern Sie sich, dass Sie entweder auf Englisch oder auf Spanisch schreiben..\nWenn Sie in einer anderen Sprache schreiben, kann ich Ihnen nicht antworten..",
"checkForResourceUpdates": "Nach Ressourcenaktualisierungen suchen",
"updatesAvailable": "Updates verfügbar",
"noUpdatesAvailable": "keine Updates verfügbar",
"tryAgainLater": "Bitte versuchen Sie es später noch einmal",
"applyUpdate": "Update anwenden",
"checkingForResourceUpdates": "Prüfen auf Ressourcen-Updates...",
"startingFromVersionUpdateMsg": "Ab der Version 1.6.0 werden die Ressourcen bei Bedarf aktualisiert",
"updateMayTakeMinutes": "Je nach Ihrer Internetverbindung kann die Aktualisierung einige Minuten dauern."
}
46 changes: 23 additions & 23 deletions lib/l10n/intl_ru.arb
Expand Up @@ -53,7 +53,7 @@
"elementalReactionsExplained": "Комбинации разных элементов дают разные элементарные реакции",
"elementalResonances": "Элементальный резонанс",
"elementalResonancesExplained": "Наличие в вашей отряде персонажей таких типов дает соответствующие эффекты",
"todayAscensionMaterials": "Ежедневный сбор",
"todayAscensionMaterials": "Ежедневный збор",
"seeAll": "Показать все",
"characters": "Персонажи",
"weapons": "Оружие",
Expand Down Expand Up @@ -399,7 +399,7 @@
"restorePurchaseMsgA": "Введите пользовательский ID, который вы использовали ранее.",
"restorePurchaseSucceed": "Покупки успешно восстановлены",
"restorePurchaseError": "Покупки НЕ были успешно восстановлены",
"collapse": "Краш",
"collapse": "Коллапс",
"useDarkAmoledTheme": "Использовать черную amoled тему",
"unlockedWithDonation": "Разблокируается с помощью пожертвования",
"bannerHistory": "История баннера",
Expand Down Expand Up @@ -435,25 +435,25 @@
"regions": "Регионы",
"genders": "Пол",
"perRegion": "По регионам",
"currentResourcesVersion": "Current resources version: {version}",
"newResourcesVersion": "New resources version: {version}",
"retry": "Retry",
"continueLabel": "Continue",
"check": "Check",
"updatingResources": "Updating resources",
"resourceUpdateFailed": "Resource update failed",
"resourceUpdateCompleted": "Resource update was successfully applied",
"internetRequiredToUpdate": "Make sure you are connected to a stable internet connection",
"doNotCloseAppWhileUpdating": "Do not close the app while the update takes place",
"unknownErrorWhileUpdating": "Unknown error occurred while checking updates",
"newAppVersionInStore": "A new version of the app should be available in the store",
"beforeSendingEmailMsg": "Before sending an email, make sure you write in either english or spanish.\nIf you write in any other language I may not answer you.",
"checkForResourceUpdates": "Check for resource updates",
"updatesAvailable": "Updates available",
"noUpdatesAvailable": "No updates available",
"tryAgainLater": "Please try again later",
"applyUpdate": "Apply update",
"checkingForResourceUpdates": "Checking for resource updates...",
"startingFromVersionUpdateMsg": "Starting from version 1.6.0, resources will be updated on demand",
"updateMayTakeMinutes": "Depending on your internet connection, the update may take some minutes to complete"
"currentResourcesVersion": "Текущая версия ресурсов: {version}",
"newResourcesVersion": "Новая версия ресурсов {version}",
"retry": "Повторить",
"continueLabel": "Продолжить",
"check": "Проверить",
"updatingResources": "Обновить ресурсы",
"resourceUpdateFailed": "Обновление ресурса не удалось",
"resourceUpdateCompleted": "Обновление ресурса было успешно применено",
"internetRequiredToUpdate": "Убедитесь, что вы подключены к стабильному интернет-соединению",
"doNotCloseAppWhileUpdating": "Не закрывайте приложение во время обновления",
"unknownErrorWhileUpdating": "Произошла неизвестная ошибка при проверке обновлений",
"newAppVersionInStore": "Новая версия приложения должна быть доступна в магазине",
"beforeSendingEmailMsg": "Прежде чем отправить письмо, убедитесь, что вы пишете на английском или испанском языке.\nЕсли вы напишете на любом другом языке, я возможно не отвечу вам.",
"checkForResourceUpdates": "Проверка обновлений ресурсов",
"updatesAvailable": "Доступны обновления",
"noUpdatesAvailable": "Нет доступных обновлений",
"tryAgainLater": "Пожалуйста, попробуйте позже",
"applyUpdate": "Применить обновление",
"checkingForResourceUpdates": "Проверка обновлений ресурсов...",
"startingFromVersionUpdateMsg": "Начиная с версии 1.6.0, ресурсы будут обновляться по требованию",
"updateMayTakeMinutes": "В зависимости от вашего интернет-соединения обновление может занять несколько минут."
}

0 comments on commit 59675e1

Please sign in to comment.