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
9e4b5fb7
Unverified
Commit
9e4b5fb7
authored
Apr 04, 2023
by
chunhtai
Committed by
GitHub
Apr 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds i18n to widget layer (#123620)
Adds i18n to widget layer
parent
c7bab297
Changes
124
Hide whitespace changes
Inline
Side-by-side
Showing
124 changed files
with
4171 additions
and
66 deletions
+4171
-66
encode_kn_arb_files.dart
dev/tools/localization/bin/encode_kn_arb_files.dart
+5
-0
gen_localizations.dart
dev/tools/localization/bin/gen_localizations.dart
+61
-17
gen_widgets_localizations.dart
dev/tools/localization/gen_widgets_localizations.dart
+74
-0
localizations_utils.dart
dev/tools/localization/localizations_utils.dart
+8
-0
localizations.dart
packages/flutter/lib/src/widgets/localizations.dart
+43
-1
page_test.dart
packages/flutter/test/cupertino/page_test.dart
+1
-1
localizations_test.dart
packages/flutter/test/material/localizations_test.dart
+0
-6
flutter_localizations.dart
...ages/flutter_localizations/lib/flutter_localizations.dart
+1
-0
generated_widgets_localizations.dart
...zations/lib/src/l10n/generated_widgets_localizations.dart
+2988
-0
widgets_af.arb
packages/flutter_localizations/lib/src/l10n/widgets_af.arb
+8
-0
widgets_am.arb
packages/flutter_localizations/lib/src/l10n/widgets_am.arb
+8
-0
widgets_ar.arb
packages/flutter_localizations/lib/src/l10n/widgets_ar.arb
+8
-0
widgets_as.arb
packages/flutter_localizations/lib/src/l10n/widgets_as.arb
+8
-0
widgets_az.arb
packages/flutter_localizations/lib/src/l10n/widgets_az.arb
+8
-0
widgets_be.arb
packages/flutter_localizations/lib/src/l10n/widgets_be.arb
+8
-0
widgets_bg.arb
packages/flutter_localizations/lib/src/l10n/widgets_bg.arb
+8
-0
widgets_bn.arb
packages/flutter_localizations/lib/src/l10n/widgets_bn.arb
+8
-0
widgets_bs.arb
packages/flutter_localizations/lib/src/l10n/widgets_bs.arb
+8
-0
widgets_ca.arb
packages/flutter_localizations/lib/src/l10n/widgets_ca.arb
+8
-0
widgets_cs.arb
packages/flutter_localizations/lib/src/l10n/widgets_cs.arb
+8
-0
widgets_cy.arb
packages/flutter_localizations/lib/src/l10n/widgets_cy.arb
+8
-0
widgets_da.arb
packages/flutter_localizations/lib/src/l10n/widgets_da.arb
+8
-0
widgets_de.arb
packages/flutter_localizations/lib/src/l10n/widgets_de.arb
+8
-0
widgets_de_CH.arb
...ages/flutter_localizations/lib/src/l10n/widgets_de_CH.arb
+8
-0
widgets_el.arb
packages/flutter_localizations/lib/src/l10n/widgets_el.arb
+8
-0
widgets_en.arb
packages/flutter_localizations/lib/src/l10n/widgets_en.arb
+31
-0
widgets_en_AU.arb
...ages/flutter_localizations/lib/src/l10n/widgets_en_AU.arb
+8
-0
widgets_en_CA.arb
...ages/flutter_localizations/lib/src/l10n/widgets_en_CA.arb
+8
-0
widgets_en_GB.arb
...ages/flutter_localizations/lib/src/l10n/widgets_en_GB.arb
+8
-0
widgets_en_IE.arb
...ages/flutter_localizations/lib/src/l10n/widgets_en_IE.arb
+8
-0
widgets_en_IN.arb
...ages/flutter_localizations/lib/src/l10n/widgets_en_IN.arb
+8
-0
widgets_en_NZ.arb
...ages/flutter_localizations/lib/src/l10n/widgets_en_NZ.arb
+8
-0
widgets_en_SG.arb
...ages/flutter_localizations/lib/src/l10n/widgets_en_SG.arb
+8
-0
widgets_en_ZA.arb
...ages/flutter_localizations/lib/src/l10n/widgets_en_ZA.arb
+8
-0
widgets_es.arb
packages/flutter_localizations/lib/src/l10n/widgets_es.arb
+8
-0
widgets_es_419.arb
...ges/flutter_localizations/lib/src/l10n/widgets_es_419.arb
+8
-0
widgets_es_AR.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_AR.arb
+8
-0
widgets_es_BO.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_BO.arb
+8
-0
widgets_es_CL.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_CL.arb
+8
-0
widgets_es_CO.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_CO.arb
+8
-0
widgets_es_CR.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_CR.arb
+8
-0
widgets_es_DO.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_DO.arb
+8
-0
widgets_es_EC.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_EC.arb
+8
-0
widgets_es_GT.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_GT.arb
+8
-0
widgets_es_HN.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_HN.arb
+8
-0
widgets_es_MX.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_MX.arb
+8
-0
widgets_es_NI.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_NI.arb
+8
-0
widgets_es_PA.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_PA.arb
+8
-0
widgets_es_PE.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_PE.arb
+8
-0
widgets_es_PR.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_PR.arb
+8
-0
widgets_es_PY.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_PY.arb
+8
-0
widgets_es_SV.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_SV.arb
+8
-0
widgets_es_US.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_US.arb
+8
-0
widgets_es_UY.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_UY.arb
+8
-0
widgets_es_VE.arb
...ages/flutter_localizations/lib/src/l10n/widgets_es_VE.arb
+8
-0
widgets_et.arb
packages/flutter_localizations/lib/src/l10n/widgets_et.arb
+8
-0
widgets_eu.arb
packages/flutter_localizations/lib/src/l10n/widgets_eu.arb
+8
-0
widgets_fa.arb
packages/flutter_localizations/lib/src/l10n/widgets_fa.arb
+8
-0
widgets_fi.arb
packages/flutter_localizations/lib/src/l10n/widgets_fi.arb
+8
-0
widgets_fil.arb
packages/flutter_localizations/lib/src/l10n/widgets_fil.arb
+8
-0
widgets_fr.arb
packages/flutter_localizations/lib/src/l10n/widgets_fr.arb
+8
-0
widgets_fr_CA.arb
...ages/flutter_localizations/lib/src/l10n/widgets_fr_CA.arb
+8
-0
widgets_gl.arb
packages/flutter_localizations/lib/src/l10n/widgets_gl.arb
+8
-0
widgets_gsw.arb
packages/flutter_localizations/lib/src/l10n/widgets_gsw.arb
+8
-0
widgets_gu.arb
packages/flutter_localizations/lib/src/l10n/widgets_gu.arb
+8
-0
widgets_he.arb
packages/flutter_localizations/lib/src/l10n/widgets_he.arb
+8
-0
widgets_hi.arb
packages/flutter_localizations/lib/src/l10n/widgets_hi.arb
+8
-0
widgets_hr.arb
packages/flutter_localizations/lib/src/l10n/widgets_hr.arb
+8
-0
widgets_hu.arb
packages/flutter_localizations/lib/src/l10n/widgets_hu.arb
+8
-0
widgets_hy.arb
packages/flutter_localizations/lib/src/l10n/widgets_hy.arb
+8
-0
widgets_id.arb
packages/flutter_localizations/lib/src/l10n/widgets_id.arb
+8
-0
widgets_is.arb
packages/flutter_localizations/lib/src/l10n/widgets_is.arb
+8
-0
widgets_it.arb
packages/flutter_localizations/lib/src/l10n/widgets_it.arb
+8
-0
widgets_ja.arb
packages/flutter_localizations/lib/src/l10n/widgets_ja.arb
+8
-0
widgets_ka.arb
packages/flutter_localizations/lib/src/l10n/widgets_ka.arb
+8
-0
widgets_kk.arb
packages/flutter_localizations/lib/src/l10n/widgets_kk.arb
+8
-0
widgets_km.arb
packages/flutter_localizations/lib/src/l10n/widgets_km.arb
+8
-0
widgets_kn.arb
packages/flutter_localizations/lib/src/l10n/widgets_kn.arb
+8
-0
widgets_ko.arb
packages/flutter_localizations/lib/src/l10n/widgets_ko.arb
+8
-0
widgets_ky.arb
packages/flutter_localizations/lib/src/l10n/widgets_ky.arb
+8
-0
widgets_lo.arb
packages/flutter_localizations/lib/src/l10n/widgets_lo.arb
+8
-0
widgets_lt.arb
packages/flutter_localizations/lib/src/l10n/widgets_lt.arb
+8
-0
widgets_lv.arb
packages/flutter_localizations/lib/src/l10n/widgets_lv.arb
+8
-0
widgets_mk.arb
packages/flutter_localizations/lib/src/l10n/widgets_mk.arb
+8
-0
widgets_ml.arb
packages/flutter_localizations/lib/src/l10n/widgets_ml.arb
+8
-0
widgets_mn.arb
packages/flutter_localizations/lib/src/l10n/widgets_mn.arb
+8
-0
widgets_mr.arb
packages/flutter_localizations/lib/src/l10n/widgets_mr.arb
+8
-0
widgets_ms.arb
packages/flutter_localizations/lib/src/l10n/widgets_ms.arb
+8
-0
widgets_my.arb
packages/flutter_localizations/lib/src/l10n/widgets_my.arb
+8
-0
widgets_nb.arb
packages/flutter_localizations/lib/src/l10n/widgets_nb.arb
+8
-0
widgets_ne.arb
packages/flutter_localizations/lib/src/l10n/widgets_ne.arb
+8
-0
widgets_nl.arb
packages/flutter_localizations/lib/src/l10n/widgets_nl.arb
+8
-0
widgets_no.arb
packages/flutter_localizations/lib/src/l10n/widgets_no.arb
+8
-0
widgets_or.arb
packages/flutter_localizations/lib/src/l10n/widgets_or.arb
+8
-0
widgets_pa.arb
packages/flutter_localizations/lib/src/l10n/widgets_pa.arb
+8
-0
widgets_pl.arb
packages/flutter_localizations/lib/src/l10n/widgets_pl.arb
+8
-0
widgets_ps.arb
packages/flutter_localizations/lib/src/l10n/widgets_ps.arb
+8
-0
widgets_pt.arb
packages/flutter_localizations/lib/src/l10n/widgets_pt.arb
+8
-0
widgets_pt_PT.arb
...ages/flutter_localizations/lib/src/l10n/widgets_pt_PT.arb
+8
-0
widgets_ro.arb
packages/flutter_localizations/lib/src/l10n/widgets_ro.arb
+8
-0
widgets_ru.arb
packages/flutter_localizations/lib/src/l10n/widgets_ru.arb
+8
-0
widgets_si.arb
packages/flutter_localizations/lib/src/l10n/widgets_si.arb
+8
-0
widgets_sk.arb
packages/flutter_localizations/lib/src/l10n/widgets_sk.arb
+8
-0
widgets_sl.arb
packages/flutter_localizations/lib/src/l10n/widgets_sl.arb
+8
-0
widgets_sq.arb
packages/flutter_localizations/lib/src/l10n/widgets_sq.arb
+8
-0
widgets_sr.arb
packages/flutter_localizations/lib/src/l10n/widgets_sr.arb
+8
-0
widgets_sr_Latn.arb
...es/flutter_localizations/lib/src/l10n/widgets_sr_Latn.arb
+8
-0
widgets_sv.arb
packages/flutter_localizations/lib/src/l10n/widgets_sv.arb
+8
-0
widgets_sw.arb
packages/flutter_localizations/lib/src/l10n/widgets_sw.arb
+8
-0
widgets_ta.arb
packages/flutter_localizations/lib/src/l10n/widgets_ta.arb
+8
-0
widgets_te.arb
packages/flutter_localizations/lib/src/l10n/widgets_te.arb
+8
-0
widgets_th.arb
packages/flutter_localizations/lib/src/l10n/widgets_th.arb
+8
-0
widgets_tl.arb
packages/flutter_localizations/lib/src/l10n/widgets_tl.arb
+8
-0
widgets_tr.arb
packages/flutter_localizations/lib/src/l10n/widgets_tr.arb
+8
-0
widgets_uk.arb
packages/flutter_localizations/lib/src/l10n/widgets_uk.arb
+8
-0
widgets_ur.arb
packages/flutter_localizations/lib/src/l10n/widgets_ur.arb
+8
-0
widgets_uz.arb
packages/flutter_localizations/lib/src/l10n/widgets_uz.arb
+8
-0
widgets_vi.arb
packages/flutter_localizations/lib/src/l10n/widgets_vi.arb
+8
-0
widgets_zh.arb
packages/flutter_localizations/lib/src/l10n/widgets_zh.arb
+8
-0
widgets_zh_HK.arb
...ages/flutter_localizations/lib/src/l10n/widgets_zh_HK.arb
+8
-0
widgets_zh_TW.arb
...ages/flutter_localizations/lib/src/l10n/widgets_zh_TW.arb
+8
-0
widgets_zu.arb
packages/flutter_localizations/lib/src/l10n/widgets_zu.arb
+8
-0
widgets_localizations.dart
.../flutter_localizations/lib/src/widgets_localizations.dart
+33
-41
translations_test.dart
...flutter_localizations/test/widgets/translations_test.dart
+30
-0
No files found.
dev/tools/localization/bin/encode_kn_arb_files.dart
View file @
9e4b5fb7
...
@@ -69,18 +69,23 @@ void _rewriteBundle(File file, Map<String, dynamic> bundle) {
...
@@ -69,18 +69,23 @@ void _rewriteBundle(File file, Map<String, dynamic> bundle) {
}
}
void
encodeKnArbFiles
(
Directory
directory
)
{
void
encodeKnArbFiles
(
Directory
directory
)
{
final
File
widgetsArbFile
=
File
(
path
.
join
(
directory
.
path
,
'widgets_kn.arb'
));
final
File
materialArbFile
=
File
(
path
.
join
(
directory
.
path
,
'material_kn.arb'
));
final
File
materialArbFile
=
File
(
path
.
join
(
directory
.
path
,
'material_kn.arb'
));
final
File
cupertinoArbFile
=
File
(
path
.
join
(
directory
.
path
,
'cupertino_kn.arb'
));
final
File
cupertinoArbFile
=
File
(
path
.
join
(
directory
.
path
,
'cupertino_kn.arb'
));
final
Map
<
String
,
dynamic
>
widgetsBundle
=
_loadBundle
(
widgetsArbFile
);
final
Map
<
String
,
dynamic
>
materialBundle
=
_loadBundle
(
materialArbFile
);
final
Map
<
String
,
dynamic
>
materialBundle
=
_loadBundle
(
materialArbFile
);
final
Map
<
String
,
dynamic
>
cupertinoBundle
=
_loadBundle
(
cupertinoArbFile
);
final
Map
<
String
,
dynamic
>
cupertinoBundle
=
_loadBundle
(
cupertinoArbFile
);
_encodeBundleTranslations
(
widgetsBundle
);
_encodeBundleTranslations
(
materialBundle
);
_encodeBundleTranslations
(
materialBundle
);
_encodeBundleTranslations
(
cupertinoBundle
);
_encodeBundleTranslations
(
cupertinoBundle
);
_checkEncodedTranslations
(
widgetsBundle
,
_loadBundle
(
widgetsArbFile
));
_checkEncodedTranslations
(
materialBundle
,
_loadBundle
(
materialArbFile
));
_checkEncodedTranslations
(
materialBundle
,
_loadBundle
(
materialArbFile
));
_checkEncodedTranslations
(
cupertinoBundle
,
_loadBundle
(
cupertinoArbFile
));
_checkEncodedTranslations
(
cupertinoBundle
,
_loadBundle
(
cupertinoArbFile
));
_rewriteBundle
(
widgetsArbFile
,
widgetsBundle
);
_rewriteBundle
(
materialArbFile
,
materialBundle
);
_rewriteBundle
(
materialArbFile
,
materialBundle
);
_rewriteBundle
(
cupertinoArbFile
,
cupertinoBundle
);
_rewriteBundle
(
cupertinoArbFile
,
cupertinoBundle
);
}
}
dev/tools/localization/bin/gen_localizations.dart
View file @
9e4b5fb7
...
@@ -53,6 +53,7 @@ import 'package:path/path.dart' as path;
...
@@ -53,6 +53,7 @@ import 'package:path/path.dart' as path;
import
'../gen_cupertino_localizations.dart'
;
import
'../gen_cupertino_localizations.dart'
;
import
'../gen_material_localizations.dart'
;
import
'../gen_material_localizations.dart'
;
import
'../gen_widgets_localizations.dart'
;
import
'../localizations_utils.dart'
;
import
'../localizations_utils.dart'
;
import
'../localizations_validator.dart'
;
import
'../localizations_validator.dart'
;
import
'encode_kn_arb_files.dart'
;
import
'encode_kn_arb_files.dart'
;
...
@@ -65,8 +66,10 @@ String generateArbBasedLocalizationSubclasses({
...
@@ -65,8 +66,10 @@ String generateArbBasedLocalizationSubclasses({
required
String
baseClass
,
required
String
baseClass
,
required
HeaderGenerator
generateHeader
,
required
HeaderGenerator
generateHeader
,
required
ConstructorGenerator
generateConstructor
,
required
ConstructorGenerator
generateConstructor
,
ConstructorGenerator
?
generateConstructorForCountrySubClass
,
required
String
factoryName
,
required
String
factoryName
,
required
String
factoryDeclaration
,
required
String
factoryDeclaration
,
required
bool
callsFactoryWithConst
,
required
String
factoryArguments
,
required
String
factoryArguments
,
required
String
supportedLanguagesConstant
,
required
String
supportedLanguagesConstant
,
required
String
supportedLanguagesDocMacro
,
required
String
supportedLanguagesDocMacro
,
...
@@ -78,7 +81,7 @@ String generateArbBasedLocalizationSubclasses({
...
@@ -78,7 +81,7 @@ String generateArbBasedLocalizationSubclasses({
assert
(
factoryArguments
.
isNotEmpty
);
assert
(
factoryArguments
.
isNotEmpty
);
assert
(
supportedLanguagesConstant
.
isNotEmpty
);
assert
(
supportedLanguagesConstant
.
isNotEmpty
);
assert
(
supportedLanguagesDocMacro
.
isNotEmpty
);
assert
(
supportedLanguagesDocMacro
.
isNotEmpty
);
generateConstructorForCountrySubClass
??=
generateConstructor
;
final
StringBuffer
output
=
StringBuffer
();
final
StringBuffer
output
=
StringBuffer
();
output
.
writeln
(
generateHeader
(
'dart dev/tools/localization/bin/gen_localizations.dart --overwrite'
));
output
.
writeln
(
generateHeader
(
'dart dev/tools/localization/bin/gen_localizations.dart --overwrite'
));
...
@@ -133,7 +136,6 @@ String generateArbBasedLocalizationSubclasses({
...
@@ -133,7 +136,6 @@ String generateArbBasedLocalizationSubclasses({
final
LocaleInfo
canonicalLocale
=
LocaleInfo
.
fromString
(
'en'
);
final
LocaleInfo
canonicalLocale
=
LocaleInfo
.
fromString
(
'en'
);
for
(
final
String
languageName
in
languageCodes
)
{
for
(
final
String
languageName
in
languageCodes
)
{
final
LocaleInfo
languageLocale
=
LocaleInfo
.
fromString
(
languageName
);
final
LocaleInfo
languageLocale
=
LocaleInfo
.
fromString
(
languageName
);
output
.
writeln
(
generateClassDeclaration
(
languageLocale
,
generatedClassPrefix
,
baseClass
));
output
.
writeln
(
generateClassDeclaration
(
languageLocale
,
generatedClassPrefix
,
baseClass
));
output
.
writeln
(
generateConstructor
(
languageLocale
));
output
.
writeln
(
generateConstructor
(
languageLocale
));
...
@@ -156,7 +158,7 @@ String generateArbBasedLocalizationSubclasses({
...
@@ -156,7 +158,7 @@ String generateArbBasedLocalizationSubclasses({
generatedClassPrefix
,
generatedClassPrefix
,
'
$generatedClassPrefix${languageLocale.camelCase()}
'
,
'
$generatedClassPrefix${languageLocale.camelCase()}
'
,
));
));
output
.
writeln
(
generateConstructor
(
scriptBaseLocale
));
output
.
writeln
(
generateConstructor
ForCountrySubClass
(
scriptBaseLocale
));
final
Map
<
String
,
String
>
scriptResources
=
localeToResources
[
scriptBaseLocale
]!;
final
Map
<
String
,
String
>
scriptResources
=
localeToResources
[
scriptBaseLocale
]!;
for
(
final
String
key
in
scriptResources
.
keys
.
toList
()..
sort
())
{
for
(
final
String
key
in
scriptResources
.
keys
.
toList
()..
sort
())
{
if
(
languageResources
[
key
]
==
scriptResources
[
key
])
{
if
(
languageResources
[
key
]
==
scriptResources
[
key
])
{
...
@@ -184,7 +186,7 @@ String generateArbBasedLocalizationSubclasses({
...
@@ -184,7 +186,7 @@ String generateArbBasedLocalizationSubclasses({
generatedClassPrefix
,
generatedClassPrefix
,
'
$generatedClassPrefix${scriptBaseLocale.camelCase()}
'
,
'
$generatedClassPrefix${scriptBaseLocale.camelCase()}
'
,
));
));
output
.
writeln
(
generateConstructor
(
locale
));
output
.
writeln
(
generateConstructor
ForCountrySubClass
(
locale
));
final
Map
<
String
,
String
>
localeResources
=
localeToResources
[
locale
]!;
final
Map
<
String
,
String
>
localeResources
=
localeToResources
[
locale
]!;
for
(
final
String
key
in
localeResources
.
keys
)
{
for
(
final
String
key
in
localeResources
.
keys
)
{
// When script fallback contains the key, we compare to it instead of language fallback.
// When script fallback contains the key, we compare to it instead of language fallback.
...
@@ -212,7 +214,7 @@ String generateArbBasedLocalizationSubclasses({
...
@@ -212,7 +214,7 @@ String generateArbBasedLocalizationSubclasses({
generatedClassPrefix
,
generatedClassPrefix
,
'
$generatedClassPrefix${languageLocale.camelCase()}
'
,
'
$generatedClassPrefix${languageLocale.camelCase()}
'
,
));
));
output
.
writeln
(
generateConstructor
(
locale
));
output
.
writeln
(
generateConstructor
ForCountrySubClass
(
locale
));
for
(
final
String
key
in
localeResources
.
keys
)
{
for
(
final
String
key
in
localeResources
.
keys
)
{
if
(
languageResources
[
key
]
==
localeResources
[
key
])
{
if
(
languageResources
[
key
]
==
localeResources
[
key
])
{
continue
;
continue
;
...
@@ -279,7 +281,7 @@ $factoryDeclaration
...
@@ -279,7 +281,7 @@ $factoryDeclaration
if (languageToLocales[language]!.length == 1) {
if (languageToLocales[language]!.length == 1) {
output.writeln('''
output.writeln('''
case
'
$language
'
:
case
'
$language
'
:
return
$generatedClassPrefix
$
{
languageToLocales
[
language
]![
0
].
camelCase
()}(
$factoryArguments
);
''');
return
$
{
callsFactoryWithConst
?
'const '
:
''
}
$
generatedClassPrefix
$
{
languageToLocales
[
language
]![
0
].
camelCase
()}(
$factoryArguments
);
''');
} else if (!languageToScriptCodes.containsKey(language)) { // Does not distinguish between scripts. Switch on countryCode directly.
} else if (!languageToScriptCodes.containsKey(language)) { // Does not distinguish between scripts. Switch on countryCode directly.
output.writeln('''
output.writeln('''
case
'
$language
'
:
{
case
'
$language
'
:
{
...
@@ -292,11 +294,11 @@ $factoryDeclaration
...
@@ -292,11 +294,11 @@ $factoryDeclaration
final String countryCode = locale.countryCode!;
final String countryCode = locale.countryCode!;
output.writeln('''
output.writeln('''
case
'
$countryCode
'
:
case
'
$countryCode
'
:
return
$generatedClassPrefix
$
{
locale
.
camelCase
()}(
$factoryArguments
);
''');
return
$
{
callsFactoryWithConst
?
'const '
:
''
}
$
generatedClassPrefix
$
{
locale
.
camelCase
()}(
$factoryArguments
);
''');
}
}
output.writeln('''
output.writeln('''
}
}
return
$generatedClassPrefix
$
{
LocaleInfo
.
fromString
(
language
).
camelCase
()}(
$factoryArguments
);
return
$
{
callsFactoryWithConst
?
'const '
:
''
}
$
generatedClassPrefix
$
{
LocaleInfo
.
fromString
(
language
).
camelCase
()}(
$factoryArguments
);
}
''');
}
''');
} else { // Language has scriptCode, add additional switch logic.
} else { // Language has scriptCode, add additional switch logic.
bool hasCountryCode = false;
bool hasCountryCode = false;
...
@@ -325,7 +327,7 @@ $factoryDeclaration
...
@@ -325,7 +327,7 @@ $factoryDeclaration
final String countryCode = locale.countryCode!;
final String countryCode = locale.countryCode!;
output.writeln('''
output.writeln('''
case
'
$countryCode
'
:
case
'
$countryCode
'
:
return
$generatedClassPrefix
$
{
locale
.
camelCase
()}(
$factoryArguments
);
''');
return
$
{
callsFactoryWithConst
?
'const '
:
''
}
$
generatedClassPrefix
$
{
locale
.
camelCase
()}(
$factoryArguments
);
''');
}
}
}
}
// Return a fallback locale that matches scriptCode, but not countryCode.
// Return a fallback locale that matches scriptCode, but not countryCode.
...
@@ -337,7 +339,7 @@ $factoryDeclaration
...
@@ -337,7 +339,7 @@ $factoryDeclaration
}
''');
}
''');
}
}
output.writeln('''
output.writeln('''
return
$generatedClassPrefix
$
{
scriptLocale
.
camelCase
()}(
$factoryArguments
);
return
$
{
callsFactoryWithConst
?
'const '
:
''
}
$
generatedClassPrefix
$
{
scriptLocale
.
camelCase
()}(
$factoryArguments
);
}
''');
}
''');
} else {
} else {
// Not Explicitly defined, fallback to first locale with the same language and
// Not Explicitly defined, fallback to first locale with the same language and
...
@@ -351,7 +353,7 @@ $factoryDeclaration
...
@@ -351,7 +353,7 @@ $factoryDeclaration
}
''');
}
''');
}
}
output.writeln('''
output.writeln('''
return
$generatedClassPrefix
$
{
scriptLocale
.
camelCase
()}(
$factoryArguments
);
return
$
{
callsFactoryWithConst
?
'const '
:
''
}
$
generatedClassPrefix
$
{
scriptLocale
.
camelCase
()}(
$factoryArguments
);
}
''');
}
''');
break;
break;
}
}
...
@@ -373,13 +375,13 @@ $factoryDeclaration
...
@@ -373,13 +375,13 @@ $factoryDeclaration
final String countryCode = locale.countryCode!;
final String countryCode = locale.countryCode!;
output.writeln('''
output.writeln('''
case
'
$countryCode
'
:
case
'
$countryCode
'
:
return
$generatedClassPrefix
$
{
locale
.
camelCase
()}(
$factoryArguments
);
''');
return
$
{
callsFactoryWithConst
?
'const '
:
''
}
$
generatedClassPrefix
$
{
locale
.
camelCase
()}(
$factoryArguments
);
''');
}
}
output.writeln('''
output.writeln('''
}
''');
}
''');
}
}
output.writeln('''
output.writeln('''
return
$generatedClassPrefix
$
{
LocaleInfo
.
fromString
(
language
).
camelCase
()}(
$factoryArguments
);
return
$
{
callsFactoryWithConst
?
'const '
:
''
}
$
generatedClassPrefix
$
{
LocaleInfo
.
fromString
(
language
).
camelCase
()}(
$factoryArguments
);
}
''');
}
''');
}
}
}
}
...
@@ -515,10 +517,12 @@ void main(List<String> rawArgs) {
...
@@ -515,10 +517,12 @@ void main(List<String> rawArgs) {
// code. In most cases both codes are just two characters.
// code. In most cases both codes are just two characters.
final
Directory
directory
=
Directory
(
path
.
join
(
'packages'
,
'flutter_localizations'
,
'lib'
,
'src'
,
'l10n'
));
final
Directory
directory
=
Directory
(
path
.
join
(
'packages'
,
'flutter_localizations'
,
'lib'
,
'src'
,
'l10n'
));
final
RegExp
widgetsFilenameRE
=
RegExp
(
r'widgets_(\w+)\.arb$'
);
final
RegExp
materialFilenameRE
=
RegExp
(
r'material_(\w+)\.arb$'
);
final
RegExp
materialFilenameRE
=
RegExp
(
r'material_(\w+)\.arb$'
);
final
RegExp
cupertinoFilenameRE
=
RegExp
(
r'cupertino_(\w+)\.arb$'
);
final
RegExp
cupertinoFilenameRE
=
RegExp
(
r'cupertino_(\w+)\.arb$'
);
try
{
try
{
validateEnglishLocalizations
(
File
(
path
.
join
(
directory
.
path
,
'widgets_en.arb'
)));
validateEnglishLocalizations
(
File
(
path
.
join
(
directory
.
path
,
'material_en.arb'
)));
validateEnglishLocalizations
(
File
(
path
.
join
(
directory
.
path
,
'material_en.arb'
)));
validateEnglishLocalizations
(
File
(
path
.
join
(
directory
.
path
,
'cupertino_en.arb'
)));
validateEnglishLocalizations
(
File
(
path
.
join
(
directory
.
path
,
'cupertino_en.arb'
)));
}
on
ValidationError
catch
(
exception
)
{
}
on
ValidationError
catch
(
exception
)
{
...
@@ -537,17 +541,30 @@ void main(List<String> rawArgs) {
...
@@ -537,17 +541,30 @@ void main(List<String> rawArgs) {
precacheLanguageAndRegionTags
();
precacheLanguageAndRegionTags
();
// Maps of locales to resource key/value pairs for Widgets ARBs.
final
Map
<
LocaleInfo
,
Map
<
String
,
String
>>
widgetsLocaleToResources
=
<
LocaleInfo
,
Map
<
String
,
String
>>{};
// Maps of locales to resource key/attributes pairs for Widgets ARBs..
// https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-attributes
final
Map
<
LocaleInfo
,
Map
<
String
,
dynamic
>>
widgetsLocaleToResourceAttributes
=
<
LocaleInfo
,
Map
<
String
,
dynamic
>>{};
// Maps of locales to resource key/value pairs for Material ARBs.
// Maps of locales to resource key/value pairs for Material ARBs.
final
Map
<
LocaleInfo
,
Map
<
String
,
String
>>
materialLocaleToResources
=
<
LocaleInfo
,
Map
<
String
,
String
>>{};
final
Map
<
LocaleInfo
,
Map
<
String
,
String
>>
materialLocaleToResources
=
<
LocaleInfo
,
Map
<
String
,
String
>>{};
// Maps of locales to resource key/attributes pairs for Material ARBs..
// Maps of locales to resource key/attributes pairs for Material ARBs..
// https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-attributes
// https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-attributes
final
Map
<
LocaleInfo
,
Map
<
String
,
dynamic
>>
materialLocaleToResourceAttributes
=
<
LocaleInfo
,
Map
<
String
,
dynamic
>>{};
final
Map
<
LocaleInfo
,
Map
<
String
,
dynamic
>>
materialLocaleToResourceAttributes
=
<
LocaleInfo
,
Map
<
String
,
dynamic
>>{};
// Maps of locales to resource key/value pairs for Cupertino ARBs.
// Maps of locales to resource key/value pairs for Cupertino ARBs.
final
Map
<
LocaleInfo
,
Map
<
String
,
String
>>
cupertinoLocaleToResources
=
<
LocaleInfo
,
Map
<
String
,
String
>>{};
final
Map
<
LocaleInfo
,
Map
<
String
,
String
>>
cupertinoLocaleToResources
=
<
LocaleInfo
,
Map
<
String
,
String
>>{};
// Maps of locales to resource key/attributes pairs for Cupertino ARBs..
// Maps of locales to resource key/attributes pairs for Cupertino ARBs..
// https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-attributes
// https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-attributes
final
Map
<
LocaleInfo
,
Map
<
String
,
dynamic
>>
cupertinoLocaleToResourceAttributes
=
<
LocaleInfo
,
Map
<
String
,
dynamic
>>{};
final
Map
<
LocaleInfo
,
Map
<
String
,
dynamic
>>
cupertinoLocaleToResourceAttributes
=
<
LocaleInfo
,
Map
<
String
,
dynamic
>>{};
loadMatchingArbsIntoBundleMaps
(
directory:
directory
,
filenamePattern:
widgetsFilenameRE
,
localeToResources:
widgetsLocaleToResources
,
localeToResourceAttributes:
widgetsLocaleToResourceAttributes
,
);
loadMatchingArbsIntoBundleMaps
(
loadMatchingArbsIntoBundleMaps
(
directory:
directory
,
directory:
directory
,
filenamePattern:
materialFilenameRE
,
filenamePattern:
materialFilenameRE
,
...
@@ -562,17 +579,35 @@ void main(List<String> rawArgs) {
...
@@ -562,17 +579,35 @@ void main(List<String> rawArgs) {
);
);
try
{
try
{
validateLocalizations
(
widgetsLocaleToResources
,
widgetsLocaleToResourceAttributes
,
removeUndefined:
options
.
removeUndefined
);
validateLocalizations
(
materialLocaleToResources
,
materialLocaleToResourceAttributes
,
removeUndefined:
options
.
removeUndefined
);
validateLocalizations
(
materialLocaleToResources
,
materialLocaleToResourceAttributes
,
removeUndefined:
options
.
removeUndefined
);
validateLocalizations
(
cupertinoLocaleToResources
,
cupertinoLocaleToResourceAttributes
,
removeUndefined:
options
.
removeUndefined
);
validateLocalizations
(
cupertinoLocaleToResources
,
cupertinoLocaleToResourceAttributes
,
removeUndefined:
options
.
removeUndefined
);
}
on
ValidationError
catch
(
exception
)
{
}
on
ValidationError
catch
(
exception
)
{
exitWithError
(
'
$exception
'
);
exitWithError
(
'
$exception
'
);
}
}
if
(
options
.
removeUndefined
)
{
if
(
options
.
removeUndefined
)
{
removeUndefinedLocalizations
(
widgetsLocaleToResources
);
removeUndefinedLocalizations
(
materialLocaleToResources
);
removeUndefinedLocalizations
(
materialLocaleToResources
);
removeUndefinedLocalizations
(
cupertinoLocaleToResources
);
removeUndefinedLocalizations
(
cupertinoLocaleToResources
);
}
}
final
String
?
widgetsLocalizations
=
options
.
writeToFile
||
!
options
.
cupertinoOnly
?
generateArbBasedLocalizationSubclasses
(
localeToResources:
widgetsLocaleToResources
,
localeToResourceAttributes:
widgetsLocaleToResourceAttributes
,
generatedClassPrefix:
'WidgetsLocalization'
,
baseClass:
'GlobalWidgetsLocalizations'
,
generateHeader:
generateWidgetsHeader
,
generateConstructor:
generateWidgetsConstructor
,
generateConstructorForCountrySubClass:
generateWidgetsConstructorForCountrySubclass
,
factoryName:
widgetsFactoryName
,
factoryDeclaration:
widgetsFactoryDeclaration
,
callsFactoryWithConst:
true
,
factoryArguments:
widgetsFactoryArguments
,
supportedLanguagesConstant:
widgetsSupportedLanguagesConstant
,
supportedLanguagesDocMacro:
widgetsSupportedLanguagesDocMacro
,
)
:
null
;
final
String
?
materialLocalizations
=
options
.
writeToFile
||
!
options
.
cupertinoOnly
final
String
?
materialLocalizations
=
options
.
writeToFile
||
!
options
.
cupertinoOnly
?
generateArbBasedLocalizationSubclasses
(
?
generateArbBasedLocalizationSubclasses
(
localeToResources:
materialLocaleToResources
,
localeToResources:
materialLocaleToResources
,
...
@@ -583,6 +618,7 @@ void main(List<String> rawArgs) {
...
@@ -583,6 +618,7 @@ void main(List<String> rawArgs) {
generateConstructor:
generateMaterialConstructor
,
generateConstructor:
generateMaterialConstructor
,
factoryName:
materialFactoryName
,
factoryName:
materialFactoryName
,
factoryDeclaration:
materialFactoryDeclaration
,
factoryDeclaration:
materialFactoryDeclaration
,
callsFactoryWithConst:
false
,
factoryArguments:
materialFactoryArguments
,
factoryArguments:
materialFactoryArguments
,
supportedLanguagesConstant:
materialSupportedLanguagesConstant
,
supportedLanguagesConstant:
materialSupportedLanguagesConstant
,
supportedLanguagesDocMacro:
materialSupportedLanguagesDocMacro
,
supportedLanguagesDocMacro:
materialSupportedLanguagesDocMacro
,
...
@@ -598,6 +634,7 @@ void main(List<String> rawArgs) {
...
@@ -598,6 +634,7 @@ void main(List<String> rawArgs) {
generateConstructor:
generateCupertinoConstructor
,
generateConstructor:
generateCupertinoConstructor
,
factoryName:
cupertinoFactoryName
,
factoryName:
cupertinoFactoryName
,
factoryDeclaration:
cupertinoFactoryDeclaration
,
factoryDeclaration:
cupertinoFactoryDeclaration
,
callsFactoryWithConst:
false
,
factoryArguments:
cupertinoFactoryArguments
,
factoryArguments:
cupertinoFactoryArguments
,
supportedLanguagesConstant:
cupertinoSupportedLanguagesConstant
,
supportedLanguagesConstant:
cupertinoSupportedLanguagesConstant
,
supportedLanguagesDocMacro:
cupertinoSupportedLanguagesDocMacro
,
supportedLanguagesDocMacro:
cupertinoSupportedLanguagesDocMacro
,
...
@@ -605,15 +642,22 @@ void main(List<String> rawArgs) {
...
@@ -605,15 +642,22 @@ void main(List<String> rawArgs) {
:
null
;
:
null
;
if
(
options
.
writeToFile
)
{
if
(
options
.
writeToFile
)
{
final
File
widgetsLocalizationsFile
=
File
(
path
.
join
(
directory
.
path
,
'generated_widgets_localizations.dart'
));
widgetsLocalizationsFile
.
writeAsStringSync
(
widgetsLocalizations
!,
flush:
true
);
final
File
materialLocalizationsFile
=
File
(
path
.
join
(
directory
.
path
,
'generated_material_localizations.dart'
));
final
File
materialLocalizationsFile
=
File
(
path
.
join
(
directory
.
path
,
'generated_material_localizations.dart'
));
materialLocalizationsFile
.
writeAsStringSync
(
materialLocalizations
!,
flush:
true
);
materialLocalizationsFile
.
writeAsStringSync
(
materialLocalizations
!,
flush:
true
);
final
File
cupertinoLocalizationsFile
=
File
(
path
.
join
(
directory
.
path
,
'generated_cupertino_localizations.dart'
));
final
File
cupertinoLocalizationsFile
=
File
(
path
.
join
(
directory
.
path
,
'generated_cupertino_localizations.dart'
));
cupertinoLocalizationsFile
.
writeAsStringSync
(
cupertinoLocalizations
!,
flush:
true
);
cupertinoLocalizationsFile
.
writeAsStringSync
(
cupertinoLocalizations
!,
flush:
true
);
}
else
{
}
else
{
if
(!
options
.
cupertinoOnly
)
{
if
(
options
.
cupertinoOnly
)
{
stdout
.
write
(
cupertinoLocalizations
);
}
else
if
(
options
.
materialOnly
)
{
stdout
.
write
(
materialLocalizations
);
}
else
if
(
options
.
widgetsOnly
)
{
stdout
.
write
(
widgetsLocalizations
);
}
else
{
stdout
.
write
(
widgetsLocalizations
);
stdout
.
write
(
materialLocalizations
);
stdout
.
write
(
materialLocalizations
);
}
if
(!
options
.
materialOnly
)
{
stdout
.
write
(
cupertinoLocalizations
);
stdout
.
write
(
cupertinoLocalizations
);
}
}
}
}
...
...
dev/tools/localization/gen_widgets_localizations.dart
0 → 100644
View file @
9e4b5fb7
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'localizations_utils.dart'
;
// See http://en.wikipedia.org/wiki/Right-to-left
const
List
<
String
>
_rtlLanguages
=
<
String
>[
'ar'
,
// Arabic
'fa'
,
// Farsi
'he'
,
// Hebrew
'ps'
,
// Pashto
'ur'
,
// Urdu
];
String
generateWidgetsHeader
(
String
regenerateInstructions
)
{
return
'''
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been automatically generated. Please do not edit it manually.
// To regenerate the file, use:
//
$regenerateInstructions
import '
dart:
collection
';
import '
dart:
ui
';
import '
../
widgets_localizations
.
dart
';
// The classes defined here encode all of the translations found in the
// `flutter_localizations/lib/src/l10n/*.arb` files.
//
// These classes are constructed by the [getWidgetsTranslation] method at the
// bottom of this file, and used by the [_WidgetsLocalizationsDelegate.load]
// method defined in `flutter_localizations/lib/src/widgets_localizations.dart`.'''
;
}
/// Returns the source of the constructor for a GlobalWidgetsLocalizations
/// subclass.
String
generateWidgetsConstructor
(
LocaleInfo
locale
)
{
final
String
localeName
=
locale
.
originalString
;
final
String
language
=
locale
.
languageCode
.
toLowerCase
();
final
String
textDirection
=
_rtlLanguages
.
contains
(
language
)
?
'TextDirection.rtl'
:
'TextDirection.ltr'
;
return
'''
/// Create an instance of the translation bundle for
${describeLocale(localeName)}
.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const WidgetsLocalization
${locale.camelCase()}
() : super(
$textDirection
);'''
;
}
/// Returns the source of the constructor for a GlobalWidgetsLocalizations
/// subclass.
String
generateWidgetsConstructorForCountrySubclass
(
LocaleInfo
locale
)
{
final
String
localeName
=
locale
.
originalString
;
return
'''
/// Create an instance of the translation bundle for
${describeLocale(localeName)}
.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const WidgetsLocalization
${locale.camelCase()}
();'''
;
}
const
String
widgetsFactoryName
=
'getWidgetsTranslation'
;
const
String
widgetsFactoryDeclaration
=
'''
GlobalWidgetsLocalizations? getWidgetsTranslation(
Locale locale,
) {'''
;
const
String
widgetsFactoryArguments
=
''
;
const
String
widgetsSupportedLanguagesConstant
=
'kWidgetsSupportedLanguages'
;
const
String
widgetsSupportedLanguagesDocMacro
=
'flutter.localizations.widgets.languages'
;
dev/tools/localization/localizations_utils.dart
View file @
9e4b5fb7
...
@@ -239,6 +239,10 @@ GeneratorOptions parseArgs(List<String> rawArgs) {
...
@@ -239,6 +239,10 @@ GeneratorOptions parseArgs(List<String> rawArgs) {
'remove-undefined'
,
'remove-undefined'
,
help:
'Remove any localizations that are not defined in the canonical locale.'
,
help:
'Remove any localizations that are not defined in the canonical locale.'
,
)
)
..
addFlag
(
'widgets'
,
help:
'Whether to print the generated classes for the Widgets package only. Ignored when --overwrite is passed.'
,
)
..
addFlag
(
..
addFlag
(
'material'
,
'material'
,
help:
'Whether to print the generated classes for the Material package only. Ignored when --overwrite is passed.'
,
help:
'Whether to print the generated classes for the Material package only. Ignored when --overwrite is passed.'
,
...
@@ -254,6 +258,7 @@ GeneratorOptions parseArgs(List<String> rawArgs) {
...
@@ -254,6 +258,7 @@ GeneratorOptions parseArgs(List<String> rawArgs) {
}
}
final
bool
writeToFile
=
args
[
'overwrite'
]
as
bool
;
final
bool
writeToFile
=
args
[
'overwrite'
]
as
bool
;
final
bool
removeUndefined
=
args
[
'remove-undefined'
]
as
bool
;
final
bool
removeUndefined
=
args
[
'remove-undefined'
]
as
bool
;
final
bool
widgetsOnly
=
args
[
'widgets'
]
as
bool
;
final
bool
materialOnly
=
args
[
'material'
]
as
bool
;
final
bool
materialOnly
=
args
[
'material'
]
as
bool
;
final
bool
cupertinoOnly
=
args
[
'cupertino'
]
as
bool
;
final
bool
cupertinoOnly
=
args
[
'cupertino'
]
as
bool
;
...
@@ -261,6 +266,7 @@ GeneratorOptions parseArgs(List<String> rawArgs) {
...
@@ -261,6 +266,7 @@ GeneratorOptions parseArgs(List<String> rawArgs) {
writeToFile:
writeToFile
,
writeToFile:
writeToFile
,
materialOnly:
materialOnly
,
materialOnly:
materialOnly
,
cupertinoOnly:
cupertinoOnly
,
cupertinoOnly:
cupertinoOnly
,
widgetsOnly:
widgetsOnly
,
removeUndefined:
removeUndefined
,
removeUndefined:
removeUndefined
,
);
);
}
}
...
@@ -271,12 +277,14 @@ class GeneratorOptions {
...
@@ -271,12 +277,14 @@ class GeneratorOptions {
required
this
.
removeUndefined
,
required
this
.
removeUndefined
,
required
this
.
materialOnly
,
required
this
.
materialOnly
,
required
this
.
cupertinoOnly
,
required
this
.
cupertinoOnly
,
required
this
.
widgetsOnly
,
});
});
final
bool
writeToFile
;
final
bool
writeToFile
;
final
bool
removeUndefined
;
final
bool
removeUndefined
;
final
bool
materialOnly
;
final
bool
materialOnly
;
final
bool
cupertinoOnly
;
final
bool
cupertinoOnly
;
final
bool
widgetsOnly
;
}
}
// See also //master/tools/gen_locale.dart in the engine repo.
// See also //master/tools/gen_locale.dart in the engine repo.
...
...
packages/flutter/lib/src/widgets/localizations.dart
View file @
9e4b5fb7
...
@@ -145,7 +145,7 @@ abstract class LocalizationsDelegate<T> {
...
@@ -145,7 +145,7 @@ abstract class LocalizationsDelegate<T> {
/// Interface for localized resource values for the lowest levels of the Flutter
/// Interface for localized resource values for the lowest levels of the Flutter
/// framework.
/// framework.
///
///
///
In particular, this
maps locales to a specific [Directionality] using the
///
This class also
maps locales to a specific [Directionality] using the
/// [textDirection] property.
/// [textDirection] property.
///
///
/// See also:
/// See also:
...
@@ -156,6 +156,30 @@ abstract class WidgetsLocalizations {
...
@@ -156,6 +156,30 @@ abstract class WidgetsLocalizations {
/// The reading direction for text in this locale.
/// The reading direction for text in this locale.
TextDirection
get
textDirection
;
TextDirection
get
textDirection
;
/// The semantics label used for [SliverReorderableList] to reorder an item in the
/// list to the start of the list.
String
get
reorderItemToStart
;
/// The semantics label used for [SliverReorderableList] to reorder an item in the
/// list to the end of the list.
String
get
reorderItemToEnd
;
/// The semantics label used for [SliverReorderableList] to reorder an item in the
/// list one space up the list.
String
get
reorderItemUp
;
/// The semantics label used for [SliverReorderableList] to reorder an item in the
/// list one space down the list.
String
get
reorderItemDown
;
/// The semantics label used for [SliverReorderableList] to reorder an item in the
/// list one space left in the list.
String
get
reorderItemLeft
;
/// The semantics label used for [SliverReorderableList] to reorder an item in the
/// list one space right in the list.
String
get
reorderItemRight
;
/// The `WidgetsLocalizations` from the closest [Localizations] instance
/// The `WidgetsLocalizations` from the closest [Localizations] instance
/// that encloses the given context.
/// that encloses the given context.
///
///
...
@@ -207,6 +231,24 @@ class DefaultWidgetsLocalizations implements WidgetsLocalizations {
...
@@ -207,6 +231,24 @@ class DefaultWidgetsLocalizations implements WidgetsLocalizations {
/// [LocalizationsDelegate] implementations typically call the static [load]
/// [LocalizationsDelegate] implementations typically call the static [load]
const
DefaultWidgetsLocalizations
();
const
DefaultWidgetsLocalizations
();
@override
String
get
reorderItemUp
=>
'Move up'
;
@override
String
get
reorderItemDown
=>
'Move down'
;
@override
String
get
reorderItemLeft
=>
'Move left'
;
@override
String
get
reorderItemRight
=>
'Move right'
;
@override
String
get
reorderItemToEnd
=>
'Move to the end'
;
@override
String
get
reorderItemToStart
=>
'Move to the start'
;
@override
@override
TextDirection
get
textDirection
=>
TextDirection
.
ltr
;
TextDirection
get
textDirection
=>
TextDirection
.
ltr
;
...
...
packages/flutter/test/cupertino/page_test.dart
View file @
9e4b5fb7
...
@@ -549,7 +549,7 @@ class RtlOverrideWidgetsDelegate extends LocalizationsDelegate<WidgetsLocalizati
...
@@ -549,7 +549,7 @@ class RtlOverrideWidgetsDelegate extends LocalizationsDelegate<WidgetsLocalizati
bool
shouldReload
(
LocalizationsDelegate
<
WidgetsLocalizations
>
oldDelegate
)
=>
false
;
bool
shouldReload
(
LocalizationsDelegate
<
WidgetsLocalizations
>
oldDelegate
)
=>
false
;
}
}
class
RtlOverrideWidgetsLocalization
implements
WidgetsLocalizations
{
class
RtlOverrideWidgetsLocalization
extends
Default
WidgetsLocalizations
{
const
RtlOverrideWidgetsLocalization
();
const
RtlOverrideWidgetsLocalization
();
@override
@override
TextDirection
get
textDirection
=>
TextDirection
.
rtl
;
TextDirection
get
textDirection
=>
TextDirection
.
rtl
;
...
...
packages/flutter/test/material/localizations_test.dart
View file @
9e4b5fb7
...
@@ -69,12 +69,6 @@ void main() {
...
@@ -69,12 +69,6 @@ void main() {
expect
(
localizations
.
signedInLabel
,
isNotNull
);
expect
(
localizations
.
signedInLabel
,
isNotNull
);
expect
(
localizations
.
hideAccountsLabel
,
isNotNull
);
expect
(
localizations
.
hideAccountsLabel
,
isNotNull
);
expect
(
localizations
.
showAccountsLabel
,
isNotNull
);
expect
(
localizations
.
showAccountsLabel
,
isNotNull
);
expect
(
localizations
.
reorderItemToStart
,
isNotNull
);
expect
(
localizations
.
reorderItemToEnd
,
isNotNull
);
expect
(
localizations
.
reorderItemUp
,
isNotNull
);
expect
(
localizations
.
reorderItemDown
,
isNotNull
);
expect
(
localizations
.
reorderItemLeft
,
isNotNull
);
expect
(
localizations
.
reorderItemRight
,
isNotNull
);
expect
(
localizations
.
keyboardKeyAlt
,
isNotNull
);
expect
(
localizations
.
keyboardKeyAlt
,
isNotNull
);
expect
(
localizations
.
keyboardKeyAltGraph
,
isNotNull
);
expect
(
localizations
.
keyboardKeyAltGraph
,
isNotNull
);
expect
(
localizations
.
keyboardKeyBackspace
,
isNotNull
);
expect
(
localizations
.
keyboardKeyBackspace
,
isNotNull
);
...
...
packages/flutter_localizations/lib/flutter_localizations.dart
View file @
9e4b5fb7
...
@@ -8,5 +8,6 @@ library flutter_localizations;
...
@@ -8,5 +8,6 @@ library flutter_localizations;
export
'src/cupertino_localizations.dart'
;
export
'src/cupertino_localizations.dart'
;
export
'src/l10n/generated_cupertino_localizations.dart'
;
export
'src/l10n/generated_cupertino_localizations.dart'
;
export
'src/l10n/generated_material_localizations.dart'
;
export
'src/l10n/generated_material_localizations.dart'
;
export
'src/l10n/generated_widgets_localizations.dart'
;
export
'src/material_localizations.dart'
;
export
'src/material_localizations.dart'
;
export
'src/widgets_localizations.dart'
;
export
'src/widgets_localizations.dart'
;
packages/flutter_localizations/lib/src/l10n/generated_widgets_localizations.dart
0 → 100644
View file @
9e4b5fb7
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been automatically generated. Please do not edit it manually.
// To regenerate the file, use:
// dart dev/tools/localization/bin/gen_localizations.dart --overwrite
import
'dart:collection'
;
import
'dart:ui'
;
import
'../widgets_localizations.dart'
;
// The classes defined here encode all of the translations found in the
// `flutter_localizations/lib/src/l10n/*.arb` files.
//
// These classes are constructed by the [getWidgetsTranslation] method at the
// bottom of this file, and used by the [_WidgetsLocalizationsDelegate.load]
// method defined in `flutter_localizations/lib/src/widgets_localizations.dart`.
/// The translations for Afrikaans (`af`).
class
WidgetsLocalizationAf
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Afrikaans.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationAf
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Skuif af'
;
@override
String
get
reorderItemLeft
=>
'Skuif na links'
;
@override
String
get
reorderItemRight
=>
'Skuif na regs'
;
@override
String
get
reorderItemToEnd
=>
'Skuif na die einde'
;
@override
String
get
reorderItemToStart
=>
'Skuif na die begin'
;
@override
String
get
reorderItemUp
=>
'Skuif op'
;
}
/// The translations for Amharic (`am`).
class
WidgetsLocalizationAm
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Amharic.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationAm
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'ወደ ታች ውሰድ'
;
@override
String
get
reorderItemLeft
=>
'ወደ ግራ ውሰድ'
;
@override
String
get
reorderItemRight
=>
'ወደ ቀኝ ውሰድ'
;
@override
String
get
reorderItemToEnd
=>
'ወደ መጨረሻ ውሰድ'
;
@override
String
get
reorderItemToStart
=>
'ወደ መጀመሪያ ውሰድ'
;
@override
String
get
reorderItemUp
=>
'ወደ ላይ ውሰድ'
;
}
/// The translations for Arabic (`ar`).
class
WidgetsLocalizationAr
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Arabic.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationAr
()
:
super
(
TextDirection
.
rtl
);
@override
String
get
reorderItemDown
=>
'نقل لأسفل'
;
@override
String
get
reorderItemLeft
=>
'نقل لليمين'
;
@override
String
get
reorderItemRight
=>
'نقل لليسار'
;
@override
String
get
reorderItemToEnd
=>
'نقل إلى نهاية القائمة'
;
@override
String
get
reorderItemToStart
=>
'نقل إلى بداية القائمة'
;
@override
String
get
reorderItemUp
=>
'نقل لأعلى'
;
}
/// The translations for Assamese (`as`).
class
WidgetsLocalizationAs
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Assamese.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationAs
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'তললৈ স্থানান্তৰ কৰক'
;
@override
String
get
reorderItemLeft
=>
'বাওঁফাললৈ স্থানান্তৰ কৰক'
;
@override
String
get
reorderItemRight
=>
'সোঁফাললৈ স্থানান্তৰ কৰক'
;
@override
String
get
reorderItemToEnd
=>
'শেষলৈ স্থানান্তৰ কৰক'
;
@override
String
get
reorderItemToStart
=>
'আৰম্ভণিলৈ স্থানান্তৰ কৰক'
;
@override
String
get
reorderItemUp
=>
'ওপৰলৈ নিয়ক'
;
}
/// The translations for Azerbaijani (`az`).
class
WidgetsLocalizationAz
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Azerbaijani.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationAz
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Aşağı köçürün'
;
@override
String
get
reorderItemLeft
=>
'Sola köçürün'
;
@override
String
get
reorderItemRight
=>
'Sağa köçürün'
;
@override
String
get
reorderItemToEnd
=>
'Sona köçürün'
;
@override
String
get
reorderItemToStart
=>
'Əvvələ köçürün'
;
@override
String
get
reorderItemUp
=>
'Yuxarı köçürün'
;
}
/// The translations for Belarusian (`be`).
class
WidgetsLocalizationBe
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Belarusian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationBe
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Перамясціць уніз'
;
@override
String
get
reorderItemLeft
=>
'Перамясціць улева'
;
@override
String
get
reorderItemRight
=>
'Перамясціць управа'
;
@override
String
get
reorderItemToEnd
=>
'Перамясціць у канец'
;
@override
String
get
reorderItemToStart
=>
'Перамясціць у пачатак'
;
@override
String
get
reorderItemUp
=>
'Перамясціць уверх'
;
}
/// The translations for Bulgarian (`bg`).
class
WidgetsLocalizationBg
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Bulgarian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationBg
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Преместване надолу'
;
@override
String
get
reorderItemLeft
=>
'Преместване наляво'
;
@override
String
get
reorderItemRight
=>
'Преместване надясно'
;
@override
String
get
reorderItemToEnd
=>
'Преместване в края'
;
@override
String
get
reorderItemToStart
=>
'Преместване в началото'
;
@override
String
get
reorderItemUp
=>
'Преместване нагоре'
;
}
/// The translations for Bengali Bangla (`bn`).
class
WidgetsLocalizationBn
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Bengali Bangla.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationBn
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'নিচের দিকে সরান'
;
@override
String
get
reorderItemLeft
=>
'বাঁদিকে সরান'
;
@override
String
get
reorderItemRight
=>
'ডানদিকে সরান'
;
@override
String
get
reorderItemToEnd
=>
'একদম শেষের দিকে যান'
;
@override
String
get
reorderItemToStart
=>
'চালু করতে সরান'
;
@override
String
get
reorderItemUp
=>
'উপরের দিকে সরান'
;
}
/// The translations for Bosnian (`bs`).
class
WidgetsLocalizationBs
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Bosnian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationBs
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Pomjeri nadolje'
;
@override
String
get
reorderItemLeft
=>
'Pomjeri lijevo'
;
@override
String
get
reorderItemRight
=>
'Pomjeri desno'
;
@override
String
get
reorderItemToEnd
=>
'Pomjerite na kraj'
;
@override
String
get
reorderItemToStart
=>
'Pomjerite na početak'
;
@override
String
get
reorderItemUp
=>
'Pomjeri nagore'
;
}
/// The translations for Catalan Valencian (`ca`).
class
WidgetsLocalizationCa
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Catalan Valencian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationCa
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Mou avall'
;
@override
String
get
reorderItemLeft
=>
"Mou cap a l'esquerra"
;
@override
String
get
reorderItemRight
=>
'Mou cap a la dreta'
;
@override
String
get
reorderItemToEnd
=>
'Mou al final'
;
@override
String
get
reorderItemToStart
=>
'Mou al principi'
;
@override
String
get
reorderItemUp
=>
'Mou amunt'
;
}
/// The translations for Czech (`cs`).
class
WidgetsLocalizationCs
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Czech.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationCs
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Přesunout dolů'
;
@override
String
get
reorderItemLeft
=>
'Přesunout doleva'
;
@override
String
get
reorderItemRight
=>
'Přesunout doprava'
;
@override
String
get
reorderItemToEnd
=>
'Přesunout na konec'
;
@override
String
get
reorderItemToStart
=>
'Přesunout na začátek'
;
@override
String
get
reorderItemUp
=>
'Přesunout nahoru'
;
}
/// The translations for Welsh (`cy`).
class
WidgetsLocalizationCy
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Welsh.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationCy
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Symud i lawr'
;
@override
String
get
reorderItemLeft
=>
"Symud i'r chwith"
;
@override
String
get
reorderItemRight
=>
"Symud i'r dde"
;
@override
String
get
reorderItemToEnd
=>
"Symud i'r diwedd"
;
@override
String
get
reorderItemToStart
=>
"Symud i'r dechrau"
;
@override
String
get
reorderItemUp
=>
'Symud i fyny'
;
}
/// The translations for Danish (`da`).
class
WidgetsLocalizationDa
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Danish.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationDa
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Flyt ned'
;
@override
String
get
reorderItemLeft
=>
'Flyt til venstre'
;
@override
String
get
reorderItemRight
=>
'Flyt til højre'
;
@override
String
get
reorderItemToEnd
=>
'Flyt til sidst på listen'
;
@override
String
get
reorderItemToStart
=>
'Flyt til først på listen'
;
@override
String
get
reorderItemUp
=>
'Flyt op'
;
}
/// The translations for German (`de`).
class
WidgetsLocalizationDe
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for German.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationDe
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Nach unten verschieben'
;
@override
String
get
reorderItemLeft
=>
'Nach links verschieben'
;
@override
String
get
reorderItemRight
=>
'Nach rechts verschieben'
;
@override
String
get
reorderItemToEnd
=>
'An das Ende verschieben'
;
@override
String
get
reorderItemToStart
=>
'An den Anfang verschieben'
;
@override
String
get
reorderItemUp
=>
'Nach oben verschieben'
;
}
/// The translations for German, as used in Switzerland (`de_CH`).
class
WidgetsLocalizationDeCh
extends
WidgetsLocalizationDe
{
/// Create an instance of the translation bundle for German, as used in Switzerland.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationDeCh
();
}
/// The translations for Modern Greek (`el`).
class
WidgetsLocalizationEl
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Modern Greek.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEl
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Μετακίνηση προς τα κάτω'
;
@override
String
get
reorderItemLeft
=>
'Μετακίνηση αριστερά'
;
@override
String
get
reorderItemRight
=>
'Μετακίνηση δεξιά'
;
@override
String
get
reorderItemToEnd
=>
'Μετακίνηση στο τέλος'
;
@override
String
get
reorderItemToStart
=>
'Μετακίνηση στην αρχή'
;
@override
String
get
reorderItemUp
=>
'Μετακίνηση προς τα πάνω'
;
}
/// The translations for English (`en`).
class
WidgetsLocalizationEn
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for English.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEn
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Move down'
;
@override
String
get
reorderItemLeft
=>
'Move left'
;
@override
String
get
reorderItemRight
=>
'Move right'
;
@override
String
get
reorderItemToEnd
=>
'Move to the end'
;
@override
String
get
reorderItemToStart
=>
'Move to the start'
;
@override
String
get
reorderItemUp
=>
'Move up'
;
}
/// The translations for English, as used in Australia (`en_AU`).
class
WidgetsLocalizationEnAu
extends
WidgetsLocalizationEn
{
/// Create an instance of the translation bundle for English, as used in Australia.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEnAu
();
@override
String
get
reorderItemLeft
=>
'Move to the left'
;
@override
String
get
reorderItemRight
=>
'Move to the right'
;
}
/// The translations for English, as used in Canada (`en_CA`).
class
WidgetsLocalizationEnCa
extends
WidgetsLocalizationEn
{
/// Create an instance of the translation bundle for English, as used in Canada.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEnCa
();
@override
String
get
reorderItemLeft
=>
'Move to the left'
;
@override
String
get
reorderItemRight
=>
'Move to the right'
;
}
/// The translations for English, as used in the United Kingdom (`en_GB`).
class
WidgetsLocalizationEnGb
extends
WidgetsLocalizationEn
{
/// Create an instance of the translation bundle for English, as used in the United Kingdom.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEnGb
();
@override
String
get
reorderItemLeft
=>
'Move to the left'
;
@override
String
get
reorderItemRight
=>
'Move to the right'
;
}
/// The translations for English, as used in Ireland (`en_IE`).
class
WidgetsLocalizationEnIe
extends
WidgetsLocalizationEn
{
/// Create an instance of the translation bundle for English, as used in Ireland.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEnIe
();
@override
String
get
reorderItemLeft
=>
'Move to the left'
;
@override
String
get
reorderItemRight
=>
'Move to the right'
;
}
/// The translations for English, as used in India (`en_IN`).
class
WidgetsLocalizationEnIn
extends
WidgetsLocalizationEn
{
/// Create an instance of the translation bundle for English, as used in India.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEnIn
();
@override
String
get
reorderItemLeft
=>
'Move to the left'
;
@override
String
get
reorderItemRight
=>
'Move to the right'
;
}
/// The translations for English, as used in New Zealand (`en_NZ`).
class
WidgetsLocalizationEnNz
extends
WidgetsLocalizationEn
{
/// Create an instance of the translation bundle for English, as used in New Zealand.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEnNz
();
@override
String
get
reorderItemLeft
=>
'Move to the left'
;
@override
String
get
reorderItemRight
=>
'Move to the right'
;
}
/// The translations for English, as used in Singapore (`en_SG`).
class
WidgetsLocalizationEnSg
extends
WidgetsLocalizationEn
{
/// Create an instance of the translation bundle for English, as used in Singapore.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEnSg
();
@override
String
get
reorderItemLeft
=>
'Move to the left'
;
@override
String
get
reorderItemRight
=>
'Move to the right'
;
}
/// The translations for English, as used in South Africa (`en_ZA`).
class
WidgetsLocalizationEnZa
extends
WidgetsLocalizationEn
{
/// Create an instance of the translation bundle for English, as used in South Africa.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEnZa
();
@override
String
get
reorderItemLeft
=>
'Move to the left'
;
@override
String
get
reorderItemRight
=>
'Move to the right'
;
}
/// The translations for Spanish Castilian (`es`).
class
WidgetsLocalizationEs
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Spanish Castilian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEs
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Mover hacia abajo'
;
@override
String
get
reorderItemLeft
=>
'Mover hacia la izquierda'
;
@override
String
get
reorderItemRight
=>
'Mover hacia la derecha'
;
@override
String
get
reorderItemToEnd
=>
'Mover al final'
;
@override
String
get
reorderItemToStart
=>
'Mover al principio'
;
@override
String
get
reorderItemUp
=>
'Mover hacia arriba'
;
}
/// The translations for Spanish Castilian, as used in Latin America and the Caribbean (`es_419`).
class
WidgetsLocalizationEs419
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Latin America and the Caribbean.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEs419
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Argentina (`es_AR`).
class
WidgetsLocalizationEsAr
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Argentina.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsAr
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Bolivia (`es_BO`).
class
WidgetsLocalizationEsBo
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Bolivia.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsBo
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Chile (`es_CL`).
class
WidgetsLocalizationEsCl
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Chile.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsCl
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Colombia (`es_CO`).
class
WidgetsLocalizationEsCo
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Colombia.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsCo
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Costa Rica (`es_CR`).
class
WidgetsLocalizationEsCr
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Costa Rica.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsCr
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in the Dominican Republic (`es_DO`).
class
WidgetsLocalizationEsDo
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in the Dominican Republic.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsDo
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Ecuador (`es_EC`).
class
WidgetsLocalizationEsEc
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Ecuador.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsEc
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Guatemala (`es_GT`).
class
WidgetsLocalizationEsGt
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Guatemala.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsGt
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Honduras (`es_HN`).
class
WidgetsLocalizationEsHn
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Honduras.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsHn
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Mexico (`es_MX`).
class
WidgetsLocalizationEsMx
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Mexico.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsMx
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Nicaragua (`es_NI`).
class
WidgetsLocalizationEsNi
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Nicaragua.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsNi
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Panama (`es_PA`).
class
WidgetsLocalizationEsPa
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Panama.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsPa
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Peru (`es_PE`).
class
WidgetsLocalizationEsPe
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Peru.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsPe
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Puerto Rico (`es_PR`).
class
WidgetsLocalizationEsPr
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Puerto Rico.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsPr
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Paraguay (`es_PY`).
class
WidgetsLocalizationEsPy
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Paraguay.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsPy
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in El Salvador (`es_SV`).
class
WidgetsLocalizationEsSv
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in El Salvador.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsSv
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in the United States (`es_US`).
class
WidgetsLocalizationEsUs
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in the United States.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsUs
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Uruguay (`es_UY`).
class
WidgetsLocalizationEsUy
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Uruguay.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsUy
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Spanish Castilian, as used in Venezuela (`es_VE`).
class
WidgetsLocalizationEsVe
extends
WidgetsLocalizationEs
{
/// Create an instance of the translation bundle for Spanish Castilian, as used in Venezuela.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEsVe
();
@override
String
get
reorderItemToStart
=>
'Mover al inicio'
;
}
/// The translations for Estonian (`et`).
class
WidgetsLocalizationEt
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Estonian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEt
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Teisalda alla'
;
@override
String
get
reorderItemLeft
=>
'Teisalda vasakule'
;
@override
String
get
reorderItemRight
=>
'Teisalda paremale'
;
@override
String
get
reorderItemToEnd
=>
'Teisalda lõppu'
;
@override
String
get
reorderItemToStart
=>
'Teisalda algusesse'
;
@override
String
get
reorderItemUp
=>
'Teisalda üles'
;
}
/// The translations for Basque (`eu`).
class
WidgetsLocalizationEu
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Basque.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationEu
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Eraman behera'
;
@override
String
get
reorderItemLeft
=>
'Eraman ezkerrera'
;
@override
String
get
reorderItemRight
=>
'Eraman eskuinera'
;
@override
String
get
reorderItemToEnd
=>
'Eraman amaierara'
;
@override
String
get
reorderItemToStart
=>
'Eraman hasierara'
;
@override
String
get
reorderItemUp
=>
'Eraman gora'
;
}
/// The translations for Persian (`fa`).
class
WidgetsLocalizationFa
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Persian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationFa
()
:
super
(
TextDirection
.
rtl
);
@override
String
get
reorderItemDown
=>
'انتقال به پایین'
;
@override
String
get
reorderItemLeft
=>
'انتقال به راست'
;
@override
String
get
reorderItemRight
=>
'انتقال به چپ'
;
@override
String
get
reorderItemToEnd
=>
'انتقال به انتها'
;
@override
String
get
reorderItemToStart
=>
'انتقال به ابتدا'
;
@override
String
get
reorderItemUp
=>
'انتقال به بالا'
;
}
/// The translations for Finnish (`fi`).
class
WidgetsLocalizationFi
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Finnish.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationFi
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Siirrä alas'
;
@override
String
get
reorderItemLeft
=>
'Siirrä vasemmalle'
;
@override
String
get
reorderItemRight
=>
'Siirrä oikealle'
;
@override
String
get
reorderItemToEnd
=>
'Siirrä loppuun'
;
@override
String
get
reorderItemToStart
=>
'Siirrä alkuun'
;
@override
String
get
reorderItemUp
=>
'Siirrä ylös'
;
}
/// The translations for Filipino Pilipino (`fil`).
class
WidgetsLocalizationFil
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Filipino Pilipino.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationFil
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Ilipat pababa'
;
@override
String
get
reorderItemLeft
=>
'Ilipat pakaliwa'
;
@override
String
get
reorderItemRight
=>
'Ilipat pakanan'
;
@override
String
get
reorderItemToEnd
=>
'Ilipat sa dulo'
;
@override
String
get
reorderItemToStart
=>
'Ilipat sa simula'
;
@override
String
get
reorderItemUp
=>
'Ilipat pataas'
;
}
/// The translations for French (`fr`).
class
WidgetsLocalizationFr
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for French.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationFr
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Déplacer vers le bas'
;
@override
String
get
reorderItemLeft
=>
'Déplacer vers la gauche'
;
@override
String
get
reorderItemRight
=>
'Déplacer vers la droite'
;
@override
String
get
reorderItemToEnd
=>
'Déplacer vers la fin'
;
@override
String
get
reorderItemToStart
=>
'Déplacer vers le début'
;
@override
String
get
reorderItemUp
=>
'Déplacer vers le haut'
;
}
/// The translations for French, as used in Canada (`fr_CA`).
class
WidgetsLocalizationFrCa
extends
WidgetsLocalizationFr
{
/// Create an instance of the translation bundle for French, as used in Canada.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationFrCa
();
@override
String
get
reorderItemToStart
=>
'Déplacer au début'
;
@override
String
get
reorderItemToEnd
=>
'Déplacer à la fin'
;
}
/// The translations for Galician (`gl`).
class
WidgetsLocalizationGl
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Galician.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationGl
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Mover cara abaixo'
;
@override
String
get
reorderItemLeft
=>
'Mover cara á esquerda'
;
@override
String
get
reorderItemRight
=>
'Mover cara á dereita'
;
@override
String
get
reorderItemToEnd
=>
'Mover ao final'
;
@override
String
get
reorderItemToStart
=>
'Mover ao inicio'
;
@override
String
get
reorderItemUp
=>
'Mover cara arriba'
;
}
/// The translations for Swiss German Alemannic Alsatian (`gsw`).
class
WidgetsLocalizationGsw
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Swiss German Alemannic Alsatian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationGsw
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Nach unten verschieben'
;
@override
String
get
reorderItemLeft
=>
'Nach links verschieben'
;
@override
String
get
reorderItemRight
=>
'Nach rechts verschieben'
;
@override
String
get
reorderItemToEnd
=>
'An das Ende verschieben'
;
@override
String
get
reorderItemToStart
=>
'An den Anfang verschieben'
;
@override
String
get
reorderItemUp
=>
'Nach oben verschieben'
;
}
/// The translations for Gujarati (`gu`).
class
WidgetsLocalizationGu
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Gujarati.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationGu
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'નીચે ખસેડો'
;
@override
String
get
reorderItemLeft
=>
'ડાબે ખસેડો'
;
@override
String
get
reorderItemRight
=>
'જમણે ખસેડો'
;
@override
String
get
reorderItemToEnd
=>
'અંતમાં ખસેડો'
;
@override
String
get
reorderItemToStart
=>
'પ્રારંભમાં ખસેડો'
;
@override
String
get
reorderItemUp
=>
'ઉપર ખસેડો'
;
}
/// The translations for Hebrew (`he`).
class
WidgetsLocalizationHe
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Hebrew.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationHe
()
:
super
(
TextDirection
.
rtl
);
@override
String
get
reorderItemDown
=>
'העברה למטה'
;
@override
String
get
reorderItemLeft
=>
'העברה שמאלה'
;
@override
String
get
reorderItemRight
=>
'העברה ימינה'
;
@override
String
get
reorderItemToEnd
=>
'העברה לסוף'
;
@override
String
get
reorderItemToStart
=>
'העברה להתחלה'
;
@override
String
get
reorderItemUp
=>
'העברה למעלה'
;
}
/// The translations for Hindi (`hi`).
class
WidgetsLocalizationHi
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Hindi.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationHi
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'नीचे ले जाएं'
;
@override
String
get
reorderItemLeft
=>
'बाएं ले जाएं'
;
@override
String
get
reorderItemRight
=>
'दाएं ले जाएं'
;
@override
String
get
reorderItemToEnd
=>
'आखिर में ले जाएं'
;
@override
String
get
reorderItemToStart
=>
'शुरुआत पर ले जाएं'
;
@override
String
get
reorderItemUp
=>
'ऊपर ले जाएं'
;
}
/// The translations for Croatian (`hr`).
class
WidgetsLocalizationHr
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Croatian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationHr
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Pomakni prema dolje'
;
@override
String
get
reorderItemLeft
=>
'Pomakni ulijevo'
;
@override
String
get
reorderItemRight
=>
'Pomakni udesno'
;
@override
String
get
reorderItemToEnd
=>
'Premjesti na kraj'
;
@override
String
get
reorderItemToStart
=>
'Premjesti na početak'
;
@override
String
get
reorderItemUp
=>
'Pomakni prema gore'
;
}
/// The translations for Hungarian (`hu`).
class
WidgetsLocalizationHu
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Hungarian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationHu
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Áthelyezés lefelé'
;
@override
String
get
reorderItemLeft
=>
'Áthelyezés balra'
;
@override
String
get
reorderItemRight
=>
'Áthelyezés jobbra'
;
@override
String
get
reorderItemToEnd
=>
'Áthelyezés a végére'
;
@override
String
get
reorderItemToStart
=>
'Áthelyezés az elejére'
;
@override
String
get
reorderItemUp
=>
'Áthelyezés felfelé'
;
}
/// The translations for Armenian (`hy`).
class
WidgetsLocalizationHy
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Armenian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationHy
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Տեղափոխել ներքև'
;
@override
String
get
reorderItemLeft
=>
'Տեղափոխել ձախ'
;
@override
String
get
reorderItemRight
=>
'Տեղափոխել աջ'
;
@override
String
get
reorderItemToEnd
=>
'Տեղափոխել վերջ'
;
@override
String
get
reorderItemToStart
=>
'Տեղափոխել սկիզբ'
;
@override
String
get
reorderItemUp
=>
'Տեղափոխել վերև'
;
}
/// The translations for Indonesian (`id`).
class
WidgetsLocalizationId
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Indonesian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationId
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Turunkan'
;
@override
String
get
reorderItemLeft
=>
'Pindahkan ke kiri'
;
@override
String
get
reorderItemRight
=>
'Pindahkan ke kanan'
;
@override
String
get
reorderItemToEnd
=>
'Pindahkan ke akhir'
;
@override
String
get
reorderItemToStart
=>
'Pindahkan ke awal'
;
@override
String
get
reorderItemUp
=>
'Naikkan'
;
}
/// The translations for Icelandic (`is`).
class
WidgetsLocalizationIs
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Icelandic.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationIs
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Færa niður'
;
@override
String
get
reorderItemLeft
=>
'Færa til vinstri'
;
@override
String
get
reorderItemRight
=>
'Færa til hægri'
;
@override
String
get
reorderItemToEnd
=>
'Færa aftast'
;
@override
String
get
reorderItemToStart
=>
'Færa fremst'
;
@override
String
get
reorderItemUp
=>
'Færa upp'
;
}
/// The translations for Italian (`it`).
class
WidgetsLocalizationIt
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Italian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationIt
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Sposta giù'
;
@override
String
get
reorderItemLeft
=>
'Sposta a sinistra'
;
@override
String
get
reorderItemRight
=>
'Sposta a destra'
;
@override
String
get
reorderItemToEnd
=>
'Sposta alla fine'
;
@override
String
get
reorderItemToStart
=>
"Sposta all'inizio"
;
@override
String
get
reorderItemUp
=>
'Sposta su'
;
}
/// The translations for Japanese (`ja`).
class
WidgetsLocalizationJa
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Japanese.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationJa
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'下に移動'
;
@override
String
get
reorderItemLeft
=>
'左に移動'
;
@override
String
get
reorderItemRight
=>
'右に移動'
;
@override
String
get
reorderItemToEnd
=>
'最後に移動'
;
@override
String
get
reorderItemToStart
=>
'先頭に移動'
;
@override
String
get
reorderItemUp
=>
'上に移動'
;
}
/// The translations for Georgian (`ka`).
class
WidgetsLocalizationKa
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Georgian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationKa
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'ქვემოთ გადატანა'
;
@override
String
get
reorderItemLeft
=>
'მარცხნივ გადატანა'
;
@override
String
get
reorderItemRight
=>
'მარჯვნივ გადატანა'
;
@override
String
get
reorderItemToEnd
=>
'ბოლოში გადატანა'
;
@override
String
get
reorderItemToStart
=>
'დასაწყისში გადატანა'
;
@override
String
get
reorderItemUp
=>
'ზემოთ გადატანა'
;
}
/// The translations for Kazakh (`kk`).
class
WidgetsLocalizationKk
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Kazakh.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationKk
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Төменге жылжыту'
;
@override
String
get
reorderItemLeft
=>
'Солға жылжыту'
;
@override
String
get
reorderItemRight
=>
'Оңға жылжыту'
;
@override
String
get
reorderItemToEnd
=>
'Соңына өту'
;
@override
String
get
reorderItemToStart
=>
'Басына өту'
;
@override
String
get
reorderItemUp
=>
'Жоғарыға жылжыту'
;
}
/// The translations for Khmer Central Khmer (`km`).
class
WidgetsLocalizationKm
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Khmer Central Khmer.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationKm
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'ផ្លាស់ទីចុះក្រោម'
;
@override
String
get
reorderItemLeft
=>
'ផ្លាស់ទីទៅឆ្វេង'
;
@override
String
get
reorderItemRight
=>
'ផ្លាស់ទីទៅស្តាំ'
;
@override
String
get
reorderItemToEnd
=>
'ផ្លាស់ទីទៅចំណុចបញ្ចប់'
;
@override
String
get
reorderItemToStart
=>
'ផ្លាស់ទីទៅចំណុចចាប់ផ្ដើម'
;
@override
String
get
reorderItemUp
=>
'ផ្លាស់ទីឡើងលើ'
;
}
/// The translations for Kannada (`kn`).
class
WidgetsLocalizationKn
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Kannada.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationKn
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'
\
u{c95}
\
u{cc6}
\
u{cb3}
\
u{c97}
\
u{cc6}
\
u{20}
\
u{cb8}
\
u{cb0}
\
u{cbf}
\
u{cb8}
\
u{cbf}'
;
@override
String
get
reorderItemLeft
=>
'
\
u{c8e}
\
u{ca1}
\
u{c95}
\
u{ccd}
\
u{c95}
\
u{cc6}
\
u{20}
\
u{cb8}
\
u{cb0}
\
u{cbf}
\
u{cb8}
\
u{cbf}'
;
@override
String
get
reorderItemRight
=>
'
\
u{cac}
\
u{cb2}
\
u{c95}
\
u{ccd}
\
u{c95}
\
u{cc6}
\
u{20}
\
u{cb8}
\
u{cb0}
\
u{cbf}
\
u{cb8}
\
u{cbf}'
;
@override
String
get
reorderItemToEnd
=>
'
\
u{c95}
\
u{cca}
\
u{ca8}
\
u{cc6}
\
u{c97}
\
u{cc6}
\
u{20}
\
u{cb8}
\
u{cb0}
\
u{cbf}
\
u{cb8}
\
u{cbf}'
;
@override
String
get
reorderItemToStart
=>
'
\
u{caa}
\
u{ccd}
\
u{cb0}
\
u{cbe}
\
u{cb0}
\
u{c82}
\
u{cad}
\
u{c95}
\
u{ccd}
\
u{c95}
\
u{cc6}
\
u{20}
\
u{cb8}
\
u{cb0}
\
u{cbf}
\
u{cb8}
\
u{cbf}'
;
@override
String
get
reorderItemUp
=>
'
\
u{cae}
\
u{cc7}
\
u{cb2}
\
u{cc6}
\
u{20}
\
u{cb8}
\
u{cb0}
\
u{cbf}
\
u{cb8}
\
u{cbf}'
;
}
/// The translations for Korean (`ko`).
class
WidgetsLocalizationKo
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Korean.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationKo
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'아래로 이동'
;
@override
String
get
reorderItemLeft
=>
'왼쪽으로 이동'
;
@override
String
get
reorderItemRight
=>
'오른쪽으로 이동'
;
@override
String
get
reorderItemToEnd
=>
'끝으로 이동'
;
@override
String
get
reorderItemToStart
=>
'시작으로 이동'
;
@override
String
get
reorderItemUp
=>
'위로 이동'
;
}
/// The translations for Kirghiz Kyrgyz (`ky`).
class
WidgetsLocalizationKy
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Kirghiz Kyrgyz.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationKy
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Төмөн жылдыруу'
;
@override
String
get
reorderItemLeft
=>
'Солго жылдыруу'
;
@override
String
get
reorderItemRight
=>
'Оңго жылдыруу'
;
@override
String
get
reorderItemToEnd
=>
'Аягына жылдыруу'
;
@override
String
get
reorderItemToStart
=>
'Башына жылдыруу'
;
@override
String
get
reorderItemUp
=>
'Жогору жылдыруу'
;
}
/// The translations for Lao (`lo`).
class
WidgetsLocalizationLo
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Lao.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationLo
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'ຍ້າຍລົງ'
;
@override
String
get
reorderItemLeft
=>
'ຍ້າຍໄປຊ້າຍ'
;
@override
String
get
reorderItemRight
=>
'ຍ້າຍໄປຂວາ'
;
@override
String
get
reorderItemToEnd
=>
'ຍ້າຍໄປສິ້ນສຸດ'
;
@override
String
get
reorderItemToStart
=>
'ຍ້າຍໄປເລີ່ມຕົ້ນ'
;
@override
String
get
reorderItemUp
=>
'ຍ້າຍຂຶ້ນ'
;
}
/// The translations for Lithuanian (`lt`).
class
WidgetsLocalizationLt
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Lithuanian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationLt
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Perkelti žemyn'
;
@override
String
get
reorderItemLeft
=>
'Perkelti kairėn'
;
@override
String
get
reorderItemRight
=>
'Perkelti dešinėn'
;
@override
String
get
reorderItemToEnd
=>
'Perkelti į pabaigą'
;
@override
String
get
reorderItemToStart
=>
'Perkelti į pradžią'
;
@override
String
get
reorderItemUp
=>
'Perkelti aukštyn'
;
}
/// The translations for Latvian (`lv`).
class
WidgetsLocalizationLv
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Latvian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationLv
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Pārvietot uz leju'
;
@override
String
get
reorderItemLeft
=>
'Pārvietot pa kreisi'
;
@override
String
get
reorderItemRight
=>
'Pārvietot pa labi'
;
@override
String
get
reorderItemToEnd
=>
'Pārvietot uz beigām'
;
@override
String
get
reorderItemToStart
=>
'Pārvietot uz sākumu'
;
@override
String
get
reorderItemUp
=>
'Pārvietot uz augšu'
;
}
/// The translations for Macedonian (`mk`).
class
WidgetsLocalizationMk
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Macedonian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationMk
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Преместете надолу'
;
@override
String
get
reorderItemLeft
=>
'Преместете налево'
;
@override
String
get
reorderItemRight
=>
'Преместете надесно'
;
@override
String
get
reorderItemToEnd
=>
'Преместете на крајот'
;
@override
String
get
reorderItemToStart
=>
'Преместете на почеток'
;
@override
String
get
reorderItemUp
=>
'Преместете нагоре'
;
}
/// The translations for Malayalam (`ml`).
class
WidgetsLocalizationMl
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Malayalam.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationMl
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'താഴോട്ട് നീക്കുക'
;
@override
String
get
reorderItemLeft
=>
'ഇടത്തോട്ട് നീക്കുക'
;
@override
String
get
reorderItemRight
=>
'വലത്തോട്ട് നീക്കുക'
;
@override
String
get
reorderItemToEnd
=>
'അവസാന ഭാഗത്തേക്ക് പോവുക'
;
@override
String
get
reorderItemToStart
=>
'തുടക്കത്തിലേക്ക് പോവുക'
;
@override
String
get
reorderItemUp
=>
'മുകളിലോട്ട് നീക്കുക'
;
}
/// The translations for Mongolian (`mn`).
class
WidgetsLocalizationMn
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Mongolian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationMn
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Доош зөөх'
;
@override
String
get
reorderItemLeft
=>
'Зүүн тийш зөөх'
;
@override
String
get
reorderItemRight
=>
'Баруун тийш зөөх'
;
@override
String
get
reorderItemToEnd
=>
'Төгсгөл рүү зөөх'
;
@override
String
get
reorderItemToStart
=>
'Эхлэл рүү зөөх'
;
@override
String
get
reorderItemUp
=>
'Дээш зөөх'
;
}
/// The translations for Marathi (`mr`).
class
WidgetsLocalizationMr
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Marathi.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationMr
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'खाली हलवा'
;
@override
String
get
reorderItemLeft
=>
'डावीकडे हलवा'
;
@override
String
get
reorderItemRight
=>
'उजवीकडे हलवा'
;
@override
String
get
reorderItemToEnd
=>
'शेवटाकडे हलवा'
;
@override
String
get
reorderItemToStart
=>
'सुरुवातीला हलवा'
;
@override
String
get
reorderItemUp
=>
'वर हलवा'
;
}
/// The translations for Malay (`ms`).
class
WidgetsLocalizationMs
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Malay.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationMs
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Alih ke bawah'
;
@override
String
get
reorderItemLeft
=>
'Alih ke kiri'
;
@override
String
get
reorderItemRight
=>
'Alih ke kanan'
;
@override
String
get
reorderItemToEnd
=>
'Alih ke penghujung'
;
@override
String
get
reorderItemToStart
=>
'Alih ke permulaan'
;
@override
String
get
reorderItemUp
=>
'Alih ke atas'
;
}
/// The translations for Burmese (`my`).
class
WidgetsLocalizationMy
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Burmese.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationMy
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'အောက်သို့ရွှေ့ရန်'
;
@override
String
get
reorderItemLeft
=>
'ဘယ်ဘက်သို့ရွှေ့ရန်'
;
@override
String
get
reorderItemRight
=>
'ညာဘက်သို့ရွှေ့ရန်'
;
@override
String
get
reorderItemToEnd
=>
'အဆုံးသို့ ရွှေ့ရန်'
;
@override
String
get
reorderItemToStart
=>
'အစသို့ ရွှေ့ရန်'
;
@override
String
get
reorderItemUp
=>
'အပေါ်သို့ ရွှေ့ရန်'
;
}
/// The translations for Norwegian Bokmål (`nb`).
class
WidgetsLocalizationNb
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Norwegian Bokmål.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationNb
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Flytt ned'
;
@override
String
get
reorderItemLeft
=>
'Flytt til venstre'
;
@override
String
get
reorderItemRight
=>
'Flytt til høyre'
;
@override
String
get
reorderItemToEnd
=>
'Flytt til slutten'
;
@override
String
get
reorderItemToStart
=>
'Flytt til starten'
;
@override
String
get
reorderItemUp
=>
'Flytt opp'
;
}
/// The translations for Nepali (`ne`).
class
WidgetsLocalizationNe
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Nepali.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationNe
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'तल सार्नुहोस्'
;
@override
String
get
reorderItemLeft
=>
'बायाँ सार्नुहोस्'
;
@override
String
get
reorderItemRight
=>
'दायाँ सार्नुहोस्'
;
@override
String
get
reorderItemToEnd
=>
'अन्त्यमा जानुहोस्'
;
@override
String
get
reorderItemToStart
=>
'सुरुमा सार्नुहोस्'
;
@override
String
get
reorderItemUp
=>
'माथि सार्नुहोस्'
;
}
/// The translations for Dutch Flemish (`nl`).
class
WidgetsLocalizationNl
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Dutch Flemish.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationNl
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Omlaag verplaatsen'
;
@override
String
get
reorderItemLeft
=>
'Naar links verplaatsen'
;
@override
String
get
reorderItemRight
=>
'Naar rechts verplaatsen'
;
@override
String
get
reorderItemToEnd
=>
'Naar het einde verplaatsen'
;
@override
String
get
reorderItemToStart
=>
'Naar het begin verplaatsen'
;
@override
String
get
reorderItemUp
=>
'Omhoog verplaatsen'
;
}
/// The translations for Norwegian (`no`).
class
WidgetsLocalizationNo
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Norwegian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationNo
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Flytt ned'
;
@override
String
get
reorderItemLeft
=>
'Flytt til venstre'
;
@override
String
get
reorderItemRight
=>
'Flytt til høyre'
;
@override
String
get
reorderItemToEnd
=>
'Flytt til slutten'
;
@override
String
get
reorderItemToStart
=>
'Flytt til starten'
;
@override
String
get
reorderItemUp
=>
'Flytt opp'
;
}
/// The translations for Oriya (`or`).
class
WidgetsLocalizationOr
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Oriya.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationOr
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'ତଳକୁ ଯାଆନ୍ତୁ'
;
@override
String
get
reorderItemLeft
=>
'ବାମକୁ ଯାଆନ୍ତୁ'
;
@override
String
get
reorderItemRight
=>
'ଡାହାଣକୁ ଯାଆନ୍ତୁ'
;
@override
String
get
reorderItemToEnd
=>
'ଶେଷକୁ ଯାଆନ୍ତୁ'
;
@override
String
get
reorderItemToStart
=>
'ଆରମ୍ଭକୁ ଯାଆନ୍ତୁ'
;
@override
String
get
reorderItemUp
=>
'ଉପରକୁ ନିଅନ୍ତୁ'
;
}
/// The translations for Panjabi Punjabi (`pa`).
class
WidgetsLocalizationPa
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Panjabi Punjabi.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationPa
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'ਹੇਠਾਂ ਲਿਜਾਓ'
;
@override
String
get
reorderItemLeft
=>
'ਖੱਬੇ ਲਿਜਾਓ'
;
@override
String
get
reorderItemRight
=>
'ਸੱਜੇ ਲਿਜਾਓ'
;
@override
String
get
reorderItemToEnd
=>
'ਅੰਤ ਵਿੱਚ ਲਿਜਾਓ'
;
@override
String
get
reorderItemToStart
=>
'ਸ਼ੁਰੂ ਵਿੱਚ ਲਿਜਾਓ'
;
@override
String
get
reorderItemUp
=>
'ਉੱਪਰ ਲਿਜਾਓ'
;
}
/// The translations for Polish (`pl`).
class
WidgetsLocalizationPl
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Polish.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationPl
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Przenieś w dół'
;
@override
String
get
reorderItemLeft
=>
'Przenieś w lewo'
;
@override
String
get
reorderItemRight
=>
'Przenieś w prawo'
;
@override
String
get
reorderItemToEnd
=>
'Przenieś na koniec'
;
@override
String
get
reorderItemToStart
=>
'Przenieś na początek'
;
@override
String
get
reorderItemUp
=>
'Przenieś w górę'
;
}
/// The translations for Pushto Pashto (`ps`).
class
WidgetsLocalizationPs
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Pushto Pashto.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationPs
()
:
super
(
TextDirection
.
rtl
);
@override
String
get
reorderItemDown
=>
'Move down'
;
@override
String
get
reorderItemLeft
=>
'Move left'
;
@override
String
get
reorderItemRight
=>
'Move right'
;
@override
String
get
reorderItemToEnd
=>
'Move to the end'
;
@override
String
get
reorderItemToStart
=>
'Move to the start'
;
@override
String
get
reorderItemUp
=>
'Move up'
;
}
/// The translations for Portuguese (`pt`).
class
WidgetsLocalizationPt
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Portuguese.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationPt
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Mover para baixo'
;
@override
String
get
reorderItemLeft
=>
'Mover para a esquerda'
;
@override
String
get
reorderItemRight
=>
'Mover para a direita'
;
@override
String
get
reorderItemToEnd
=>
'Mover para o final'
;
@override
String
get
reorderItemToStart
=>
'Mover para o início'
;
@override
String
get
reorderItemUp
=>
'Mover para cima'
;
}
/// The translations for Portuguese, as used in Portugal (`pt_PT`).
class
WidgetsLocalizationPtPt
extends
WidgetsLocalizationPt
{
/// Create an instance of the translation bundle for Portuguese, as used in Portugal.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationPtPt
();
@override
String
get
reorderItemToEnd
=>
'Mover para o fim'
;
}
/// The translations for Romanian Moldavian Moldovan (`ro`).
class
WidgetsLocalizationRo
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Romanian Moldavian Moldovan.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationRo
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Mutați în jos'
;
@override
String
get
reorderItemLeft
=>
'Mutați la stânga'
;
@override
String
get
reorderItemRight
=>
'Mutați la dreapta'
;
@override
String
get
reorderItemToEnd
=>
'Mutați la sfârșit'
;
@override
String
get
reorderItemToStart
=>
'Mutați la început'
;
@override
String
get
reorderItemUp
=>
'Mutați în sus'
;
}
/// The translations for Russian (`ru`).
class
WidgetsLocalizationRu
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Russian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationRu
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Переместить вниз'
;
@override
String
get
reorderItemLeft
=>
'Переместить влево'
;
@override
String
get
reorderItemRight
=>
'Переместить вправо'
;
@override
String
get
reorderItemToEnd
=>
'Переместить в конец'
;
@override
String
get
reorderItemToStart
=>
'Переместить в начало'
;
@override
String
get
reorderItemUp
=>
'Переместить вверх'
;
}
/// The translations for Sinhala Sinhalese (`si`).
class
WidgetsLocalizationSi
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Sinhala Sinhalese.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationSi
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'පහළට ගෙන යන්න'
;
@override
String
get
reorderItemLeft
=>
'වමට ගෙන යන්න'
;
@override
String
get
reorderItemRight
=>
'දකුණට ගෙන යන්න'
;
@override
String
get
reorderItemToEnd
=>
'අවසානයට යන්න'
;
@override
String
get
reorderItemToStart
=>
'ආරම්භය වෙත යන්න'
;
@override
String
get
reorderItemUp
=>
'ඉහළට ගෙන යන්න'
;
}
/// The translations for Slovak (`sk`).
class
WidgetsLocalizationSk
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Slovak.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationSk
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Presunúť nadol'
;
@override
String
get
reorderItemLeft
=>
'Presunúť doľava'
;
@override
String
get
reorderItemRight
=>
'Presunúť doprava'
;
@override
String
get
reorderItemToEnd
=>
'Presunúť na koniec'
;
@override
String
get
reorderItemToStart
=>
'Presunúť na začiatok'
;
@override
String
get
reorderItemUp
=>
'Presunúť nahor'
;
}
/// The translations for Slovenian (`sl`).
class
WidgetsLocalizationSl
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Slovenian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationSl
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Premakni navzdol'
;
@override
String
get
reorderItemLeft
=>
'Premakni levo'
;
@override
String
get
reorderItemRight
=>
'Premakni desno'
;
@override
String
get
reorderItemToEnd
=>
'Premakni na konec'
;
@override
String
get
reorderItemToStart
=>
'Premakni na začetek'
;
@override
String
get
reorderItemUp
=>
'Premakni navzgor'
;
}
/// The translations for Albanian (`sq`).
class
WidgetsLocalizationSq
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Albanian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationSq
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Lëvize poshtë'
;
@override
String
get
reorderItemLeft
=>
'Lëvize majtas'
;
@override
String
get
reorderItemRight
=>
'Lëvize djathtas'
;
@override
String
get
reorderItemToEnd
=>
'Lëvize në fund'
;
@override
String
get
reorderItemToStart
=>
'Lëvize në fillim'
;
@override
String
get
reorderItemUp
=>
'Lëvize lart'
;
}
/// The translations for Serbian (`sr`).
class
WidgetsLocalizationSr
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Serbian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationSr
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Померите надоле'
;
@override
String
get
reorderItemLeft
=>
'Померите улево'
;
@override
String
get
reorderItemRight
=>
'Померите удесно'
;
@override
String
get
reorderItemToEnd
=>
'Померите на крај'
;
@override
String
get
reorderItemToStart
=>
'Померите на почетак'
;
@override
String
get
reorderItemUp
=>
'Померите нагоре'
;
}
/// The translations for Serbian, using the Cyrillic script (`sr_Cyrl`).
class
WidgetsLocalizationSrCyrl
extends
WidgetsLocalizationSr
{
/// Create an instance of the translation bundle for Serbian, using the Cyrillic script.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationSrCyrl
();
}
/// The translations for Serbian, using the Latin script (`sr_Latn`).
class
WidgetsLocalizationSrLatn
extends
WidgetsLocalizationSr
{
/// Create an instance of the translation bundle for Serbian, using the Latin script.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationSrLatn
();
@override
String
get
reorderItemDown
=>
'Pomerite nadole'
;
@override
String
get
reorderItemLeft
=>
'Pomerite ulevo'
;
@override
String
get
reorderItemRight
=>
'Pomerite udesno'
;
@override
String
get
reorderItemToEnd
=>
'Pomerite na kraj'
;
@override
String
get
reorderItemToStart
=>
'Pomerite na početak'
;
@override
String
get
reorderItemUp
=>
'Pomerite nagore'
;
}
/// The translations for Swedish (`sv`).
class
WidgetsLocalizationSv
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Swedish.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationSv
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Flytta nedåt'
;
@override
String
get
reorderItemLeft
=>
'Flytta åt vänster'
;
@override
String
get
reorderItemRight
=>
'Flytta åt höger'
;
@override
String
get
reorderItemToEnd
=>
'Flytta till slutet'
;
@override
String
get
reorderItemToStart
=>
'Flytta till början'
;
@override
String
get
reorderItemUp
=>
'Flytta uppåt'
;
}
/// The translations for Swahili (`sw`).
class
WidgetsLocalizationSw
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Swahili.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationSw
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Sogeza chini'
;
@override
String
get
reorderItemLeft
=>
'Sogeza kushoto'
;
@override
String
get
reorderItemRight
=>
'Sogeza kulia'
;
@override
String
get
reorderItemToEnd
=>
'Sogeza hadi mwisho'
;
@override
String
get
reorderItemToStart
=>
'Sogeza hadi mwanzo'
;
@override
String
get
reorderItemUp
=>
'Sogeza juu'
;
}
/// The translations for Tamil (`ta`).
class
WidgetsLocalizationTa
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Tamil.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationTa
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'கீழே நகர்த்தவும்'
;
@override
String
get
reorderItemLeft
=>
'இடப்புறம் நகர்த்தவும்'
;
@override
String
get
reorderItemRight
=>
'வலப்புறம் நகர்த்தவும்'
;
@override
String
get
reorderItemToEnd
=>
'இறுதிக்கு நகர்த்தவும்'
;
@override
String
get
reorderItemToStart
=>
'தொடக்கத்திற்கு நகர்த்தவும்'
;
@override
String
get
reorderItemUp
=>
'மேலே நகர்த்தவும்'
;
}
/// The translations for Telugu (`te`).
class
WidgetsLocalizationTe
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Telugu.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationTe
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'కిందికు జరుపు'
;
@override
String
get
reorderItemLeft
=>
'ఎడమవైపుగా జరపండి'
;
@override
String
get
reorderItemRight
=>
'కుడివైపుగా జరపండి'
;
@override
String
get
reorderItemToEnd
=>
'చివరకు తరలించండి'
;
@override
String
get
reorderItemToStart
=>
'ప్రారంభానికి తరలించండి'
;
@override
String
get
reorderItemUp
=>
'పైకి జరపండి'
;
}
/// The translations for Thai (`th`).
class
WidgetsLocalizationTh
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Thai.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationTh
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'ย้ายลง'
;
@override
String
get
reorderItemLeft
=>
'ย้ายไปทางซ้าย'
;
@override
String
get
reorderItemRight
=>
'ย้ายไปทางขวา'
;
@override
String
get
reorderItemToEnd
=>
'ย้ายไปท้ายรายการ'
;
@override
String
get
reorderItemToStart
=>
'ย้ายไปต้นรายการ'
;
@override
String
get
reorderItemUp
=>
'ย้ายขึ้น'
;
}
/// The translations for Tagalog (`tl`).
class
WidgetsLocalizationTl
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Tagalog.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationTl
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Ilipat pababa'
;
@override
String
get
reorderItemLeft
=>
'Ilipat pakaliwa'
;
@override
String
get
reorderItemRight
=>
'Ilipat pakanan'
;
@override
String
get
reorderItemToEnd
=>
'Ilipat sa dulo'
;
@override
String
get
reorderItemToStart
=>
'Ilipat sa simula'
;
@override
String
get
reorderItemUp
=>
'Ilipat pataas'
;
}
/// The translations for Turkish (`tr`).
class
WidgetsLocalizationTr
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Turkish.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationTr
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Aşağı taşı'
;
@override
String
get
reorderItemLeft
=>
'Sola taşı'
;
@override
String
get
reorderItemRight
=>
'Sağa taşı'
;
@override
String
get
reorderItemToEnd
=>
'Sona taşı'
;
@override
String
get
reorderItemToStart
=>
'Başa taşı'
;
@override
String
get
reorderItemUp
=>
'Yukarı taşı'
;
}
/// The translations for Ukrainian (`uk`).
class
WidgetsLocalizationUk
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Ukrainian.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationUk
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Перемістити вниз'
;
@override
String
get
reorderItemLeft
=>
'Перемістити ліворуч'
;
@override
String
get
reorderItemRight
=>
'Перемістити праворуч'
;
@override
String
get
reorderItemToEnd
=>
'Перемістити в кінець'
;
@override
String
get
reorderItemToStart
=>
'Перемістити на початок'
;
@override
String
get
reorderItemUp
=>
'Перемістити вгору'
;
}
/// The translations for Urdu (`ur`).
class
WidgetsLocalizationUr
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Urdu.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationUr
()
:
super
(
TextDirection
.
rtl
);
@override
String
get
reorderItemDown
=>
'نیچے منتقل کریں'
;
@override
String
get
reorderItemLeft
=>
'بائیں منتقل کریں'
;
@override
String
get
reorderItemRight
=>
'دائیں منتقل کریں'
;
@override
String
get
reorderItemToEnd
=>
'آخر میں منتقل کریں'
;
@override
String
get
reorderItemToStart
=>
'شروع میں منتقل کریں'
;
@override
String
get
reorderItemUp
=>
'اوپر منتقل کریں'
;
}
/// The translations for Uzbek (`uz`).
class
WidgetsLocalizationUz
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Uzbek.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationUz
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Pastga siljitish'
;
@override
String
get
reorderItemLeft
=>
'Chapga siljitish'
;
@override
String
get
reorderItemRight
=>
'Oʻngga siljitish'
;
@override
String
get
reorderItemToEnd
=>
'Oxiriga siljitish'
;
@override
String
get
reorderItemToStart
=>
'Boshiga siljitish'
;
@override
String
get
reorderItemUp
=>
'Tepaga siljitish'
;
}
/// The translations for Vietnamese (`vi`).
class
WidgetsLocalizationVi
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Vietnamese.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationVi
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Di chuyển xuống'
;
@override
String
get
reorderItemLeft
=>
'Di chuyển sang trái'
;
@override
String
get
reorderItemRight
=>
'Di chuyển sang phải'
;
@override
String
get
reorderItemToEnd
=>
'Di chuyển xuống cuối danh sách'
;
@override
String
get
reorderItemToStart
=>
'Di chuyển lên đầu danh sách'
;
@override
String
get
reorderItemUp
=>
'Di chuyển lên'
;
}
/// The translations for Chinese (`zh`).
class
WidgetsLocalizationZh
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Chinese.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationZh
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'下移'
;
@override
String
get
reorderItemLeft
=>
'左移'
;
@override
String
get
reorderItemRight
=>
'右移'
;
@override
String
get
reorderItemToEnd
=>
'移到末尾'
;
@override
String
get
reorderItemToStart
=>
'移到开头'
;
@override
String
get
reorderItemUp
=>
'上移'
;
}
/// The translations for Chinese, using the Han script (`zh_Hans`).
class
WidgetsLocalizationZhHans
extends
WidgetsLocalizationZh
{
/// Create an instance of the translation bundle for Chinese, using the Han script.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationZhHans
();
}
/// The translations for Chinese, using the Han script (`zh_Hant`).
class
WidgetsLocalizationZhHant
extends
WidgetsLocalizationZh
{
/// Create an instance of the translation bundle for Chinese, using the Han script.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationZhHant
();
@override
String
get
reorderItemDown
=>
'向下移'
;
@override
String
get
reorderItemLeft
=>
'向左移'
;
@override
String
get
reorderItemRight
=>
'向右移'
;
@override
String
get
reorderItemToEnd
=>
'移到最後'
;
@override
String
get
reorderItemToStart
=>
'移到開頭'
;
@override
String
get
reorderItemUp
=>
'向上移'
;
}
/// The translations for Chinese, as used in Hong Kong, using the Han script (`zh_Hant_HK`).
class
WidgetsLocalizationZhHantHk
extends
WidgetsLocalizationZhHant
{
/// Create an instance of the translation bundle for Chinese, as used in Hong Kong, using the Han script.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationZhHantHk
();
}
/// The translations for Chinese, as used in Taiwan, using the Han script (`zh_Hant_TW`).
class
WidgetsLocalizationZhHantTw
extends
WidgetsLocalizationZhHant
{
/// Create an instance of the translation bundle for Chinese, as used in Taiwan, using the Han script.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationZhHantTw
();
@override
String
get
reorderItemToStart
=>
'移至開頭'
;
@override
String
get
reorderItemToEnd
=>
'移至結尾'
;
}
/// The translations for Zulu (`zu`).
class
WidgetsLocalizationZu
extends
GlobalWidgetsLocalizations
{
/// Create an instance of the translation bundle for Zulu.
///
/// For details on the meaning of the arguments, see [GlobalWidgetsLocalizations].
const
WidgetsLocalizationZu
()
:
super
(
TextDirection
.
ltr
);
@override
String
get
reorderItemDown
=>
'Iya phansi'
;
@override
String
get
reorderItemLeft
=>
'Hambisa kwesokunxele'
;
@override
String
get
reorderItemRight
=>
'Yisa kwesokudla'
;
@override
String
get
reorderItemToEnd
=>
'Yisa ekugcineni'
;
@override
String
get
reorderItemToStart
=>
'Yisa ekuqaleni'
;
@override
String
get
reorderItemUp
=>
'Iya phezulu'
;
}
/// The set of supported languages, as language code strings.
///
/// The [GlobalWidgetsLocalizations.delegate] can generate localizations for
/// any [Locale] with a language code from this set, regardless of the region.
/// Some regions have specific support (e.g. `de` covers all forms of German,
/// but there is support for `de-CH` specifically to override some of the
/// translations for Switzerland).
///
/// See also:
///
/// * [getWidgetsTranslation], whose documentation describes these values.
final
Set
<
String
>
kWidgetsSupportedLanguages
=
HashSet
<
String
>.
from
(
const
<
String
>[
'af'
,
// Afrikaans
'am'
,
// Amharic
'ar'
,
// Arabic
'as'
,
// Assamese
'az'
,
// Azerbaijani
'be'
,
// Belarusian
'bg'
,
// Bulgarian
'bn'
,
// Bengali Bangla
'bs'
,
// Bosnian
'ca'
,
// Catalan Valencian
'cs'
,
// Czech
'cy'
,
// Welsh
'da'
,
// Danish
'de'
,
// German
'el'
,
// Modern Greek
'en'
,
// English
'es'
,
// Spanish Castilian
'et'
,
// Estonian
'eu'
,
// Basque
'fa'
,
// Persian
'fi'
,
// Finnish
'fil'
,
// Filipino Pilipino
'fr'
,
// French
'gl'
,
// Galician
'gsw'
,
// Swiss German Alemannic Alsatian
'gu'
,
// Gujarati
'he'
,
// Hebrew
'hi'
,
// Hindi
'hr'
,
// Croatian
'hu'
,
// Hungarian
'hy'
,
// Armenian
'id'
,
// Indonesian
'is'
,
// Icelandic
'it'
,
// Italian
'ja'
,
// Japanese
'ka'
,
// Georgian
'kk'
,
// Kazakh
'km'
,
// Khmer Central Khmer
'kn'
,
// Kannada
'ko'
,
// Korean
'ky'
,
// Kirghiz Kyrgyz
'lo'
,
// Lao
'lt'
,
// Lithuanian
'lv'
,
// Latvian
'mk'
,
// Macedonian
'ml'
,
// Malayalam
'mn'
,
// Mongolian
'mr'
,
// Marathi
'ms'
,
// Malay
'my'
,
// Burmese
'nb'
,
// Norwegian Bokmål
'ne'
,
// Nepali
'nl'
,
// Dutch Flemish
'no'
,
// Norwegian
'or'
,
// Oriya
'pa'
,
// Panjabi Punjabi
'pl'
,
// Polish
'ps'
,
// Pushto Pashto
'pt'
,
// Portuguese
'ro'
,
// Romanian Moldavian Moldovan
'ru'
,
// Russian
'si'
,
// Sinhala Sinhalese
'sk'
,
// Slovak
'sl'
,
// Slovenian
'sq'
,
// Albanian
'sr'
,
// Serbian
'sv'
,
// Swedish
'sw'
,
// Swahili
'ta'
,
// Tamil
'te'
,
// Telugu
'th'
,
// Thai
'tl'
,
// Tagalog
'tr'
,
// Turkish
'uk'
,
// Ukrainian
'ur'
,
// Urdu
'uz'
,
// Uzbek
'vi'
,
// Vietnamese
'zh'
,
// Chinese
'zu'
,
// Zulu
]);
/// Creates a [GlobalWidgetsLocalizations] instance for the given `locale`.
///
/// All of the function's arguments except `locale` will be passed to the [
/// GlobalWidgetsLocalizations] constructor. (The `localeName` argument of that
/// constructor is specified by the actual subclass constructor by this
/// function.)
///
/// The following locales are supported by this package:
///
/// {@template flutter.localizations.widgets.languages}
/// * `af` - Afrikaans
/// * `am` - Amharic
/// * `ar` - Arabic
/// * `as` - Assamese
/// * `az` - Azerbaijani
/// * `be` - Belarusian
/// * `bg` - Bulgarian
/// * `bn` - Bengali Bangla
/// * `bs` - Bosnian
/// * `ca` - Catalan Valencian
/// * `cs` - Czech
/// * `cy` - Welsh
/// * `da` - Danish
/// * `de` - German (plus one country variation)
/// * `el` - Modern Greek
/// * `en` - English (plus 8 country variations)
/// * `es` - Spanish Castilian (plus 20 country variations)
/// * `et` - Estonian
/// * `eu` - Basque
/// * `fa` - Persian
/// * `fi` - Finnish
/// * `fil` - Filipino Pilipino
/// * `fr` - French (plus one country variation)
/// * `gl` - Galician
/// * `gsw` - Swiss German Alemannic Alsatian
/// * `gu` - Gujarati
/// * `he` - Hebrew
/// * `hi` - Hindi
/// * `hr` - Croatian
/// * `hu` - Hungarian
/// * `hy` - Armenian
/// * `id` - Indonesian
/// * `is` - Icelandic
/// * `it` - Italian
/// * `ja` - Japanese
/// * `ka` - Georgian
/// * `kk` - Kazakh
/// * `km` - Khmer Central Khmer
/// * `kn` - Kannada
/// * `ko` - Korean
/// * `ky` - Kirghiz Kyrgyz
/// * `lo` - Lao
/// * `lt` - Lithuanian
/// * `lv` - Latvian
/// * `mk` - Macedonian
/// * `ml` - Malayalam
/// * `mn` - Mongolian
/// * `mr` - Marathi
/// * `ms` - Malay
/// * `my` - Burmese
/// * `nb` - Norwegian Bokmål
/// * `ne` - Nepali
/// * `nl` - Dutch Flemish
/// * `no` - Norwegian
/// * `or` - Oriya
/// * `pa` - Panjabi Punjabi
/// * `pl` - Polish
/// * `ps` - Pushto Pashto
/// * `pt` - Portuguese (plus one country variation)
/// * `ro` - Romanian Moldavian Moldovan
/// * `ru` - Russian
/// * `si` - Sinhala Sinhalese
/// * `sk` - Slovak
/// * `sl` - Slovenian
/// * `sq` - Albanian
/// * `sr` - Serbian (plus 2 scripts)
/// * `sv` - Swedish
/// * `sw` - Swahili
/// * `ta` - Tamil
/// * `te` - Telugu
/// * `th` - Thai
/// * `tl` - Tagalog
/// * `tr` - Turkish
/// * `uk` - Ukrainian
/// * `ur` - Urdu
/// * `uz` - Uzbek
/// * `vi` - Vietnamese
/// * `zh` - Chinese (plus 2 country variations and 2 scripts)
/// * `zu` - Zulu
/// {@endtemplate}
///
/// Generally speaking, this method is only intended to be used by
/// [GlobalWidgetsLocalizations.delegate].
GlobalWidgetsLocalizations
?
getWidgetsTranslation
(
Locale
locale
,
)
{
switch
(
locale
.
languageCode
)
{
case
'af'
:
return
const
WidgetsLocalizationAf
();
case
'am'
:
return
const
WidgetsLocalizationAm
();
case
'ar'
:
return
const
WidgetsLocalizationAr
();
case
'as'
:
return
const
WidgetsLocalizationAs
();
case
'az'
:
return
const
WidgetsLocalizationAz
();
case
'be'
:
return
const
WidgetsLocalizationBe
();
case
'bg'
:
return
const
WidgetsLocalizationBg
();
case
'bn'
:
return
const
WidgetsLocalizationBn
();
case
'bs'
:
return
const
WidgetsLocalizationBs
();
case
'ca'
:
return
const
WidgetsLocalizationCa
();
case
'cs'
:
return
const
WidgetsLocalizationCs
();
case
'cy'
:
return
const
WidgetsLocalizationCy
();
case
'da'
:
return
const
WidgetsLocalizationDa
();
case
'de'
:
{
switch
(
locale
.
countryCode
)
{
case
'CH'
:
return
const
WidgetsLocalizationDeCh
();
}
return
const
WidgetsLocalizationDe
();
}
case
'el'
:
return
const
WidgetsLocalizationEl
();
case
'en'
:
{
switch
(
locale
.
countryCode
)
{
case
'AU'
:
return
const
WidgetsLocalizationEnAu
();
case
'CA'
:
return
const
WidgetsLocalizationEnCa
();
case
'GB'
:
return
const
WidgetsLocalizationEnGb
();
case
'IE'
:
return
const
WidgetsLocalizationEnIe
();
case
'IN'
:
return
const
WidgetsLocalizationEnIn
();
case
'NZ'
:
return
const
WidgetsLocalizationEnNz
();
case
'SG'
:
return
const
WidgetsLocalizationEnSg
();
case
'ZA'
:
return
const
WidgetsLocalizationEnZa
();
}
return
const
WidgetsLocalizationEn
();
}
case
'es'
:
{
switch
(
locale
.
countryCode
)
{
case
'419'
:
return
const
WidgetsLocalizationEs419
();
case
'AR'
:
return
const
WidgetsLocalizationEsAr
();
case
'BO'
:
return
const
WidgetsLocalizationEsBo
();
case
'CL'
:
return
const
WidgetsLocalizationEsCl
();
case
'CO'
:
return
const
WidgetsLocalizationEsCo
();
case
'CR'
:
return
const
WidgetsLocalizationEsCr
();
case
'DO'
:
return
const
WidgetsLocalizationEsDo
();
case
'EC'
:
return
const
WidgetsLocalizationEsEc
();
case
'GT'
:
return
const
WidgetsLocalizationEsGt
();
case
'HN'
:
return
const
WidgetsLocalizationEsHn
();
case
'MX'
:
return
const
WidgetsLocalizationEsMx
();
case
'NI'
:
return
const
WidgetsLocalizationEsNi
();
case
'PA'
:
return
const
WidgetsLocalizationEsPa
();
case
'PE'
:
return
const
WidgetsLocalizationEsPe
();
case
'PR'
:
return
const
WidgetsLocalizationEsPr
();
case
'PY'
:
return
const
WidgetsLocalizationEsPy
();
case
'SV'
:
return
const
WidgetsLocalizationEsSv
();
case
'US'
:
return
const
WidgetsLocalizationEsUs
();
case
'UY'
:
return
const
WidgetsLocalizationEsUy
();
case
'VE'
:
return
const
WidgetsLocalizationEsVe
();
}
return
const
WidgetsLocalizationEs
();
}
case
'et'
:
return
const
WidgetsLocalizationEt
();
case
'eu'
:
return
const
WidgetsLocalizationEu
();
case
'fa'
:
return
const
WidgetsLocalizationFa
();
case
'fi'
:
return
const
WidgetsLocalizationFi
();
case
'fil'
:
return
const
WidgetsLocalizationFil
();
case
'fr'
:
{
switch
(
locale
.
countryCode
)
{
case
'CA'
:
return
const
WidgetsLocalizationFrCa
();
}
return
const
WidgetsLocalizationFr
();
}
case
'gl'
:
return
const
WidgetsLocalizationGl
();
case
'gsw'
:
return
const
WidgetsLocalizationGsw
();
case
'gu'
:
return
const
WidgetsLocalizationGu
();
case
'he'
:
return
const
WidgetsLocalizationHe
();
case
'hi'
:
return
const
WidgetsLocalizationHi
();
case
'hr'
:
return
const
WidgetsLocalizationHr
();
case
'hu'
:
return
const
WidgetsLocalizationHu
();
case
'hy'
:
return
const
WidgetsLocalizationHy
();
case
'id'
:
return
const
WidgetsLocalizationId
();
case
'is'
:
return
const
WidgetsLocalizationIs
();
case
'it'
:
return
const
WidgetsLocalizationIt
();
case
'ja'
:
return
const
WidgetsLocalizationJa
();
case
'ka'
:
return
const
WidgetsLocalizationKa
();
case
'kk'
:
return
const
WidgetsLocalizationKk
();
case
'km'
:
return
const
WidgetsLocalizationKm
();
case
'kn'
:
return
const
WidgetsLocalizationKn
();
case
'ko'
:
return
const
WidgetsLocalizationKo
();
case
'ky'
:
return
const
WidgetsLocalizationKy
();
case
'lo'
:
return
const
WidgetsLocalizationLo
();
case
'lt'
:
return
const
WidgetsLocalizationLt
();
case
'lv'
:
return
const
WidgetsLocalizationLv
();
case
'mk'
:
return
const
WidgetsLocalizationMk
();
case
'ml'
:
return
const
WidgetsLocalizationMl
();
case
'mn'
:
return
const
WidgetsLocalizationMn
();
case
'mr'
:
return
const
WidgetsLocalizationMr
();
case
'ms'
:
return
const
WidgetsLocalizationMs
();
case
'my'
:
return
const
WidgetsLocalizationMy
();
case
'nb'
:
return
const
WidgetsLocalizationNb
();
case
'ne'
:
return
const
WidgetsLocalizationNe
();
case
'nl'
:
return
const
WidgetsLocalizationNl
();
case
'no'
:
return
const
WidgetsLocalizationNo
();
case
'or'
:
return
const
WidgetsLocalizationOr
();
case
'pa'
:
return
const
WidgetsLocalizationPa
();
case
'pl'
:
return
const
WidgetsLocalizationPl
();
case
'ps'
:
return
const
WidgetsLocalizationPs
();
case
'pt'
:
{
switch
(
locale
.
countryCode
)
{
case
'PT'
:
return
const
WidgetsLocalizationPtPt
();
}
return
const
WidgetsLocalizationPt
();
}
case
'ro'
:
return
const
WidgetsLocalizationRo
();
case
'ru'
:
return
const
WidgetsLocalizationRu
();
case
'si'
:
return
const
WidgetsLocalizationSi
();
case
'sk'
:
return
const
WidgetsLocalizationSk
();
case
'sl'
:
return
const
WidgetsLocalizationSl
();
case
'sq'
:
return
const
WidgetsLocalizationSq
();
case
'sr'
:
{
switch
(
locale
.
scriptCode
)
{
case
'Cyrl'
:
{
return
const
WidgetsLocalizationSrCyrl
();
}
case
'Latn'
:
{
return
const
WidgetsLocalizationSrLatn
();
}
}
return
const
WidgetsLocalizationSr
();
}
case
'sv'
:
return
const
WidgetsLocalizationSv
();
case
'sw'
:
return
const
WidgetsLocalizationSw
();
case
'ta'
:
return
const
WidgetsLocalizationTa
();
case
'te'
:
return
const
WidgetsLocalizationTe
();
case
'th'
:
return
const
WidgetsLocalizationTh
();
case
'tl'
:
return
const
WidgetsLocalizationTl
();
case
'tr'
:
return
const
WidgetsLocalizationTr
();
case
'uk'
:
return
const
WidgetsLocalizationUk
();
case
'ur'
:
return
const
WidgetsLocalizationUr
();
case
'uz'
:
return
const
WidgetsLocalizationUz
();
case
'vi'
:
return
const
WidgetsLocalizationVi
();
case
'zh'
:
{
switch
(
locale
.
scriptCode
)
{
case
'Hans'
:
{
return
const
WidgetsLocalizationZhHans
();
}
case
'Hant'
:
{
switch
(
locale
.
countryCode
)
{
case
'HK'
:
return
const
WidgetsLocalizationZhHantHk
();
case
'TW'
:
return
const
WidgetsLocalizationZhHantTw
();
}
return
const
WidgetsLocalizationZhHant
();
}
}
switch
(
locale
.
countryCode
)
{
case
'HK'
:
return
const
WidgetsLocalizationZhHantHk
();
case
'TW'
:
return
const
WidgetsLocalizationZhHantTw
();
}
return
const
WidgetsLocalizationZh
();
}
case
'zu'
:
return
const
WidgetsLocalizationZu
();
}
assert
(
false
,
'getWidgetsTranslation() called for unsupported locale "
$locale
"'
);
return
null
;
}
packages/flutter_localizations/lib/src/l10n/widgets_af.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Skuif na die begin"
,
"reorderItemToEnd"
:
"Skuif na die einde"
,
"reorderItemUp"
:
"Skuif op"
,
"reorderItemDown"
:
"Skuif af"
,
"reorderItemLeft"
:
"Skuif na links"
,
"reorderItemRight"
:
"Skuif na regs"
}
packages/flutter_localizations/lib/src/l10n/widgets_am.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"ወደ መጀመሪያ ውሰድ"
,
"reorderItemToEnd"
:
"ወደ መጨረሻ ውሰድ"
,
"reorderItemUp"
:
"ወደ ላይ ውሰድ"
,
"reorderItemDown"
:
"ወደ ታች ውሰድ"
,
"reorderItemLeft"
:
"ወደ ግራ ውሰድ"
,
"reorderItemRight"
:
"ወደ ቀኝ ውሰድ"
}
packages/flutter_localizations/lib/src/l10n/widgets_ar.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"نقل إلى بداية القائمة"
,
"reorderItemToEnd"
:
"نقل إلى نهاية القائمة"
,
"reorderItemUp"
:
"نقل لأعلى"
,
"reorderItemDown"
:
"نقل لأسفل"
,
"reorderItemLeft"
:
"نقل لليمين"
,
"reorderItemRight"
:
"نقل لليسار"
}
packages/flutter_localizations/lib/src/l10n/widgets_as.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"আৰম্ভণিলৈ স্থানান্তৰ কৰক"
,
"reorderItemToEnd"
:
"শেষলৈ স্থানান্তৰ কৰক"
,
"reorderItemUp"
:
"ওপৰলৈ নিয়ক"
,
"reorderItemDown"
:
"তললৈ স্থানান্তৰ কৰক"
,
"reorderItemLeft"
:
"বাওঁফাললৈ স্থানান্তৰ কৰক"
,
"reorderItemRight"
:
"সোঁফাললৈ স্থানান্তৰ কৰক"
}
packages/flutter_localizations/lib/src/l10n/widgets_az.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Əvvələ köçürün"
,
"reorderItemToEnd"
:
"Sona köçürün"
,
"reorderItemUp"
:
"Yuxarı köçürün"
,
"reorderItemDown"
:
"Aşağı köçürün"
,
"reorderItemLeft"
:
"Sola köçürün"
,
"reorderItemRight"
:
"Sağa köçürün"
}
packages/flutter_localizations/lib/src/l10n/widgets_be.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Перамясціць у пачатак"
,
"reorderItemToEnd"
:
"Перамясціць у канец"
,
"reorderItemUp"
:
"Перамясціць уверх"
,
"reorderItemDown"
:
"Перамясціць уніз"
,
"reorderItemLeft"
:
"Перамясціць улева"
,
"reorderItemRight"
:
"Перамясціць управа"
}
packages/flutter_localizations/lib/src/l10n/widgets_bg.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Преместване в началото"
,
"reorderItemToEnd"
:
"Преместване в края"
,
"reorderItemUp"
:
"Преместване нагоре"
,
"reorderItemDown"
:
"Преместване надолу"
,
"reorderItemLeft"
:
"Преместване наляво"
,
"reorderItemRight"
:
"Преместване надясно"
}
packages/flutter_localizations/lib/src/l10n/widgets_bn.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"চালু করতে সরান"
,
"reorderItemToEnd"
:
"একদম শেষের দিকে যান"
,
"reorderItemUp"
:
"উপরের দিকে সরান"
,
"reorderItemDown"
:
"নিচের দিকে সরান"
,
"reorderItemLeft"
:
"বাঁদিকে সরান"
,
"reorderItemRight"
:
"ডানদিকে সরান"
}
packages/flutter_localizations/lib/src/l10n/widgets_bs.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Pomjerite na početak"
,
"reorderItemToEnd"
:
"Pomjerite na kraj"
,
"reorderItemUp"
:
"Pomjeri nagore"
,
"reorderItemDown"
:
"Pomjeri nadolje"
,
"reorderItemLeft"
:
"Pomjeri lijevo"
,
"reorderItemRight"
:
"Pomjeri desno"
}
packages/flutter_localizations/lib/src/l10n/widgets_ca.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Mou al principi"
,
"reorderItemToEnd"
:
"Mou al final"
,
"reorderItemUp"
:
"Mou amunt"
,
"reorderItemDown"
:
"Mou avall"
,
"reorderItemLeft"
:
"Mou cap a l'esquerra"
,
"reorderItemRight"
:
"Mou cap a la dreta"
}
packages/flutter_localizations/lib/src/l10n/widgets_cs.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Přesunout na začátek"
,
"reorderItemToEnd"
:
"Přesunout na konec"
,
"reorderItemUp"
:
"Přesunout nahoru"
,
"reorderItemDown"
:
"Přesunout dolů"
,
"reorderItemLeft"
:
"Přesunout doleva"
,
"reorderItemRight"
:
"Přesunout doprava"
}
packages/flutter_localizations/lib/src/l10n/widgets_cy.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Symud i'r dechrau"
,
"reorderItemToEnd"
:
"Symud i'r diwedd"
,
"reorderItemUp"
:
"Symud i fyny"
,
"reorderItemDown"
:
"Symud i lawr"
,
"reorderItemLeft"
:
"Symud i'r chwith"
,
"reorderItemRight"
:
"Symud i'r dde"
}
packages/flutter_localizations/lib/src/l10n/widgets_da.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Flyt til først på listen"
,
"reorderItemToEnd"
:
"Flyt til sidst på listen"
,
"reorderItemUp"
:
"Flyt op"
,
"reorderItemDown"
:
"Flyt ned"
,
"reorderItemLeft"
:
"Flyt til venstre"
,
"reorderItemRight"
:
"Flyt til højre"
}
packages/flutter_localizations/lib/src/l10n/widgets_de.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"An den Anfang verschieben"
,
"reorderItemToEnd"
:
"An das Ende verschieben"
,
"reorderItemUp"
:
"Nach oben verschieben"
,
"reorderItemDown"
:
"Nach unten verschieben"
,
"reorderItemLeft"
:
"Nach links verschieben"
,
"reorderItemRight"
:
"Nach rechts verschieben"
}
packages/flutter_localizations/lib/src/l10n/widgets_de_CH.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"An den Anfang verschieben"
,
"reorderItemToEnd"
:
"An das Ende verschieben"
,
"reorderItemUp"
:
"Nach oben verschieben"
,
"reorderItemDown"
:
"Nach unten verschieben"
,
"reorderItemLeft"
:
"Nach links verschieben"
,
"reorderItemRight"
:
"Nach rechts verschieben"
}
packages/flutter_localizations/lib/src/l10n/widgets_el.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Μετακίνηση στην αρχή"
,
"reorderItemToEnd"
:
"Μετακίνηση στο τέλος"
,
"reorderItemUp"
:
"Μετακίνηση προς τα πάνω"
,
"reorderItemDown"
:
"Μετακίνηση προς τα κάτω"
,
"reorderItemLeft"
:
"Μετακίνηση αριστερά"
,
"reorderItemRight"
:
"Μετακίνηση δεξιά"
}
packages/flutter_localizations/lib/src/l10n/widgets_en.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"@reorderItemToStart"
:
{
"description"
:
"The audio announcement to move an item in a Reorderable List to the start of the list."
},
"reorderItemToEnd"
:
"Move to the end"
,
"@reorderItemToEnd"
:
{
"description"
:
"The audio announcement to move an item in a Reorderable List to the end of the list."
},
"reorderItemUp"
:
"Move up"
,
"@reorderItemUp"
:
{
"description"
:
"The audio announcement to move an item in a Reorderable List up in the list when it is oriented vertically."
},
"reorderItemDown"
:
"Move down"
,
"@reorderItemDown"
:
{
"description"
:
"The audio announcement to move an item in a Reorderable List down in the list when it is oriented vertically."
},
"reorderItemLeft"
:
"Move left"
,
"@reorderItemLeft"
:
{
"description"
:
"The audio announcement to move an item in a Reorderable List left in the list when it is oriented horizontally."
},
"reorderItemRight"
:
"Move right"
,
"@reorderItemRight"
:
{
"description"
:
"The audio announcement to move an item in a Reorderable List right in the list when it is oriented horizontally."
}
}
packages/flutter_localizations/lib/src/l10n/widgets_en_AU.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"reorderItemToEnd"
:
"Move to the end"
,
"reorderItemUp"
:
"Move up"
,
"reorderItemDown"
:
"Move down"
,
"reorderItemLeft"
:
"Move to the left"
,
"reorderItemRight"
:
"Move to the right"
}
packages/flutter_localizations/lib/src/l10n/widgets_en_CA.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"reorderItemToEnd"
:
"Move to the end"
,
"reorderItemUp"
:
"Move up"
,
"reorderItemDown"
:
"Move down"
,
"reorderItemLeft"
:
"Move to the left"
,
"reorderItemRight"
:
"Move to the right"
}
packages/flutter_localizations/lib/src/l10n/widgets_en_GB.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"reorderItemToEnd"
:
"Move to the end"
,
"reorderItemUp"
:
"Move up"
,
"reorderItemDown"
:
"Move down"
,
"reorderItemLeft"
:
"Move to the left"
,
"reorderItemRight"
:
"Move to the right"
}
packages/flutter_localizations/lib/src/l10n/widgets_en_IE.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"reorderItemToEnd"
:
"Move to the end"
,
"reorderItemUp"
:
"Move up"
,
"reorderItemDown"
:
"Move down"
,
"reorderItemLeft"
:
"Move to the left"
,
"reorderItemRight"
:
"Move to the right"
}
packages/flutter_localizations/lib/src/l10n/widgets_en_IN.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"reorderItemToEnd"
:
"Move to the end"
,
"reorderItemUp"
:
"Move up"
,
"reorderItemDown"
:
"Move down"
,
"reorderItemLeft"
:
"Move to the left"
,
"reorderItemRight"
:
"Move to the right"
}
packages/flutter_localizations/lib/src/l10n/widgets_en_NZ.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"reorderItemToEnd"
:
"Move to the end"
,
"reorderItemUp"
:
"Move up"
,
"reorderItemDown"
:
"Move down"
,
"reorderItemLeft"
:
"Move to the left"
,
"reorderItemRight"
:
"Move to the right"
}
packages/flutter_localizations/lib/src/l10n/widgets_en_SG.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"reorderItemToEnd"
:
"Move to the end"
,
"reorderItemUp"
:
"Move up"
,
"reorderItemDown"
:
"Move down"
,
"reorderItemLeft"
:
"Move to the left"
,
"reorderItemRight"
:
"Move to the right"
}
packages/flutter_localizations/lib/src/l10n/widgets_en_ZA.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"reorderItemToEnd"
:
"Move to the end"
,
"reorderItemUp"
:
"Move up"
,
"reorderItemDown"
:
"Move down"
,
"reorderItemLeft"
:
"Move to the left"
,
"reorderItemRight"
:
"Move to the right"
}
packages/flutter_localizations/lib/src/l10n/widgets_es.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Mover al principio"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemRight"
:
"Mover hacia la derecha"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_419.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Mover al inicio"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemRight"
:
"Mover hacia la derecha"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_AR.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Mover al inicio"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemRight"
:
"Mover hacia la derecha"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_BO.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_CL.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_CO.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_CR.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_DO.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_EC.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_GT.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_HN.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_MX.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_NI.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_PA.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_PE.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_PR.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_PY.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_SV.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_US.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_UY.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_es_VE.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemDown"
:
"Mover hacia abajo"
,
"reorderItemLeft"
:
"Mover hacia la izquierda"
,
"reorderItemToEnd"
:
"Mover al final"
,
"reorderItemRight"
:
"Mover hacia la derecha"
,
"reorderItemUp"
:
"Mover hacia arriba"
,
"reorderItemToStart"
:
"Mover al inicio"
}
packages/flutter_localizations/lib/src/l10n/widgets_et.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Teisalda algusesse"
,
"reorderItemToEnd"
:
"Teisalda lõppu"
,
"reorderItemUp"
:
"Teisalda üles"
,
"reorderItemDown"
:
"Teisalda alla"
,
"reorderItemLeft"
:
"Teisalda vasakule"
,
"reorderItemRight"
:
"Teisalda paremale"
}
packages/flutter_localizations/lib/src/l10n/widgets_eu.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Eraman hasierara"
,
"reorderItemToEnd"
:
"Eraman amaierara"
,
"reorderItemUp"
:
"Eraman gora"
,
"reorderItemDown"
:
"Eraman behera"
,
"reorderItemLeft"
:
"Eraman ezkerrera"
,
"reorderItemRight"
:
"Eraman eskuinera"
}
packages/flutter_localizations/lib/src/l10n/widgets_fa.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"انتقال به ابتدا"
,
"reorderItemToEnd"
:
"انتقال به انتها"
,
"reorderItemUp"
:
"انتقال به بالا"
,
"reorderItemDown"
:
"انتقال به پایین"
,
"reorderItemLeft"
:
"انتقال به راست"
,
"reorderItemRight"
:
"انتقال به چپ"
}
packages/flutter_localizations/lib/src/l10n/widgets_fi.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Siirrä alkuun"
,
"reorderItemToEnd"
:
"Siirrä loppuun"
,
"reorderItemUp"
:
"Siirrä ylös"
,
"reorderItemDown"
:
"Siirrä alas"
,
"reorderItemLeft"
:
"Siirrä vasemmalle"
,
"reorderItemRight"
:
"Siirrä oikealle"
}
packages/flutter_localizations/lib/src/l10n/widgets_fil.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Ilipat sa simula"
,
"reorderItemToEnd"
:
"Ilipat sa dulo"
,
"reorderItemUp"
:
"Ilipat pataas"
,
"reorderItemDown"
:
"Ilipat pababa"
,
"reorderItemLeft"
:
"Ilipat pakaliwa"
,
"reorderItemRight"
:
"Ilipat pakanan"
}
packages/flutter_localizations/lib/src/l10n/widgets_fr.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Déplacer vers le début"
,
"reorderItemToEnd"
:
"Déplacer vers la fin"
,
"reorderItemUp"
:
"Déplacer vers le haut"
,
"reorderItemDown"
:
"Déplacer vers le bas"
,
"reorderItemLeft"
:
"Déplacer vers la gauche"
,
"reorderItemRight"
:
"Déplacer vers la droite"
}
packages/flutter_localizations/lib/src/l10n/widgets_fr_CA.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Déplacer au début"
,
"reorderItemToEnd"
:
"Déplacer à la fin"
,
"reorderItemUp"
:
"Déplacer vers le haut"
,
"reorderItemDown"
:
"Déplacer vers le bas"
,
"reorderItemLeft"
:
"Déplacer vers la gauche"
,
"reorderItemRight"
:
"Déplacer vers la droite"
}
packages/flutter_localizations/lib/src/l10n/widgets_gl.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Mover ao inicio"
,
"reorderItemToEnd"
:
"Mover ao final"
,
"reorderItemUp"
:
"Mover cara arriba"
,
"reorderItemDown"
:
"Mover cara abaixo"
,
"reorderItemLeft"
:
"Mover cara á esquerda"
,
"reorderItemRight"
:
"Mover cara á dereita"
}
packages/flutter_localizations/lib/src/l10n/widgets_gsw.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"An den Anfang verschieben"
,
"reorderItemToEnd"
:
"An das Ende verschieben"
,
"reorderItemUp"
:
"Nach oben verschieben"
,
"reorderItemDown"
:
"Nach unten verschieben"
,
"reorderItemLeft"
:
"Nach links verschieben"
,
"reorderItemRight"
:
"Nach rechts verschieben"
}
packages/flutter_localizations/lib/src/l10n/widgets_gu.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"પ્રારંભમાં ખસેડો"
,
"reorderItemToEnd"
:
"અંતમાં ખસેડો"
,
"reorderItemUp"
:
"ઉપર ખસેડો"
,
"reorderItemDown"
:
"નીચે ખસેડો"
,
"reorderItemLeft"
:
"ડાબે ખસેડો"
,
"reorderItemRight"
:
"જમણે ખસેડો"
}
packages/flutter_localizations/lib/src/l10n/widgets_he.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"העברה להתחלה"
,
"reorderItemToEnd"
:
"העברה לסוף"
,
"reorderItemUp"
:
"העברה למעלה"
,
"reorderItemDown"
:
"העברה למטה"
,
"reorderItemLeft"
:
"העברה שמאלה"
,
"reorderItemRight"
:
"העברה ימינה"
}
packages/flutter_localizations/lib/src/l10n/widgets_hi.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"शुरुआत पर ले जाएं"
,
"reorderItemToEnd"
:
"आखिर में ले जाएं"
,
"reorderItemUp"
:
"ऊपर ले जाएं"
,
"reorderItemDown"
:
"नीचे ले जाएं"
,
"reorderItemLeft"
:
"बाएं ले जाएं"
,
"reorderItemRight"
:
"दाएं ले जाएं"
}
packages/flutter_localizations/lib/src/l10n/widgets_hr.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Premjesti na početak"
,
"reorderItemToEnd"
:
"Premjesti na kraj"
,
"reorderItemUp"
:
"Pomakni prema gore"
,
"reorderItemDown"
:
"Pomakni prema dolje"
,
"reorderItemLeft"
:
"Pomakni ulijevo"
,
"reorderItemRight"
:
"Pomakni udesno"
}
packages/flutter_localizations/lib/src/l10n/widgets_hu.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Áthelyezés az elejére"
,
"reorderItemToEnd"
:
"Áthelyezés a végére"
,
"reorderItemUp"
:
"Áthelyezés felfelé"
,
"reorderItemDown"
:
"Áthelyezés lefelé"
,
"reorderItemLeft"
:
"Áthelyezés balra"
,
"reorderItemRight"
:
"Áthelyezés jobbra"
}
packages/flutter_localizations/lib/src/l10n/widgets_hy.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Տեղափոխել սկիզբ"
,
"reorderItemToEnd"
:
"Տեղափոխել վերջ"
,
"reorderItemUp"
:
"Տեղափոխել վերև"
,
"reorderItemDown"
:
"Տեղափոխել ներքև"
,
"reorderItemLeft"
:
"Տեղափոխել ձախ"
,
"reorderItemRight"
:
"Տեղափոխել աջ"
}
packages/flutter_localizations/lib/src/l10n/widgets_id.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Pindahkan ke awal"
,
"reorderItemToEnd"
:
"Pindahkan ke akhir"
,
"reorderItemUp"
:
"Naikkan"
,
"reorderItemDown"
:
"Turunkan"
,
"reorderItemLeft"
:
"Pindahkan ke kiri"
,
"reorderItemRight"
:
"Pindahkan ke kanan"
}
packages/flutter_localizations/lib/src/l10n/widgets_is.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Færa fremst"
,
"reorderItemToEnd"
:
"Færa aftast"
,
"reorderItemUp"
:
"Færa upp"
,
"reorderItemDown"
:
"Færa niður"
,
"reorderItemLeft"
:
"Færa til vinstri"
,
"reorderItemRight"
:
"Færa til hægri"
}
packages/flutter_localizations/lib/src/l10n/widgets_it.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Sposta all'inizio"
,
"reorderItemToEnd"
:
"Sposta alla fine"
,
"reorderItemUp"
:
"Sposta su"
,
"reorderItemDown"
:
"Sposta giù"
,
"reorderItemLeft"
:
"Sposta a sinistra"
,
"reorderItemRight"
:
"Sposta a destra"
}
packages/flutter_localizations/lib/src/l10n/widgets_ja.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"先頭に移動"
,
"reorderItemToEnd"
:
"最後に移動"
,
"reorderItemUp"
:
"上に移動"
,
"reorderItemDown"
:
"下に移動"
,
"reorderItemLeft"
:
"左に移動"
,
"reorderItemRight"
:
"右に移動"
}
packages/flutter_localizations/lib/src/l10n/widgets_ka.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"დასაწყისში გადატანა"
,
"reorderItemToEnd"
:
"ბოლოში გადატანა"
,
"reorderItemUp"
:
"ზემოთ გადატანა"
,
"reorderItemDown"
:
"ქვემოთ გადატანა"
,
"reorderItemLeft"
:
"მარცხნივ გადატანა"
,
"reorderItemRight"
:
"მარჯვნივ გადატანა"
}
packages/flutter_localizations/lib/src/l10n/widgets_kk.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Басына өту"
,
"reorderItemToEnd"
:
"Соңына өту"
,
"reorderItemUp"
:
"Жоғарыға жылжыту"
,
"reorderItemDown"
:
"Төменге жылжыту"
,
"reorderItemLeft"
:
"Солға жылжыту"
,
"reorderItemRight"
:
"Оңға жылжыту"
}
packages/flutter_localizations/lib/src/l10n/widgets_km.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"ផ្លាស់ទីទៅចំណុចចាប់ផ្ដើម"
,
"reorderItemToEnd"
:
"ផ្លាស់ទីទៅចំណុចបញ្ចប់"
,
"reorderItemUp"
:
"ផ្លាស់ទីឡើងលើ"
,
"reorderItemDown"
:
"ផ្លាស់ទីចុះក្រោម"
,
"reorderItemLeft"
:
"ផ្លាស់ទីទៅឆ្វេង"
,
"reorderItemRight"
:
"ផ្លាស់ទីទៅស្តាំ"
}
packages/flutter_localizations/lib/src/l10n/widgets_kn.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"
\u
0caa
\u
0ccd
\u
0cb0
\u
0cbe
\u
0cb0
\u
0c82
\u
0cad
\u
0c95
\u
0ccd
\u
0c95
\u
0cc6
\u
0020
\u
0cb8
\u
0cb0
\u
0cbf
\u
0cb8
\u
0cbf"
,
"reorderItemToEnd"
:
"
\u
0c95
\u
0cca
\u
0ca8
\u
0cc6
\u
0c97
\u
0cc6
\u
0020
\u
0cb8
\u
0cb0
\u
0cbf
\u
0cb8
\u
0cbf"
,
"reorderItemUp"
:
"
\u
0cae
\u
0cc7
\u
0cb2
\u
0cc6
\u
0020
\u
0cb8
\u
0cb0
\u
0cbf
\u
0cb8
\u
0cbf"
,
"reorderItemDown"
:
"
\u
0c95
\u
0cc6
\u
0cb3
\u
0c97
\u
0cc6
\u
0020
\u
0cb8
\u
0cb0
\u
0cbf
\u
0cb8
\u
0cbf"
,
"reorderItemLeft"
:
"
\u
0c8e
\u
0ca1
\u
0c95
\u
0ccd
\u
0c95
\u
0cc6
\u
0020
\u
0cb8
\u
0cb0
\u
0cbf
\u
0cb8
\u
0cbf"
,
"reorderItemRight"
:
"
\u
0cac
\u
0cb2
\u
0c95
\u
0ccd
\u
0c95
\u
0cc6
\u
0020
\u
0cb8
\u
0cb0
\u
0cbf
\u
0cb8
\u
0cbf"
}
packages/flutter_localizations/lib/src/l10n/widgets_ko.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"시작으로 이동"
,
"reorderItemToEnd"
:
"끝으로 이동"
,
"reorderItemUp"
:
"위로 이동"
,
"reorderItemDown"
:
"아래로 이동"
,
"reorderItemLeft"
:
"왼쪽으로 이동"
,
"reorderItemRight"
:
"오른쪽으로 이동"
}
packages/flutter_localizations/lib/src/l10n/widgets_ky.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Башына жылдыруу"
,
"reorderItemToEnd"
:
"Аягына жылдыруу"
,
"reorderItemUp"
:
"Жогору жылдыруу"
,
"reorderItemDown"
:
"Төмөн жылдыруу"
,
"reorderItemLeft"
:
"Солго жылдыруу"
,
"reorderItemRight"
:
"Оңго жылдыруу"
}
packages/flutter_localizations/lib/src/l10n/widgets_lo.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"ຍ້າຍໄປເລີ່ມຕົ້ນ"
,
"reorderItemToEnd"
:
"ຍ້າຍໄປສິ້ນສຸດ"
,
"reorderItemUp"
:
"ຍ້າຍຂຶ້ນ"
,
"reorderItemDown"
:
"ຍ້າຍລົງ"
,
"reorderItemLeft"
:
"ຍ້າຍໄປຊ້າຍ"
,
"reorderItemRight"
:
"ຍ້າຍໄປຂວາ"
}
packages/flutter_localizations/lib/src/l10n/widgets_lt.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Perkelti į pradžią"
,
"reorderItemToEnd"
:
"Perkelti į pabaigą"
,
"reorderItemUp"
:
"Perkelti aukštyn"
,
"reorderItemDown"
:
"Perkelti žemyn"
,
"reorderItemLeft"
:
"Perkelti kairėn"
,
"reorderItemRight"
:
"Perkelti dešinėn"
}
packages/flutter_localizations/lib/src/l10n/widgets_lv.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Pārvietot uz sākumu"
,
"reorderItemToEnd"
:
"Pārvietot uz beigām"
,
"reorderItemUp"
:
"Pārvietot uz augšu"
,
"reorderItemDown"
:
"Pārvietot uz leju"
,
"reorderItemLeft"
:
"Pārvietot pa kreisi"
,
"reorderItemRight"
:
"Pārvietot pa labi"
}
packages/flutter_localizations/lib/src/l10n/widgets_mk.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Преместете на почеток"
,
"reorderItemToEnd"
:
"Преместете на крајот"
,
"reorderItemUp"
:
"Преместете нагоре"
,
"reorderItemDown"
:
"Преместете надолу"
,
"reorderItemLeft"
:
"Преместете налево"
,
"reorderItemRight"
:
"Преместете надесно"
}
packages/flutter_localizations/lib/src/l10n/widgets_ml.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"തുടക്കത്തിലേക്ക് പോവുക"
,
"reorderItemToEnd"
:
"അവസാന ഭാഗത്തേക്ക് പോവുക"
,
"reorderItemUp"
:
"മുകളിലോട്ട് നീക്കുക"
,
"reorderItemDown"
:
"താഴോട്ട് നീക്കുക"
,
"reorderItemLeft"
:
"ഇടത്തോട്ട് നീക്കുക"
,
"reorderItemRight"
:
"വലത്തോട്ട് നീക്കുക"
}
packages/flutter_localizations/lib/src/l10n/widgets_mn.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Эхлэл рүү зөөх"
,
"reorderItemToEnd"
:
"Төгсгөл рүү зөөх"
,
"reorderItemUp"
:
"Дээш зөөх"
,
"reorderItemDown"
:
"Доош зөөх"
,
"reorderItemLeft"
:
"Зүүн тийш зөөх"
,
"reorderItemRight"
:
"Баруун тийш зөөх"
}
packages/flutter_localizations/lib/src/l10n/widgets_mr.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"सुरुवातीला हलवा"
,
"reorderItemToEnd"
:
"शेवटाकडे हलवा"
,
"reorderItemUp"
:
"वर हलवा"
,
"reorderItemDown"
:
"खाली हलवा"
,
"reorderItemLeft"
:
"डावीकडे हलवा"
,
"reorderItemRight"
:
"उजवीकडे हलवा"
}
packages/flutter_localizations/lib/src/l10n/widgets_ms.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Alih ke permulaan"
,
"reorderItemToEnd"
:
"Alih ke penghujung"
,
"reorderItemUp"
:
"Alih ke atas"
,
"reorderItemDown"
:
"Alih ke bawah"
,
"reorderItemLeft"
:
"Alih ke kiri"
,
"reorderItemRight"
:
"Alih ke kanan"
}
packages/flutter_localizations/lib/src/l10n/widgets_my.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"အစသို့ ရွှေ့ရန်"
,
"reorderItemToEnd"
:
"အဆုံးသို့ ရွှေ့ရန်"
,
"reorderItemUp"
:
"အပေါ်သို့ ရွှေ့ရန်"
,
"reorderItemDown"
:
"အောက်သို့ရွှေ့ရန်"
,
"reorderItemLeft"
:
"ဘယ်ဘက်သို့ရွှေ့ရန်"
,
"reorderItemRight"
:
"ညာဘက်သို့ရွှေ့ရန်"
}
packages/flutter_localizations/lib/src/l10n/widgets_nb.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Flytt til starten"
,
"reorderItemToEnd"
:
"Flytt til slutten"
,
"reorderItemUp"
:
"Flytt opp"
,
"reorderItemDown"
:
"Flytt ned"
,
"reorderItemLeft"
:
"Flytt til venstre"
,
"reorderItemRight"
:
"Flytt til høyre"
}
packages/flutter_localizations/lib/src/l10n/widgets_ne.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"सुरुमा सार्नुहोस्"
,
"reorderItemToEnd"
:
"अन्त्यमा जानुहोस्"
,
"reorderItemUp"
:
"माथि सार्नुहोस्"
,
"reorderItemDown"
:
"तल सार्नुहोस्"
,
"reorderItemLeft"
:
"बायाँ सार्नुहोस्"
,
"reorderItemRight"
:
"दायाँ सार्नुहोस्"
}
packages/flutter_localizations/lib/src/l10n/widgets_nl.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Naar het begin verplaatsen"
,
"reorderItemToEnd"
:
"Naar het einde verplaatsen"
,
"reorderItemUp"
:
"Omhoog verplaatsen"
,
"reorderItemDown"
:
"Omlaag verplaatsen"
,
"reorderItemLeft"
:
"Naar links verplaatsen"
,
"reorderItemRight"
:
"Naar rechts verplaatsen"
}
packages/flutter_localizations/lib/src/l10n/widgets_no.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Flytt til starten"
,
"reorderItemToEnd"
:
"Flytt til slutten"
,
"reorderItemUp"
:
"Flytt opp"
,
"reorderItemDown"
:
"Flytt ned"
,
"reorderItemLeft"
:
"Flytt til venstre"
,
"reorderItemRight"
:
"Flytt til høyre"
}
packages/flutter_localizations/lib/src/l10n/widgets_or.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"ଆରମ୍ଭକୁ ଯାଆନ୍ତୁ"
,
"reorderItemToEnd"
:
"ଶେଷକୁ ଯାଆନ୍ତୁ"
,
"reorderItemUp"
:
"ଉପରକୁ ନିଅନ୍ତୁ"
,
"reorderItemDown"
:
"ତଳକୁ ଯାଆନ୍ତୁ"
,
"reorderItemLeft"
:
"ବାମକୁ ଯାଆନ୍ତୁ"
,
"reorderItemRight"
:
"ଡାହାଣକୁ ଯାଆନ୍ତୁ"
}
packages/flutter_localizations/lib/src/l10n/widgets_pa.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"ਸ਼ੁਰੂ ਵਿੱਚ ਲਿਜਾਓ"
,
"reorderItemToEnd"
:
"ਅੰਤ ਵਿੱਚ ਲਿਜਾਓ"
,
"reorderItemUp"
:
"ਉੱਪਰ ਲਿਜਾਓ"
,
"reorderItemDown"
:
"ਹੇਠਾਂ ਲਿਜਾਓ"
,
"reorderItemLeft"
:
"ਖੱਬੇ ਲਿਜਾਓ"
,
"reorderItemRight"
:
"ਸੱਜੇ ਲਿਜਾਓ"
}
packages/flutter_localizations/lib/src/l10n/widgets_pl.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Przenieś na początek"
,
"reorderItemToEnd"
:
"Przenieś na koniec"
,
"reorderItemUp"
:
"Przenieś w górę"
,
"reorderItemDown"
:
"Przenieś w dół"
,
"reorderItemLeft"
:
"Przenieś w lewo"
,
"reorderItemRight"
:
"Przenieś w prawo"
}
packages/flutter_localizations/lib/src/l10n/widgets_ps.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Move to the start"
,
"reorderItemToEnd"
:
"Move to the end"
,
"reorderItemUp"
:
"Move up"
,
"reorderItemDown"
:
"Move down"
,
"reorderItemLeft"
:
"Move left"
,
"reorderItemRight"
:
"Move right"
}
packages/flutter_localizations/lib/src/l10n/widgets_pt.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Mover para o início"
,
"reorderItemToEnd"
:
"Mover para o final"
,
"reorderItemUp"
:
"Mover para cima"
,
"reorderItemDown"
:
"Mover para baixo"
,
"reorderItemLeft"
:
"Mover para a esquerda"
,
"reorderItemRight"
:
"Mover para a direita"
}
packages/flutter_localizations/lib/src/l10n/widgets_pt_PT.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Mover para o início"
,
"reorderItemToEnd"
:
"Mover para o fim"
,
"reorderItemUp"
:
"Mover para cima"
,
"reorderItemDown"
:
"Mover para baixo"
,
"reorderItemLeft"
:
"Mover para a esquerda"
,
"reorderItemRight"
:
"Mover para a direita"
}
packages/flutter_localizations/lib/src/l10n/widgets_ro.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Mutați la început"
,
"reorderItemToEnd"
:
"Mutați la sfârșit"
,
"reorderItemUp"
:
"Mutați în sus"
,
"reorderItemDown"
:
"Mutați în jos"
,
"reorderItemLeft"
:
"Mutați la stânga"
,
"reorderItemRight"
:
"Mutați la dreapta"
}
packages/flutter_localizations/lib/src/l10n/widgets_ru.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Переместить в начало"
,
"reorderItemToEnd"
:
"Переместить в конец"
,
"reorderItemUp"
:
"Переместить вверх"
,
"reorderItemDown"
:
"Переместить вниз"
,
"reorderItemLeft"
:
"Переместить влево"
,
"reorderItemRight"
:
"Переместить вправо"
}
packages/flutter_localizations/lib/src/l10n/widgets_si.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"ආරම්භය වෙත යන්න"
,
"reorderItemToEnd"
:
"අවසානයට යන්න"
,
"reorderItemUp"
:
"ඉහළට ගෙන යන්න"
,
"reorderItemDown"
:
"පහළට ගෙන යන්න"
,
"reorderItemLeft"
:
"වමට ගෙන යන්න"
,
"reorderItemRight"
:
"දකුණට ගෙන යන්න"
}
packages/flutter_localizations/lib/src/l10n/widgets_sk.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Presunúť na začiatok"
,
"reorderItemToEnd"
:
"Presunúť na koniec"
,
"reorderItemUp"
:
"Presunúť nahor"
,
"reorderItemDown"
:
"Presunúť nadol"
,
"reorderItemLeft"
:
"Presunúť doľava"
,
"reorderItemRight"
:
"Presunúť doprava"
}
packages/flutter_localizations/lib/src/l10n/widgets_sl.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Premakni na začetek"
,
"reorderItemToEnd"
:
"Premakni na konec"
,
"reorderItemUp"
:
"Premakni navzgor"
,
"reorderItemDown"
:
"Premakni navzdol"
,
"reorderItemLeft"
:
"Premakni levo"
,
"reorderItemRight"
:
"Premakni desno"
}
packages/flutter_localizations/lib/src/l10n/widgets_sq.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Lëvize në fillim"
,
"reorderItemToEnd"
:
"Lëvize në fund"
,
"reorderItemUp"
:
"Lëvize lart"
,
"reorderItemDown"
:
"Lëvize poshtë"
,
"reorderItemLeft"
:
"Lëvize majtas"
,
"reorderItemRight"
:
"Lëvize djathtas"
}
packages/flutter_localizations/lib/src/l10n/widgets_sr.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Померите на почетак"
,
"reorderItemToEnd"
:
"Померите на крај"
,
"reorderItemUp"
:
"Померите нагоре"
,
"reorderItemDown"
:
"Померите надоле"
,
"reorderItemLeft"
:
"Померите улево"
,
"reorderItemRight"
:
"Померите удесно"
}
packages/flutter_localizations/lib/src/l10n/widgets_sr_Latn.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Pomerite na početak"
,
"reorderItemToEnd"
:
"Pomerite na kraj"
,
"reorderItemUp"
:
"Pomerite nagore"
,
"reorderItemDown"
:
"Pomerite nadole"
,
"reorderItemLeft"
:
"Pomerite ulevo"
,
"reorderItemRight"
:
"Pomerite udesno"
}
packages/flutter_localizations/lib/src/l10n/widgets_sv.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Flytta till början"
,
"reorderItemToEnd"
:
"Flytta till slutet"
,
"reorderItemUp"
:
"Flytta uppåt"
,
"reorderItemDown"
:
"Flytta nedåt"
,
"reorderItemLeft"
:
"Flytta åt vänster"
,
"reorderItemRight"
:
"Flytta åt höger"
}
packages/flutter_localizations/lib/src/l10n/widgets_sw.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Sogeza hadi mwanzo"
,
"reorderItemToEnd"
:
"Sogeza hadi mwisho"
,
"reorderItemUp"
:
"Sogeza juu"
,
"reorderItemDown"
:
"Sogeza chini"
,
"reorderItemLeft"
:
"Sogeza kushoto"
,
"reorderItemRight"
:
"Sogeza kulia"
}
packages/flutter_localizations/lib/src/l10n/widgets_ta.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"தொடக்கத்திற்கு நகர்த்தவும்"
,
"reorderItemToEnd"
:
"இறுதிக்கு நகர்த்தவும்"
,
"reorderItemUp"
:
"மேலே நகர்த்தவும்"
,
"reorderItemDown"
:
"கீழே நகர்த்தவும்"
,
"reorderItemLeft"
:
"இடப்புறம் நகர்த்தவும்"
,
"reorderItemRight"
:
"வலப்புறம் நகர்த்தவும்"
}
packages/flutter_localizations/lib/src/l10n/widgets_te.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"ప్రారంభానికి తరలించండి"
,
"reorderItemToEnd"
:
"చివరకు తరలించండి"
,
"reorderItemUp"
:
"పైకి జరపండి"
,
"reorderItemDown"
:
"కిందికు జరుపు"
,
"reorderItemLeft"
:
"ఎడమవైపుగా జరపండి"
,
"reorderItemRight"
:
"కుడివైపుగా జరపండి"
}
packages/flutter_localizations/lib/src/l10n/widgets_th.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"ย้ายไปต้นรายการ"
,
"reorderItemToEnd"
:
"ย้ายไปท้ายรายการ"
,
"reorderItemUp"
:
"ย้ายขึ้น"
,
"reorderItemDown"
:
"ย้ายลง"
,
"reorderItemLeft"
:
"ย้ายไปทางซ้าย"
,
"reorderItemRight"
:
"ย้ายไปทางขวา"
}
packages/flutter_localizations/lib/src/l10n/widgets_tl.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Ilipat sa simula"
,
"reorderItemToEnd"
:
"Ilipat sa dulo"
,
"reorderItemUp"
:
"Ilipat pataas"
,
"reorderItemDown"
:
"Ilipat pababa"
,
"reorderItemLeft"
:
"Ilipat pakaliwa"
,
"reorderItemRight"
:
"Ilipat pakanan"
}
packages/flutter_localizations/lib/src/l10n/widgets_tr.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Başa taşı"
,
"reorderItemToEnd"
:
"Sona taşı"
,
"reorderItemUp"
:
"Yukarı taşı"
,
"reorderItemDown"
:
"Aşağı taşı"
,
"reorderItemLeft"
:
"Sola taşı"
,
"reorderItemRight"
:
"Sağa taşı"
}
packages/flutter_localizations/lib/src/l10n/widgets_uk.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Перемістити на початок"
,
"reorderItemToEnd"
:
"Перемістити в кінець"
,
"reorderItemUp"
:
"Перемістити вгору"
,
"reorderItemDown"
:
"Перемістити вниз"
,
"reorderItemLeft"
:
"Перемістити ліворуч"
,
"reorderItemRight"
:
"Перемістити праворуч"
}
packages/flutter_localizations/lib/src/l10n/widgets_ur.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"شروع میں منتقل کریں"
,
"reorderItemToEnd"
:
"آخر میں منتقل کریں"
,
"reorderItemUp"
:
"اوپر منتقل کریں"
,
"reorderItemDown"
:
"نیچے منتقل کریں"
,
"reorderItemLeft"
:
"بائیں منتقل کریں"
,
"reorderItemRight"
:
"دائیں منتقل کریں"
}
packages/flutter_localizations/lib/src/l10n/widgets_uz.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Boshiga siljitish"
,
"reorderItemToEnd"
:
"Oxiriga siljitish"
,
"reorderItemUp"
:
"Tepaga siljitish"
,
"reorderItemDown"
:
"Pastga siljitish"
,
"reorderItemLeft"
:
"Chapga siljitish"
,
"reorderItemRight"
:
"Oʻngga siljitish"
}
packages/flutter_localizations/lib/src/l10n/widgets_vi.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Di chuyển lên đầu danh sách"
,
"reorderItemToEnd"
:
"Di chuyển xuống cuối danh sách"
,
"reorderItemUp"
:
"Di chuyển lên"
,
"reorderItemDown"
:
"Di chuyển xuống"
,
"reorderItemLeft"
:
"Di chuyển sang trái"
,
"reorderItemRight"
:
"Di chuyển sang phải"
}
packages/flutter_localizations/lib/src/l10n/widgets_zh.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"移到开头"
,
"reorderItemToEnd"
:
"移到末尾"
,
"reorderItemUp"
:
"上移"
,
"reorderItemDown"
:
"下移"
,
"reorderItemLeft"
:
"左移"
,
"reorderItemRight"
:
"右移"
}
packages/flutter_localizations/lib/src/l10n/widgets_zh_HK.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"移到開頭"
,
"reorderItemToEnd"
:
"移到最後"
,
"reorderItemUp"
:
"向上移"
,
"reorderItemDown"
:
"向下移"
,
"reorderItemLeft"
:
"向左移"
,
"reorderItemRight"
:
"向右移"
}
packages/flutter_localizations/lib/src/l10n/widgets_zh_TW.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"移至開頭"
,
"reorderItemToEnd"
:
"移至結尾"
,
"reorderItemUp"
:
"向上移"
,
"reorderItemDown"
:
"向下移"
,
"reorderItemLeft"
:
"向左移"
,
"reorderItemRight"
:
"向右移"
}
packages/flutter_localizations/lib/src/l10n/widgets_zu.arb
0 → 100644
View file @
9e4b5fb7
{
"reorderItemToStart"
:
"Yisa ekuqaleni"
,
"reorderItemToEnd"
:
"Yisa ekugcineni"
,
"reorderItemUp"
:
"Iya phezulu"
,
"reorderItemDown"
:
"Iya phansi"
,
"reorderItemLeft"
:
"Hambisa kwesokunxele"
,
"reorderItemRight"
:
"Yisa kwesokudla"
}
packages/flutter_localizations/lib/src/widgets_localizations.dart
View file @
9e4b5fb7
...
@@ -5,10 +5,20 @@
...
@@ -5,10 +5,20 @@
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
;
import
'l10n/generated_widgets_localizations.dart'
;
/// Localized values for widgets.
/// Localized values for widgets.
///
///
/// Currently this class just maps [locale] to [textDirection]. All locales
/// ## Supported languages
/// are [TextDirection.ltr] except for locales with the following
///
/// This class supports locales with the following [Locale.languageCode]s:
///
/// {@macro flutter.localizations.widgets.languages}
///
/// This list is available programmatically via [kWidgetsSupportedLanguages].
///
/// Besides localized strings, this class also maps [locale] to [textDirection].
/// All locales are [TextDirection.ltr] except for locales with the following
/// [Locale.languageCode] values, which are [TextDirection.rtl]:
/// [Locale.languageCode] values, which are [TextDirection.rtl]:
///
///
/// * ar - Arabic
/// * ar - Arabic
...
@@ -17,47 +27,20 @@ import 'package:flutter/widgets.dart';
...
@@ -17,47 +27,20 @@ import 'package:flutter/widgets.dart';
/// * ps - Pashto
/// * ps - Pashto
/// * sd - Sindhi
/// * sd - Sindhi
/// * ur - Urdu
/// * ur - Urdu
class
GlobalWidgetsLocalizations
implements
WidgetsLocalizations
{
///
abstract
class
GlobalWidgetsLocalizations
implements
WidgetsLocalizations
{
/// Construct an object that defines the localized values for the widgets
/// Construct an object that defines the localized values for the widgets
/// library for the given `locale`.
/// library for the given [textDirection].
///
const
GlobalWidgetsLocalizations
(
this
.
textDirection
);
/// [LocalizationsDelegate] implementations typically call the static [load]
/// function, rather than constructing this class directly.
GlobalWidgetsLocalizations
(
this
.
locale
)
{
final
String
language
=
locale
.
languageCode
.
toLowerCase
();
_textDirection
=
_rtlLanguages
.
contains
(
language
)
?
TextDirection
.
rtl
:
TextDirection
.
ltr
;
}
// See http://en.wikipedia.org/wiki/Right-to-left
static
const
List
<
String
>
_rtlLanguages
=
<
String
>[
'ar'
,
// Arabic
'fa'
,
// Farsi
'he'
,
// Hebrew
'ps'
,
// Pashto
'ur'
,
// Urdu
];
/// The locale for which the values of this class's localized resources
/// have been translated.
final
Locale
locale
;
@override
@override
TextDirection
get
textDirection
=>
_textDirection
;
final
TextDirection
textDirection
;
late
TextDirection
_textDirection
;
/// Creates an object that provides localized resource values for the
/// A [LocalizationsDelegate] for [WidgetsLocalizations].
/// lowest levels of the Flutter framework.
///
///
/// This method is typically used to create a [LocalizationsDelegate].
/// Most internationalized apps will use [GlobalMaterialLocalizations.delegates]
/// The [WidgetsApp] does so by default.
/// as the value of [MaterialApp.localizationsDelegates] to include
static
Future
<
WidgetsLocalizations
>
load
(
Locale
locale
)
{
/// the localizations for both the material and widget libraries.
return
SynchronousFuture
<
WidgetsLocalizations
>(
GlobalWidgetsLocalizations
(
locale
));
}
/// A [LocalizationsDelegate] that uses [GlobalWidgetsLocalizations.load]
/// to create an instance of this class.
///
/// [WidgetsApp] automatically adds this value to [WidgetsApp.localizationsDelegates].
static
const
LocalizationsDelegate
<
WidgetsLocalizations
>
delegate
=
_WidgetsLocalizationsDelegate
();
static
const
LocalizationsDelegate
<
WidgetsLocalizations
>
delegate
=
_WidgetsLocalizationsDelegate
();
}
}
...
@@ -65,14 +48,23 @@ class _WidgetsLocalizationsDelegate extends LocalizationsDelegate<WidgetsLocaliz
...
@@ -65,14 +48,23 @@ class _WidgetsLocalizationsDelegate extends LocalizationsDelegate<WidgetsLocaliz
const
_WidgetsLocalizationsDelegate
();
const
_WidgetsLocalizationsDelegate
();
@override
@override
bool
isSupported
(
Locale
locale
)
=>
true
;
bool
isSupported
(
Locale
locale
)
=>
kWidgetsSupportedLanguages
.
contains
(
locale
.
languageCode
);
static
final
Map
<
Locale
,
Future
<
WidgetsLocalizations
>>
_loadedTranslations
=
<
Locale
,
Future
<
WidgetsLocalizations
>>{};
@override
@override
Future
<
WidgetsLocalizations
>
load
(
Locale
locale
)
=>
GlobalWidgetsLocalizations
.
load
(
locale
);
Future
<
WidgetsLocalizations
>
load
(
Locale
locale
)
{
assert
(
isSupported
(
locale
));
return
_loadedTranslations
.
putIfAbsent
(
locale
,
()
{
return
SynchronousFuture
<
WidgetsLocalizations
>(
getWidgetsTranslation
(
locale
,
)!);
});
}
@override
@override
bool
shouldReload
(
_WidgetsLocalizationsDelegate
old
)
=>
false
;
bool
shouldReload
(
_WidgetsLocalizationsDelegate
old
)
=>
false
;
@override
@override
String
toString
()
=>
'GlobalWidgetsLocalizations.delegate(
all
locales)'
;
String
toString
()
=>
'GlobalWidgetsLocalizations.delegate(
${kWidgetsSupportedLanguages.length}
locales)'
;
}
}
packages/flutter_localizations/test/widgets/translations_test.dart
0 → 100644
View file @
9e4b5fb7
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:io'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter_localizations/flutter_localizations.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
final
String
rootDirectoryPath
=
Directory
.
current
.
path
;
void
main
(
)
{
for
(
final
String
language
in
kWidgetsSupportedLanguages
)
{
testWidgets
(
'translations exist for
$language
'
,
(
WidgetTester
tester
)
async
{
final
Locale
locale
=
Locale
(
language
);
expect
(
GlobalWidgetsLocalizations
.
delegate
.
isSupported
(
locale
),
isTrue
);
final
WidgetsLocalizations
localizations
=
await
GlobalWidgetsLocalizations
.
delegate
.
load
(
locale
);
expect
(
localizations
.
reorderItemDown
,
isNotNull
);
expect
(
localizations
.
reorderItemLeft
,
isNotNull
);
expect
(
localizations
.
reorderItemRight
,
isNotNull
);
expect
(
localizations
.
reorderItemToEnd
,
isNotNull
);
expect
(
localizations
.
reorderItemToStart
,
isNotNull
);
expect
(
localizations
.
reorderItemUp
,
isNotNull
);
});
}
}
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