Skip to content

Commit c55b784

Browse files
authored
Update Widgets Localizations from Translation Console (flutter#190503)
This PR is to update localizations in widgets layer from translation console. It doesn't fetch material and cupertino localziations because they have been decoupled from core flutter and will be updated in material_ui and cupertino_ui. Fixes flutter#190408 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [AI contribution guidelines] and understand my responsibilities, or I am not using AI tools. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing.
1 parent ebd8429 commit c55b784

2 files changed

Lines changed: 44 additions & 1 deletion

File tree

‎packages/flutter_localizations/lib/src/l10n/generated_widgets_localizations.dart‎

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,6 +1354,29 @@ class WidgetsLocalizationEsEc extends WidgetsLocalizationEs {
13541354
String get radioButtonUnselectedLabel => 'Sin seleccionar';
13551355
}
13561356

1357+
/// The translations for Spanish Castilian, as used in Spain (`es_ES`).
1358+
class WidgetsLocalizationEsEs extends WidgetsLocalizationEs {
1359+
/// Create an instance of the translation bundle for Spanish Castilian, as used in Spain.
1360+
///
1361+
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
1362+
const WidgetsLocalizationEsEs();
1363+
1364+
@override
1365+
String get reorderItemToStart => 'Mover al inicio';
1366+
1367+
@override
1368+
String get searchResultsFound => 'Se encontraron resultados de la búsqueda';
1369+
1370+
@override
1371+
String get noResultsFound => 'No se encontraron resultados';
1372+
1373+
@override
1374+
String get lookUpButtonLabel => 'Consultar';
1375+
1376+
@override
1377+
String get radioButtonUnselectedLabel => 'Sin seleccionar';
1378+
}
1379+
13571380
/// The translations for Spanish Castilian, as used in Guatemala (`es_GT`).
13581381
class WidgetsLocalizationEsGt extends WidgetsLocalizationEs {
13591382
/// Create an instance of the translation bundle for Spanish Castilian, as used in Guatemala.
@@ -5539,7 +5562,7 @@ final Set<String> kWidgetsSupportedLanguages = HashSet<String>.from(const <Strin
55395562
/// * `de` - German (plus one country variation)
55405563
/// * `el` - Modern Greek
55415564
/// * `en` - English (plus 8 country variations)
5542-
/// * `es` - Spanish Castilian (plus 20 country variations)
5565+
/// * `es` - Spanish Castilian (plus 21 country variations)
55435566
/// * `et` - Estonian
55445567
/// * `eu` - Basque
55455568
/// * `fa` - Persian
@@ -5688,6 +5711,8 @@ GlobalWidgetsLocalizations? getWidgetsTranslation(
56885711
return const WidgetsLocalizationEsDo();
56895712
case 'EC':
56905713
return const WidgetsLocalizationEsEc();
5714+
case 'ES':
5715+
return const WidgetsLocalizationEsEs();
56915716
case 'GT':
56925717
return const WidgetsLocalizationEsGt();
56935718
case 'HN':
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"reorderItemToStart": "Mover al inicio",
3+
"reorderItemToEnd": "Mover al final",
4+
"reorderItemUp": "Mover hacia arriba",
5+
"reorderItemDown": "Mover hacia abajo",
6+
"reorderItemLeft": "Mover hacia la izquierda",
7+
"reorderItemRight": "Mover hacia la derecha",
8+
"searchResultsFound": "Se encontraron resultados de la búsqueda",
9+
"noResultsFound": "No se encontraron resultados",
10+
"copyButtonLabel": "Copiar",
11+
"cutButtonLabel": "Cortar",
12+
"lookUpButtonLabel": "Consultar",
13+
"searchWebButtonLabel": "Buscar en la Web",
14+
"shareButtonLabel": "Compartir",
15+
"pasteButtonLabel": "Pegar",
16+
"selectAllButtonLabel": "Seleccionar todo",
17+
"radioButtonUnselectedLabel": "Sin seleccionar"
18+
}

0 commit comments

Comments
 (0)