Cupertino Turkish Translation (#32013)
diff --git a/packages/flutter_localizations/lib/src/l10n/cupertino_tr.arb b/packages/flutter_localizations/lib/src/l10n/cupertino_tr.arb
new file mode 100644
index 0000000..2004c45
--- /dev/null
+++ b/packages/flutter_localizations/lib/src/l10n/cupertino_tr.arb
@@ -0,0 +1,22 @@
+{
+ "datePickerHourSemanticsLabelOne": "bir saat",
+ "datePickerHourSemanticsLabelOther": "$hour saat",
+ "datePickerMinuteSemanticsLabelOne": "bir dakika",
+ "datePickerMinuteSemanticsLabelOther": "$minute dakika",
+ "datePickerDateOrder": "dmy",
+ "datePickerDateTimeOrder": "date_time_dayPeriod",
+ "anteMeridiemAbbreviation": "ÖÖ",
+ "postMeridiemAbbreviation": "ÖS",
+ "todayLabel": "Bugün",
+ "alertDialogLabel": "Uyarı",
+ "timerPickerHourLabelOne": "saat",
+ "timerPickerHourLabelOther": "saat",
+ "timerPickerMinuteLabelOne": "dk.",
+ "timerPickerMinuteLabelOther": "dk.",
+ "timerPickerSecondLabelOne": "sn.",
+ "timerPickerSecondLabelOther": "sn.",
+ "cutButtonLabel": "Kes",
+ "copyButtonLabel": "Kopyala",
+ "pasteButtonLabel": "Yapıştır",
+ "selectAllButtonLabel": "Tümünü Seç"
+}
\ No newline at end of file
diff --git a/packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart b/packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart
index dbb2298..3ed8a4f 100644
--- a/packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart
+++ b/packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart
@@ -197,6 +197,94 @@
String get todayLabel => r'aujourd' "'" r'hui';
}
+/// The translations for Turkish (`tr`).
+class CupertinoLocalizationTr extends GlobalCupertinoLocalizations {
+ /// Create an instance of the translation bundle for Turkish.
+ ///
+ /// For details on the meaning of the arguments, see [GlobalCupertinoLocalizations].
+ const CupertinoLocalizationTr({
+ String localeName = 'tr',
+ @required intl.DateFormat fullYearFormat,
+ @required intl.DateFormat dayFormat,
+ @required intl.DateFormat mediumDateFormat,
+ @required intl.DateFormat singleDigitHourFormat,
+ @required intl.DateFormat singleDigitMinuteFormat,
+ @required intl.DateFormat doubleDigitMinuteFormat,
+ @required intl.DateFormat singleDigitSecondFormat,
+ @required intl.NumberFormat decimalFormat,
+ }) : super(
+ localeName: localeName,
+ fullYearFormat: fullYearFormat,
+ dayFormat: dayFormat,
+ mediumDateFormat: mediumDateFormat,
+ singleDigitHourFormat: singleDigitHourFormat,
+ singleDigitMinuteFormat: singleDigitMinuteFormat,
+ doubleDigitMinuteFormat: doubleDigitMinuteFormat,
+ singleDigitSecondFormat: singleDigitSecondFormat,
+ decimalFormat: decimalFormat,
+ );
+
+ @override
+ String get alertDialogLabel => r'Uyarı';
+
+ @override
+ String get anteMeridiemAbbreviation => r'ÖÖ';
+
+ @override
+ String get copyButtonLabel => r'Kopyala';
+
+ @override
+ String get cutButtonLabel => r'Kes';
+
+ @override
+ String get datePickerDateOrderString => r'dmy';
+
+ @override
+ String get datePickerDateTimeOrderString => r'date_time_dayPeriod';
+
+ @override
+ String get datePickerHourSemanticsLabelOne => r'bir saat';
+
+ @override
+ String get datePickerHourSemanticsLabelOther => r'$hour saat';
+
+ @override
+ String get datePickerMinuteSemanticsLabelOne => r'bir dakika';
+
+ @override
+ String get datePickerMinuteSemanticsLabelOther => r'$minute dakika';
+
+ @override
+ String get pasteButtonLabel => r'Yapıştır';
+
+ @override
+ String get postMeridiemAbbreviation => r'ÖS';
+
+ @override
+ String get selectAllButtonLabel => r'Tümünü Seç';
+
+ @override
+ String get timerPickerHourLabelOne => r'saat';
+
+ @override
+ String get timerPickerHourLabelOther => r'saat';
+
+ @override
+ String get timerPickerMinuteLabelOne => r'dk.';
+
+ @override
+ String get timerPickerMinuteLabelOther => r'dk.';
+
+ @override
+ String get timerPickerSecondLabelOne => r'sn.';
+
+ @override
+ String get timerPickerSecondLabelOther => r'sn.';
+
+ @override
+ String get todayLabel => r'Bugün';
+}
+
/// The set of supported languages, as language code strings.
///
/// The [GlobalCupertinoLocalizations.delegate] can generate localizations for
@@ -211,6 +299,7 @@
final Set<String> kCupertinoSupportedLanguages = HashSet<String>.from(const <String>[
'en', // English
'fr', // French
+ 'tr', // Turkish
]);
/// Creates a [GlobalCupertinoLocalizations] instance for the given `locale`.
@@ -225,6 +314,7 @@
/// {@template flutter.localizations.cupertino.languages}
/// * `en` - English
/// * `fr` - French
+/// * `tr` - Turkish
/// {@endtemplate}
///
/// Generally speaking, this method is only intended to be used by
@@ -245,6 +335,8 @@
return CupertinoLocalizationEn(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat);
case 'fr':
return CupertinoLocalizationFr(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat);
+ case 'tr':
+ return CupertinoLocalizationTr(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat);
}
assert(false, 'getCupertinoTranslation() called for unsupported locale "$locale"');
return null;