diff --git a/packages/flutter/lib/src/material/i18n/localizations.dart b/packages/flutter/lib/src/material/i18n/localizations.dart index ff5de3f756d..8764d172523 100644 --- a/packages/flutter/lib/src/material/i18n/localizations.dart +++ b/packages/flutter/lib/src/material/i18n/localizations.dart @@ -11,6 +11,41 @@ /// /// This variable is used by [MaterialLocalizations]. const Map> localizations = const > { + "sd": const { + "openAppDrawerTooltip": r"اوپن جي مينڊيٽ مينيو", + "backButtonTooltip": r"پوئتي", + "closeButtonTooltip": r"بند ڪريو", + "nextMonthTooltip": r"ايندڙ مهيني", + "previousMonthTooltip": r"پويون مهينو" + }, + "fa": const { + "openAppDrawerTooltip": r"منوی ناوبری را باز کنید", + "backButtonTooltip": r"بازگشت", + "closeButtonTooltip": r"بستن", + "nextMonthTooltip": r"ماه بعد", + "previousMonthTooltip": r"ماه گذشته" + }, + "ur": const { + "openAppDrawerTooltip": r"کھولیں نیویگیشن مینو", + "backButtonTooltip": r"واپس", + "closeButtonTooltip": r"بند کریں", + "nextMonthTooltip": r"اگلا مھینہ", + "previousMonthTooltip": r"پچھلا مھینہ" + }, + "ps": const { + "openAppDrawerTooltip": r"د پرانیستی نیینګ مینو", + "backButtonTooltip": r"شاته", + "closeButtonTooltip": r"بنده", + "nextMonthTooltip": r"بله میاشت", + "previousMonthTooltip": r"تیره میاشت" + }, + "he": const { + "openAppDrawerTooltip": r"פתח תפריט ניווט", + "backButtonTooltip": r"אחורה", + "closeButtonTooltip": r"סגור", + "nextMonthTooltip": r"חודש הבא", + "previousMonthTooltip": r"חודש שעבר" + }, "ar": const { "openAppDrawerTooltip": r"افتح قائمة التنقل", "backButtonTooltip": r"الى الخلف", diff --git a/packages/flutter/lib/src/material/i18n/material_ar.arb b/packages/flutter/lib/src/material/i18n/material_ar.arb index 16745bf1c64..1ca99b38c67 100644 --- a/packages/flutter/lib/src/material/i18n/material_ar.arb +++ b/packages/flutter/lib/src/material/i18n/material_ar.arb @@ -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": "الشهر الماضى" } diff --git a/packages/flutter/lib/src/material/i18n/material_de.arb b/packages/flutter/lib/src/material/i18n/material_de.arb index e36bec6a370..893f0656954 100644 --- a/packages/flutter/lib/src/material/i18n/material_de.arb +++ b/packages/flutter/lib/src/material/i18n/material_de.arb @@ -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" } diff --git a/packages/flutter/lib/src/material/i18n/material_es.arb b/packages/flutter/lib/src/material/i18n/material_es.arb index ddb30530423..2e793f9c5e8 100644 --- a/packages/flutter/lib/src/material/i18n/material_es.arb +++ b/packages/flutter/lib/src/material/i18n/material_es.arb @@ -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" } diff --git a/packages/flutter/lib/src/material/i18n/material_fa.arb b/packages/flutter/lib/src/material/i18n/material_fa.arb new file mode 100644 index 00000000000..cdb1c03953f --- /dev/null +++ b/packages/flutter/lib/src/material/i18n/material_fa.arb @@ -0,0 +1,7 @@ +{ + "openAppDrawerTooltip": "منوی ناوبری را باز کنید", + "backButtonTooltip": "بازگشت", + "closeButtonTooltip": "بستن", + "nextMonthTooltip": "ماه بعد", + "previousMonthTooltip": "ماه گذشته" +} \ No newline at end of file diff --git a/packages/flutter/lib/src/material/i18n/material_fr.arb b/packages/flutter/lib/src/material/i18n/material_fr.arb index 4ff56706493..8df70b221a2 100644 --- a/packages/flutter/lib/src/material/i18n/material_fr.arb +++ b/packages/flutter/lib/src/material/i18n/material_fr.arb @@ -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" } diff --git a/packages/flutter/lib/src/material/i18n/material_he.arb b/packages/flutter/lib/src/material/i18n/material_he.arb new file mode 100644 index 00000000000..5e4c45f4a62 --- /dev/null +++ b/packages/flutter/lib/src/material/i18n/material_he.arb @@ -0,0 +1,7 @@ +{ + "openAppDrawerTooltip": "פתח תפריט ניווט", + "backButtonTooltip": "אחורה", + "closeButtonTooltip": "סגור", + "nextMonthTooltip": "חודש הבא", + "previousMonthTooltip": "חודש שעבר" +} \ No newline at end of file diff --git a/packages/flutter/lib/src/material/i18n/material_it.arb b/packages/flutter/lib/src/material/i18n/material_it.arb index 80030eaf53b..8995817ff5a 100644 --- a/packages/flutter/lib/src/material/i18n/material_it.arb +++ b/packages/flutter/lib/src/material/i18n/material_it.arb @@ -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" } diff --git a/packages/flutter/lib/src/material/i18n/material_ja.arb b/packages/flutter/lib/src/material/i18n/material_ja.arb index 4205c645c2e..2c2c671fc3b 100644 --- a/packages/flutter/lib/src/material/i18n/material_ja.arb +++ b/packages/flutter/lib/src/material/i18n/material_ja.arb @@ -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": "前の月" } diff --git a/packages/flutter/lib/src/material/i18n/material_ps.arb b/packages/flutter/lib/src/material/i18n/material_ps.arb new file mode 100644 index 00000000000..80dad302240 --- /dev/null +++ b/packages/flutter/lib/src/material/i18n/material_ps.arb @@ -0,0 +1,7 @@ +{ + "openAppDrawerTooltip": "د پرانیستی نیینګ مینو", + "backButtonTooltip": "شاته", + "closeButtonTooltip": "بنده", + "nextMonthTooltip": "بله میاشت", + "previousMonthTooltip": "تیره میاشت" +} \ No newline at end of file diff --git a/packages/flutter/lib/src/material/i18n/material_pt.arb b/packages/flutter/lib/src/material/i18n/material_pt.arb index a346b4b14d3..404a8fb591e 100644 --- a/packages/flutter/lib/src/material/i18n/material_pt.arb +++ b/packages/flutter/lib/src/material/i18n/material_pt.arb @@ -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" } diff --git a/packages/flutter/lib/src/material/i18n/material_ru.arb b/packages/flutter/lib/src/material/i18n/material_ru.arb index c12a616385b..2ef9d94eb48 100644 --- a/packages/flutter/lib/src/material/i18n/material_ru.arb +++ b/packages/flutter/lib/src/material/i18n/material_ru.arb @@ -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": "Предыдущий месяц" } diff --git a/packages/flutter/lib/src/material/i18n/material_sd.arb b/packages/flutter/lib/src/material/i18n/material_sd.arb new file mode 100644 index 00000000000..7c9ddc8354f --- /dev/null +++ b/packages/flutter/lib/src/material/i18n/material_sd.arb @@ -0,0 +1,7 @@ +{ + "openAppDrawerTooltip": "اوپن جي مينڊيٽ مينيو", + "backButtonTooltip": "پوئتي", + "closeButtonTooltip": "بند ڪريو", + "nextMonthTooltip": "ايندڙ مهيني", + "previousMonthTooltip": "پويون مهينو" +} \ No newline at end of file diff --git a/packages/flutter/lib/src/material/i18n/material_ur.arb b/packages/flutter/lib/src/material/i18n/material_ur.arb new file mode 100644 index 00000000000..11b7245dca7 --- /dev/null +++ b/packages/flutter/lib/src/material/i18n/material_ur.arb @@ -0,0 +1,7 @@ +{ + "openAppDrawerTooltip": "کھولیں نیویگیشن مینو", + "backButtonTooltip": "واپس", + "closeButtonTooltip": "بند کریں", + "nextMonthTooltip": "اگلا مھینہ", + "previousMonthTooltip": "پچھلا مھینہ" +} \ No newline at end of file diff --git a/packages/flutter/lib/src/material/i18n/material_zh.arb b/packages/flutter/lib/src/material/i18n/material_zh.arb index c194874f280..033c3c468ea 100644 --- a/packages/flutter/lib/src/material/i18n/material_zh.arb +++ b/packages/flutter/lib/src/material/i18n/material_zh.arb @@ -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": "前一个月" } diff --git a/packages/flutter/lib/src/material/material_localizations.dart b/packages/flutter/lib/src/material/material_localizations.dart index 343f1250ac3..4003ffb1b5f 100644 --- a/packages/flutter/lib/src/material/material_localizations.dart +++ b/packages/flutter/lib/src/material/material_localizations.dart @@ -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 diff --git a/packages/flutter/lib/src/widgets/localizations.dart b/packages/flutter/lib/src/widgets/localizations.dart index 266b6b8dbf3..13ce6f50e2e 100644 --- a/packages/flutter/lib/src/widgets/localizations.dart +++ b/packages/flutter/lib/src/widgets/localizations.dart @@ -166,7 +166,6 @@ class DefaultWidgetsLocalizations implements WidgetsLocalizations { // See http://en.wikipedia.org/wiki/Right-to-left static const List _rtlLanguages = const [ 'ar', // Arabic - 'dv', // Dhivehi 'fa', // Farsi 'he', // Hebrew 'ps', // Pashto