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
7ae4de70
Commit
7ae4de70
authored
Sep 01, 2017
by
Hans Muller
Committed by
GitHub
Sep 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added material string translations for the 6 additional RTL locales we recognize (#11876)
parent
f3fe8757
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
80 additions
and
191 deletions
+80
-191
localizations.dart
packages/flutter/lib/src/material/i18n/localizations.dart
+35
-0
material_ar.arb
packages/flutter/lib/src/material/i18n/material_ar.arb
+1
-21
material_de.arb
packages/flutter/lib/src/material/i18n/material_de.arb
+1
-21
material_es.arb
packages/flutter/lib/src/material/i18n/material_es.arb
+1
-21
material_fa.arb
packages/flutter/lib/src/material/i18n/material_fa.arb
+7
-0
material_fr.arb
packages/flutter/lib/src/material/i18n/material_fr.arb
+1
-21
material_he.arb
packages/flutter/lib/src/material/i18n/material_he.arb
+7
-0
material_it.arb
packages/flutter/lib/src/material/i18n/material_it.arb
+1
-21
material_ja.arb
packages/flutter/lib/src/material/i18n/material_ja.arb
+1
-21
material_ps.arb
packages/flutter/lib/src/material/i18n/material_ps.arb
+7
-0
material_pt.arb
packages/flutter/lib/src/material/i18n/material_pt.arb
+1
-21
material_ru.arb
packages/flutter/lib/src/material/i18n/material_ru.arb
+1
-21
material_sd.arb
packages/flutter/lib/src/material/i18n/material_sd.arb
+7
-0
material_ur.arb
packages/flutter/lib/src/material/i18n/material_ur.arb
+7
-0
material_zh.arb
packages/flutter/lib/src/material/i18n/material_zh.arb
+1
-21
material_localizations.dart
...ages/flutter/lib/src/material/material_localizations.dart
+1
-1
localizations.dart
packages/flutter/lib/src/widgets/localizations.dart
+0
-1
No files found.
packages/flutter/lib/src/material/i18n/localizations.dart
View file @
7ae4de70
...
...
@@ -11,6 +11,41 @@
///
/// This variable is used by [MaterialLocalizations].
const
Map
<
String
,
Map
<
String
,
String
>>
localizations
=
const
<
String
,
Map
<
String
,
String
>>
{
"sd"
:
const
<
String
,
String
>{
"openAppDrawerTooltip"
:
r"اوپن جي مينڊيٽ مينيو"
,
"backButtonTooltip"
:
r"پوئتي"
,
"closeButtonTooltip"
:
r"بند ڪريو"
,
"nextMonthTooltip"
:
r"ايندڙ مهيني"
,
"previousMonthTooltip"
:
r"پويون مهينو"
},
"fa"
:
const
<
String
,
String
>{
"openAppDrawerTooltip"
:
r"منوی ناوبری را باز کنید"
,
"backButtonTooltip"
:
r"بازگشت"
,
"closeButtonTooltip"
:
r"بستن"
,
"nextMonthTooltip"
:
r"ماه بعد"
,
"previousMonthTooltip"
:
r"ماه گذشته"
},
"ur"
:
const
<
String
,
String
>{
"openAppDrawerTooltip"
:
r"کھولیں نیویگیشن مینو"
,
"backButtonTooltip"
:
r"واپس"
,
"closeButtonTooltip"
:
r"بند کریں"
,
"nextMonthTooltip"
:
r"اگلا مھینہ"
,
"previousMonthTooltip"
:
r"پچھلا مھینہ"
},
"ps"
:
const
<
String
,
String
>{
"openAppDrawerTooltip"
:
r"د پرانیستی نیینګ مینو"
,
"backButtonTooltip"
:
r"شاته"
,
"closeButtonTooltip"
:
r"بنده"
,
"nextMonthTooltip"
:
r"بله میاشت"
,
"previousMonthTooltip"
:
r"تیره میاشت"
},
"he"
:
const
<
String
,
String
>{
"openAppDrawerTooltip"
:
r"פתח תפריט ניווט"
,
"backButtonTooltip"
:
r"אחורה"
,
"closeButtonTooltip"
:
r"סגור"
,
"nextMonthTooltip"
:
r"חודש הבא"
,
"previousMonthTooltip"
:
r"חודש שעבר"
},
"ar"
:
const
<
String
,
String
>{
"openAppDrawerTooltip"
:
r"افتح قائمة التنقل"
,
"backButtonTooltip"
:
r"الى الخلف"
,
...
...
packages/flutter/lib/src/material/i18n/material_ar.arb
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"افتح قائمة التنقل"
,
"@openAppDrawerTooltip"
:
{
"description"
:
"The tooltip for the leading AppBar menu (aka 'hamburger') button"
,
"type"
:
"text"
},
"backButtonTooltip"
:
"الى الخلف"
,
"@backButtonTooltip"
:
{
"description"
:
"The BackButton's tooltip"
,
"type"
:
"text"
},
"closeButtonTooltip"
:
"إغلا"
,
"@closeButtonTooltip"
:
{
"description"
:
"The CloseButton's tooltip"
,
"type"
:
"text"
},
"nextMonthTooltip"
:
"الشهر القادم"
,
"@nextMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'next month' button."
,
"type"
:
"text"
},
"previousMonthTooltip"
:
"الشهر الماضى"
,
"@previousMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'previous month' button."
,
"type"
:
"text"
}
"previousMonthTooltip"
:
"الشهر الماضى"
}
packages/flutter/lib/src/material/i18n/material_de.arb
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"Navigationsmenü öffnen"
,
"@openAppDrawerTooltip"
:
{
"description"
:
"The tooltip for the leading AppBar menu (aka 'hamburger') button"
,
"type"
:
"text"
},
"backButtonTooltip"
:
"Zurück"
,
"@backButtonTooltip"
:
{
"description"
:
"The BackButton's tooltip"
,
"type"
:
"text"
},
"closeButtonTooltip"
:
"Schließen "
,
"@closeButtonTooltip"
:
{
"description"
:
"The CloseButton's tooltip"
,
"type"
:
"text"
},
"nextMonthTooltip"
:
"Nächster Monat"
,
"@nextMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'next month' button."
,
"type"
:
"text"
},
"previousMonthTooltip"
:
"Letzter Monat"
,
"@previousMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'previous month' button."
,
"type"
:
"text"
}
"previousMonthTooltip"
:
"Letzter Monat"
}
packages/flutter/lib/src/material/i18n/material_es.arb
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"Abrir el menú de navegación"
,
"@openAppDrawerTooltip"
:
{
"description"
:
"The tooltip for the leading AppBar menu (aka 'hamburger') button"
,
"type"
:
"text"
},
"backButtonTooltip"
:
"Espalda"
,
"@backButtonTooltip"
:
{
"description"
:
"The BackButton's tooltip"
,
"type"
:
"text"
},
"closeButtonTooltip"
:
"Cerrar"
,
"@closeButtonTooltip"
:
{
"description"
:
"The CloseButton's tooltip"
,
"type"
:
"text"
},
"nextMonthTooltip"
:
"Próximo mes"
,
"@nextMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'next month' button."
,
"type"
:
"text"
},
"previousMonthTooltip"
:
"mes anterior"
,
"@previousMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'previous month' button."
,
"type"
:
"text"
}
"previousMonthTooltip"
:
"mes anterior"
}
packages/flutter/lib/src/material/i18n/material_fa.arb
0 → 100644
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"منوی ناوبری را باز کنید"
,
"backButtonTooltip"
:
"بازگشت"
,
"closeButtonTooltip"
:
"بستن"
,
"nextMonthTooltip"
:
"ماه بعد"
,
"previousMonthTooltip"
:
"ماه گذشته"
}
\ No newline at end of file
packages/flutter/lib/src/material/i18n/material_fr.arb
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"Ouvrir le menu de navigation"
,
"@openAppDrawerTooltip"
:
{
"description"
:
"The tooltip for the leading AppBar menu (aka 'hamburger') button"
,
"type"
:
"text"
},
"backButtonTooltip"
:
"Arrière"
,
"@backButtonTooltip"
:
{
"description"
:
"The BackButton's tooltip"
,
"type"
:
"text"
},
"closeButtonTooltip"
:
"Fermer"
,
"@closeButtonTooltip"
:
{
"description"
:
"The CloseButton's tooltip"
,
"type"
:
"text"
},
"nextMonthTooltip"
:
"Mois Suivant"
,
"@nextMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'next month' button."
,
"type"
:
"text"
},
"previousMonthTooltip"
:
"Le mois précédent"
,
"@previousMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'previous month' button."
,
"type"
:
"text"
}
"previousMonthTooltip"
:
"Le mois précédent"
}
packages/flutter/lib/src/material/i18n/material_he.arb
0 → 100644
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"פתח תפריט ניווט"
,
"backButtonTooltip"
:
"אחורה"
,
"closeButtonTooltip"
:
"סגור"
,
"nextMonthTooltip"
:
"חודש הבא"
,
"previousMonthTooltip"
:
"חודש שעבר"
}
\ No newline at end of file
packages/flutter/lib/src/material/i18n/material_it.arb
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"Apri il menu di navigazione"
,
"@openAppDrawerTooltip"
:
{
"description"
:
"The tooltip for the leading AppBar menu (aka 'hamburger') button"
,
"type"
:
"text"
},
"backButtonTooltip"
:
"Indietro"
,
"@backButtonTooltip"
:
{
"description"
:
"The BackButton's tooltip"
,
"type"
:
"text"
},
"closeButtonTooltip"
:
"Chiudi"
,
"@closeButtonTooltip"
:
{
"description"
:
"The CloseButton's tooltip"
,
"type"
:
"text"
},
"nextMonthTooltip"
:
"Il prossimo mese"
,
"@nextMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'next month' button."
,
"type"
:
"text"
},
"previousMonthTooltip"
:
"Il mese scorso"
,
"@previousMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'previous month' button."
,
"type"
:
"text"
}
"previousMonthTooltip"
:
"Il mese scorso"
}
packages/flutter/lib/src/material/i18n/material_ja.arb
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"ナビゲーションメニューを開く"
,
"@openAppDrawerTooltip"
:
{
"description"
:
"The tooltip for the leading AppBar menu (aka 'hamburger') button"
,
"type"
:
"text"
},
"backButtonTooltip"
:
"バック"
,
"@backButtonTooltip"
:
{
"description"
:
"The BackButton's tooltip"
,
"type"
:
"text"
},
"closeButtonTooltip"
:
"閉じる"
,
"@closeButtonTooltip"
:
{
"description"
:
"The CloseButton's tooltip"
,
"type"
:
"text"
},
"nextMonthTooltip"
:
"来月"
,
"@nextMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'next month' button."
,
"type"
:
"text"
},
"previousMonthTooltip"
:
"前の月"
,
"@previousMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'previous month' button."
,
"type"
:
"text"
}
"previousMonthTooltip"
:
"前の月"
}
packages/flutter/lib/src/material/i18n/material_ps.arb
0 → 100644
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"د پرانیستی نیینګ مینو"
,
"backButtonTooltip"
:
"شاته"
,
"closeButtonTooltip"
:
"بنده"
,
"nextMonthTooltip"
:
"بله میاشت"
,
"previousMonthTooltip"
:
"تیره میاشت"
}
\ No newline at end of file
packages/flutter/lib/src/material/i18n/material_pt.arb
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"Abrir menu de navegação"
,
"@openAppDrawerTooltip"
:
{
"description"
:
"The tooltip for the leading AppBar menu (aka 'hamburger') button"
,
"type"
:
"text"
},
"backButtonTooltip"
:
"Costas"
,
"@backButtonTooltip"
:
{
"description"
:
"The BackButton's tooltip"
,
"type"
:
"text"
},
"closeButtonTooltip"
:
"Fechar"
,
"@closeButtonTooltip"
:
{
"description"
:
"The CloseButton's tooltip"
,
"type"
:
"text"
},
"nextMonthTooltip"
:
"Próximo mês"
,
"@nextMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'next month' button."
,
"type"
:
"text"
},
"previousMonthTooltip"
:
"Mês anterior"
,
"@previousMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'previous month' button."
,
"type"
:
"text"
}
"previousMonthTooltip"
:
"Mês anterior"
}
packages/flutter/lib/src/material/i18n/material_ru.arb
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"Открыть меню навигации"
,
"@openAppDrawerTooltip"
:
{
"description"
:
"The tooltip for the leading AppBar menu (aka 'hamburger') button"
,
"type"
:
"text"
},
"backButtonTooltip"
:
"назад"
,
"@backButtonTooltip"
:
{
"description"
:
"The BackButton's tooltip"
,
"type"
:
"text"
},
"closeButtonTooltip"
:
"Закрыть"
,
"@closeButtonTooltip"
:
{
"description"
:
"The CloseButton's tooltip"
,
"type"
:
"text"
},
"nextMonthTooltip"
:
"В следующем месяце"
,
"@nextMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'next month' button."
,
"type"
:
"text"
},
"previousMonthTooltip"
:
"Предыдущий месяц"
,
"@previousMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'previous month' button."
,
"type"
:
"text"
}
"previousMonthTooltip"
:
"Предыдущий месяц"
}
packages/flutter/lib/src/material/i18n/material_sd.arb
0 → 100644
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"اوپن جي مينڊيٽ مينيو"
,
"backButtonTooltip"
:
"پوئتي"
,
"closeButtonTooltip"
:
"بند ڪريو"
,
"nextMonthTooltip"
:
"ايندڙ مهيني"
,
"previousMonthTooltip"
:
"پويون مهينو"
}
\ No newline at end of file
packages/flutter/lib/src/material/i18n/material_ur.arb
0 → 100644
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"کھولیں نیویگیشن مینو"
,
"backButtonTooltip"
:
"واپس"
,
"closeButtonTooltip"
:
"بند کریں"
,
"nextMonthTooltip"
:
"اگلا مھینہ"
,
"previousMonthTooltip"
:
"پچھلا مھینہ"
}
\ No newline at end of file
packages/flutter/lib/src/material/i18n/material_zh.arb
View file @
7ae4de70
{
"openAppDrawerTooltip"
:
"打开导航菜单"
,
"@openAppDrawerTooltip"
:
{
"description"
:
"The tooltip for the leading AppBar menu (aka 'hamburger') button"
,
"type"
:
"text"
},
"backButtonTooltip"
:
"背部"
,
"@backButtonTooltip"
:
{
"description"
:
"The BackButton's tooltip"
,
"type"
:
"text"
},
"closeButtonTooltip"
:
"关"
,
"@closeButtonTooltip"
:
{
"description"
:
"The CloseButton's tooltip"
,
"type"
:
"text"
},
"nextMonthTooltip"
:
"-下月就29了。"
,
"@nextMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'next month' button."
,
"type"
:
"text"
},
"previousMonthTooltip"
:
"前一个月"
,
"@previousMonthTooltip"
:
{
"description"
:
"The tooltip for the MonthPicker's 'previous month' button."
,
"type"
:
"text"
}
"previousMonthTooltip"
:
"前一个月"
}
packages/flutter/lib/src/material/material_localizations.dart
View file @
7ae4de70
...
...
@@ -13,7 +13,7 @@ import 'i18n/localizations.dart';
///
/// See also:
///
/// * [DefaultMaterialLocalizations], which implements this interface
and
/// * [DefaultMaterialLocalizations], which implements this interface
/// and supports a variety of locales.
abstract
class
MaterialLocalizations
{
/// The tooltip for the leading [AppBar] menu (aka 'hamburger') button
...
...
packages/flutter/lib/src/widgets/localizations.dart
View file @
7ae4de70
...
...
@@ -166,7 +166,6 @@ class DefaultWidgetsLocalizations implements WidgetsLocalizations {
// See http://en.wikipedia.org/wiki/Right-to-left
static
const
List
<
String
>
_rtlLanguages
=
const
<
String
>[
'ar'
,
// Arabic
'dv'
,
// Dhivehi
'fa'
,
// Farsi
'he'
,
// Hebrew
'ps'
,
// Pashto
...
...
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