Unverified Commit d6f496ca authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Localize the Chip delete button's default tooltip (#13312)

...and document what I did.
parent 47e49029
......@@ -10,6 +10,7 @@ import 'colors.dart';
import 'debug.dart';
import 'feedback.dart';
import 'icons.dart';
import 'material_localizations.dart';
import 'tooltip.dart';
/// A material design chip.
......@@ -146,9 +147,7 @@ class Chip extends StatelessWidget {
children.add(new GestureDetector(
onTap: Feedback.wrapForTap(onDeleted, context),
child: new Tooltip(
// TODO(gspencer): Internationalize this text.
// https://github.com/flutter/flutter/issues/12378
message: deleteButtonTooltipMessage ?? 'Delete "$label"',
message: deleteButtonTooltipMessage ?? MaterialLocalizations.of(context).deleteButtonTooltip,
child: new Container(
padding: const EdgeInsets.symmetric(horizontal: 4.0),
child: new Icon(
......
......@@ -10,6 +10,31 @@ import 'package:flutter/widgets.dart';
import 'time.dart';
import 'typography.dart';
// ADDING A NEW STRING
//
// If you (someone contributing to the Flutter framework) want to add a new
// string to the MaterialLocalizations object (e.g. because you've added a new
// widget and it has a tooltip), follow these steps:
//
// 1. Add the new getter to MaterialLocalizations below.
//
// 2. Implement a default value in DefaultMaterialLocalizations below.
//
// 3. Add a test to test/material/localizations_test.dart that verifies that
// this new value is implemented.
//
// 4. Update the flutter_localizations package. To add a new string to the
// flutter_localizations package, you must first add it to the English
// translations (lib/src/l10n/material_en.arb), including a description, then
// you must add it to every other language (all the other *.arb files in that
// same directory), including a best guess as to the translation, e.g.
// obtained by optimistic use of Google Translate
// (https://translate.google.com/). There is a README file with further
// information in the lib/src/l10n/ directory.
//
// 5. If you are a Google employee, you should then also follow the instructions
// at go/flutter-l10n. If you're not, don't worry about it.
/// Defines the localized resource values used by the Material widgets.
///
/// See also:
......@@ -28,6 +53,9 @@ abstract class MaterialLocalizations {
/// The [CloseButton]'s tooltip.
String get closeButtonTooltip;
/// The tooltip for the delete button on a [Chip].
String get deleteButtonTooltip;
/// The tooltip for the [MonthPicker]'s "next month" button.
String get nextMonthTooltip;
......@@ -229,7 +257,6 @@ class DefaultMaterialLocalizations implements MaterialLocalizations {
/// function, rather than constructing this class directly.
const DefaultMaterialLocalizations();
// Ordered to match DateTime.MONDAY=1, DateTime.SUNDAY=6
static const List<String>_shortWeekdays = const <String>[
'Mon',
......@@ -399,6 +426,9 @@ class DefaultMaterialLocalizations implements MaterialLocalizations {
@override
String get closeButtonTooltip => 'Close';
@override
String get deleteButtonTooltip => 'Delete';
@override
String get nextMonthTooltip => 'Next month';
......
......@@ -219,6 +219,7 @@ void main() {
expect(tester.getSize(find.byType(Text)), const Size(40.0, 10.0));
expect(tester.getSize(find.byType(Chip)), const Size(800.0, 32.0));
});
testWidgets('Chip supports RTL', (WidgetTester tester) async {
final Widget test = new Overlay(
initialEntries: <OverlayEntry>[
......@@ -238,17 +239,31 @@ void main() {
);
await tester.pumpWidget(
new Directionality(
textDirection: TextDirection.rtl,
child: test,
new Localizations(
locale: const Locale('en', 'US'),
delegates: <LocalizationsDelegate<dynamic>>[
DefaultWidgetsLocalizations.delegate,
DefaultMaterialLocalizations.delegate,
],
child: new Directionality(
textDirection: TextDirection.rtl,
child: test,
),
),
);
expect(tester.getCenter(find.text('ABC')).dx, greaterThan(tester.getCenter(find.byType(Icon)).dx));
await tester.pumpWidget(
new Directionality(
textDirection: TextDirection.ltr,
child: test,
new Localizations(
locale: const Locale('en', 'US'),
delegates: <LocalizationsDelegate<dynamic>>[
DefaultWidgetsLocalizations.delegate,
DefaultMaterialLocalizations.delegate,
],
child: new Directionality(
textDirection: TextDirection.ltr,
child: test,
),
),
);
expect(tester.getCenter(find.text('ABC')).dx, lessThan(tester.getCenter(find.byType(Icon)).dx));
......@@ -411,24 +426,31 @@ void main() {
final GlobalKey keyA = new GlobalKey();
final GlobalKey keyB = new GlobalKey();
await tester.pumpWidget(
new Directionality(
textDirection: TextDirection.ltr,
child: new Overlay(
initialEntries: <OverlayEntry>[
new OverlayEntry(
builder: (BuildContext context) {
return new Material(
child: new Center(
child: new Chip(
avatar: new Placeholder(key: keyA),
label: new Placeholder(key: keyB),
onDeleted: () { },
new Localizations(
locale: const Locale('en', 'US'),
delegates: <LocalizationsDelegate<dynamic>>[
DefaultWidgetsLocalizations.delegate,
DefaultMaterialLocalizations.delegate,
],
child: new Directionality(
textDirection: TextDirection.ltr,
child: new Overlay(
initialEntries: <OverlayEntry>[
new OverlayEntry(
builder: (BuildContext context) {
return new Material(
child: new Center(
child: new Chip(
avatar: new Placeholder(key: keyA),
label: new Placeholder(key: keyB),
onDeleted: () { },
),
),
),
);
},
),
],
);
},
),
],
),
),
),
);
......@@ -444,24 +466,31 @@ void main() {
final GlobalKey keyA = new GlobalKey();
final GlobalKey keyB = new GlobalKey();
await tester.pumpWidget(
new Directionality(
textDirection: TextDirection.rtl,
child: new Overlay(
initialEntries: <OverlayEntry>[
new OverlayEntry(
builder: (BuildContext context) {
return new Material(
child: new Center(
child: new Chip(
avatar: new Placeholder(key: keyA),
label: new Placeholder(key: keyB),
onDeleted: () { },
new Localizations(
locale: const Locale('en', 'US'),
delegates: <LocalizationsDelegate<dynamic>>[
DefaultWidgetsLocalizations.delegate,
DefaultMaterialLocalizations.delegate,
],
child: new Directionality(
textDirection: TextDirection.rtl,
child: new Overlay(
initialEntries: <OverlayEntry>[
new OverlayEntry(
builder: (BuildContext context) {
return new Material(
child: new Center(
child: new Chip(
avatar: new Placeholder(key: keyA),
label: new Placeholder(key: keyB),
onDeleted: () { },
),
),
),
);
},
),
],
);
},
),
],
),
),
),
);
......
......@@ -12,6 +12,7 @@ void main() {
expect(localizations.openAppDrawerTooltip, isNotNull);
expect(localizations.backButtonTooltip, isNotNull);
expect(localizations.closeButtonTooltip, isNotNull);
expect(localizations.deleteButtonTooltip, isNotNull);
expect(localizations.nextMonthTooltip, isNotNull);
expect(localizations.previousMonthTooltip, isNotNull);
expect(localizations.nextPageTooltip, isNotNull);
......
......@@ -127,7 +127,9 @@ the "Other" suffix. For example the English translations
If you look at the comment at the top of `localizations.dart` you'll
see that it was manually generated using a `dev/tools` app called
`gen_localizations` roughly like this:
`gen_localizations`.
You can see what that script would generate by running this command:
```dart
dart dev/tools/gen_localizations.dart packages/flutter_localizations/lib/src/l10n material
......@@ -144,14 +146,20 @@ been updated. The app's first parameter is the path to this directory,
the second is the file name prefix (the file name less the locale
suffix) for the .arb files in this directory.
To in-place update the `localizations.dart` file using the default
values, you can just run:
```dart
dart dev/tools/gen_localizations.dart --overwrite
```
### Translations Status, Reporting Errors
The transltations (the `.arb` files) in this directory are based on
the english translations in `material_en.arb`. As noted earlier,
material_en.arb, contains a small amount of descriptive information
for each resource ID, under the companion resources whose IDs begin
with '@'.
The translations (the `.arb` files) in this directory are based on the
English translations in `material_en.arb`. Google contributes
translations for all the languages supported by this package.
(Googlers, for more details see <go/flutter-l10n>.)
Not all of the translations represented here have been vetted by
native speakers. The following translations have been reviewed by
......
......@@ -22,6 +22,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'فتح قائمة التنقل',
'backButtonTooltip': r'رجوع',
'closeButtonTooltip': r'إغلاق',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'الشهر التالي',
'previousMonthTooltip': r'الشهر السابق',
'nextPageTooltip': r'الصفحة التالية',
......@@ -51,6 +52,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Navigationsmenü öffnen',
'backButtonTooltip': r'Zurück',
'closeButtonTooltip': r'Schließen',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Nächster Monat',
'previousMonthTooltip': r'Vorheriger Monat',
'nextPageTooltip': r'Nächste Seite',
......@@ -82,6 +84,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Navigationsmenü öffnen',
'backButtonTooltip': r'Zurück',
'closeButtonTooltip': r'Schliessen',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Nächster Monat',
'previousMonthTooltip': r'Vorheriger Monat',
'nextPageTooltip': r'Nächste Seite',
......@@ -112,6 +115,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Open navigation menu',
'backButtonTooltip': r'Back',
'closeButtonTooltip': r'Close',
'deleteButtonTooltip': r'Delete',
'nextMonthTooltip': r'Next month',
'previousMonthTooltip': r'Previous month',
'nextPageTooltip': r'Next page',
......@@ -143,6 +147,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Open navigation menu',
'backButtonTooltip': r'Back',
'closeButtonTooltip': r'Close',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Next month',
'previousMonthTooltip': r'Previous month',
'nextPageTooltip': r'Next page',
......@@ -173,6 +178,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Open navigation menu',
'backButtonTooltip': r'Back',
'closeButtonTooltip': r'Close',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Next month',
'previousMonthTooltip': r'Previous month',
'nextPageTooltip': r'Next page',
......@@ -204,6 +210,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'pageRowsInfoTitleApproximate': r'$firstRow–$lastRow of about $rowCount',
'copyButtonLabel': r'COPY',
'closeButtonTooltip': r'Close',
'deleteButtonTooltip': r'',
'selectAllButtonLabel': r'SELECT ALL',
'viewLicensesButtonLabel': r'VIEW LICENCES',
'rowsPerPageTitle': r'Rows per page:',
......@@ -234,6 +241,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'pageRowsInfoTitleApproximate': r'$firstRow–$lastRow of about $rowCount',
'copyButtonLabel': r'COPY',
'closeButtonTooltip': r'Close',
'deleteButtonTooltip': r'',
'selectAllButtonLabel': r'SELECT ALL',
'viewLicensesButtonLabel': r'VIEW LICENCES',
'rowsPerPageTitle': r'Rows per page:',
......@@ -263,6 +271,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Open navigation menu',
'backButtonTooltip': r'Back',
'closeButtonTooltip': r'Close',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Next month',
'previousMonthTooltip': r'Previous month',
'nextPageTooltip': r'Next page',
......@@ -293,6 +302,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Open navigation menu',
'backButtonTooltip': r'Back',
'closeButtonTooltip': r'Close',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Next month',
'previousMonthTooltip': r'Previous month',
'nextPageTooltip': r'Next page',
......@@ -324,6 +334,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'pageRowsInfoTitleApproximate': r'$firstRow–$lastRow of about $rowCount',
'copyButtonLabel': r'COPY',
'closeButtonTooltip': r'Close',
'deleteButtonTooltip': r'',
'selectAllButtonLabel': r'SELECT ALL',
'viewLicensesButtonLabel': r'VIEW LICENCES',
'rowsPerPageTitle': r'Rows per page:',
......@@ -353,6 +364,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Abrir el menú de navegación',
'backButtonTooltip': r'Atrás',
'closeButtonTooltip': r'Cerrar',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Mes siguiente',
'previousMonthTooltip': r'Mes anterior',
'nextPageTooltip': r'Página siguiente',
......@@ -391,6 +403,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'باز کردن منوی پیمایش',
'backButtonTooltip': r'برگشت',
'closeButtonTooltip': r'بستن',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'ماه بعد',
'previousMonthTooltip': r'ماه قبل',
'nextPageTooltip': r'صفحه بعد',
......@@ -420,6 +433,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Ouvrir le menu de navigation',
'backButtonTooltip': r'Retour',
'closeButtonTooltip': r'Fermer',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Mois suivant',
'previousMonthTooltip': r'Mois précédent',
'nextPageTooltip': r'Page suivante',
......@@ -455,6 +469,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Navigationsmenü öffnen',
'backButtonTooltip': r'Zurück',
'closeButtonTooltip': r'Schließen',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Nächster Monat',
'previousMonthTooltip': r'Vorheriger Monat',
'nextPageTooltip': r'Nächste Seite',
......@@ -488,6 +503,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'פתיחה של תפריט הניווט',
'backButtonTooltip': r'הקודם',
'closeButtonTooltip': r'סגירה',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'החודש הבא',
'previousMonthTooltip': r'החודש הקודם',
'nextPageTooltip': r'הדף הבא',
......@@ -518,6 +534,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Apri il menu di navigazione',
'backButtonTooltip': r'Indietro',
'closeButtonTooltip': r'Chiudi',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Mese successivo',
'previousMonthTooltip': r'Mese precedente',
'nextPageTooltip': r'Pagina successiva',
......@@ -548,6 +565,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'ナビゲーション メニューを開く',
'backButtonTooltip': r'戻る',
'closeButtonTooltip': r'閉じる',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'来月',
'previousMonthTooltip': r'前月',
'nextPageTooltip': r'次のページ',
......@@ -577,6 +595,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'د پرانیستی نیینګ مینو',
'backButtonTooltip': r'شاته',
'closeButtonTooltip': r'بنده',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'بله میاشت',
'previousMonthTooltip': r'تیره میاشت',
'nextPageTooltip': r'بله پاڼه',
......@@ -604,6 +623,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Abrir menu de navegação',
'backButtonTooltip': r'Costas',
'closeButtonTooltip': r'Fechar',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Próximo mês',
'previousMonthTooltip': r'Mês anterior',
'nextPageTooltip': r'Próxima página',
......@@ -631,6 +651,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Abrir menu de navegação',
'backButtonTooltip': r'Anterior',
'closeButtonTooltip': r'Fechar',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Mês seguinte',
'previousMonthTooltip': r'Mês anterior',
'nextPageTooltip': r'Página seguinte',
......@@ -663,6 +684,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'Открыть меню навигации',
'backButtonTooltip': r'Назад',
'closeButtonTooltip': r'Закрыть',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'Следующий месяц',
'previousMonthTooltip': r'Предыдущий месяц',
'nextPageTooltip': r'Следующая страница',
......@@ -695,6 +717,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'openAppDrawerTooltip': r'نیویگیشن مینو کھولیں',
'backButtonTooltip': r'پیچھے',
'closeButtonTooltip': r'بند کریں',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'اگلا مہینہ',
'previousMonthTooltip': r'پچھلا مہینہ',
'nextPageTooltip': r'اگلا صفحہ',
......@@ -743,6 +766,7 @@ const Map<String, Map<String, String>> localizations = const <String, Map<String
'selectAllButtonLabel': r'全选',
'viewLicensesButtonLabel': r'查看许可',
'closeButtonTooltip': r'关闭',
'deleteButtonTooltip': r'',
'nextMonthTooltip': r'下个月',
'previousMonthTooltip': r'上个月',
'anteMeridiemAbbreviation': r'上午',
......
......@@ -9,6 +9,7 @@
"openAppDrawerTooltip": "فتح قائمة التنقل",
"backButtonTooltip": "رجوع",
"closeButtonTooltip": "إغلاق",
"deleteButtonTooltip": "",
"nextMonthTooltip": "الشهر التالي",
"previousMonthTooltip": "الشهر السابق",
"nextPageTooltip": "الصفحة التالية",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Navigationsmenü öffnen",
"backButtonTooltip": "Zurück",
"closeButtonTooltip": "Schließen",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Nächster Monat",
"previousMonthTooltip": "Vorheriger Monat",
"nextPageTooltip": "Nächste Seite",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Navigationsmenü öffnen",
"backButtonTooltip": "Zurück",
"closeButtonTooltip": "Schliessen",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Nächster Monat",
"previousMonthTooltip": "Vorheriger Monat",
"nextPageTooltip": "Nächste Seite",
......
{
"scriptCategory": "English-like",
"@scriptCategory": {
"description": "The name of the language's script category (see https://material.io/guidelines/style/typography.html#typography-language-categories-reference)"
"description": "The name of the language's script category (see https://material.io/guidelines/style/typography.html#typography-language-categories-reference)."
},
"timeOfDayFormat": "h:mm a",
......@@ -11,47 +11,52 @@
"openAppDrawerTooltip": "Open navigation menu",
"@openAppDrawerTooltip": {
"description": "The tooltip for the leading AppBar menu (aka 'hamburger') button"
"description": "The tooltip for the leading app bar menu (aka 'hamburger') button."
},
"backButtonTooltip": "Back",
"@backButtonTooltip": {
"description": "The BackButton's tooltip"
"description": "The tooltip for the back button, which closes the current page and returns to the previous one."
},
"closeButtonTooltip": "Close",
"@closeButtonTooltip": {
"description": "The CloseButton's tooltip"
"description": "The tooltip for the close button, which closes the current page and returns to the previous one."
},
"deleteButtonTooltip": "Delete",
"@deleteButtonTooltip": {
"description": "The tooltip for the delete button of chips."
},
"nextMonthTooltip": "Next month",
"@nextMonthTooltip": {
"description": "The tooltip for the MonthPicker's 'next month' button."
"description": "The tooltip for the month picker's 'next month' button."
},
"previousMonthTooltip": "Previous month",
"@previousMonthTooltip": {
"description": "The tooltip for the MonthPicker's 'previous month' button."
"description": "The tooltip for the month picker's 'previous month' button."
},
"nextPageTooltip": "Next page",
"@nextPageTooltip": {
"description": "The tooltip for the [PaginatedDataTables]'s 'next page' button."
"description": "The tooltip for the button that sends the user to the next page of a paginated data table."
},
"previousPageTooltip": "Previous page",
"@previousPageTooltip": {
"description": "The tooltip for the PaginatedDataTables's 'previous page' button."
"description": "The tooltip for the button that sends the user to the previous page of a paginated data table."
},
"showMenuTooltip": "Show menu",
"@showMenuTooltip": {
"description": "The default PopupMenuButton tooltip"
"description": "The tooltip for the button that shows a popup menu."
},
"aboutListTileTitle": "About $applicationName",
"@aboutListTileTitle": {
"description": "The default title for AboutListTile. The value of $applicationName is the name of the application, like GMail or Chrome.",
"description": "The default title for the drawer item that shows an about page for the application. The value of $applicationName is the name of the application, like GMail or Chrome.",
"parameters": "applicationName"
},
......@@ -62,26 +67,26 @@
"pageRowsInfoTitle": "$firstRow–$lastRow of $rowCount",
"@pageRowsInfoTitle": {
"description": "Title for the [PaginatedDataTable]'s row info footer when the exact overall row count is known. This message describes an integer range where $firstRow is the index of the start of the range, $lastRow is the index of the end of the range, and $rowCount is the limit of the range. All values are greater than or equal to zero.",
"description": "The text shown in the footer of a paginated data table when the exact overall row count is known. This message describes an integer range where $firstRow is the index of the start of the range, $lastRow is the index of the end of the range, and $rowCount is the limit of the range. All values are greater than or equal to zero.",
"parameters": "firstRow, lastRow, rowCount"
},
"pageRowsInfoTitleApproximate": "$firstRow–$lastRow of about $rowCount",
"@pageRowsInfoTitleApproximate": {
"description": "Title for the [PaginatedDataTable]'s row info footer when the exact overall row count is unknown. This message describes an integer range where $firstRow is the index of the start of the range, $lastRow is the index of the end of the range, and $rowCount is the limit of the range. All values are greater than or equal to zero.",
"description": "The text shown in the footer of a paginated data table when the exact overall row count is unknown. This message describes an integer range where $firstRow is the index of the start of the range, $lastRow is the index of the end of the range, and $rowCount is the limit of the range. All values are greater than or equal to zero.",
"parameters": "firstRow, lastRow, rowCount"
},
"rowsPerPageTitle": "Rows per page:",
"@rowsPerPageTitle": {
"description": "Title for the [PaginatedDataTable]'s 'rows per page' footer."
"description": "The caption for the drop-down button on a paginated data table's footer that allows the user to control the number of rows of data per page of the table."
},
"selectedRowCountTitleZero": "No items selected",
"selectedRowCountTitleOne": "1 item selected",
"selectedRowCountTitleOther": "$selectedRowCount items selected",
"@selectedRowCountTitle": {
"description": "Title for the PaginatedDataTable's selected row count header. The value of $selectedRowCount is an integer which indicates the number of data table row elements that have been selected.",
"description": "The title for the header of a paginated data table when the user is selecting rows. The value of $selectedRowCount is an integer which indicates the number of data table row elements that have been selected.",
"plural": "selectedRowCount"
},
......@@ -127,7 +132,7 @@
"viewLicensesButtonLabel": "VIEW LICENSES",
"@viewLicensesButtonLabel": {
"description": "The label for the about box's view licenses button."
"description": "The label for the button in the about box that leads the user to a list of all licenses that apply to the application."
},
"anteMeridiemAbbreviation": "AM",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Open navigation menu",
"backButtonTooltip": "Back",
"closeButtonTooltip": "Close",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Next month",
"previousMonthTooltip": "Previous month",
"nextPageTooltip": "Next page",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Open navigation menu",
"backButtonTooltip": "Back",
"closeButtonTooltip": "Close",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Next month",
"previousMonthTooltip": "Previous month",
"nextPageTooltip": "Next page",
......
......@@ -5,6 +5,7 @@
"pageRowsInfoTitleApproximate": "$firstRow–$lastRow of about $rowCount",
"copyButtonLabel": "COPY",
"closeButtonTooltip": "Close",
"deleteButtonTooltip": "",
"selectAllButtonLabel": "SELECT ALL",
"viewLicensesButtonLabel": "VIEW LICENCES",
"rowsPerPageTitle": "Rows per page:",
......
......@@ -5,6 +5,7 @@
"pageRowsInfoTitleApproximate": "$firstRow–$lastRow of about $rowCount",
"copyButtonLabel": "COPY",
"closeButtonTooltip": "Close",
"deleteButtonTooltip": "",
"selectAllButtonLabel": "SELECT ALL",
"viewLicensesButtonLabel": "VIEW LICENCES",
"rowsPerPageTitle": "Rows per page:",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Open navigation menu",
"backButtonTooltip": "Back",
"closeButtonTooltip": "Close",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Next month",
"previousMonthTooltip": "Previous month",
"nextPageTooltip": "Next page",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Open navigation menu",
"backButtonTooltip": "Back",
"closeButtonTooltip": "Close",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Next month",
"previousMonthTooltip": "Previous month",
"nextPageTooltip": "Next page",
......
......@@ -5,6 +5,7 @@
"pageRowsInfoTitleApproximate": "$firstRow–$lastRow of about $rowCount",
"copyButtonLabel": "COPY",
"closeButtonTooltip": "Close",
"deleteButtonTooltip": "",
"selectAllButtonLabel": "SELECT ALL",
"viewLicensesButtonLabel": "VIEW LICENCES",
"rowsPerPageTitle": "Rows per page:",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Abrir el menú de navegación",
"backButtonTooltip": "Atrás",
"closeButtonTooltip": "Cerrar",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Mes siguiente",
"previousMonthTooltip": "Mes anterior",
"nextPageTooltip": "Página siguiente",
......
......@@ -5,6 +5,7 @@
"openAppDrawerTooltip": "باز کردن منوی پیمایش",
"backButtonTooltip": "برگشت",
"closeButtonTooltip": "بستن",
"deleteButtonTooltip": "",
"nextMonthTooltip": "ماه بعد",
"previousMonthTooltip": "ماه قبل",
"nextPageTooltip": "صفحه بعد",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Ouvrir le menu de navigation",
"backButtonTooltip": "Retour",
"closeButtonTooltip": "Fermer",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Mois suivant",
"previousMonthTooltip": "Mois précédent",
"nextPageTooltip": "Page suivante",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Navigationsmenü öffnen",
"backButtonTooltip": "Zurück",
"closeButtonTooltip": "Schließen",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Nächster Monat",
"previousMonthTooltip": "Vorheriger Monat",
"nextPageTooltip": "Nächste Seite",
......
......@@ -7,6 +7,7 @@
"openAppDrawerTooltip": "פתיחה של תפריט הניווט",
"backButtonTooltip": "הקודם",
"closeButtonTooltip": "סגירה",
"deleteButtonTooltip": "",
"nextMonthTooltip": "החודש הבא",
"previousMonthTooltip": "החודש הקודם",
"nextPageTooltip": "הדף הבא",
......
......@@ -5,6 +5,7 @@
"openAppDrawerTooltip": "Apri il menu di navigazione",
"backButtonTooltip": "Indietro",
"closeButtonTooltip": "Chiudi",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Mese successivo",
"previousMonthTooltip": "Mese precedente",
"nextPageTooltip": "Pagina successiva",
......
......@@ -5,6 +5,7 @@
"openAppDrawerTooltip": "ナビゲーション メニューを開く",
"backButtonTooltip": "戻る",
"closeButtonTooltip": "閉じる",
"deleteButtonTooltip": "",
"nextMonthTooltip": "来月",
"previousMonthTooltip": "前月",
"nextPageTooltip": "次のページ",
......
......@@ -6,6 +6,7 @@
"openAppDrawerTooltip": "د پرانیستی نیینګ مینو",
"backButtonTooltip": "شاته",
"closeButtonTooltip": "بنده",
"deleteButtonTooltip": "",
"nextMonthTooltip": "بله میاشت",
"previousMonthTooltip": "تیره میاشت",
"nextPageTooltip": "بله پاڼه",
......
......@@ -6,6 +6,7 @@
"openAppDrawerTooltip": "Abrir menu de navegação",
"backButtonTooltip": "Costas",
"closeButtonTooltip": "Fechar",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Próximo mês",
"previousMonthTooltip": "Mês anterior",
"nextPageTooltip": "Próxima página",
......
......@@ -4,6 +4,7 @@
"openAppDrawerTooltip": "Abrir menu de navegação",
"backButtonTooltip": "Anterior",
"closeButtonTooltip": "Fechar",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Mês seguinte",
"previousMonthTooltip": "Mês anterior",
"nextPageTooltip": "Página seguinte",
......
......@@ -6,6 +6,7 @@
"openAppDrawerTooltip": "Открыть меню навигации",
"backButtonTooltip": "Назад",
"closeButtonTooltip": "Закрыть",
"deleteButtonTooltip": "",
"nextMonthTooltip": "Следующий месяц",
"previousMonthTooltip": "Предыдущий месяц",
"nextPageTooltip": "Следующая страница",
......
......@@ -5,6 +5,7 @@
"openAppDrawerTooltip": "نیویگیشن مینو کھولیں",
"backButtonTooltip": "پیچھے",
"closeButtonTooltip": "بند کریں",
"deleteButtonTooltip": "",
"nextMonthTooltip": "اگلا مہینہ",
"previousMonthTooltip": "پچھلا مہینہ",
"nextPageTooltip": "اگلا صفحہ",
......
......@@ -23,6 +23,7 @@
"selectAllButtonLabel": "全选",
"viewLicensesButtonLabel": "查看许可",
"closeButtonTooltip": "关闭",
"deleteButtonTooltip": "",
"nextMonthTooltip": "下个月",
"previousMonthTooltip": "上个月",
"anteMeridiemAbbreviation": "上午",
......
......@@ -235,6 +235,9 @@ class GlobalMaterialLocalizations implements MaterialLocalizations {
@override
String get closeButtonTooltip => _nameToValue['closeButtonTooltip'];
@override
String get deleteButtonTooltip => _nameToValue['deleteButtonTooltip'];
@override
String get nextMonthTooltip => _nameToValue['nextMonthTooltip'];
......
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