Skip to content

Commit

Permalink
Added the game regions to the i10n files
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Mar 5, 2021
1 parent 85c35fb commit 062b8b8
Show file tree
Hide file tree
Showing 7 changed files with 115 additions and 10 deletions.
7 changes: 7 additions & 0 deletions lib/generated/intl/messages_en.dart
Expand Up @@ -159,6 +159,7 @@ class MessageLookup extends MessageLookupByLibrary {
"female" : MessageLookupByLibrary.simpleMessage("Female"),
"filters" : MessageLookupByLibrary.simpleMessage("Filters"),
"flower" : MessageLookupByLibrary.simpleMessage("Flower"),
"fontaine" : MessageLookupByLibrary.simpleMessage("Fontaine"),
"forCharacters" : MessageLookupByLibrary.simpleMessage("For characters"),
"forWeapons" : MessageLookupByLibrary.simpleMessage("For weapons"),
"french" : MessageLookupByLibrary.simpleMessage("French"),
Expand All @@ -177,10 +178,12 @@ class MessageLookup extends MessageLookupByLibrary {
"hpPercentage" : m15,
"hydro" : MessageLookupByLibrary.simpleMessage("Hydro"),
"imgSavedSuccessfully" : MessageLookupByLibrary.simpleMessage("Image was successfully saved to the gallery"),
"inazuma" : MessageLookupByLibrary.simpleMessage("Inazuma"),
"issues" : MessageLookupByLibrary.simpleMessage("Issues"),
"language" : MessageLookupByLibrary.simpleMessage("Language"),
"level" : MessageLookupByLibrary.simpleMessage("Level"),
"light" : MessageLookupByLibrary.simpleMessage("Light"),
"liyue" : MessageLookupByLibrary.simpleMessage("Liyue"),
"loading" : MessageLookupByLibrary.simpleMessage("Loading"),
"localSpecialities" : MessageLookupByLibrary.simpleMessage("Local Specialities"),
"location" : MessageLookupByLibrary.simpleMessage("Location"),
Expand All @@ -190,8 +193,10 @@ class MessageLookup extends MessageLookupByLibrary {
"materials" : MessageLookupByLibrary.simpleMessage("Materials"),
"maybeLater" : MessageLookupByLibrary.simpleMessage("Maybe later"),
"monday" : MessageLookupByLibrary.simpleMessage("Monday"),
"mondstadt" : MessageLookupByLibrary.simpleMessage("Mondstadt"),
"na" : MessageLookupByLibrary.simpleMessage("N/A"),
"name" : MessageLookupByLibrary.simpleMessage("Name"),
"natlan" : MessageLookupByLibrary.simpleMessage("Natlan"),
"noInternetConnection" : MessageLookupByLibrary.simpleMessage("No internet connection"),
"noThanks" : MessageLookupByLibrary.simpleMessage("No thanks"),
"none" : MessageLookupByLibrary.simpleMessage("None"),
Expand Down Expand Up @@ -243,6 +248,7 @@ class MessageLookup extends MessageLookupByLibrary {
"showCharacterDetails" : MessageLookupByLibrary.simpleMessage("Show character details"),
"showWeaponDetails" : MessageLookupByLibrary.simpleMessage("Show weapon details"),
"skills" : MessageLookupByLibrary.simpleMessage("Skills"),
"snezhnaya" : MessageLookupByLibrary.simpleMessage("Snezhnaya"),
"sortBy" : MessageLookupByLibrary.simpleMessage("Sort by"),
"sortDirection" : MessageLookupByLibrary.simpleMessage("Sort direction"),
"sortType" : MessageLookupByLibrary.simpleMessage("Sort type"),
Expand All @@ -252,6 +258,7 @@ class MessageLookup extends MessageLookupByLibrary {
"stats" : MessageLookupByLibrary.simpleMessage("Stats"),
"subStat" : MessageLookupByLibrary.simpleMessage("Sub. Stat"),
"subStats" : MessageLookupByLibrary.simpleMessage("Substats"),
"sumeru" : MessageLookupByLibrary.simpleMessage("Sumeru"),
"summary" : MessageLookupByLibrary.simpleMessage("Summary"),
"sunday" : MessageLookupByLibrary.simpleMessage("Sunday"),
"support" : MessageLookupByLibrary.simpleMessage("Support"),
Expand Down
7 changes: 7 additions & 0 deletions lib/generated/intl/messages_es_ES.dart
Expand Up @@ -158,6 +158,7 @@ class MessageLookup extends MessageLookupByLibrary {
"female" : MessageLookupByLibrary.simpleMessage("Mujer"),
"filters" : MessageLookupByLibrary.simpleMessage("Filtros"),
"flower" : MessageLookupByLibrary.simpleMessage("Flor"),
"fontaine" : MessageLookupByLibrary.simpleMessage("Fontaine"),
"forCharacters" : MessageLookupByLibrary.simpleMessage("Para personajes"),
"forWeapons" : MessageLookupByLibrary.simpleMessage("Para armas"),
"french" : MessageLookupByLibrary.simpleMessage("Francés"),
Expand All @@ -176,10 +177,12 @@ class MessageLookup extends MessageLookupByLibrary {
"hpPercentage" : m15,
"hydro" : MessageLookupByLibrary.simpleMessage("Hydro"),
"imgSavedSuccessfully" : MessageLookupByLibrary.simpleMessage("La imagen fue guardada exitósamente en la galería"),
"inazuma" : MessageLookupByLibrary.simpleMessage("Inazuma"),
"issues" : MessageLookupByLibrary.simpleMessage("Inconvenientes"),
"language" : MessageLookupByLibrary.simpleMessage("Lenguaje"),
"level" : MessageLookupByLibrary.simpleMessage("Nivel"),
"light" : MessageLookupByLibrary.simpleMessage("Ligero"),
"liyue" : MessageLookupByLibrary.simpleMessage("Liyue"),
"loading" : MessageLookupByLibrary.simpleMessage("Cargando"),
"localSpecialities" : MessageLookupByLibrary.simpleMessage("Especialidades Locales"),
"location" : MessageLookupByLibrary.simpleMessage("Ubicación"),
Expand All @@ -189,8 +192,10 @@ class MessageLookup extends MessageLookupByLibrary {
"materials" : MessageLookupByLibrary.simpleMessage("Materiales"),
"maybeLater" : MessageLookupByLibrary.simpleMessage("Quizás después"),
"monday" : MessageLookupByLibrary.simpleMessage("Lunes"),
"mondstadt" : MessageLookupByLibrary.simpleMessage("Mondstadt"),
"na" : MessageLookupByLibrary.simpleMessage("N/A"),
"name" : MessageLookupByLibrary.simpleMessage("Nombre"),
"natlan" : MessageLookupByLibrary.simpleMessage("Natlan"),
"noInternetConnection" : MessageLookupByLibrary.simpleMessage("No hay conexión hay internet"),
"noThanks" : MessageLookupByLibrary.simpleMessage("No gracias"),
"none" : MessageLookupByLibrary.simpleMessage("Ninguno"),
Expand Down Expand Up @@ -242,6 +247,7 @@ class MessageLookup extends MessageLookupByLibrary {
"showCharacterDetails" : MessageLookupByLibrary.simpleMessage("Mostrar el detalle de los personajes"),
"showWeaponDetails" : MessageLookupByLibrary.simpleMessage("Mostrar el detalle de las armas"),
"skills" : MessageLookupByLibrary.simpleMessage("Habilidades"),
"snezhnaya" : MessageLookupByLibrary.simpleMessage("Snezhnaya"),
"sortBy" : MessageLookupByLibrary.simpleMessage("Ordenar por"),
"sortDirection" : MessageLookupByLibrary.simpleMessage("Dirección de ordenamiento"),
"sortType" : MessageLookupByLibrary.simpleMessage("Tipo de ordenamiento"),
Expand All @@ -251,6 +257,7 @@ class MessageLookup extends MessageLookupByLibrary {
"stats" : MessageLookupByLibrary.simpleMessage("Estadísticas"),
"subStat" : MessageLookupByLibrary.simpleMessage("Sub. Stat"),
"subStats" : MessageLookupByLibrary.simpleMessage("Subestadisticas"),
"sumeru" : MessageLookupByLibrary.simpleMessage("Sumeru"),
"summary" : MessageLookupByLibrary.simpleMessage("Resúmen"),
"sunday" : MessageLookupByLibrary.simpleMessage("Domingo"),
"support" : MessageLookupByLibrary.simpleMessage("Soporte"),
Expand Down
70 changes: 70 additions & 0 deletions lib/generated/l10n.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion lib/l10n/intl_en.arb
Expand Up @@ -214,5 +214,12 @@
"geo": "Geo",
"pyro": "Pyro",
"hydro": "Hydro",
"craftingMaterials": "Crafting Materials"
"craftingMaterials": "Crafting Materials",
"inazuma": "Inazuma",
"mondstadt": "Mondstadt",
"liyue": "Liyue",
"snezhnaya": "Snezhnaya",
"fontaine": "Fontaine",
"natlan": "Natlan",
"sumeru": "Sumeru"
}
9 changes: 8 additions & 1 deletion lib/l10n/intl_es_ES.arb
Expand Up @@ -213,5 +213,12 @@
"geo": "Geo",
"pyro": "Pyro",
"hydro": "Hydro",
"craftingMaterials": "Materiales de Elaboración"
"craftingMaterials": "Materiales de Elaboración",
"inazuma": "Inazuma",
"mondstadt": "Mondstadt",
"liyue": "Liyue",
"snezhnaya": "Snezhnaya",
"fontaine": "Fontaine",
"natlan": "Natlan",
"sumeru": "Sumeru"
}
9 changes: 8 additions & 1 deletion lib/l10n/intl_fr.arb
Expand Up @@ -214,5 +214,12 @@
"geo": "Geo",
"pyro": "Pyro",
"hydro": "Hydro",
"craftingMaterials": "Crafting Materials"
"craftingMaterials": "Crafting Materials",
"inazuma": "Inazuma",
"mondstadt": "Mondstadt",
"liyue": "Liyue",
"snezhnaya": "Snezhnaya",
"fontaine": "Fontaine",
"natlan": "Natlan",
"sumeru": "Sumeru"
}
14 changes: 7 additions & 7 deletions lib/presentation/shared/extensions/i18n_extensions.dart
Expand Up @@ -298,19 +298,19 @@ extension I18nExtensions on S {
case RegionType.anotherWorld:
return anotherWorld;
case RegionType.inazuma:
return 'Inazuma';
return inazuma;
case RegionType.mondstadt:
return 'Mondstadt';
return mondstadt;
case RegionType.liyue:
return 'Liyue';
return liyue;
case RegionType.snezhnaya:
return 'Snezhnaya';
return snezhnaya;
case RegionType.fontaine:
return 'Fontaine';
return fontaine;
case RegionType.natlan:
return 'Natlan';
return natlan;
case RegionType.sumeru:
return 'Sumeru';
return sumeru;
default:
throw Exception('Invalid region type = $type');
}
Expand Down

0 comments on commit 062b8b8

Please sign in to comment.