Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
299ce6e3
Commit
299ce6e3
authored
May 03, 2019
by
Furkan Tektas
Committed by
xster
May 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cupertino Turkish Translation (#32013)
parent
2e32fba7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
114 additions
and
0 deletions
+114
-0
cupertino_tr.arb
packages/flutter_localizations/lib/src/l10n/cupertino_tr.arb
+22
-0
generated_cupertino_localizations.dart
...tions/lib/src/l10n/generated_cupertino_localizations.dart
+92
-0
No files found.
packages/flutter_localizations/lib/src/l10n/cupertino_tr.arb
0 → 100644
View file @
299ce6e3
{
"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
packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart
View file @
299ce6e3
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment