mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Added material string translations for the 6 additional RTL locales we recognize (#11876)
This commit is contained in:
parent
f3fe875714
commit
7ae4de70be
@ -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"الى الخلف",
|
||||
|
||||
@ -1,27 +1,7 @@
|
||||
{
|
||||
"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": "الشهر الماضى"
|
||||
}
|
||||
|
||||
@ -1,27 +1,7 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
|
||||
@ -1,27 +1,7 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
|
||||
7
packages/flutter/lib/src/material/i18n/material_fa.arb
Normal file
7
packages/flutter/lib/src/material/i18n/material_fa.arb
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"openAppDrawerTooltip": "منوی ناوبری را باز کنید",
|
||||
"backButtonTooltip": "بازگشت",
|
||||
"closeButtonTooltip": "بستن",
|
||||
"nextMonthTooltip": "ماه بعد",
|
||||
"previousMonthTooltip": "ماه گذشته"
|
||||
}
|
||||
@ -1,27 +1,7 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
|
||||
7
packages/flutter/lib/src/material/i18n/material_he.arb
Normal file
7
packages/flutter/lib/src/material/i18n/material_he.arb
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"openAppDrawerTooltip": "פתח תפריט ניווט",
|
||||
"backButtonTooltip": "אחורה",
|
||||
"closeButtonTooltip": "סגור",
|
||||
"nextMonthTooltip": "חודש הבא",
|
||||
"previousMonthTooltip": "חודש שעבר"
|
||||
}
|
||||
@ -1,27 +1,7 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
|
||||
@ -1,27 +1,7 @@
|
||||
{
|
||||
"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": "前の月"
|
||||
}
|
||||
|
||||
7
packages/flutter/lib/src/material/i18n/material_ps.arb
Normal file
7
packages/flutter/lib/src/material/i18n/material_ps.arb
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"openAppDrawerTooltip": "د پرانیستی نیینګ مینو",
|
||||
"backButtonTooltip": "شاته",
|
||||
"closeButtonTooltip": "بنده",
|
||||
"nextMonthTooltip": "بله میاشت",
|
||||
"previousMonthTooltip": "تیره میاشت"
|
||||
}
|
||||
@ -1,27 +1,7 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
|
||||
@ -1,27 +1,7 @@
|
||||
{
|
||||
"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": "Предыдущий месяц"
|
||||
}
|
||||
|
||||
7
packages/flutter/lib/src/material/i18n/material_sd.arb
Normal file
7
packages/flutter/lib/src/material/i18n/material_sd.arb
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"openAppDrawerTooltip": "اوپن جي مينڊيٽ مينيو",
|
||||
"backButtonTooltip": "پوئتي",
|
||||
"closeButtonTooltip": "بند ڪريو",
|
||||
"nextMonthTooltip": "ايندڙ مهيني",
|
||||
"previousMonthTooltip": "پويون مهينو"
|
||||
}
|
||||
7
packages/flutter/lib/src/material/i18n/material_ur.arb
Normal file
7
packages/flutter/lib/src/material/i18n/material_ur.arb
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"openAppDrawerTooltip": "کھولیں نیویگیشن مینو",
|
||||
"backButtonTooltip": "واپس",
|
||||
"closeButtonTooltip": "بند کریں",
|
||||
"nextMonthTooltip": "اگلا مھینہ",
|
||||
"previousMonthTooltip": "پچھلا مھینہ"
|
||||
}
|
||||
@ -1,27 +1,7 @@
|
||||
{
|
||||
"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": "前一个月"
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user