Skip to content

Commit

Permalink
Add Welsh to Material Flutter (and update some other translations) (f…
Browse files Browse the repository at this point in the history
…lutter#124094)

Reverts flutter#124088

This PR should properly incorporate the new Welsh translations into
Flutter (and maybe some other strings that seem to be updated in TC).

I think the other translation changes come from this issue:
flutter#115181.

Fixes flutter#120124.
  • Loading branch information
thkim1011 authored Apr 4, 2023
1 parent b291b72 commit fb6e83a
Show file tree
Hide file tree
Showing 117 changed files with 3,340 additions and 2,231 deletions.
45 changes: 45 additions & 0 deletions packages/flutter_localizations/lib/src/l10n/cupertino_cy.arb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"timerPickerHourLabelTwo": "awr",
"datePickerHourSemanticsLabelZero": "$hour o'r gloch",
"datePickerHourSemanticsLabelTwo": "$hour o'r gloch",
"datePickerHourSemanticsLabelFew": "$hour o'r gloch",
"datePickerHourSemanticsLabelMany": "$hour o'r gloch",
"timerPickerSecondLabelFew": "eiliad",
"timerPickerSecondLabelTwo": "eiliad",
"datePickerMinuteSemanticsLabelZero": "$minute munud",
"datePickerMinuteSemanticsLabelTwo": "$minute funud",
"datePickerMinuteSemanticsLabelFew": "$minute munud",
"datePickerMinuteSemanticsLabelMany": "$minute munud",
"timerPickerSecondLabelZero": "eiliad",
"timerPickerMinuteLabelMany": "munud",
"timerPickerMinuteLabelTwo": "funud",
"timerPickerMinuteLabelZero": "munud",
"timerPickerHourLabelMany": "awr",
"timerPickerHourLabelFew": "awr",
"timerPickerMinuteLabelFew": "munud",
"timerPickerSecondLabelMany": "eiliad",
"timerPickerHourLabelZero": "awr",
"datePickerHourSemanticsLabelOne": "$hour o'r gloch",
"datePickerHourSemanticsLabelOther": "$hour o'r gloch",
"datePickerMinuteSemanticsLabelOne": "1 funud",
"datePickerMinuteSemanticsLabelOther": "$minute munud",
"datePickerDateOrder": "dmy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemAbbreviation": "AM",
"postMeridiemAbbreviation": "PM",
"todayLabel": "Heddiw",
"alertDialogLabel": "Rhybudd",
"tabSemanticsLabel": "Tab $tabIndex o $tabCount",
"timerPickerHourLabelOne": "awr",
"timerPickerHourLabelOther": "awr",
"timerPickerMinuteLabelOne": "funud",
"timerPickerMinuteLabelOther": "munud",
"timerPickerSecondLabelOne": "eiliad",
"timerPickerSecondLabelOther": "eiliad",
"cutButtonLabel": "Torri",
"copyButtonLabel": "Copïo",
"pasteButtonLabel": "Gludo",
"selectAllButtonLabel": "Dewis y Cyfan",
"searchTextFieldPlaceholderLabel": "Chwilio",
"modalBarrierDismissLabel": "Diystyru"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"datePickerDateOrder": "dmy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemAbbreviation": "PG",
"postMeridiemAbbreviation": "PTG",
"postMeridiemAbbreviation": "P/M",
"todayLabel": "Hari ini",
"alertDialogLabel": "Makluman",
"timerPickerHourLabelOne": "jam",
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_localizations/lib/src/l10n/cupertino_ta.arb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"datePickerMinuteSemanticsLabelOther": "$minute நிமிடங்கள்",
"datePickerDateOrder": "dmy",
"datePickerDateTimeOrder": "date_time_dayPeriod",
"anteMeridiemAbbreviation": "முற்பகல்",
"postMeridiemAbbreviation": "பிற்பகல்",
"anteMeridiemAbbreviation": "AM",
"postMeridiemAbbreviation": "PM",
"todayLabel": "இன்று",
"alertDialogLabel": "விழிப்பூட்டல்",
"timerPickerHourLabelOne": "மணிநேரம்",
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_localizations/lib/src/l10n/cupertino_te.arb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"timerPickerMinuteLabelOther": "నిమి.",
"timerPickerSecondLabelOne": "సెకన్లు.",
"timerPickerSecondLabelOther": "సెకన్లు.",
"cutButtonLabel": "కత్తిరించు",
"cutButtonLabel": "కత్తిరించండి",
"copyButtonLabel": "కాపీ చేయి",
"pasteButtonLabel": "అతికించు",
"pasteButtonLabel": "పేస్ట్ చేయండి",
"selectAllButtonLabel": "అన్నింటినీ ఎంచుకోండి",
"tabSemanticsLabel": "$tabCountలో $tabIndexవ ట్యాబ్",
"modalBarrierDismissLabel": "విస్మరించు",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,153 @@ class CupertinoLocalizationCs extends GlobalCupertinoLocalizations {
String get todayLabel => 'Dnes';
}

/// The translations for Welsh (`cy`).
class CupertinoLocalizationCy extends GlobalCupertinoLocalizations {
/// Create an instance of the translation bundle for Welsh.
///
/// For details on the meaning of the arguments, see [GlobalCupertinoLocalizations].
const CupertinoLocalizationCy({
super.localeName = 'cy',
required super.fullYearFormat,
required super.dayFormat,
required super.mediumDateFormat,
required super.singleDigitHourFormat,
required super.singleDigitMinuteFormat,
required super.doubleDigitMinuteFormat,
required super.singleDigitSecondFormat,
required super.decimalFormat,
});

@override
String get alertDialogLabel => 'Rhybudd';

@override
String get anteMeridiemAbbreviation => 'AM';

@override
String get copyButtonLabel => 'Copïo';

@override
String get cutButtonLabel => 'Torri';

@override
String get datePickerDateOrderString => 'dmy';

@override
String get datePickerDateTimeOrderString => 'date_time_dayPeriod';

@override
String? get datePickerHourSemanticsLabelFew => r"$hour o'r gloch";

@override
String? get datePickerHourSemanticsLabelMany => r"$hour o'r gloch";

@override
String? get datePickerHourSemanticsLabelOne => r"$hour o'r gloch";

@override
String get datePickerHourSemanticsLabelOther => r"$hour o'r gloch";

@override
String? get datePickerHourSemanticsLabelTwo => r"$hour o'r gloch";

@override
String? get datePickerHourSemanticsLabelZero => r"$hour o'r gloch";

@override
String? get datePickerMinuteSemanticsLabelFew => r'$minute munud';

@override
String? get datePickerMinuteSemanticsLabelMany => r'$minute munud';

@override
String? get datePickerMinuteSemanticsLabelOne => '1 funud';

@override
String get datePickerMinuteSemanticsLabelOther => r'$minute munud';

@override
String? get datePickerMinuteSemanticsLabelTwo => r'$minute funud';

@override
String? get datePickerMinuteSemanticsLabelZero => r'$minute munud';

@override
String get modalBarrierDismissLabel => 'Diystyru';

@override
String get pasteButtonLabel => 'Gludo';

@override
String get postMeridiemAbbreviation => 'PM';

@override
String get searchTextFieldPlaceholderLabel => 'Chwilio';

@override
String get selectAllButtonLabel => 'Dewis y Cyfan';

@override
String get tabSemanticsLabelRaw => r'Tab $tabIndex o $tabCount';

@override
String? get timerPickerHourLabelFew => 'awr';

@override
String? get timerPickerHourLabelMany => 'awr';

@override
String? get timerPickerHourLabelOne => 'awr';

@override
String get timerPickerHourLabelOther => 'awr';

@override
String? get timerPickerHourLabelTwo => 'awr';

@override
String? get timerPickerHourLabelZero => 'awr';

@override
String? get timerPickerMinuteLabelFew => 'munud';

@override
String? get timerPickerMinuteLabelMany => 'munud';

@override
String? get timerPickerMinuteLabelOne => 'funud';

@override
String get timerPickerMinuteLabelOther => 'munud';

@override
String? get timerPickerMinuteLabelTwo => 'funud';

@override
String? get timerPickerMinuteLabelZero => 'munud';

@override
String? get timerPickerSecondLabelFew => 'eiliad';

@override
String? get timerPickerSecondLabelMany => 'eiliad';

@override
String? get timerPickerSecondLabelOne => 'eiliad';

@override
String get timerPickerSecondLabelOther => 'eiliad';

@override
String? get timerPickerSecondLabelTwo => 'eiliad';

@override
String? get timerPickerSecondLabelZero => 'eiliad';

@override
String get todayLabel => 'Heddiw';
}

/// The translations for Danish (`da`).
class CupertinoLocalizationDa extends GlobalCupertinoLocalizations {
/// Create an instance of the translation bundle for Danish.
Expand Down Expand Up @@ -7922,7 +8069,7 @@ class CupertinoLocalizationMs extends GlobalCupertinoLocalizations {
String get pasteButtonLabel => 'Tampal';

@override
String get postMeridiemAbbreviation => 'PTG';
String get postMeridiemAbbreviation => 'P/M';

@override
String get searchTextFieldPlaceholderLabel => 'Cari';
Expand Down Expand Up @@ -10811,7 +10958,7 @@ class CupertinoLocalizationTa extends GlobalCupertinoLocalizations {
String get alertDialogLabel => 'விழிப்பூட்டல்';

@override
String get anteMeridiemAbbreviation => 'முற்பகல்';
String get anteMeridiemAbbreviation => 'AM';

@override
String get copyButtonLabel => 'நகலெடு';
Expand Down Expand Up @@ -10868,7 +11015,7 @@ class CupertinoLocalizationTa extends GlobalCupertinoLocalizations {
String get pasteButtonLabel => 'ஒட்டு';

@override
String get postMeridiemAbbreviation => 'பிற்பகல்';
String get postMeridiemAbbreviation => 'PM';

@override
String get searchTextFieldPlaceholderLabel => 'தேடுக';
Expand Down Expand Up @@ -10964,7 +11111,7 @@ class CupertinoLocalizationTe extends GlobalCupertinoLocalizations {
String get copyButtonLabel => 'కాపీ చేయి';

@override
String get cutButtonLabel => 'కత్తిరించు';
String get cutButtonLabel => 'కత్తిరించండి';

@override
String get datePickerDateOrderString => 'mdy';
Expand Down Expand Up @@ -11012,7 +11159,7 @@ class CupertinoLocalizationTe extends GlobalCupertinoLocalizations {
String get modalBarrierDismissLabel => 'విస్మరించు';

@override
String get pasteButtonLabel => 'అతికించు';
String get pasteButtonLabel => 'పేస్ట్ చేయండి';

@override
String get postMeridiemAbbreviation => 'PM';
Expand Down Expand Up @@ -12577,6 +12724,7 @@ final Set<String> kCupertinoSupportedLanguages = HashSet<String>.from(const <Str
'bs', // Bosnian
'ca', // Catalan Valencian
'cs', // Czech
'cy', // Welsh
'da', // Danish
'de', // German
'el', // Modern Greek
Expand Down Expand Up @@ -12666,6 +12814,7 @@ final Set<String> kCupertinoSupportedLanguages = HashSet<String>.from(const <Str
/// * `bs` - Bosnian
/// * `ca` - Catalan Valencian
/// * `cs` - Czech
/// * `cy` - Welsh
/// * `da` - Danish
/// * `de` - German (plus one country variation)
/// * `el` - Modern Greek
Expand Down Expand Up @@ -12770,6 +12919,8 @@ GlobalCupertinoLocalizations? getCupertinoTranslation(
return CupertinoLocalizationCa(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat);
case 'cs':
return CupertinoLocalizationCs(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat);
case 'cy':
return CupertinoLocalizationCy(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat);
case 'da':
return CupertinoLocalizationDa(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat);
case 'de': {
Expand Down
Loading

0 comments on commit fb6e83a

Please sign in to comment.