Commit 7ae4de70 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Added material string translations for the 6 additional RTL locales we recognize (#11876)

parent f3fe8757
...@@ -11,6 +11,41 @@ ...@@ -11,6 +11,41 @@
/// ///
/// This variable is used by [MaterialLocalizations]. /// This variable is used by [MaterialLocalizations].
const Map<String, Map<String, String>> localizations = const <String, Map<String, String>> { 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>{ "ar": const <String, String>{
"openAppDrawerTooltip": r"افتح قائمة التنقل", "openAppDrawerTooltip": r"افتح قائمة التنقل",
"backButtonTooltip": r"الى الخلف", "backButtonTooltip": r"الى الخلف",
......
{ {
"openAppDrawerTooltip": "افتح قائمة التنقل", "openAppDrawerTooltip": "افتح قائمة التنقل",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button",
"type": "text"
},
"backButtonTooltip": "الى الخلف", "backButtonTooltip": "الى الخلف",
"@backButtonTooltip": {
"description": "The BackButton's tooltip",
"type": "text"
},
"closeButtonTooltip": "إغلا", "closeButtonTooltip": "إغلا",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip",
"type": "text"
},
"nextMonthTooltip": "الشهر القادم", "nextMonthTooltip": "الشهر القادم",
"@nextMonthTooltip": { "previousMonthTooltip": "الشهر الماضى"
"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"
}
} }
{ {
"openAppDrawerTooltip": "Navigationsmenü öffnen", "openAppDrawerTooltip": "Navigationsmenü öffnen",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button",
"type": "text"
},
"backButtonTooltip": "Zurück", "backButtonTooltip": "Zurück",
"@backButtonTooltip": {
"description": "The BackButton's tooltip",
"type": "text"
},
"closeButtonTooltip": "Schließen ", "closeButtonTooltip": "Schließen ",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip",
"type": "text"
},
"nextMonthTooltip": "Nächster Monat", "nextMonthTooltip": "Nächster Monat",
"@nextMonthTooltip": { "previousMonthTooltip": "Letzter Monat"
"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"
}
} }
{ {
"openAppDrawerTooltip": "Abrir el menú de navegación", "openAppDrawerTooltip": "Abrir el menú de navegación",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button",
"type": "text"
},
"backButtonTooltip": "Espalda", "backButtonTooltip": "Espalda",
"@backButtonTooltip": {
"description": "The BackButton's tooltip",
"type": "text"
},
"closeButtonTooltip": "Cerrar", "closeButtonTooltip": "Cerrar",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip",
"type": "text"
},
"nextMonthTooltip": "Próximo mes", "nextMonthTooltip": "Próximo mes",
"@nextMonthTooltip": { "previousMonthTooltip": "mes anterior"
"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"
}
} }
{
"openAppDrawerTooltip": "منوی ناوبری را باز کنید",
"backButtonTooltip": "بازگشت",
"closeButtonTooltip": "بستن",
"nextMonthTooltip": "ماه بعد",
"previousMonthTooltip": "ماه گذشته"
}
\ No newline at end of file
{ {
"openAppDrawerTooltip": "Ouvrir le menu de navigation", "openAppDrawerTooltip": "Ouvrir le menu de navigation",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button",
"type": "text"
},
"backButtonTooltip": "Arrière", "backButtonTooltip": "Arrière",
"@backButtonTooltip": {
"description": "The BackButton's tooltip",
"type": "text"
},
"closeButtonTooltip": "Fermer", "closeButtonTooltip": "Fermer",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip",
"type": "text"
},
"nextMonthTooltip": "Mois Suivant", "nextMonthTooltip": "Mois Suivant",
"@nextMonthTooltip": { "previousMonthTooltip": "Le mois précédent"
"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"
}
} }
{
"openAppDrawerTooltip": "פתח תפריט ניווט",
"backButtonTooltip": "אחורה",
"closeButtonTooltip": "סגור",
"nextMonthTooltip": "חודש הבא",
"previousMonthTooltip": "חודש שעבר"
}
\ No newline at end of file
{ {
"openAppDrawerTooltip": "Apri il menu di navigazione", "openAppDrawerTooltip": "Apri il menu di navigazione",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button",
"type": "text"
},
"backButtonTooltip": "Indietro", "backButtonTooltip": "Indietro",
"@backButtonTooltip": {
"description": "The BackButton's tooltip",
"type": "text"
},
"closeButtonTooltip": "Chiudi", "closeButtonTooltip": "Chiudi",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip",
"type": "text"
},
"nextMonthTooltip": "Il prossimo mese", "nextMonthTooltip": "Il prossimo mese",
"@nextMonthTooltip": { "previousMonthTooltip": "Il mese scorso"
"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"
}
} }
{ {
"openAppDrawerTooltip": "ナビゲーションメニューを開く", "openAppDrawerTooltip": "ナビゲーションメニューを開く",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button",
"type": "text"
},
"backButtonTooltip": "バック", "backButtonTooltip": "バック",
"@backButtonTooltip": {
"description": "The BackButton's tooltip",
"type": "text"
},
"closeButtonTooltip": "閉じる", "closeButtonTooltip": "閉じる",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip",
"type": "text"
},
"nextMonthTooltip": "来月", "nextMonthTooltip": "来月",
"@nextMonthTooltip": { "previousMonthTooltip": "前の月"
"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"
}
} }
{
"openAppDrawerTooltip": "د پرانیستی نیینګ مینو",
"backButtonTooltip": "شاته",
"closeButtonTooltip": "بنده",
"nextMonthTooltip": "بله میاشت",
"previousMonthTooltip": "تیره میاشت"
}
\ No newline at end of file
{ {
"openAppDrawerTooltip": "Abrir menu de navegação", "openAppDrawerTooltip": "Abrir menu de navegação",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button",
"type": "text"
},
"backButtonTooltip": "Costas", "backButtonTooltip": "Costas",
"@backButtonTooltip": {
"description": "The BackButton's tooltip",
"type": "text"
},
"closeButtonTooltip": "Fechar", "closeButtonTooltip": "Fechar",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip",
"type": "text"
},
"nextMonthTooltip": "Próximo mês", "nextMonthTooltip": "Próximo mês",
"@nextMonthTooltip": { "previousMonthTooltip": "Mês anterior"
"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"
}
} }
{ {
"openAppDrawerTooltip": "Открыть меню навигации", "openAppDrawerTooltip": "Открыть меню навигации",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button",
"type": "text"
},
"backButtonTooltip": "назад", "backButtonTooltip": "назад",
"@backButtonTooltip": {
"description": "The BackButton's tooltip",
"type": "text"
},
"closeButtonTooltip": "Закрыть", "closeButtonTooltip": "Закрыть",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip",
"type": "text"
},
"nextMonthTooltip": "В следующем месяце", "nextMonthTooltip": "В следующем месяце",
"@nextMonthTooltip": { "previousMonthTooltip": "Предыдущий месяц"
"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"
}
} }
{
"openAppDrawerTooltip": "اوپن جي مينڊيٽ مينيو",
"backButtonTooltip": "پوئتي",
"closeButtonTooltip": "بند ڪريو",
"nextMonthTooltip": "ايندڙ مهيني",
"previousMonthTooltip": "پويون مهينو"
}
\ No newline at end of file
{
"openAppDrawerTooltip": "کھولیں نیویگیشن مینو",
"backButtonTooltip": "واپس",
"closeButtonTooltip": "بند کریں",
"nextMonthTooltip": "اگلا مھینہ",
"previousMonthTooltip": "پچھلا مھینہ"
}
\ No newline at end of file
{ {
"openAppDrawerTooltip": "打开导航菜单", "openAppDrawerTooltip": "打开导航菜单",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button",
"type": "text"
},
"backButtonTooltip": "背部", "backButtonTooltip": "背部",
"@backButtonTooltip": {
"description": "The BackButton's tooltip",
"type": "text"
},
"closeButtonTooltip": "关", "closeButtonTooltip": "关",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip",
"type": "text"
},
"nextMonthTooltip": "-下月就29了。", "nextMonthTooltip": "-下月就29了。",
"@nextMonthTooltip": { "previousMonthTooltip": "前一个月"
"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"
}
} }
...@@ -13,7 +13,7 @@ import 'i18n/localizations.dart'; ...@@ -13,7 +13,7 @@ import 'i18n/localizations.dart';
/// ///
/// See also: /// See also:
/// ///
/// * [DefaultMaterialLocalizations], which implements this interface and /// * [DefaultMaterialLocalizations], which implements this interface
/// and supports a variety of locales. /// and supports a variety of locales.
abstract class MaterialLocalizations { abstract class MaterialLocalizations {
/// The tooltip for the leading [AppBar] menu (aka 'hamburger') button /// The tooltip for the leading [AppBar] menu (aka 'hamburger') button
......
...@@ -166,7 +166,6 @@ class DefaultWidgetsLocalizations implements WidgetsLocalizations { ...@@ -166,7 +166,6 @@ class DefaultWidgetsLocalizations implements WidgetsLocalizations {
// See http://en.wikipedia.org/wiki/Right-to-left // See http://en.wikipedia.org/wiki/Right-to-left
static const List<String> _rtlLanguages = const <String>[ static const List<String> _rtlLanguages = const <String>[
'ar', // Arabic 'ar', // Arabic
'dv', // Dhivehi
'fa', // Farsi 'fa', // Farsi
'he', // Hebrew 'he', // Hebrew
'ps', // Pashto 'ps', // Pashto
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment