Cupertino Turkish Translation (#32013)
This commit is contained in:
22
packages/flutter_localizations/lib/src/l10n/cupertino_tr.arb
Normal file
22
packages/flutter_localizations/lib/src/l10n/cupertino_tr.arb
Normal file
@@ -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ç"
|
||||
}
|
||||
@@ -197,6 +197,94 @@ class CupertinoLocalizationFr extends GlobalCupertinoLocalizations {
|
||||
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 @@ class CupertinoLocalizationFr extends GlobalCupertinoLocalizations {
|
||||
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 @@ final Set<String> kCupertinoSupportedLanguages = HashSet<String>.from(const <Str
|
||||
/// {@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 @@ GlobalCupertinoLocalizations getCupertinoTranslation(
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user