Commit 299ce6e3 authored by Furkan Tektas's avatar Furkan Tektas Committed by xster

Cupertino Turkish Translation (#32013)

parent 2e32fba7
{
"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
...@@ -197,6 +197,94 @@ class CupertinoLocalizationFr extends GlobalCupertinoLocalizations { ...@@ -197,6 +197,94 @@ class CupertinoLocalizationFr extends GlobalCupertinoLocalizations {
String get todayLabel => r'aujourd' "'" r'hui'; 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 set of supported languages, as language code strings.
/// ///
/// The [GlobalCupertinoLocalizations.delegate] can generate localizations for /// The [GlobalCupertinoLocalizations.delegate] can generate localizations for
...@@ -211,6 +299,7 @@ class CupertinoLocalizationFr extends GlobalCupertinoLocalizations { ...@@ -211,6 +299,7 @@ class CupertinoLocalizationFr extends GlobalCupertinoLocalizations {
final Set<String> kCupertinoSupportedLanguages = HashSet<String>.from(const <String>[ final Set<String> kCupertinoSupportedLanguages = HashSet<String>.from(const <String>[
'en', // English 'en', // English
'fr', // French 'fr', // French
'tr', // Turkish
]); ]);
/// Creates a [GlobalCupertinoLocalizations] instance for the given `locale`. /// Creates a [GlobalCupertinoLocalizations] instance for the given `locale`.
...@@ -225,6 +314,7 @@ final Set<String> kCupertinoSupportedLanguages = HashSet<String>.from(const <Str ...@@ -225,6 +314,7 @@ final Set<String> kCupertinoSupportedLanguages = HashSet<String>.from(const <Str
/// {@template flutter.localizations.cupertino.languages} /// {@template flutter.localizations.cupertino.languages}
/// * `en` - English /// * `en` - English
/// * `fr` - French /// * `fr` - French
/// * `tr` - Turkish
/// {@endtemplate} /// {@endtemplate}
/// ///
/// Generally speaking, this method is only intended to be used by /// Generally speaking, this method is only intended to be used by
...@@ -245,6 +335,8 @@ GlobalCupertinoLocalizations getCupertinoTranslation( ...@@ -245,6 +335,8 @@ GlobalCupertinoLocalizations getCupertinoTranslation(
return CupertinoLocalizationEn(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat); return CupertinoLocalizationEn(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat);
case 'fr': case 'fr':
return CupertinoLocalizationFr(fullYearFormat: fullYearFormat, dayFormat: dayFormat, mediumDateFormat: mediumDateFormat, singleDigitHourFormat: singleDigitHourFormat, singleDigitMinuteFormat: singleDigitMinuteFormat, doubleDigitMinuteFormat: doubleDigitMinuteFormat, singleDigitSecondFormat: singleDigitSecondFormat, decimalFormat: decimalFormat); 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"'); assert(false, 'getCupertinoTranslation() called for unsupported locale "$locale"');
return null; return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment