From 5d007aeb8673a8b7ab5b2a15e15e8ecea9332904 Mon Sep 17 00:00:00 2001 From: Per Classon Date: Thu, 30 Jan 2020 12:50:06 +0100 Subject: [PATCH] [Gallery] Localize durations for Crane (#294) * Correctly formatted placeholders in intl_en_US.arb * Add flight duration strings * Replace duration formatter with localized string --- .../lib/l10n/gallery_localizations.dart | 1295 +++++++++-------- gallery/gallery/lib/l10n/intl_en_US.arb | 100 +- gallery/gallery/lib/l10n/intl_en_US.xml | 12 + gallery/gallery/lib/l10n/messages_en_US.dart | 19 +- .../lib/studies/crane/model/formatters.dart | 15 +- gallery/gallery/pubspec.lock | 7 - gallery/gallery/pubspec.yaml | 1 - 7 files changed, 780 insertions(+), 669 deletions(-) diff --git a/gallery/gallery/lib/l10n/gallery_localizations.dart b/gallery/gallery/lib/l10n/gallery_localizations.dart index de3ff27a4..c5999e5b4 100644 --- a/gallery/gallery/lib/l10n/gallery_localizations.dart +++ b/gallery/gallery/lib/l10n/gallery_localizations.dart @@ -58,6 +58,9 @@ import 'messages_all.dart'; /// you wish to add from the pop-up menu in the Value field. This list should /// be consistent with the languages listed in the GalleryLocalizations.supportedLocales /// property. + +// ignore_for_file: unnecessary_brace_in_string_interps + class GalleryLocalizations { GalleryLocalizations(Locale locale) : _localeName = Intl.canonicalizedLocale(locale.toString()); @@ -97,6 +100,7 @@ class GalleryLocalizations { /// A list of this localizations delegate's supported locales. static const List supportedLocales = [ + Locale('en', 'US'), Locale('af'), Locale('am'), Locale('ar'), @@ -124,7 +128,6 @@ class GalleryLocalizations { Locale('en', 'IN'), Locale('en', 'NZ'), Locale('en', 'SG'), - Locale('en', 'US'), Locale('en', 'ZA'), Locale('es'), Locale('es', '419'), @@ -219,7 +222,7 @@ class GalleryLocalizations { String aboutDialogDescription(Object value) { return Intl.message( - r'To see the source code for this app, please visit the $value.', + 'To see the source code for this app, please visit the ${value}.', locale: _localeName, name: 'aboutDialogDescription', desc: r'A description about how to view the source code for this app.', @@ -227,14 +230,14 @@ class GalleryLocalizations { } String get aboutFlutterSamplesRepo { - return Intl.message(r'Flutter samples Github repo', + return Intl.message('Flutter samples Github repo', locale: _localeName, name: 'aboutFlutterSamplesRepo', desc: r'Represents a link to the Flutter samples github repository.'); } String get backToGallery { - return Intl.message(r'Back to Gallery', + return Intl.message('Back to Gallery', locale: _localeName, name: 'backToGallery', desc: @@ -242,7 +245,7 @@ class GalleryLocalizations { } String get bannerDemoLeadingText { - return Intl.message(r'Leading Icon', + return Intl.message('Leading Icon', locale: _localeName, name: 'bannerDemoLeadingText', desc: @@ -250,7 +253,7 @@ class GalleryLocalizations { } String get bannerDemoMultipleText { - return Intl.message(r'Multiple actions', + return Intl.message('Multiple actions', locale: _localeName, name: 'bannerDemoMultipleText', desc: @@ -258,7 +261,7 @@ class GalleryLocalizations { } String get bannerDemoResetText { - return Intl.message(r'Reset the banner', + return Intl.message('Reset the banner', locale: _localeName, name: 'bannerDemoResetText', desc: r'Show the Banner to the user again.'); @@ -266,7 +269,7 @@ class GalleryLocalizations { String get bannerDemoText { return Intl.message( - r'Your password was updated on your other device. Please sign in again.', + 'Your password was updated on your other device. Please sign in again.', locale: _localeName, name: 'bannerDemoText', desc: @@ -274,7 +277,7 @@ class GalleryLocalizations { } String get bottomAppBarNotch { - return Intl.message(r'Notch', + return Intl.message('Notch', locale: _localeName, name: 'bottomAppBarNotch', desc: @@ -282,7 +285,7 @@ class GalleryLocalizations { } String get bottomAppBarPosition { - return Intl.message(r'Floating Action Button Position', + return Intl.message('Floating Action Button Position', locale: _localeName, name: 'bottomAppBarPosition', desc: @@ -290,7 +293,7 @@ class GalleryLocalizations { } String get bottomAppBarPositionDockedCenter { - return Intl.message(r'Docked - Center', + return Intl.message('Docked - Center', locale: _localeName, name: 'bottomAppBarPositionDockedCenter', desc: @@ -298,7 +301,7 @@ class GalleryLocalizations { } String get bottomAppBarPositionDockedEnd { - return Intl.message(r'Docked - End', + return Intl.message('Docked - End', locale: _localeName, name: 'bottomAppBarPositionDockedEnd', desc: @@ -306,7 +309,7 @@ class GalleryLocalizations { } String get bottomAppBarPositionFloatingCenter { - return Intl.message(r'Floating - Center', + return Intl.message('Floating - Center', locale: _localeName, name: 'bottomAppBarPositionFloatingCenter', desc: @@ -314,7 +317,7 @@ class GalleryLocalizations { } String get bottomAppBarPositionFloatingEnd { - return Intl.message(r'Floating - End', + return Intl.message('Floating - End', locale: _localeName, name: 'bottomAppBarPositionFloatingEnd', desc: @@ -322,42 +325,42 @@ class GalleryLocalizations { } String get bottomNavigationAccountTab { - return Intl.message(r'Account', + return Intl.message('Account', locale: _localeName, name: 'bottomNavigationAccountTab', desc: r'Title for Account tab of bottom navigation.'); } String get bottomNavigationAlarmTab { - return Intl.message(r'Alarm', + return Intl.message('Alarm', locale: _localeName, name: 'bottomNavigationAlarmTab', desc: r'Title for Alarm tab of bottom navigation.'); } String get bottomNavigationCalendarTab { - return Intl.message(r'Calendar', + return Intl.message('Calendar', locale: _localeName, name: 'bottomNavigationCalendarTab', desc: r'Title for Calendar tab of bottom navigation.'); } String get bottomNavigationCameraTab { - return Intl.message(r'Camera', + return Intl.message('Camera', locale: _localeName, name: 'bottomNavigationCameraTab', desc: r'Title for Camera tab of bottom navigation.'); } String get bottomNavigationCommentsTab { - return Intl.message(r'Comments', + return Intl.message('Comments', locale: _localeName, name: 'bottomNavigationCommentsTab', desc: r'Title for Comments tab of bottom navigation.'); } String bottomNavigationContentPlaceholder(Object title) { - return Intl.message(r'Placeholder for $title tab', + return Intl.message('Placeholder for ${title} tab', locale: _localeName, name: 'bottomNavigationContentPlaceholder', desc: @@ -366,28 +369,28 @@ class GalleryLocalizations { } String get buttonText { - return Intl.message(r'BUTTON', + return Intl.message('BUTTON', locale: _localeName, name: 'buttonText', desc: r'Text for a generic button.'); } String get buttonTextCreate { - return Intl.message(r'Create', + return Intl.message('Create', locale: _localeName, name: 'buttonTextCreate', desc: r'Tooltip text for a create button.'); } String get cardsDemoExplore { - return Intl.message(r'Explore', + return Intl.message('Explore', locale: _localeName, name: 'cardsDemoExplore', desc: r'Click to see more about the content in the cards demo.'); } String cardsDemoExploreSemantics(Object destinationName) { - return Intl.message(r'Explore $destinationName', + return Intl.message('Explore ${destinationName}', locale: _localeName, name: 'cardsDemoExploreSemantics', desc: @@ -396,7 +399,7 @@ class GalleryLocalizations { } String get cardsDemoSelectable { - return Intl.message(r'Selectable (long press)', + return Intl.message('Selectable (long press)', locale: _localeName, name: 'cardsDemoSelectable', desc: @@ -404,7 +407,7 @@ class GalleryLocalizations { } String cardsDemoShareSemantics(Object destinationName) { - return Intl.message(r'Share $destinationName', + return Intl.message('Share ${destinationName}', locale: _localeName, name: 'cardsDemoShareSemantics', desc: @@ -413,410 +416,410 @@ class GalleryLocalizations { } String get cardsDemoTappable { - return Intl.message(r'Tappable', + return Intl.message('Tappable', locale: _localeName, name: 'cardsDemoTappable', desc: r'The user can tap this button'); } String get cardsDemoTravelDestinationCity1 { - return Intl.message(r'Thanjavur', + return Intl.message('Thanjavur', locale: _localeName, name: 'cardsDemoTravelDestinationCity1', desc: r'Thanjavur the city'); } String get cardsDemoTravelDestinationCity2 { - return Intl.message(r'Chettinad', + return Intl.message('Chettinad', locale: _localeName, name: 'cardsDemoTravelDestinationCity2', desc: r'Chettinad the city'); } String get cardsDemoTravelDestinationDescription1 { - return Intl.message(r'Number 10', + return Intl.message('Number 10', locale: _localeName, name: 'cardsDemoTravelDestinationDescription1', desc: r'Number 10'); } String get cardsDemoTravelDestinationDescription2 { - return Intl.message(r'Silk Spinners', + return Intl.message('Silk Spinners', locale: _localeName, name: 'cardsDemoTravelDestinationDescription2', desc: r'Silk Spinners'); } String get cardsDemoTravelDestinationDescription3 { - return Intl.message(r'Temples', + return Intl.message('Temples', locale: _localeName, name: 'cardsDemoTravelDestinationDescription3', desc: r'Temples'); } String get cardsDemoTravelDestinationLocation1 { - return Intl.message(r'Thanjavur, Tamil Nadu', + return Intl.message('Thanjavur, Tamil Nadu', locale: _localeName, name: 'cardsDemoTravelDestinationLocation1', desc: r'Thanjavur, Tamil Nadu is a location'); } String get cardsDemoTravelDestinationLocation2 { - return Intl.message(r'Sivaganga, Tamil Nadu', + return Intl.message('Sivaganga, Tamil Nadu', locale: _localeName, name: 'cardsDemoTravelDestinationLocation2', desc: r'Sivaganga, Tamil Nadu is a location'); } String get cardsDemoTravelDestinationTitle1 { - return Intl.message(r'Top 10 Cities to Visit in Tamil Nadu', + return Intl.message('Top 10 Cities to Visit in Tamil Nadu', locale: _localeName, name: 'cardsDemoTravelDestinationTitle1', desc: r'The top 10 cities that you can visit in Tamil Nadu'); } String get cardsDemoTravelDestinationTitle2 { - return Intl.message(r'Artisans of Southern India', + return Intl.message('Artisans of Southern India', locale: _localeName, name: 'cardsDemoTravelDestinationTitle2', desc: r'Artist that are from Southern India'); } String get cardsDemoTravelDestinationTitle3 { - return Intl.message(r'Brihadisvara Temple', + return Intl.message('Brihadisvara Temple', locale: _localeName, name: 'cardsDemoTravelDestinationTitle3', desc: r'Brihadisvara Temple'); } String get chipBiking { - return Intl.message(r'Biking', + return Intl.message('Biking', locale: _localeName, name: 'chipBiking', desc: r'A chip component to that indicates a biking selection.'); } String get chipElevator { - return Intl.message(r'Elevator', + return Intl.message('Elevator', locale: _localeName, name: 'chipElevator', desc: r'A chip component to filter selection by elevators.'); } String get chipFireplace { - return Intl.message(r'Fireplace', + return Intl.message('Fireplace', locale: _localeName, name: 'chipFireplace', desc: r'A chip component to filter selection by fireplaces.'); } String get chipLarge { - return Intl.message(r'Large', + return Intl.message('Large', locale: _localeName, name: 'chipLarge', desc: r'A chip component to select a large size.'); } String get chipMedium { - return Intl.message(r'Medium', + return Intl.message('Medium', locale: _localeName, name: 'chipMedium', desc: r'A chip component to select a medium size.'); } String get chipSmall { - return Intl.message(r'Small', + return Intl.message('Small', locale: _localeName, name: 'chipSmall', desc: r'A chip component to select a small size.'); } String get chipTurnOnLights { - return Intl.message(r'Turn on lights', + return Intl.message('Turn on lights', locale: _localeName, name: 'chipTurnOnLights', desc: r'A chip component to turn on the lights.'); } String get chipWasher { - return Intl.message(r'Washer', + return Intl.message('Washer', locale: _localeName, name: 'chipWasher', desc: r'A chip component to filter selection by washers.'); } String get colorsAmber { - return Intl.message(r'AMBER', + return Intl.message('AMBER', locale: _localeName, name: 'colorsAmber', desc: r'Tab title for the color amber.'); } String get colorsBlue { - return Intl.message(r'BLUE', + return Intl.message('BLUE', locale: _localeName, name: 'colorsBlue', desc: r'Tab title for the color blue.'); } String get colorsBlueGrey { - return Intl.message(r'BLUE GREY', + return Intl.message('BLUE GREY', locale: _localeName, name: 'colorsBlueGrey', desc: r'Tab title for the color blue grey.'); } String get colorsBrown { - return Intl.message(r'BROWN', + return Intl.message('BROWN', locale: _localeName, name: 'colorsBrown', desc: r'Tab title for the color brown.'); } String get colorsCyan { - return Intl.message(r'CYAN', + return Intl.message('CYAN', locale: _localeName, name: 'colorsCyan', desc: r'Tab title for the color cyan.'); } String get colorsDeepOrange { - return Intl.message(r'DEEP ORANGE', + return Intl.message('DEEP ORANGE', locale: _localeName, name: 'colorsDeepOrange', desc: r'Tab title for the color deep orange.'); } String get colorsDeepPurple { - return Intl.message(r'DEEP PURPLE', + return Intl.message('DEEP PURPLE', locale: _localeName, name: 'colorsDeepPurple', desc: r'Tab title for the color deep purple.'); } String get colorsGreen { - return Intl.message(r'GREEN', + return Intl.message('GREEN', locale: _localeName, name: 'colorsGreen', desc: r'Tab title for the color green.'); } String get colorsGrey { - return Intl.message(r'GREY', + return Intl.message('GREY', locale: _localeName, name: 'colorsGrey', desc: r'Tab title for the color grey.'); } String get colorsIndigo { - return Intl.message(r'INDIGO', + return Intl.message('INDIGO', locale: _localeName, name: 'colorsIndigo', desc: r'Tab title for the color indigo.'); } String get colorsLightBlue { - return Intl.message(r'LIGHT BLUE', + return Intl.message('LIGHT BLUE', locale: _localeName, name: 'colorsLightBlue', desc: r'Tab title for the color light blue.'); } String get colorsLightGreen { - return Intl.message(r'LIGHT GREEN', + return Intl.message('LIGHT GREEN', locale: _localeName, name: 'colorsLightGreen', desc: r'Tab title for the color light green.'); } String get colorsLime { - return Intl.message(r'LIME', + return Intl.message('LIME', locale: _localeName, name: 'colorsLime', desc: r'Tab title for the color lime.'); } String get colorsOrange { - return Intl.message(r'ORANGE', + return Intl.message('ORANGE', locale: _localeName, name: 'colorsOrange', desc: r'Tab title for the color orange.'); } String get colorsPink { - return Intl.message(r'PINK', + return Intl.message('PINK', locale: _localeName, name: 'colorsPink', desc: r'Tab title for the color pink.'); } String get colorsPurple { - return Intl.message(r'PURPLE', + return Intl.message('PURPLE', locale: _localeName, name: 'colorsPurple', desc: r'Tab title for the color purple.'); } String get colorsRed { - return Intl.message(r'RED', + return Intl.message('RED', locale: _localeName, name: 'colorsRed', desc: r'Tab title for the color red.'); } String get colorsTeal { - return Intl.message(r'TEAL', + return Intl.message('TEAL', locale: _localeName, name: 'colorsTeal', desc: r'Tab title for the color teal.'); } String get colorsYellow { - return Intl.message(r'YELLOW', + return Intl.message('YELLOW', locale: _localeName, name: 'colorsYellow', desc: r'Tab title for the color yellow.'); } String get craneDescription { - return Intl.message(r'A personalized travel app', + return Intl.message('A personalized travel app', locale: _localeName, name: 'craneDescription', desc: r'Study description for Crane.'); } String get craneEat { - return Intl.message(r'EAT', + return Intl.message('EAT', locale: _localeName, name: 'craneEat', desc: r'Title for EAT tab.'); } String get craneEat0 { - return Intl.message(r'Naples, Italy', + return Intl.message('Naples, Italy', locale: _localeName, name: 'craneEat0', desc: r'Label for city.'); } String get craneEat0SemanticLabel { - return Intl.message(r'Pizza in a wood-fired oven', + return Intl.message('Pizza in a wood-fired oven', locale: _localeName, name: 'craneEat0SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat1 { - return Intl.message(r'Dallas, United States', + return Intl.message('Dallas, United States', locale: _localeName, name: 'craneEat1', desc: r'Label for city.'); } String get craneEat10 { - return Intl.message(r'Lisbon, Portugal', + return Intl.message('Lisbon, Portugal', locale: _localeName, name: 'craneEat10', desc: r'Label for city.'); } String get craneEat10SemanticLabel { - return Intl.message(r'Woman holding huge pastrami sandwich', + return Intl.message('Woman holding huge pastrami sandwich', locale: _localeName, name: 'craneEat10SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat1SemanticLabel { - return Intl.message(r'Empty bar with diner-style stools', + return Intl.message('Empty bar with diner-style stools', locale: _localeName, name: 'craneEat1SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat2 { - return Intl.message(r'Córdoba, Argentina', + return Intl.message('Córdoba, Argentina', locale: _localeName, name: 'craneEat2', desc: r'Label for city.'); } String get craneEat2SemanticLabel { - return Intl.message(r'Burger', + return Intl.message('Burger', locale: _localeName, name: 'craneEat2SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat3 { - return Intl.message(r'Portland, United States', + return Intl.message('Portland, United States', locale: _localeName, name: 'craneEat3', desc: r'Label for city.'); } String get craneEat3SemanticLabel { - return Intl.message(r'Korean taco', + return Intl.message('Korean taco', locale: _localeName, name: 'craneEat3SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat4 { - return Intl.message(r'Paris, France', + return Intl.message('Paris, France', locale: _localeName, name: 'craneEat4', desc: r'Label for city.'); } String get craneEat4SemanticLabel { - return Intl.message(r'Chocolate dessert', + return Intl.message('Chocolate dessert', locale: _localeName, name: 'craneEat4SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat5 { - return Intl.message(r'Seoul, South Korea', + return Intl.message('Seoul, South Korea', locale: _localeName, name: 'craneEat5', desc: r'Label for city.'); } String get craneEat5SemanticLabel { - return Intl.message(r'Artsy restaurant seating area', + return Intl.message('Artsy restaurant seating area', locale: _localeName, name: 'craneEat5SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat6 { - return Intl.message(r'Seattle, United States', + return Intl.message('Seattle, United States', locale: _localeName, name: 'craneEat6', desc: r'Label for city.'); } String get craneEat6SemanticLabel { - return Intl.message(r'Shrimp dish', + return Intl.message('Shrimp dish', locale: _localeName, name: 'craneEat6SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat7 { - return Intl.message(r'Nashville, United States', + return Intl.message('Nashville, United States', locale: _localeName, name: 'craneEat7', desc: r'Label for city.'); } String get craneEat7SemanticLabel { - return Intl.message(r'Bakery entrance', + return Intl.message('Bakery entrance', locale: _localeName, name: 'craneEat7SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat8 { - return Intl.message(r'Atlanta, United States', + return Intl.message('Atlanta, United States', locale: _localeName, name: 'craneEat8', desc: r'Label for city.'); } String get craneEat8SemanticLabel { - return Intl.message(r'Plate of crawfish', + return Intl.message('Plate of crawfish', locale: _localeName, name: 'craneEat8SemanticLabel', desc: r'Semantic label for an image.'); } String get craneEat9 { - return Intl.message(r'Madrid, Spain', + return Intl.message('Madrid, Spain', locale: _localeName, name: 'craneEat9', desc: r'Label for city.'); } String get craneEat9SemanticLabel { - return Intl.message(r'Cafe counter with pastries', + return Intl.message('Cafe counter with pastries', locale: _localeName, name: 'craneEat9SemanticLabel', desc: r'Semantic label for an image.'); @@ -830,184 +833,193 @@ class GalleryLocalizations { args: [totalRestaurants], zero: 'No Restaurants', one: '1 Restaurant', - other: '$totalRestaurants Restaurants'); + other: '${totalRestaurants} Restaurants'); } String get craneEatSubhead { - return Intl.message(r'Explore Restaurants by Destination', + return Intl.message('Explore Restaurants by Destination', locale: _localeName, name: 'craneEatSubhead', desc: r'Subhead for EAT tab.'); } + String craneFlightDuration(Object hoursShortForm, Object minutesShortForm) { + return Intl.message('${hoursShortForm} ${minutesShortForm}', + locale: _localeName, + name: 'craneFlightDuration', + desc: + r'A pattern to define the layout of a flight duration string. For example in English one might say 1h 15m. Translation should only rearrange the inputs. {hoursShortForm} would for example be replaced by 1h, already translated to the given locale. {minutesShortForm} would for example be replaced by 15m, already translated to the given locale.', + args: [hoursShortForm, minutesShortForm]); + } + String get craneFly { - return Intl.message(r'FLY', + return Intl.message('FLY', locale: _localeName, name: 'craneFly', desc: r'Title for FLY tab.'); } String get craneFly0 { - return Intl.message(r'Aspen, United States', + return Intl.message('Aspen, United States', locale: _localeName, name: 'craneFly0', desc: r'Label for city.'); } String get craneFly0SemanticLabel { - return Intl.message(r'Chalet in a snowy landscape with evergreen trees', + return Intl.message('Chalet in a snowy landscape with evergreen trees', locale: _localeName, name: 'craneFly0SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly1 { - return Intl.message(r'Big Sur, United States', + return Intl.message('Big Sur, United States', locale: _localeName, name: 'craneFly1', desc: r'Label for city.'); } String get craneFly10 { - return Intl.message(r'Cairo, Egypt', + return Intl.message('Cairo, Egypt', locale: _localeName, name: 'craneFly10', desc: r'Label for city.'); } String get craneFly10SemanticLabel { - return Intl.message(r'Al-Azhar Mosque towers during sunset', + return Intl.message('Al-Azhar Mosque towers during sunset', locale: _localeName, name: 'craneFly10SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly11 { - return Intl.message(r'Lisbon, Portugal', + return Intl.message('Lisbon, Portugal', locale: _localeName, name: 'craneFly11', desc: r'Label for city.'); } String get craneFly11SemanticLabel { - return Intl.message(r'Brick lighthouse at sea', + return Intl.message('Brick lighthouse at sea', locale: _localeName, name: 'craneFly11SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly12 { - return Intl.message(r'Napa, United States', + return Intl.message('Napa, United States', locale: _localeName, name: 'craneFly12', desc: r'Label for city.'); } String get craneFly12SemanticLabel { - return Intl.message(r'Pool with palm trees', + return Intl.message('Pool with palm trees', locale: _localeName, name: 'craneFly12SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly13 { - return Intl.message(r'Bali, Indonesia', + return Intl.message('Bali, Indonesia', locale: _localeName, name: 'craneFly13', desc: r'Label for city.'); } String get craneFly13SemanticLabel { - return Intl.message(r'Sea-side pool with palm trees', + return Intl.message('Sea-side pool with palm trees', locale: _localeName, name: 'craneFly13SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly1SemanticLabel { - return Intl.message(r'Tent in a field', + return Intl.message('Tent in a field', locale: _localeName, name: 'craneFly1SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly2 { - return Intl.message(r'Khumbu Valley, Nepal', + return Intl.message('Khumbu Valley, Nepal', locale: _localeName, name: 'craneFly2', desc: r'Label for city.'); } String get craneFly2SemanticLabel { - return Intl.message(r'Prayer flags in front of snowy mountain', + return Intl.message('Prayer flags in front of snowy mountain', locale: _localeName, name: 'craneFly2SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly3 { - return Intl.message(r'Machu Picchu, Peru', + return Intl.message('Machu Picchu, Peru', locale: _localeName, name: 'craneFly3', desc: r'Label for city.'); } String get craneFly3SemanticLabel { - return Intl.message(r'Machu Picchu citadel', + return Intl.message('Machu Picchu citadel', locale: _localeName, name: 'craneFly3SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly4 { - return Intl.message(r'Malé, Maldives', + return Intl.message('Malé, Maldives', locale: _localeName, name: 'craneFly4', desc: r'Label for city.'); } String get craneFly4SemanticLabel { - return Intl.message(r'Overwater bungalows', + return Intl.message('Overwater bungalows', locale: _localeName, name: 'craneFly4SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly5 { - return Intl.message(r'Vitznau, Switzerland', + return Intl.message('Vitznau, Switzerland', locale: _localeName, name: 'craneFly5', desc: r'Label for city.'); } String get craneFly5SemanticLabel { - return Intl.message(r'Lake-side hotel in front of mountains', + return Intl.message('Lake-side hotel in front of mountains', locale: _localeName, name: 'craneFly5SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly6 { - return Intl.message(r'Mexico City, Mexico', + return Intl.message('Mexico City, Mexico', locale: _localeName, name: 'craneFly6', desc: r'Label for city.'); } String get craneFly6SemanticLabel { - return Intl.message(r'Aerial view of Palacio de Bellas Artes', + return Intl.message('Aerial view of Palacio de Bellas Artes', locale: _localeName, name: 'craneFly6SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly7 { - return Intl.message(r'Mount Rushmore, United States', + return Intl.message('Mount Rushmore, United States', locale: _localeName, name: 'craneFly7', desc: r'Label for city.'); } String get craneFly7SemanticLabel { - return Intl.message(r'Mount Rushmore', + return Intl.message('Mount Rushmore', locale: _localeName, name: 'craneFly7SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly8 { - return Intl.message(r'Singapore', + return Intl.message('Singapore', locale: _localeName, name: 'craneFly8', desc: r'Label for city.'); } String get craneFly8SemanticLabel { - return Intl.message(r'Supertree Grove', + return Intl.message('Supertree Grove', locale: _localeName, name: 'craneFly8SemanticLabel', desc: r'Semantic label for an image.'); } String get craneFly9 { - return Intl.message(r'Havana, Cuba', + return Intl.message('Havana, Cuba', locale: _localeName, name: 'craneFly9', desc: r'Label for city.'); } String get craneFly9SemanticLabel { - return Intl.message(r'Man leaning on an antique blue car', + return Intl.message('Man leaning on an antique blue car', locale: _localeName, name: 'craneFly9SemanticLabel', desc: r'Semantic label for an image.'); @@ -1022,216 +1034,238 @@ class GalleryLocalizations { args: [numberOfStops], zero: 'Nonstop', one: '1 stop', - other: '$numberOfStops stops'); + other: '${numberOfStops} stops'); } String get craneFlySubhead { - return Intl.message(r'Explore Flights by Destination', + return Intl.message('Explore Flights by Destination', locale: _localeName, name: 'craneFlySubhead', desc: r'Subhead for FLY tab.'); } String get craneFormDate { - return Intl.message(r'Select Date', + return Intl.message('Select Date', locale: _localeName, name: 'craneFormDate', desc: r'Form field label to select a date.'); } String get craneFormDates { - return Intl.message(r'Select Dates', + return Intl.message('Select Dates', locale: _localeName, name: 'craneFormDates', desc: r'Form field label to select multiple dates.'); } String get craneFormDestination { - return Intl.message(r'Choose Destination', + return Intl.message('Choose Destination', locale: _localeName, name: 'craneFormDestination', desc: r'Form field label to choose a travel destination.'); } String get craneFormDiners { - return Intl.message(r'Diners', + return Intl.message('Diners', locale: _localeName, name: 'craneFormDiners', desc: r'Form field label to enter the number of diners.'); } String get craneFormLocation { - return Intl.message(r'Select Location', + return Intl.message('Select Location', locale: _localeName, name: 'craneFormLocation', desc: r'Form field label to select a location.'); } String get craneFormOrigin { - return Intl.message(r'Choose Origin', + return Intl.message('Choose Origin', locale: _localeName, name: 'craneFormOrigin', desc: r'Form field label to choose a travel origin.'); } String get craneFormTime { - return Intl.message(r'Select Time', + return Intl.message('Select Time', locale: _localeName, name: 'craneFormTime', desc: r'Form field label to select a time.'); } String get craneFormTravelers { - return Intl.message(r'Travelers', + return Intl.message('Travelers', locale: _localeName, name: 'craneFormTravelers', desc: r'Form field label to select the number of travellers.'); } + String craneHours(int hours) { + return Intl.plural(hours, + locale: _localeName, + name: 'craneHours', + desc: + r'Generic text for an amount of hours, abbreviated to the shortest form. For example 1h. {hours} should remain untranslated.', + args: [hours], + one: '1h', + other: '${hours}h'); + } + + String craneMinutes(int minutes) { + return Intl.plural(minutes, + locale: _localeName, + name: 'craneMinutes', + desc: + r'Generic text for an amount of minutes, abbreviated to the shortest form. For example 15m. {minutes} should remain untranslated.', + args: [minutes], + one: '1m', + other: '${minutes}m'); + } + String get craneSleep { - return Intl.message(r'SLEEP', + return Intl.message('SLEEP', locale: _localeName, name: 'craneSleep', desc: r'Title for SLEEP tab.'); } String get craneSleep0 { - return Intl.message(r'Malé, Maldives', + return Intl.message('Malé, Maldives', locale: _localeName, name: 'craneSleep0', desc: r'Label for city.'); } String get craneSleep0SemanticLabel { - return Intl.message(r'Overwater bungalows', + return Intl.message('Overwater bungalows', locale: _localeName, name: 'craneSleep0SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep1 { - return Intl.message(r'Aspen, United States', + return Intl.message('Aspen, United States', locale: _localeName, name: 'craneSleep1', desc: r'Label for city.'); } String get craneSleep10 { - return Intl.message(r'Cairo, Egypt', + return Intl.message('Cairo, Egypt', locale: _localeName, name: 'craneSleep10', desc: r'Label for city.'); } String get craneSleep10SemanticLabel { - return Intl.message(r'Al-Azhar Mosque towers during sunset', + return Intl.message('Al-Azhar Mosque towers during sunset', locale: _localeName, name: 'craneSleep10SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep11 { - return Intl.message(r'Taipei, Taiwan', + return Intl.message('Taipei, Taiwan', locale: _localeName, name: 'craneSleep11', desc: r'Label for city.'); } String get craneSleep11SemanticLabel { - return Intl.message(r'Taipei 101 skyscraper', + return Intl.message('Taipei 101 skyscraper', locale: _localeName, name: 'craneSleep11SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep1SemanticLabel { - return Intl.message(r'Chalet in a snowy landscape with evergreen trees', + return Intl.message('Chalet in a snowy landscape with evergreen trees', locale: _localeName, name: 'craneSleep1SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep2 { - return Intl.message(r'Machu Picchu, Peru', + return Intl.message('Machu Picchu, Peru', locale: _localeName, name: 'craneSleep2', desc: r'Label for city.'); } String get craneSleep2SemanticLabel { - return Intl.message(r'Machu Picchu citadel', + return Intl.message('Machu Picchu citadel', locale: _localeName, name: 'craneSleep2SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep3 { - return Intl.message(r'Havana, Cuba', + return Intl.message('Havana, Cuba', locale: _localeName, name: 'craneSleep3', desc: r'Label for city.'); } String get craneSleep3SemanticLabel { - return Intl.message(r'Man leaning on an antique blue car', + return Intl.message('Man leaning on an antique blue car', locale: _localeName, name: 'craneSleep3SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep4 { - return Intl.message(r'Vitznau, Switzerland', + return Intl.message('Vitznau, Switzerland', locale: _localeName, name: 'craneSleep4', desc: r'Label for city.'); } String get craneSleep4SemanticLabel { - return Intl.message(r'Lake-side hotel in front of mountains', + return Intl.message('Lake-side hotel in front of mountains', locale: _localeName, name: 'craneSleep4SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep5 { - return Intl.message(r'Big Sur, United States', + return Intl.message('Big Sur, United States', locale: _localeName, name: 'craneSleep5', desc: r'Label for city.'); } String get craneSleep5SemanticLabel { - return Intl.message(r'Tent in a field', + return Intl.message('Tent in a field', locale: _localeName, name: 'craneSleep5SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep6 { - return Intl.message(r'Napa, United States', + return Intl.message('Napa, United States', locale: _localeName, name: 'craneSleep6', desc: r'Label for city.'); } String get craneSleep6SemanticLabel { - return Intl.message(r'Pool with palm trees', + return Intl.message('Pool with palm trees', locale: _localeName, name: 'craneSleep6SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep7 { - return Intl.message(r'Porto, Portugal', + return Intl.message('Porto, Portugal', locale: _localeName, name: 'craneSleep7', desc: r'Label for city.'); } String get craneSleep7SemanticLabel { - return Intl.message(r'Colorful apartments at Riberia Square', + return Intl.message('Colorful apartments at Riberia Square', locale: _localeName, name: 'craneSleep7SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep8 { - return Intl.message(r'Tulum, Mexico', + return Intl.message('Tulum, Mexico', locale: _localeName, name: 'craneSleep8', desc: r'Label for city.'); } String get craneSleep8SemanticLabel { - return Intl.message(r'Mayan ruins on a cliff above a beach', + return Intl.message('Mayan ruins on a cliff above a beach', locale: _localeName, name: 'craneSleep8SemanticLabel', desc: r'Semantic label for an image.'); } String get craneSleep9 { - return Intl.message(r'Lisbon, Portugal', + return Intl.message('Lisbon, Portugal', locale: _localeName, name: 'craneSleep9', desc: r'Label for city.'); } String get craneSleep9SemanticLabel { - return Intl.message(r'Brick lighthouse at sea', + return Intl.message('Brick lighthouse at sea', locale: _localeName, name: 'craneSleep9SemanticLabel', desc: r'Semantic label for an image.'); @@ -1246,46 +1280,46 @@ class GalleryLocalizations { args: [totalProperties], zero: 'No Available Properties', one: '1 Available Properties', - other: '$totalProperties Available Properties'); + other: '${totalProperties} Available Properties'); } String get craneSleepSubhead { - return Intl.message(r'Explore Properties by Destination', + return Intl.message('Explore Properties by Destination', locale: _localeName, name: 'craneSleepSubhead', desc: r'Subhead for SLEEP tab.'); } String get cupertinoAlertAllow { - return Intl.message(r'Allow', + return Intl.message('Allow', locale: _localeName, name: 'cupertinoAlertAllow', desc: r'iOS-style alert allow option.'); } String get cupertinoAlertApplePie { - return Intl.message(r'Apple Pie', + return Intl.message('Apple Pie', locale: _localeName, name: 'cupertinoAlertApplePie', desc: r'iOS-style alert apple pie option.'); } String get cupertinoAlertCancel { - return Intl.message(r'Cancel', + return Intl.message('Cancel', locale: _localeName, name: 'cupertinoAlertCancel', desc: r'iOS-style alert cancel option.'); } String get cupertinoAlertCheesecake { - return Intl.message(r'Cheesecake', + return Intl.message('Cheesecake', locale: _localeName, name: 'cupertinoAlertCheesecake', desc: r'iOS-style alert cheesecake option.'); } String get cupertinoAlertChocolateBrownie { - return Intl.message(r'Chocolate Brownie', + return Intl.message('Chocolate Brownie', locale: _localeName, name: 'cupertinoAlertChocolateBrownie', desc: r'iOS-style alert chocolate brownie option.'); @@ -1293,28 +1327,28 @@ class GalleryLocalizations { String get cupertinoAlertDessertDescription { return Intl.message( - r'Please select your favorite type of dessert from the list below. Your selection will be used to customize the suggested list of eateries in your area.', + 'Please select your favorite type of dessert from the list below. Your selection will be used to customize the suggested list of eateries in your area.', locale: _localeName, name: 'cupertinoAlertDessertDescription', desc: r'iOS-style alert description for selecting favorite dessert.'); } String get cupertinoAlertDiscard { - return Intl.message(r'Discard', + return Intl.message('Discard', locale: _localeName, name: 'cupertinoAlertDiscard', desc: r'iOS-style alert discard option.'); } String get cupertinoAlertDontAllow { - return Intl.message(r'Don' "'" r't Allow', + return Intl.message('Don' "'" r't Allow', locale: _localeName, name: 'cupertinoAlertDontAllow', desc: r'iOS-style alert don' "'" r't allow option.'); } String get cupertinoAlertFavoriteDessert { - return Intl.message(r'Select Favorite Dessert', + return Intl.message('Select Favorite Dessert', locale: _localeName, name: 'cupertinoAlertFavoriteDessert', desc: r'iOS-style alert title for selecting favorite dessert.'); @@ -1322,7 +1356,7 @@ class GalleryLocalizations { String get cupertinoAlertLocationDescription { return Intl.message( - r'Your current location will be displayed on the map and used for directions, nearby search results, and estimated travel times.', + 'Your current location will be displayed on the map and used for directions, nearby search results, and estimated travel times.', locale: _localeName, name: 'cupertinoAlertLocationDescription', desc: r'iOS-style alert description for location permission.'); @@ -1330,196 +1364,196 @@ class GalleryLocalizations { String get cupertinoAlertLocationTitle { return Intl.message( - r'Allow "Maps" to access your location while you are using the app?', + 'Allow "Maps" to access your location while you are using the app?', locale: _localeName, name: 'cupertinoAlertLocationTitle', desc: r'iOS-style alert title for location permission.'); } String get cupertinoAlertTiramisu { - return Intl.message(r'Tiramisu', + return Intl.message('Tiramisu', locale: _localeName, name: 'cupertinoAlertTiramisu', desc: r'iOS-style alert tiramisu option.'); } String get cupertinoButton { - return Intl.message(r'Button', + return Intl.message('Button', locale: _localeName, name: 'cupertinoButton', desc: r'Button text for a generic iOS-style button.'); } String get cupertinoButtonWithBackground { - return Intl.message(r'With Background', + return Intl.message('With Background', locale: _localeName, name: 'cupertinoButtonWithBackground', desc: r'Button text for a iOS-style button with a filled background.'); } String get cupertinoShowAlert { - return Intl.message(r'Show Alert', + return Intl.message('Show Alert', locale: _localeName, name: 'cupertinoShowAlert', desc: r'Button text to show iOS-style alert.'); } String get cupertinoTabBarChatTab { - return Intl.message(r'Chat', + return Intl.message('Chat', locale: _localeName, name: 'cupertinoTabBarChatTab', desc: r'Title for the chat tab in the bottom tab bar demo.'); } String get cupertinoTabBarHomeTab { - return Intl.message(r'Home', + return Intl.message('Home', locale: _localeName, name: 'cupertinoTabBarHomeTab', desc: r'Title for the home tab in the bottom tab bar demo.'); } String get cupertinoTabBarProfileTab { - return Intl.message(r'Profile', + return Intl.message('Profile', locale: _localeName, name: 'cupertinoTabBarProfileTab', desc: r'Title for the profile tab in the bottom tab bar demo.'); } String get dataTableColumnCalcium { - return Intl.message(r'Calcium (%)', + return Intl.message('Calcium (%)', locale: _localeName, name: 'dataTableColumnCalcium', desc: r'Column header for daily percentage of calcium.'); } String get dataTableColumnCalories { - return Intl.message(r'Calories', + return Intl.message('Calories', locale: _localeName, name: 'dataTableColumnCalories', desc: r'Column header for number of calories.'); } String get dataTableColumnCarbs { - return Intl.message(r'Carbs (g)', + return Intl.message('Carbs (g)', locale: _localeName, name: 'dataTableColumnCarbs', desc: r'Column header for number of grams of carbs.'); } String get dataTableColumnDessert { - return Intl.message(r'Dessert (1 serving)', + return Intl.message('Dessert (1 serving)', locale: _localeName, name: 'dataTableColumnDessert', desc: r'Column header for desserts.'); } String get dataTableColumnFat { - return Intl.message(r'Fat (g)', + return Intl.message('Fat (g)', locale: _localeName, name: 'dataTableColumnFat', desc: r'Column header for number of grams of fat.'); } String get dataTableColumnIron { - return Intl.message(r'Iron (%)', + return Intl.message('Iron (%)', locale: _localeName, name: 'dataTableColumnIron', desc: r'Column header for daily percentage of iron.'); } String get dataTableColumnProtein { - return Intl.message(r'Protein (g)', + return Intl.message('Protein (g)', locale: _localeName, name: 'dataTableColumnProtein', desc: r'Column header for number of grams of protein.'); } String get dataTableColumnSodium { - return Intl.message(r'Sodium (mg)', + return Intl.message('Sodium (mg)', locale: _localeName, name: 'dataTableColumnSodium', desc: r'Column header for number of milligrams of sodium.'); } String get dataTableHeader { - return Intl.message(r'Nutrition', + return Intl.message('Nutrition', locale: _localeName, name: 'dataTableHeader', desc: r'Header for the data table component demo about nutrition.'); } String get dataTableRowApplePie { - return Intl.message(r'Apple pie', + return Intl.message('Apple pie', locale: _localeName, name: 'dataTableRowApplePie', desc: r'Column row for Apple pie.'); } String get dataTableRowCupcake { - return Intl.message(r'Cupcake', + return Intl.message('Cupcake', locale: _localeName, name: 'dataTableRowCupcake', desc: r'Column row for Cupcake.'); } String get dataTableRowDonut { - return Intl.message(r'Donut', + return Intl.message('Donut', locale: _localeName, name: 'dataTableRowDonut', desc: r'Column row for Donut.'); } String get dataTableRowEclair { - return Intl.message(r'Eclair', + return Intl.message('Eclair', locale: _localeName, name: 'dataTableRowEclair', desc: r'Column row for Eclair.'); } String get dataTableRowFrozenYogurt { - return Intl.message(r'Frozen yogurt', + return Intl.message('Frozen yogurt', locale: _localeName, name: 'dataTableRowFrozenYogurt', desc: r'Column row for frozen yogurt.'); } String get dataTableRowGingerbread { - return Intl.message(r'Gingerbread', + return Intl.message('Gingerbread', locale: _localeName, name: 'dataTableRowGingerbread', desc: r'Column row for Gingerbread.'); } String get dataTableRowHoneycomb { - return Intl.message(r'Honeycomb', + return Intl.message('Honeycomb', locale: _localeName, name: 'dataTableRowHoneycomb', desc: r'Column row for Honeycomb.'); } String get dataTableRowIceCreamSandwich { - return Intl.message(r'Ice cream sandwich', + return Intl.message('Ice cream sandwich', locale: _localeName, name: 'dataTableRowIceCreamSandwich', desc: r'Column row for Ice cream sandwich.'); } String get dataTableRowJellyBean { - return Intl.message(r'Jelly bean', + return Intl.message('Jelly bean', locale: _localeName, name: 'dataTableRowJellyBean', desc: r'Column row for Jelly bean.'); } String get dataTableRowLollipop { - return Intl.message(r'Lollipop', + return Intl.message('Lollipop', locale: _localeName, name: 'dataTableRowLollipop', desc: r'Column row for Lollipop.'); } String dataTableRowWithHoney(Object value) { - return Intl.message(r'$value with honey', + return Intl.message('${value} with honey', locale: _localeName, name: 'dataTableRowWithHoney', desc: @@ -1528,7 +1562,7 @@ class GalleryLocalizations { } String dataTableRowWithSugar(Object value) { - return Intl.message(r'$value with sugar', + return Intl.message('${value} with sugar', locale: _localeName, name: 'dataTableRowWithSugar', desc: @@ -1538,21 +1572,21 @@ class GalleryLocalizations { String get demo2dTransformationsDescription { return Intl.message( - r'Tap to edit tiles, and use gestures to move around the scene. Drag to pan, pinch to zoom, rotate with two fingers. Press the reset button to return to the starting orientation.', + 'Tap to edit tiles, and use gestures to move around the scene. Drag to pan, pinch to zoom, rotate with two fingers. Press the reset button to return to the starting orientation.', locale: _localeName, name: 'demo2dTransformationsDescription', desc: r'Description for the 2D transformations demo.'); } String get demo2dTransformationsEditTooltip { - return Intl.message(r'Edit tile', + return Intl.message('Edit tile', locale: _localeName, name: 'demo2dTransformationsEditTooltip', desc: r'Tooltip for a button to edit a tile.'); } String get demo2dTransformationsResetTooltip { - return Intl.message(r'Reset transformations', + return Intl.message('Reset transformations', locale: _localeName, name: 'demo2dTransformationsResetTooltip', desc: @@ -1560,14 +1594,14 @@ class GalleryLocalizations { } String get demo2dTransformationsSubtitle { - return Intl.message(r'Pan, zoom, rotate', + return Intl.message('Pan, zoom, rotate', locale: _localeName, name: 'demo2dTransformationsSubtitle', desc: r'Subtitle for the 2D transformations demo.'); } String get demo2dTransformationsTitle { - return Intl.message(r'2D transformations', + return Intl.message('2D transformations', locale: _localeName, name: 'demo2dTransformationsTitle', desc: r'Title for the 2D transformations demo.'); @@ -1575,14 +1609,14 @@ class GalleryLocalizations { String get demoActionChipDescription { return Intl.message( - r'Action chips are a set of options which trigger an action related to primary content. Action chips should appear dynamically and contextually in a UI.', + 'Action chips are a set of options which trigger an action related to primary content. Action chips should appear dynamically and contextually in a UI.', locale: _localeName, name: 'demoActionChipDescription', desc: r'Description for the action chip component demo.'); } String get demoActionChipTitle { - return Intl.message(r'Action Chip', + return Intl.message('Action Chip', locale: _localeName, name: 'demoActionChipTitle', desc: r'Title for the action chip component demo.'); @@ -1590,21 +1624,21 @@ class GalleryLocalizations { String get demoAlertDialogDescription { return Intl.message( - r'An alert dialog informs the user about situations that require acknowledgement. An alert dialog has an optional title and an optional list of actions.', + 'An alert dialog informs the user about situations that require acknowledgement. An alert dialog has an optional title and an optional list of actions.', locale: _localeName, name: 'demoAlertDialogDescription', desc: r'Description for the alert dialog component demo.'); } String get demoAlertDialogTitle { - return Intl.message(r'Alert', + return Intl.message('Alert', locale: _localeName, name: 'demoAlertDialogTitle', desc: r'Title for the alert dialog component demo.'); } String get demoAlertTitleDialogTitle { - return Intl.message(r'Alert With Title', + return Intl.message('Alert With Title', locale: _localeName, name: 'demoAlertTitleDialogTitle', desc: r'Title for the alert dialog with title component demo.'); @@ -1612,21 +1646,21 @@ class GalleryLocalizations { String get demoBannerDescription { return Intl.message( - r'A banner displays an important, succinct message, and provides actions for users to address (or dismiss the banner). A user action is required for it to be dismissed.', + 'A banner displays an important, succinct message, and provides actions for users to address (or dismiss the banner). A user action is required for it to be dismissed.', locale: _localeName, name: 'demoBannerDescription', desc: r'Description for the material banner component demo.'); } String get demoBannerSubtitle { - return Intl.message(r'Displaying a banner within a list', + return Intl.message('Displaying a banner within a list', locale: _localeName, name: 'demoBannerSubtitle', desc: r'Subtitle for the material banner component demo.'); } String get demoBannerTitle { - return Intl.message(r'Banner', + return Intl.message('Banner', locale: _localeName, name: 'demoBannerTitle', desc: r'Title for the material banner component demo.'); @@ -1634,21 +1668,21 @@ class GalleryLocalizations { String get demoBottomAppBarDescription { return Intl.message( - r'Bottom app bars provide access to a bottom navigation drawer and up to four actions, including the floating action button.', + 'Bottom app bars provide access to a bottom navigation drawer and up to four actions, including the floating action button.', locale: _localeName, name: 'demoBottomAppBarDescription', desc: r'Description for the material bottom app bar component demo.'); } String get demoBottomAppBarSubtitle { - return Intl.message(r'Displays navigation and actions at the bottom', + return Intl.message('Displays navigation and actions at the bottom', locale: _localeName, name: 'demoBottomAppBarSubtitle', desc: r'Subtitle for the material bottom app bar component demo.'); } String get demoBottomAppBarTitle { - return Intl.message(r'Bottom app bar', + return Intl.message('Bottom app bar', locale: _localeName, name: 'demoBottomAppBarTitle', desc: r'Title for the material bottom app bar component demo.'); @@ -1656,7 +1690,7 @@ class GalleryLocalizations { String get demoBottomNavigationDescription { return Intl.message( - r'Bottom navigation bars display three to five destinations at the bottom of a screen. Each destination is represented by an icon and an optional text label. When a bottom navigation icon is tapped, the user is taken to the top-level navigation destination associated with that icon.', + 'Bottom navigation bars display three to five destinations at the bottom of a screen. Each destination is represented by an icon and an optional text label. When a bottom navigation icon is tapped, the user is taken to the top-level navigation destination associated with that icon.', locale: _localeName, name: 'demoBottomNavigationDescription', desc: @@ -1664,14 +1698,14 @@ class GalleryLocalizations { } String get demoBottomNavigationPersistentLabels { - return Intl.message(r'Persistent labels', + return Intl.message('Persistent labels', locale: _localeName, name: 'demoBottomNavigationPersistentLabels', desc: r'Option title for bottom navigation with persistent labels.'); } String get demoBottomNavigationSelectedLabel { - return Intl.message(r'Selected label', + return Intl.message('Selected label', locale: _localeName, name: 'demoBottomNavigationSelectedLabel', desc: @@ -1679,42 +1713,42 @@ class GalleryLocalizations { } String get demoBottomNavigationSubtitle { - return Intl.message(r'Bottom navigation with cross-fading views', + return Intl.message('Bottom navigation with cross-fading views', locale: _localeName, name: 'demoBottomNavigationSubtitle', desc: r'Subtitle for the material bottom navigation component demo.'); } String get demoBottomNavigationTitle { - return Intl.message(r'Bottom navigation', + return Intl.message('Bottom navigation', locale: _localeName, name: 'demoBottomNavigationTitle', desc: r'Title for the material bottom navigation component demo.'); } String get demoBottomSheetAddLabel { - return Intl.message(r'Add', + return Intl.message('Add', locale: _localeName, name: 'demoBottomSheetAddLabel', desc: r'Semantic label for add icon.'); } String get demoBottomSheetButtonText { - return Intl.message(r'SHOW BOTTOM SHEET', + return Intl.message('SHOW BOTTOM SHEET', locale: _localeName, name: 'demoBottomSheetButtonText', desc: r'Button text to show bottom sheet.'); } String get demoBottomSheetHeader { - return Intl.message(r'Header', + return Intl.message('Header', locale: _localeName, name: 'demoBottomSheetHeader', desc: r'Generic header placeholder.'); } String demoBottomSheetItem(Object value) { - return Intl.message(r'Item $value', + return Intl.message('Item ${value}', locale: _localeName, name: 'demoBottomSheetItem', desc: r'Generic item placeholder.', @@ -1723,14 +1757,14 @@ class GalleryLocalizations { String get demoBottomSheetModalDescription { return Intl.message( - r'A modal bottom sheet is an alternative to a menu or a dialog and prevents the user from interacting with the rest of the app.', + 'A modal bottom sheet is an alternative to a menu or a dialog and prevents the user from interacting with the rest of the app.', locale: _localeName, name: 'demoBottomSheetModalDescription', desc: r'Description for modal bottom sheet demo.'); } String get demoBottomSheetModalTitle { - return Intl.message(r'Modal bottom sheet', + return Intl.message('Modal bottom sheet', locale: _localeName, name: 'demoBottomSheetModalTitle', desc: r'Title for modal bottom sheet demo.'); @@ -1738,49 +1772,49 @@ class GalleryLocalizations { String get demoBottomSheetPersistentDescription { return Intl.message( - r'A persistent bottom sheet shows information that supplements the primary content of the app. A persistent bottom sheet remains visible even when the user interacts with other parts of the app.', + 'A persistent bottom sheet shows information that supplements the primary content of the app. A persistent bottom sheet remains visible even when the user interacts with other parts of the app.', locale: _localeName, name: 'demoBottomSheetPersistentDescription', desc: r'Description for persistent bottom sheet demo.'); } String get demoBottomSheetPersistentTitle { - return Intl.message(r'Persistent bottom sheet', + return Intl.message('Persistent bottom sheet', locale: _localeName, name: 'demoBottomSheetPersistentTitle', desc: r'Title for persistent bottom sheet demo.'); } String get demoBottomSheetSubtitle { - return Intl.message(r'Persistent and modal bottom sheets', + return Intl.message('Persistent and modal bottom sheets', locale: _localeName, name: 'demoBottomSheetSubtitle', desc: r'Description for bottom sheet demo.'); } String get demoBottomSheetTitle { - return Intl.message(r'Bottom sheet', + return Intl.message('Bottom sheet', locale: _localeName, name: 'demoBottomSheetTitle', desc: r'Title for bottom sheet demo.'); } String get demoBottomTextFieldsTitle { - return Intl.message(r'Text fields', + return Intl.message('Text fields', locale: _localeName, name: 'demoBottomTextFieldsTitle', desc: r'Title for text fields demo.'); } String get demoButtonSubtitle { - return Intl.message(r'Flat, raised, outline, and more', + return Intl.message('Flat, raised, outline, and more', locale: _localeName, name: 'demoButtonSubtitle', desc: r'Subtitle for the material buttons component demo.'); } String get demoButtonTitle { - return Intl.message(r'Buttons', + return Intl.message('Buttons', locale: _localeName, name: 'demoButtonTitle', desc: r'Title for the material buttons component demo.'); @@ -1788,28 +1822,28 @@ class GalleryLocalizations { String get demoCardDescription { return Intl.message( - r'A card is a sheet of Material used to represent some related information, for example an album, a geographical location, a meal, contact details, etc.', + 'A card is a sheet of Material used to represent some related information, for example an album, a geographical location, a meal, contact details, etc.', locale: _localeName, name: 'demoCardDescription', desc: r'Description for the material cards component demo.'); } String get demoCardSubtitle { - return Intl.message(r'Baseline cards with rounded corners', + return Intl.message('Baseline cards with rounded corners', locale: _localeName, name: 'demoCardSubtitle', desc: r'Subtitle for the material cards component demo.'); } String get demoCardTitle { - return Intl.message(r'Cards', + return Intl.message('Cards', locale: _localeName, name: 'demoCardTitle', desc: r'Title for the material cards component demo.'); } String get demoChecklistMenuTitle { - return Intl.message(r'Checklist menu', + return Intl.message('Checklist menu', locale: _localeName, name: 'demoChecklistMenuTitle', desc: r'Title for the checklist menu component demo.'); @@ -1817,14 +1851,14 @@ class GalleryLocalizations { String get demoChipSubtitle { return Intl.message( - r'Compact elements that represent an input, attribute, or action', + 'Compact elements that represent an input, attribute, or action', locale: _localeName, name: 'demoChipSubtitle', desc: r'Subtitle for the material chips component demo.'); } String get demoChipTitle { - return Intl.message(r'Chips', + return Intl.message('Chips', locale: _localeName, name: 'demoChipTitle', desc: r'Title for the material chips component demo.'); @@ -1832,14 +1866,14 @@ class GalleryLocalizations { String get demoChoiceChipDescription { return Intl.message( - r'Choice chips represent a single choice from a set. Choice chips contain related descriptive text or categories.', + 'Choice chips represent a single choice from a set. Choice chips contain related descriptive text or categories.', locale: _localeName, name: 'demoChoiceChipDescription', desc: r'Description for the choice chip component demo.'); } String get demoChoiceChipTitle { - return Intl.message(r'Choice Chip', + return Intl.message('Choice Chip', locale: _localeName, name: 'demoChoiceChipTitle', desc: r'Title for the choice chip component demo.'); @@ -1847,28 +1881,28 @@ class GalleryLocalizations { String get demoCircularProgressIndicatorDescription { return Intl.message( - r'A Material Design circular progress indicator, which spins to indicate that the application is busy.', + 'A Material Design circular progress indicator, which spins to indicate that the application is busy.', locale: _localeName, name: 'demoCircularProgressIndicatorDescription', desc: r'Description for circular progress indicator demo.'); } String get demoCircularProgressIndicatorTitle { - return Intl.message(r'Circular Progress Indicator', + return Intl.message('Circular Progress Indicator', locale: _localeName, name: 'demoCircularProgressIndicatorTitle', desc: r'Title for circular progress indicator demo.'); } String get demoCodeTooltip { - return Intl.message(r'Demo Code', + return Intl.message('Demo Code', locale: _localeName, name: 'demoCodeTooltip', desc: r'Tooltip for demo code button in a demo.'); } String get demoCodeViewerCopiedToClipboardMessage { - return Intl.message(r'Copied to clipboard.', + return Intl.message('Copied to clipboard.', locale: _localeName, name: 'demoCodeViewerCopiedToClipboardMessage', desc: @@ -1876,14 +1910,14 @@ class GalleryLocalizations { } String get demoCodeViewerCopyAll { - return Intl.message(r'COPY ALL', + return Intl.message('COPY ALL', locale: _localeName, name: 'demoCodeViewerCopyAll', desc: r'Caption for a button to copy all text.'); } String demoCodeViewerFailedToCopyToClipboardMessage(Object error) { - return Intl.message(r'Failed to copy to clipboard: $error', + return Intl.message('Failed to copy to clipboard: ${error}', locale: _localeName, name: 'demoCodeViewerFailedToCopyToClipboardMessage', desc: @@ -1893,7 +1927,7 @@ class GalleryLocalizations { String get demoColorsDescription { return Intl.message( - r'Color and color swatch constants which represent Material Design' + 'Color and color swatch constants which represent Material Design' "'" r's color palette.', locale: _localeName, @@ -1903,21 +1937,21 @@ class GalleryLocalizations { } String get demoColorsSubtitle { - return Intl.message(r'All of the predefined colors', + return Intl.message('All of the predefined colors', locale: _localeName, name: 'demoColorsSubtitle', desc: r'Subtitle for the colors demo.'); } String get demoColorsTitle { - return Intl.message(r'Colors', + return Intl.message('Colors', locale: _localeName, name: 'demoColorsTitle', desc: r'Title for the colors demo.'); } String get demoContextMenuTitle { - return Intl.message(r'Context menu', + return Intl.message('Context menu', locale: _localeName, name: 'demoContextMenuTitle', desc: r'Title for the context menu component demo.'); @@ -1925,22 +1959,21 @@ class GalleryLocalizations { String get demoCupertinoActionSheetDescription { return Intl.message( - r'An action sheet is a specific style of alert that presents the user with a set of two or more choices related to the current context. An action sheet can have a title, an additional message, and a list of actions.', + 'An action sheet is a specific style of alert that presents the user with a set of two or more choices related to the current context. An action sheet can have a title, an additional message, and a list of actions.', locale: _localeName, name: 'demoCupertinoActionSheetDescription', desc: r'Description for the cupertino action sheet component demo.'); } String get demoCupertinoActionSheetTitle { - return Intl.message(r'Action Sheet', + return Intl.message('Action Sheet', locale: _localeName, name: 'demoCupertinoActionSheetTitle', desc: r'Title for the cupertino action sheet component demo.'); } String get demoCupertinoActivityIndicatorDescription { - return Intl.message( - r'An iOS-style activity indicator that spins clockwise.', + return Intl.message('An iOS-style activity indicator that spins clockwise.', locale: _localeName, name: 'demoCupertinoActivityIndicatorDescription', desc: @@ -1948,28 +1981,28 @@ class GalleryLocalizations { } String get demoCupertinoActivityIndicatorSubtitle { - return Intl.message(r'iOS-style activity indicators', + return Intl.message('iOS-style activity indicators', locale: _localeName, name: 'demoCupertinoActivityIndicatorSubtitle', desc: r'Subtitle for the cupertino activity indicator component demo.'); } String get demoCupertinoActivityIndicatorTitle { - return Intl.message(r'Activity indicator', + return Intl.message('Activity indicator', locale: _localeName, name: 'demoCupertinoActivityIndicatorTitle', desc: r'Title for the cupertino activity indicator component demo.'); } String get demoCupertinoAlertButtonsOnlyTitle { - return Intl.message(r'Alert Buttons Only', + return Intl.message('Alert Buttons Only', locale: _localeName, name: 'demoCupertinoAlertButtonsOnlyTitle', desc: r'Title for the cupertino alert buttons only component demo.'); } String get demoCupertinoAlertButtonsTitle { - return Intl.message(r'Alert With Buttons', + return Intl.message('Alert With Buttons', locale: _localeName, name: 'demoCupertinoAlertButtonsTitle', desc: r'Title for the cupertino alert with buttons component demo.'); @@ -1977,35 +2010,35 @@ class GalleryLocalizations { String get demoCupertinoAlertDescription { return Intl.message( - r'An alert dialog informs the user about situations that require acknowledgement. An alert dialog has an optional title, optional content, and an optional list of actions. The title is displayed above the content and the actions are displayed below the content.', + 'An alert dialog informs the user about situations that require acknowledgement. An alert dialog has an optional title, optional content, and an optional list of actions. The title is displayed above the content and the actions are displayed below the content.', locale: _localeName, name: 'demoCupertinoAlertDescription', desc: r'Description for the cupertino alert component demo.'); } String get demoCupertinoAlertTitle { - return Intl.message(r'Alert', + return Intl.message('Alert', locale: _localeName, name: 'demoCupertinoAlertTitle', desc: r'Title for the cupertino alert component demo.'); } String get demoCupertinoAlertWithTitleTitle { - return Intl.message(r'Alert With Title', + return Intl.message('Alert With Title', locale: _localeName, name: 'demoCupertinoAlertWithTitleTitle', desc: r'Title for the cupertino alert with title component demo.'); } String get demoCupertinoAlertsSubtitle { - return Intl.message(r'iOS-style alert dialogs', + return Intl.message('iOS-style alert dialogs', locale: _localeName, name: 'demoCupertinoAlertsSubtitle', desc: r'Subtitle for the cupertino alerts component demo.'); } String get demoCupertinoAlertsTitle { - return Intl.message(r'Alerts', + return Intl.message('Alerts', locale: _localeName, name: 'demoCupertinoAlertsTitle', desc: r'Title for the cupertino alerts component demo.'); @@ -2013,21 +2046,21 @@ class GalleryLocalizations { String get demoCupertinoButtonsDescription { return Intl.message( - r'An iOS-style button. It takes in text and/or an icon that fades out and in on touch. May optionally have a background.', + 'An iOS-style button. It takes in text and/or an icon that fades out and in on touch. May optionally have a background.', locale: _localeName, name: 'demoCupertinoButtonsDescription', desc: r'Description for the cupertino buttons component demo.'); } String get demoCupertinoButtonsSubtitle { - return Intl.message(r'iOS-style buttons', + return Intl.message('iOS-style buttons', locale: _localeName, name: 'demoCupertinoButtonsSubtitle', desc: r'Subtitle for the cupertino buttons component demo.'); } String get demoCupertinoButtonsTitle { - return Intl.message(r'Buttons', + return Intl.message('Buttons', locale: _localeName, name: 'demoCupertinoButtonsTitle', desc: r'Title for the cupertino buttons component demo.'); @@ -2035,35 +2068,35 @@ class GalleryLocalizations { String get demoCupertinoNavigationBarDescription { return Intl.message( - r'An iOS-styled navigation bar. The navigation bar is a toolbar that minimally consists of a page title, in the middle of the toolbar.', + 'An iOS-styled navigation bar. The navigation bar is a toolbar that minimally consists of a page title, in the middle of the toolbar.', locale: _localeName, name: 'demoCupertinoNavigationBarDescription', desc: r'Description for the cupertino navigation bar component demo.'); } String get demoCupertinoNavigationBarSubtitle { - return Intl.message(r'iOS-style navigation bar', + return Intl.message('iOS-style navigation bar', locale: _localeName, name: 'demoCupertinoNavigationBarSubtitle', desc: r'Subtitle for the cupertino navigation bar component demo.'); } String get demoCupertinoNavigationBarTitle { - return Intl.message(r'Navigation bar', + return Intl.message('Navigation bar', locale: _localeName, name: 'demoCupertinoNavigationBarTitle', desc: r'Title for the cupertino navigation bar component demo.'); } String get demoCupertinoPickerDate { - return Intl.message(r'Date', + return Intl.message('Date', locale: _localeName, name: 'demoCupertinoPickerDate', desc: r'Label to open a date picker.'); } String get demoCupertinoPickerDateTime { - return Intl.message(r'Date and Time', + return Intl.message('Date and Time', locale: _localeName, name: 'demoCupertinoPickerDateTime', desc: r'Label to open a date and time picker.'); @@ -2071,35 +2104,35 @@ class GalleryLocalizations { String get demoCupertinoPickerDescription { return Intl.message( - r'An iOS-style picker widget that can be used to select dates, times, or both date and time.', + 'An iOS-style picker widget that can be used to select dates, times, or both date and time.', locale: _localeName, name: 'demoCupertinoPickerDescription', desc: r'Description for the cupertino pickers component demo.'); } String get demoCupertinoPickerSubtitle { - return Intl.message(r'iOS-style date and time pickers', + return Intl.message('iOS-style date and time pickers', locale: _localeName, name: 'demoCupertinoPickerSubtitle', desc: r'Subtitle for the cupertino pickers component demo.'); } String get demoCupertinoPickerTime { - return Intl.message(r'Time', + return Intl.message('Time', locale: _localeName, name: 'demoCupertinoPickerTime', desc: r'Label to open a time picker.'); } String get demoCupertinoPickerTimer { - return Intl.message(r'Timer', + return Intl.message('Timer', locale: _localeName, name: 'demoCupertinoPickerTimer', desc: r'Label to open a countdown timer picker.'); } String get demoCupertinoPickerTitle { - return Intl.message(r'Pickers', + return Intl.message('Pickers', locale: _localeName, name: 'demoCupertinoPickerTitle', desc: r'Title for the cupertino date and time pickers component demo.'); @@ -2107,21 +2140,21 @@ class GalleryLocalizations { String get demoCupertinoPullToRefreshDescription { return Intl.message( - r'A widget implementing the iOS-style pull to refresh content control.', + 'A widget implementing the iOS-style pull to refresh content control.', locale: _localeName, name: 'demoCupertinoPullToRefreshDescription', desc: r'Description for the cupertino pull-to-refresh component demo.'); } String get demoCupertinoPullToRefreshSubtitle { - return Intl.message(r'iOS-style pull to refresh control', + return Intl.message('iOS-style pull to refresh control', locale: _localeName, name: 'demoCupertinoPullToRefreshSubtitle', desc: r'Subtitle for the cupertino pull-to-refresh component demo.'); } String get demoCupertinoPullToRefreshTitle { - return Intl.message(r'Pull to refresh', + return Intl.message('Pull to refresh', locale: _localeName, name: 'demoCupertinoPullToRefreshTitle', desc: r'Title for the cupertino pull-to-refresh component demo.'); @@ -2129,7 +2162,7 @@ class GalleryLocalizations { String get demoCupertinoSegmentedControlDescription { return Intl.message( - r'Used to select between a number of mutually exclusive options. When one option in the segmented control is selected, the other options in the segmented control cease to be selected.', + 'Used to select between a number of mutually exclusive options. When one option in the segmented control is selected, the other options in the segmented control cease to be selected.', locale: _localeName, name: 'demoCupertinoSegmentedControlDescription', desc: @@ -2137,21 +2170,21 @@ class GalleryLocalizations { } String get demoCupertinoSegmentedControlSubtitle { - return Intl.message(r'iOS-style segmented control', + return Intl.message('iOS-style segmented control', locale: _localeName, name: 'demoCupertinoSegmentedControlSubtitle', desc: r'Subtitle for the cupertino segmented control component demo.'); } String get demoCupertinoSegmentedControlTitle { - return Intl.message(r'Segmented control', + return Intl.message('Segmented control', locale: _localeName, name: 'demoCupertinoSegmentedControlTitle', desc: r'Title for the cupertino segmented control component demo.'); } String demoCupertinoSliderContinuous(Object value) { - return Intl.message(r'Continuous: $value', + return Intl.message('Continuous: ${value}', locale: _localeName, name: 'demoCupertinoSliderContinuous', desc: @@ -2161,14 +2194,14 @@ class GalleryLocalizations { String get demoCupertinoSliderDescription { return Intl.message( - r'A slider can be used to select from either a continuous or a discrete set of values.', + 'A slider can be used to select from either a continuous or a discrete set of values.', locale: _localeName, name: 'demoCupertinoSliderDescription', desc: r'Description for the cupertino slider component demo.'); } String demoCupertinoSliderDiscrete(Object value) { - return Intl.message(r'Discrete: $value', + return Intl.message('Discrete: ${value}', locale: _localeName, name: 'demoCupertinoSliderDiscrete', desc: @@ -2177,14 +2210,14 @@ class GalleryLocalizations { } String get demoCupertinoSliderSubtitle { - return Intl.message(r'iOS-style slider', + return Intl.message('iOS-style slider', locale: _localeName, name: 'demoCupertinoSliderSubtitle', desc: r'Subtitle for the cupertino slider component demo.'); } String get demoCupertinoSliderTitle { - return Intl.message(r'Slider', + return Intl.message('Slider', locale: _localeName, name: 'demoCupertinoSliderTitle', desc: r'Title for the cupertino slider component demo.'); @@ -2192,14 +2225,14 @@ class GalleryLocalizations { String get demoCupertinoSwitchDescription { return Intl.message( - r'A switch is used to toggle the on/off state of a single setting.', + 'A switch is used to toggle the on/off state of a single setting.', locale: _localeName, name: 'demoCupertinoSwitchDescription', desc: r'Description for the cupertino switch component demo.'); } String get demoCupertinoSwitchSubtitle { - return Intl.message(r'iOS-style switch', + return Intl.message('iOS-style switch', locale: _localeName, name: 'demoCupertinoSwitchSubtitle', desc: r'Subtitle for the cupertino switch component demo.'); @@ -2207,21 +2240,21 @@ class GalleryLocalizations { String get demoCupertinoTabBarDescription { return Intl.message( - r'An iOS-style bottom navigation tab bar. Displays multiple tabs with one tab being active, the first tab by default.', + 'An iOS-style bottom navigation tab bar. Displays multiple tabs with one tab being active, the first tab by default.', locale: _localeName, name: 'demoCupertinoTabBarDescription', desc: r'Description for the cupertino bottom tab bar demo.'); } String get demoCupertinoTabBarSubtitle { - return Intl.message(r'iOS-style bottom tab bar', + return Intl.message('iOS-style bottom tab bar', locale: _localeName, name: 'demoCupertinoTabBarSubtitle', desc: r'Subtitle for the cupertino bottom tab bar demo.'); } String get demoCupertinoTabBarTitle { - return Intl.message(r'Tab bar', + return Intl.message('Tab bar', locale: _localeName, name: 'demoCupertinoTabBarTitle', desc: r'Title for the cupertino bottom tab bar demo.'); @@ -2229,14 +2262,14 @@ class GalleryLocalizations { String get demoCupertinoTextFieldDescription { return Intl.message( - r'A text field lets the user enter text, either with a hardware keyboard or with an onscreen keyboard.', + 'A text field lets the user enter text, either with a hardware keyboard or with an onscreen keyboard.', locale: _localeName, name: 'demoCupertinoTextFieldDescription', desc: r'Description for the cupertino text field demo.'); } String get demoCupertinoTextFieldPIN { - return Intl.message(r'PIN', + return Intl.message('PIN', locale: _localeName, name: 'demoCupertinoTextFieldPIN', desc: @@ -2244,14 +2277,14 @@ class GalleryLocalizations { } String get demoCupertinoTextFieldSubtitle { - return Intl.message(r'iOS-style text fields', + return Intl.message('iOS-style text fields', locale: _localeName, name: 'demoCupertinoTextFieldSubtitle', desc: r'Subtitle for the cupertino text field demo.'); } String get demoCupertinoTextFieldTitle { - return Intl.message(r'Text fields', + return Intl.message('Text fields', locale: _localeName, name: 'demoCupertinoTextFieldTitle', desc: r'Title for the cupertino text field demo.'); @@ -2259,14 +2292,14 @@ class GalleryLocalizations { String get demoCustomSlidersDescription { return Intl.message( - r'Sliders reflect a range of values along a bar, from which users may select a single value or range of values. The sliders can be themed and customized.', + 'Sliders reflect a range of values along a bar, from which users may select a single value or range of values. The sliders can be themed and customized.', locale: _localeName, name: 'demoCustomSlidersDescription', desc: r'Description for the custom sliders demo.'); } String get demoCustomSlidersTitle { - return Intl.message(r'Custom Sliders', + return Intl.message('Custom Sliders', locale: _localeName, name: 'demoCustomSlidersTitle', desc: r'Title for the custom sliders component demo.'); @@ -2274,21 +2307,21 @@ class GalleryLocalizations { String get demoDataTableDescription { return Intl.message( - r'Data tables display information in a grid-like format of rows and columns. They organize information in a way that’s easy to scan, so that users can look for patterns and insights.', + 'Data tables display information in a grid-like format of rows and columns. They organize information in a way that’s easy to scan, so that users can look for patterns and insights.', locale: _localeName, name: 'demoDataTableDescription', desc: r'Description for the material data table component demo.'); } String get demoDataTableSubtitle { - return Intl.message(r'Rows and columns of information', + return Intl.message('Rows and columns of information', locale: _localeName, name: 'demoDataTableSubtitle', desc: r'Subtitle for the material data table component demo.'); } String get demoDataTableTitle { - return Intl.message(r'Data Tables', + return Intl.message('Data Tables', locale: _localeName, name: 'demoDataTableTitle', desc: r'Title for the material data table component demo.'); @@ -2296,35 +2329,35 @@ class GalleryLocalizations { String get demoDatePickerDescription { return Intl.message( - r'Shows a dialog containing a Material Design date picker.', + 'Shows a dialog containing a Material Design date picker.', locale: _localeName, name: 'demoDatePickerDescription', desc: r'Description for date picker demo.'); } String get demoDatePickerTitle { - return Intl.message(r'Date Picker', + return Intl.message('Date Picker', locale: _localeName, name: 'demoDatePickerTitle', desc: r'Title for date picker demo.'); } String get demoDialogSubtitle { - return Intl.message(r'Simple, alert, and fullscreen', + return Intl.message('Simple, alert, and fullscreen', locale: _localeName, name: 'demoDialogSubtitle', desc: r'Subtitle for the material dialog component demo.'); } String get demoDialogTitle { - return Intl.message(r'Dialogs', + return Intl.message('Dialogs', locale: _localeName, name: 'demoDialogTitle', desc: r'Title for the material dialog component demo.'); } String get demoDocumentationTooltip { - return Intl.message(r'API Documentation', + return Intl.message('API Documentation', locale: _localeName, name: 'demoDocumentationTooltip', desc: r'Tooltip for API documentation button in a demo.'); @@ -2332,14 +2365,14 @@ class GalleryLocalizations { String get demoFilterChipDescription { return Intl.message( - r'Filter chips use tags or descriptive words as a way to filter content.', + 'Filter chips use tags or descriptive words as a way to filter content.', locale: _localeName, name: 'demoFilterChipDescription', desc: r'Description for the filter chip component demo.'); } String get demoFilterChipTitle { - return Intl.message(r'Filter Chip', + return Intl.message('Filter Chip', locale: _localeName, name: 'demoFilterChipTitle', desc: r'Title for the filter chip component demo.'); @@ -2347,14 +2380,14 @@ class GalleryLocalizations { String get demoFlatButtonDescription { return Intl.message( - r'A flat button displays an ink splash on press but does not lift. Use flat buttons on toolbars, in dialogs and inline with padding', + 'A flat button displays an ink splash on press but does not lift. Use flat buttons on toolbars, in dialogs and inline with padding', locale: _localeName, name: 'demoFlatButtonDescription', desc: r'Description for the flat button component demo.'); } String get demoFlatButtonTitle { - return Intl.message(r'Flat Button', + return Intl.message('Flat Button', locale: _localeName, name: 'demoFlatButtonTitle', desc: r'Title for the flat button component demo.'); @@ -2362,14 +2395,14 @@ class GalleryLocalizations { String get demoFloatingButtonDescription { return Intl.message( - r'A floating action button is a circular icon button that hovers over content to promote a primary action in the application.', + 'A floating action button is a circular icon button that hovers over content to promote a primary action in the application.', locale: _localeName, name: 'demoFloatingButtonDescription', desc: r'Description for the floating action button component demo.'); } String get demoFloatingButtonTitle { - return Intl.message(r'Floating Action Button', + return Intl.message('Floating Action Button', locale: _localeName, name: 'demoFloatingButtonTitle', desc: r'Title for the floating action button component demo.'); @@ -2377,21 +2410,21 @@ class GalleryLocalizations { String get demoFullscreenDialogDescription { return Intl.message( - r'The fullscreenDialog property specifies whether the incoming page is a fullscreen modal dialog', + 'The fullscreenDialog property specifies whether the incoming page is a fullscreen modal dialog', locale: _localeName, name: 'demoFullscreenDialogDescription', desc: r'Description for the fullscreen dialog component demo.'); } String get demoFullscreenDialogTitle { - return Intl.message(r'Fullscreen', + return Intl.message('Fullscreen', locale: _localeName, name: 'demoFullscreenDialogTitle', desc: r'Title for the fullscreen dialog component demo.'); } String get demoFullscreenTooltip { - return Intl.message(r'Full Screen', + return Intl.message('Full Screen', locale: _localeName, name: 'demoFullscreenTooltip', desc: r'Tooltip for Full Screen button in a demo.'); @@ -2399,14 +2432,14 @@ class GalleryLocalizations { String get demoGridListsDescription { return Intl.message( - r'Grid Lists are best suited for presenting homogeneous data, typically images. Each item in a grid list is called a tile.', + 'Grid Lists are best suited for presenting homogeneous data, typically images. Each item in a grid list is called a tile.', locale: _localeName, name: 'demoGridListsDescription', desc: r'Description for the grid lists component demo.'); } String get demoGridListsFooterTitle { - return Intl.message(r'With footer', + return Intl.message('With footer', locale: _localeName, name: 'demoGridListsFooterTitle', desc: @@ -2414,7 +2447,7 @@ class GalleryLocalizations { } String get demoGridListsHeaderTitle { - return Intl.message(r'With header', + return Intl.message('With header', locale: _localeName, name: 'demoGridListsHeaderTitle', desc: @@ -2422,28 +2455,28 @@ class GalleryLocalizations { } String get demoGridListsImageOnlyTitle { - return Intl.message(r'Image only', + return Intl.message('Image only', locale: _localeName, name: 'demoGridListsImageOnlyTitle', desc: r'Title for the grid lists image-only component demo.'); } String get demoGridListsSubtitle { - return Intl.message(r'Row and column layout', + return Intl.message('Row and column layout', locale: _localeName, name: 'demoGridListsSubtitle', desc: r'Subtitle for the grid lists component demo.'); } String get demoGridListsTitle { - return Intl.message(r'Grid Lists', + return Intl.message('Grid Lists', locale: _localeName, name: 'demoGridListsTitle', desc: r'Title for the grid lists component demo.'); } String get demoInfoTooltip { - return Intl.message(r'Info', + return Intl.message('Info', locale: _localeName, name: 'demoInfoTooltip', desc: r'Tooltip for info button in a demo.'); @@ -2451,21 +2484,21 @@ class GalleryLocalizations { String get demoInputChipDescription { return Intl.message( - r'Input chips represent a complex piece of information, such as an entity (person, place, or thing) or conversational text, in a compact form.', + 'Input chips represent a complex piece of information, such as an entity (person, place, or thing) or conversational text, in a compact form.', locale: _localeName, name: 'demoInputChipDescription', desc: r'Description for the input chip component demo.'); } String get demoInputChipTitle { - return Intl.message(r'Input Chip', + return Intl.message('Input Chip', locale: _localeName, name: 'demoInputChipTitle', desc: r'Title for the input chip component demo.'); } String get demoInvalidURL { - return Intl.message(r'Couldn' "'" r't display URL:', + return Intl.message('Couldn' "'" r't display URL:', locale: _localeName, name: 'demoInvalidURL', desc: r'Error message when opening the URL for a demo.'); @@ -2473,14 +2506,14 @@ class GalleryLocalizations { String get demoLinearProgressIndicatorDescription { return Intl.message( - r'A Material Design linear progress indicator, also known as a progress bar.', + 'A Material Design linear progress indicator, also known as a progress bar.', locale: _localeName, name: 'demoLinearProgressIndicatorDescription', desc: r'Description for linear progress indicator demo.'); } String get demoLinearProgressIndicatorTitle { - return Intl.message(r'Linear Progress Indicator', + return Intl.message('Linear Progress Indicator', locale: _localeName, name: 'demoLinearProgressIndicatorTitle', desc: r'Title for linear progress indicator demo.'); @@ -2488,7 +2521,7 @@ class GalleryLocalizations { String get demoListsDescription { return Intl.message( - r'A single fixed-height row that typically contains some text as well as a leading or trailing icon.', + 'A single fixed-height row that typically contains some text as well as a leading or trailing icon.', locale: _localeName, name: 'demoListsDescription', desc: @@ -2496,28 +2529,28 @@ class GalleryLocalizations { } String get demoListsSecondary { - return Intl.message(r'Secondary text', + return Intl.message('Secondary text', locale: _localeName, name: 'demoListsSecondary', desc: r'Text that appears in the second line of a list item.'); } String get demoListsSubtitle { - return Intl.message(r'Scrolling list layouts', + return Intl.message('Scrolling list layouts', locale: _localeName, name: 'demoListsSubtitle', desc: r'Subtitle for lists demo.'); } String get demoListsTitle { - return Intl.message(r'Lists', + return Intl.message('Lists', locale: _localeName, name: 'demoListsTitle', desc: r'Title for lists demo.'); } String get demoMenuADisabledMenuItem { - return Intl.message(r'Disabled menu item', + return Intl.message('Disabled menu item', locale: _localeName, name: 'demoMenuADisabledMenuItem', desc: @@ -2525,7 +2558,7 @@ class GalleryLocalizations { } String get demoMenuAnItemWithAChecklistMenu { - return Intl.message(r'An item with a checklist menu', + return Intl.message('An item with a checklist menu', locale: _localeName, name: 'demoMenuAnItemWithAChecklistMenu', desc: @@ -2533,7 +2566,7 @@ class GalleryLocalizations { } String get demoMenuAnItemWithAContextMenuButton { - return Intl.message(r'An item with a context menu', + return Intl.message('An item with a context menu', locale: _localeName, name: 'demoMenuAnItemWithAContextMenuButton', desc: @@ -2541,7 +2574,7 @@ class GalleryLocalizations { } String get demoMenuAnItemWithASectionedMenu { - return Intl.message(r'An item with a sectioned menu', + return Intl.message('An item with a sectioned menu', locale: _localeName, name: 'demoMenuAnItemWithASectionedMenu', desc: @@ -2549,7 +2582,7 @@ class GalleryLocalizations { } String get demoMenuAnItemWithASimpleMenu { - return Intl.message(r'An item with a simple menu', + return Intl.message('An item with a simple menu', locale: _localeName, name: 'demoMenuAnItemWithASimpleMenu', desc: @@ -2557,7 +2590,7 @@ class GalleryLocalizations { } String demoMenuChecked(Object value) { - return Intl.message(r'Checked: $value', + return Intl.message('Checked: ${value}', locale: _localeName, name: 'demoMenuChecked', desc: r'A text to show what value was checked.', @@ -2565,7 +2598,7 @@ class GalleryLocalizations { } String get demoMenuContextMenuItemOne { - return Intl.message(r'Context menu item one', + return Intl.message('Context menu item one', locale: _localeName, name: 'demoMenuContextMenuItemOne', desc: @@ -2573,7 +2606,7 @@ class GalleryLocalizations { } String get demoMenuContextMenuItemThree { - return Intl.message(r'Context menu item three', + return Intl.message('Context menu item three', locale: _localeName, name: 'demoMenuContextMenuItemThree', desc: @@ -2582,66 +2615,66 @@ class GalleryLocalizations { String get demoMenuDescription { return Intl.message( - r'A menu displays a list of choices on a temporary surface. They appear when users interact with a button, action, or other control.', + 'A menu displays a list of choices on a temporary surface. They appear when users interact with a button, action, or other control.', locale: _localeName, name: 'demoMenuDescription', desc: r'Description for the menu demo.'); } String get demoMenuFour { - return Intl.message(r'Four', + return Intl.message('Four', locale: _localeName, name: 'demoMenuFour', desc: r'The number four.'); } String get demoMenuGetLink { - return Intl.message(r'Get link', + return Intl.message('Get link', locale: _localeName, name: 'demoMenuGetLink', desc: r'Button to get link for content.'); } String get demoMenuItemValueOne { - return Intl.message(r'Menu item one', + return Intl.message('Menu item one', locale: _localeName, name: 'demoMenuItemValueOne', desc: r'The first item in a menu.'); } String get demoMenuItemValueThree { - return Intl.message(r'Menu item three', + return Intl.message('Menu item three', locale: _localeName, name: 'demoMenuItemValueThree', desc: r'The third item in a menu.'); } String get demoMenuItemValueTwo { - return Intl.message(r'Menu item two', + return Intl.message('Menu item two', locale: _localeName, name: 'demoMenuItemValueTwo', desc: r'The second item in a menu.'); } String get demoMenuOne { - return Intl.message(r'One', + return Intl.message('One', locale: _localeName, name: 'demoMenuOne', desc: r'The number one.'); } String get demoMenuPreview { - return Intl.message(r'Preview', + return Intl.message('Preview', locale: _localeName, name: 'demoMenuPreview', desc: r'Button to preview content.'); } String get demoMenuRemove { - return Intl.message(r'Remove', + return Intl.message('Remove', locale: _localeName, name: 'demoMenuRemove', desc: r'Button to remove content.'); } String demoMenuSelected(Object value) { - return Intl.message(r'Selected: $value', + return Intl.message('Selected: ${value}', locale: _localeName, name: 'demoMenuSelected', desc: r'A text to show what value was selected.', @@ -2649,45 +2682,45 @@ class GalleryLocalizations { } String get demoMenuShare { - return Intl.message(r'Share', + return Intl.message('Share', locale: _localeName, name: 'demoMenuShare', desc: r'Button to share content.'); } String get demoMenuSubtitle { - return Intl.message(r'Menu buttons and simple menus', + return Intl.message('Menu buttons and simple menus', locale: _localeName, name: 'demoMenuSubtitle', desc: r'Short description for the menu component demo.'); } String get demoMenuThree { - return Intl.message(r'Three', + return Intl.message('Three', locale: _localeName, name: 'demoMenuThree', desc: r'The number three.'); } String get demoMenuTitle { - return Intl.message(r'Menu', + return Intl.message('Menu', locale: _localeName, name: 'demoMenuTitle', desc: r'Title for the menu component demo.'); } String get demoMenuTwo { - return Intl.message(r'Two', + return Intl.message('Two', locale: _localeName, name: 'demoMenuTwo', desc: r'The number two.'); } String get demoOneLineListsTitle { - return Intl.message(r'One Line', + return Intl.message('One Line', locale: _localeName, name: 'demoOneLineListsTitle', desc: r'Title for lists demo with only one line of text per row.'); } String get demoOptionsFeatureDescription { - return Intl.message(r'Tap here to view available options for this demo.', + return Intl.message('Tap here to view available options for this demo.', locale: _localeName, name: 'demoOptionsFeatureDescription', desc: @@ -2695,7 +2728,7 @@ class GalleryLocalizations { } String get demoOptionsFeatureTitle { - return Intl.message(r'View options', + return Intl.message('View options', locale: _localeName, name: 'demoOptionsFeatureTitle', desc: @@ -2703,7 +2736,7 @@ class GalleryLocalizations { } String get demoOptionsTooltip { - return Intl.message(r'Options', + return Intl.message('Options', locale: _localeName, name: 'demoOptionsTooltip', desc: r'Tooltip for options button in a demo.'); @@ -2711,49 +2744,49 @@ class GalleryLocalizations { String get demoOutlineButtonDescription { return Intl.message( - r'Outline buttons become opaque and elevate when pressed. They are often paired with raised buttons to indicate an alternative, secondary action.', + 'Outline buttons become opaque and elevate when pressed. They are often paired with raised buttons to indicate an alternative, secondary action.', locale: _localeName, name: 'demoOutlineButtonDescription', desc: r'Description for the outline button component demo.'); } String get demoOutlineButtonTitle { - return Intl.message(r'Outline Button', + return Intl.message('Outline Button', locale: _localeName, name: 'demoOutlineButtonTitle', desc: r'Title for the outline button component demo.'); } String get demoPickersShowPicker { - return Intl.message(r'SHOW PICKER', + return Intl.message('SHOW PICKER', locale: _localeName, name: 'demoPickersShowPicker', desc: r'Button text to show the date or time picker in the demo.'); } String get demoPickersSubtitle { - return Intl.message(r'Date and time selection', + return Intl.message('Date and time selection', locale: _localeName, name: 'demoPickersSubtitle', desc: r'Subtitle for pickers demo.'); } String get demoPickersTitle { - return Intl.message(r'Pickers', + return Intl.message('Pickers', locale: _localeName, name: 'demoPickersTitle', desc: r'Title for pickers demo.'); } String get demoProgressIndicatorSubtitle { - return Intl.message(r'Linear, circular, indeterminate', + return Intl.message('Linear, circular, indeterminate', locale: _localeName, name: 'demoProgressIndicatorSubtitle', desc: r'Subtitle for progress indicators demo.'); } String get demoProgressIndicatorTitle { - return Intl.message(r'Progress indicators', + return Intl.message('Progress indicators', locale: _localeName, name: 'demoProgressIndicatorTitle', desc: r'Title for progress indicators demo.'); @@ -2761,14 +2794,14 @@ class GalleryLocalizations { String get demoRaisedButtonDescription { return Intl.message( - r'Raised buttons add dimension to mostly flat layouts. They emphasize functions on busy or wide spaces.', + 'Raised buttons add dimension to mostly flat layouts. They emphasize functions on busy or wide spaces.', locale: _localeName, name: 'demoRaisedButtonDescription', desc: r'Description for the raised button component demo.'); } String get demoRaisedButtonTitle { - return Intl.message(r'Raised Button', + return Intl.message('Raised Button', locale: _localeName, name: 'demoRaisedButtonTitle', desc: r'Title for the raised button component demo.'); @@ -2776,21 +2809,21 @@ class GalleryLocalizations { String get demoRangeSlidersDescription { return Intl.message( - r'Sliders reflect a range of values along a bar. They can have icons on both ends of the bar that reflect a range of values. They are ideal for adjusting settings such as volume, brightness, or applying image filters.', + 'Sliders reflect a range of values along a bar. They can have icons on both ends of the bar that reflect a range of values. They are ideal for adjusting settings such as volume, brightness, or applying image filters.', locale: _localeName, name: 'demoRangeSlidersDescription', desc: r'Description for the range sliders demo.'); } String get demoRangeSlidersTitle { - return Intl.message(r'Range Sliders', + return Intl.message('Range Sliders', locale: _localeName, name: 'demoRangeSlidersTitle', desc: r'Title for the range sliders component demo.'); } String get demoSectionedMenuTitle { - return Intl.message(r'Sectioned menu', + return Intl.message('Sectioned menu', locale: _localeName, name: 'demoSectionedMenuTitle', desc: r'Title for the sectioned menu component demo.'); @@ -2798,7 +2831,7 @@ class GalleryLocalizations { String get demoSelectionControlsCheckboxDescription { return Intl.message( - r'Checkboxes allow the user to select multiple options from a set. A normal checkbox' + 'Checkboxes allow the user to select multiple options from a set. A normal checkbox' "'" r's value is true or false and a tristate checkbox' "'" @@ -2809,7 +2842,7 @@ class GalleryLocalizations { } String get demoSelectionControlsCheckboxTitle { - return Intl.message(r'Checkbox', + return Intl.message('Checkbox', locale: _localeName, name: 'demoSelectionControlsCheckboxTitle', desc: r'Title for the checkbox (selection controls) demo.'); @@ -2817,21 +2850,21 @@ class GalleryLocalizations { String get demoSelectionControlsRadioDescription { return Intl.message( - r'Radio buttons allow the user to select one option from a set. Use radio buttons for exclusive selection if you think that the user needs to see all available options side-by-side.', + 'Radio buttons allow the user to select one option from a set. Use radio buttons for exclusive selection if you think that the user needs to see all available options side-by-side.', locale: _localeName, name: 'demoSelectionControlsRadioDescription', desc: r'Description for the radio button (selection controls) demo.'); } String get demoSelectionControlsRadioTitle { - return Intl.message(r'Radio', + return Intl.message('Radio', locale: _localeName, name: 'demoSelectionControlsRadioTitle', desc: r'Title for the radio button (selection controls) demo.'); } String get demoSelectionControlsSubtitle { - return Intl.message(r'Checkboxes, radio buttons, and switches', + return Intl.message('Checkboxes, radio buttons, and switches', locale: _localeName, name: 'demoSelectionControlsSubtitle', desc: r'Subtitle for selection controls demo.'); @@ -2839,21 +2872,21 @@ class GalleryLocalizations { String get demoSelectionControlsSwitchDescription { return Intl.message( - r'On/off switches toggle the state of a single settings option. The option that the switch controls, as well as the state it’s in, should be made clear from the corresponding inline label.', + 'On/off switches toggle the state of a single settings option. The option that the switch controls, as well as the state it’s in, should be made clear from the corresponding inline label.', locale: _localeName, name: 'demoSelectionControlsSwitchDescription', desc: r'Description for the switches (selection controls) demo.'); } String get demoSelectionControlsSwitchTitle { - return Intl.message(r'Switch', + return Intl.message('Switch', locale: _localeName, name: 'demoSelectionControlsSwitchTitle', desc: r'Title for the switches (selection controls) demo.'); } String get demoSelectionControlsTitle { - return Intl.message(r'Selection controls', + return Intl.message('Selection controls', locale: _localeName, name: 'demoSelectionControlsTitle', desc: r'Title for selection controls demo.'); @@ -2861,28 +2894,28 @@ class GalleryLocalizations { String get demoSimpleDialogDescription { return Intl.message( - r'A simple dialog offers the user a choice between several options. A simple dialog has an optional title that is displayed above the choices.', + 'A simple dialog offers the user a choice between several options. A simple dialog has an optional title that is displayed above the choices.', locale: _localeName, name: 'demoSimpleDialogDescription', desc: r'Description for the simple dialog component demo.'); } String get demoSimpleDialogTitle { - return Intl.message(r'Simple', + return Intl.message('Simple', locale: _localeName, name: 'demoSimpleDialogTitle', desc: r'Title for the simple dialog component demo.'); } String get demoSimpleMenuTitle { - return Intl.message(r'Simple menu', + return Intl.message('Simple menu', locale: _localeName, name: 'demoSimpleMenuTitle', desc: r'Title for the simple menu component demo.'); } String get demoSlidersContinuous { - return Intl.message(r'Continuous', + return Intl.message('Continuous', locale: _localeName, name: 'demoSlidersContinuous', desc: @@ -2890,7 +2923,7 @@ class GalleryLocalizations { } String get demoSlidersContinuousRangeSliderWithCustomTheme { - return Intl.message(r'Continuous Range Slider with Custom Theme', + return Intl.message('Continuous Range Slider with Custom Theme', locale: _localeName, name: 'demoSlidersContinuousRangeSliderWithCustomTheme', desc: @@ -2898,7 +2931,7 @@ class GalleryLocalizations { } String get demoSlidersContinuousWithEditableNumericalValue { - return Intl.message(r'Continuous with Editable Numerical Value', + return Intl.message('Continuous with Editable Numerical Value', locale: _localeName, name: 'demoSlidersContinuousWithEditableNumericalValue', desc: @@ -2907,21 +2940,21 @@ class GalleryLocalizations { String get demoSlidersDescription { return Intl.message( - r'Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.', + 'Sliders reflect a range of values along a bar, from which users may select a single value. They are ideal for adjusting settings such as volume, brightness, or applying image filters.', locale: _localeName, name: 'demoSlidersDescription', desc: r'Description for the sliders demo.'); } String get demoSlidersDiscrete { - return Intl.message(r'Discrete', + return Intl.message('Discrete', locale: _localeName, name: 'demoSlidersDiscrete', desc: r'Text to describe that we have a slider with discrete values.'); } String get demoSlidersDiscreteSliderWithCustomTheme { - return Intl.message(r'Discrete Slider with Custom Theme', + return Intl.message('Discrete Slider with Custom Theme', locale: _localeName, name: 'demoSlidersDiscreteSliderWithCustomTheme', desc: @@ -2929,42 +2962,42 @@ class GalleryLocalizations { } String get demoSlidersEditableNumericalValue { - return Intl.message(r'Editable numerical value', + return Intl.message('Editable numerical value', locale: _localeName, name: 'demoSlidersEditableNumericalValue', desc: r'Label for input field that has an editable numerical value.'); } String get demoSlidersSubtitle { - return Intl.message(r'Widgets for selecting a value by swiping', + return Intl.message('Widgets for selecting a value by swiping', locale: _localeName, name: 'demoSlidersSubtitle', desc: r'Short description for the sliders component demo.'); } String get demoSlidersTitle { - return Intl.message(r'Sliders', + return Intl.message('Sliders', locale: _localeName, name: 'demoSlidersTitle', desc: r'Title for the sliders component demo.'); } String get demoSnackbarsAction { - return Intl.message(r'You pressed the snackbar action.', + return Intl.message('You pressed the snackbar action.', locale: _localeName, name: 'demoSnackbarsAction', desc: r'Text that appears when you press on a snackbars’ action.'); } String get demoSnackbarsActionButtonLabel { - return Intl.message(r'ACTION', + return Intl.message('ACTION', locale: _localeName, name: 'demoSnackbarsActionButtonLabel', desc: r'Label for action button text on the snackbar.'); } String get demoSnackbarsButtonLabel { - return Intl.message(r'SHOW A SNACKBAR', + return Intl.message('SHOW A SNACKBAR', locale: _localeName, name: 'demoSnackbarsButtonLabel', desc: r'Label for button to show a snackbar.'); @@ -2972,28 +3005,28 @@ class GalleryLocalizations { String get demoSnackbarsDescription { return Intl.message( - r'Snackbars inform users of a process that an app has performed or will perform. They appear temporarily, towards the bottom of the screen. They shouldn’t interrupt the user experience, and they don’t require user input to disappear.', + 'Snackbars inform users of a process that an app has performed or will perform. They appear temporarily, towards the bottom of the screen. They shouldn’t interrupt the user experience, and they don’t require user input to disappear.', locale: _localeName, name: 'demoSnackbarsDescription', desc: r'Description for snackbars demo.'); } String get demoSnackbarsSubtitle { - return Intl.message(r'Snackbars show messages at the bottom of the screen', + return Intl.message('Snackbars show messages at the bottom of the screen', locale: _localeName, name: 'demoSnackbarsSubtitle', desc: r'Subtitle for snackbars demo.'); } String get demoSnackbarsText { - return Intl.message(r'This is a snackbar.', + return Intl.message('This is a snackbar.', locale: _localeName, name: 'demoSnackbarsText', desc: r'Text to show on a snackbar.'); } String get demoSnackbarsTitle { - return Intl.message(r'Snackbars', + return Intl.message('Snackbars', locale: _localeName, name: 'demoSnackbarsTitle', desc: r'Title for snackbars demo.'); @@ -3001,7 +3034,7 @@ class GalleryLocalizations { String get demoTabsDescription { return Intl.message( - r'Tabs organize content across different screens, data sets, and other interactions.', + 'Tabs organize content across different screens, data sets, and other interactions.', locale: _localeName, name: 'demoTabsDescription', desc: r'Description for tabs demo.'); @@ -3023,14 +3056,14 @@ class GalleryLocalizations { } String get demoTabsSubtitle { - return Intl.message(r'Tabs with independently scrollable views', + return Intl.message('Tabs with independently scrollable views', locale: _localeName, name: 'demoTabsSubtitle', desc: r'Subtitle for tabs demo.'); } String get demoTabsTitle { - return Intl.message(r'Tabs', + return Intl.message('Tabs', locale: _localeName, name: 'demoTabsTitle', desc: r'Title for tabs demo.'); @@ -3038,28 +3071,28 @@ class GalleryLocalizations { String get demoTextFieldDescription { return Intl.message( - r'Text fields allow users to enter text into a UI. They typically appear in forms and dialogs.', + 'Text fields allow users to enter text into a UI. They typically appear in forms and dialogs.', locale: _localeName, name: 'demoTextFieldDescription', desc: r'Description for text fields demo.'); } String get demoTextFieldEmail { - return Intl.message(r'Email', + return Intl.message('Email', locale: _localeName, name: 'demoTextFieldEmail', desc: r'The label for an email address input field'); } String get demoTextFieldEnterPassword { - return Intl.message(r'Please enter a password.', + return Intl.message('Please enter a password.', locale: _localeName, name: 'demoTextFieldEnterPassword', desc: r'Error that shows up if password is not given.'); } String get demoTextFieldEnterUSPhoneNumber { - return Intl.message(r'(###) ###-#### - Enter a US phone number.', + return Intl.message('(###) ###-#### - Enter a US phone number.', locale: _localeName, name: 'demoTextFieldEnterUSPhoneNumber', desc: @@ -3067,35 +3100,35 @@ class GalleryLocalizations { } String get demoTextFieldFormErrors { - return Intl.message(r'Please fix the errors in red before submitting.', + return Intl.message('Please fix the errors in red before submitting.', locale: _localeName, name: 'demoTextFieldFormErrors', desc: r'Text that shows up on form errors.'); } String get demoTextFieldHidePasswordLabel { - return Intl.message(r'Hide password', + return Intl.message('Hide password', locale: _localeName, name: 'demoTextFieldHidePasswordLabel', desc: r'Label for hide password icon.'); } String get demoTextFieldKeepItShort { - return Intl.message(r'Keep it short, this is just a demo.', + return Intl.message('Keep it short, this is just a demo.', locale: _localeName, name: 'demoTextFieldKeepItShort', desc: r'Helper text for biography/life story input field.'); } String get demoTextFieldLifeStory { - return Intl.message(r'Life story', + return Intl.message('Life story', locale: _localeName, name: 'demoTextFieldLifeStory', desc: r'The label for for biography/life story input field.'); } String get demoTextFieldNameField { - return Intl.message(r'Name*', + return Intl.message('Name*', locale: _localeName, name: 'demoTextFieldNameField', desc: @@ -3103,7 +3136,7 @@ class GalleryLocalizations { } String demoTextFieldNameHasPhoneNumber(Object name, Object phoneNumber) { - return Intl.message(r'$name phone number is $phoneNumber', + return Intl.message('${name} phone number is ${phoneNumber}', locale: _localeName, name: 'demoTextFieldNameHasPhoneNumber', desc: @@ -3112,7 +3145,7 @@ class GalleryLocalizations { } String get demoTextFieldNameRequired { - return Intl.message(r'Name is required.', + return Intl.message('Name is required.', locale: _localeName, name: 'demoTextFieldNameRequired', desc: @@ -3120,21 +3153,21 @@ class GalleryLocalizations { } String get demoTextFieldNoMoreThan { - return Intl.message(r'No more than 8 characters.', + return Intl.message('No more than 8 characters.', locale: _localeName, name: 'demoTextFieldNoMoreThan', desc: r'Helper text for password input field.'); } String get demoTextFieldOnlyAlphabeticalChars { - return Intl.message(r'Please enter only alphabetical characters.', + return Intl.message('Please enter only alphabetical characters.', locale: _localeName, name: 'demoTextFieldOnlyAlphabeticalChars', desc: r'Error that shows if non-alphabetical characters are given.'); } String get demoTextFieldPassword { - return Intl.message(r'Password*', + return Intl.message('Password*', locale: _localeName, name: 'demoTextFieldPassword', desc: @@ -3142,7 +3175,7 @@ class GalleryLocalizations { } String get demoTextFieldPasswordsDoNotMatch { - return Intl.message(r'The passwords don' "'" r't match', + return Intl.message('The passwords don' "'" r't match', locale: _localeName, name: 'demoTextFieldPasswordsDoNotMatch', desc: @@ -3150,7 +3183,7 @@ class GalleryLocalizations { } String get demoTextFieldPhoneNumber { - return Intl.message(r'Phone number*', + return Intl.message('Phone number*', locale: _localeName, name: 'demoTextFieldPhoneNumber', desc: @@ -3158,7 +3191,7 @@ class GalleryLocalizations { } String get demoTextFieldRequiredField { - return Intl.message(r'* indicates required field', + return Intl.message('* indicates required field', locale: _localeName, name: 'demoTextFieldRequiredField', desc: @@ -3166,35 +3199,35 @@ class GalleryLocalizations { } String get demoTextFieldRetypePassword { - return Intl.message(r'Re-type password*', + return Intl.message('Re-type password*', locale: _localeName, name: 'demoTextFieldRetypePassword', desc: r'Label for repeat password input field.'); } String get demoTextFieldSalary { - return Intl.message(r'Salary', + return Intl.message('Salary', locale: _localeName, name: 'demoTextFieldSalary', desc: r'The label for salary input field.'); } String get demoTextFieldShowPasswordLabel { - return Intl.message(r'Show password', + return Intl.message('Show password', locale: _localeName, name: 'demoTextFieldShowPasswordLabel', desc: r'Label for show password icon.'); } String get demoTextFieldSubmit { - return Intl.message(r'SUBMIT', + return Intl.message('SUBMIT', locale: _localeName, name: 'demoTextFieldSubmit', desc: r'The submit button text for form.'); } String get demoTextFieldSubtitle { - return Intl.message(r'Single line of editable text and numbers', + return Intl.message('Single line of editable text and numbers', locale: _localeName, name: 'demoTextFieldSubtitle', desc: r'Description for text fields demo.'); @@ -3202,42 +3235,42 @@ class GalleryLocalizations { String get demoTextFieldTellUsAboutYourself { return Intl.message( - r'Tell us about yourself (e.g., write down what you do or what hobbies you have)', + 'Tell us about yourself (e.g., write down what you do or what hobbies you have)', locale: _localeName, name: 'demoTextFieldTellUsAboutYourself', desc: r'The placeholder text for biography/life story input field.'); } String get demoTextFieldTitle { - return Intl.message(r'Text fields', + return Intl.message('Text fields', locale: _localeName, name: 'demoTextFieldTitle', desc: r'Title for text fields demo.'); } String get demoTextFieldUSD { - return Intl.message(r'USD', + return Intl.message('USD', locale: _localeName, name: 'demoTextFieldUSD', desc: r'US currency, used as suffix in input field for salary.'); } String get demoTextFieldWhatDoPeopleCallYou { - return Intl.message(r'What do people call you?', + return Intl.message('What do people call you?', locale: _localeName, name: 'demoTextFieldWhatDoPeopleCallYou', desc: r'Placeholder for name field in form.'); } String get demoTextFieldWhereCanWeReachYou { - return Intl.message(r'Where can we reach you?', + return Intl.message('Where can we reach you?', locale: _localeName, name: 'demoTextFieldWhereCanWeReachYou', desc: r'Placeholder for when entering a phone number in a form.'); } String get demoTextFieldYourEmailAddress { - return Intl.message(r'Your email address', + return Intl.message('Your email address', locale: _localeName, name: 'demoTextFieldYourEmailAddress', desc: r'The label for an email address input field.'); @@ -3245,14 +3278,14 @@ class GalleryLocalizations { String get demoTimePickerDescription { return Intl.message( - r'Shows a dialog containing a Material Design time picker.', + 'Shows a dialog containing a Material Design time picker.', locale: _localeName, name: 'demoTimePickerDescription', desc: r'Description for time picker demo.'); } String get demoTimePickerTitle { - return Intl.message(r'Time Picker', + return Intl.message('Time Picker', locale: _localeName, name: 'demoTimePickerTitle', desc: r'Title for time picker demo.'); @@ -3260,14 +3293,14 @@ class GalleryLocalizations { String get demoToggleButtonDescription { return Intl.message( - r'Toggle buttons can be used to group related options. To emphasize groups of related toggle buttons, a group should share a common container', + 'Toggle buttons can be used to group related options. To emphasize groups of related toggle buttons, a group should share a common container', locale: _localeName, name: 'demoToggleButtonDescription', desc: r'Description for the toggle buttons component demo.'); } String get demoToggleButtonTitle { - return Intl.message(r'Toggle Buttons', + return Intl.message('Toggle Buttons', locale: _localeName, name: 'demoToggleButtonTitle', desc: r'Title for the toggle buttons component demo.'); @@ -3275,14 +3308,14 @@ class GalleryLocalizations { String get demoTooltipDescription { return Intl.message( - r'Tooltips provide text labels that help explain the function of a button or other user interface action. Tooltips display informative text when users hover over, focus on, or long press an element.', + 'Tooltips provide text labels that help explain the function of a button or other user interface action. Tooltips display informative text when users hover over, focus on, or long press an element.', locale: _localeName, name: 'demoTooltipDescription', desc: r'Description for tooltip demo.'); } String get demoTooltipInstructions { - return Intl.message(r'Long press or hover to display the tooltip.', + return Intl.message('Long press or hover to display the tooltip.', locale: _localeName, name: 'demoTooltipInstructions', desc: @@ -3290,21 +3323,21 @@ class GalleryLocalizations { } String get demoTooltipSubtitle { - return Intl.message(r'Short message displayed on long press or hover', + return Intl.message('Short message displayed on long press or hover', locale: _localeName, name: 'demoTooltipSubtitle', desc: r'Subtitle for tooltip demo.'); } String get demoTooltipTitle { - return Intl.message(r'Tooltips', + return Intl.message('Tooltips', locale: _localeName, name: 'demoTooltipTitle', desc: r'Title for tooltip demo.'); } String get demoTwoLineListsTitle { - return Intl.message(r'Two Lines', + return Intl.message('Two Lines', locale: _localeName, name: 'demoTwoLineListsTitle', desc: r'Title for lists demo with two lines of text per row.'); @@ -3312,7 +3345,7 @@ class GalleryLocalizations { String get demoTypographyDescription { return Intl.message( - r'Definitions for the various typographical styles found in Material Design.', + 'Definitions for the various typographical styles found in Material Design.', locale: _localeName, name: 'demoTypographyDescription', desc: @@ -3320,77 +3353,77 @@ class GalleryLocalizations { } String get demoTypographySubtitle { - return Intl.message(r'All of the predefined text styles', + return Intl.message('All of the predefined text styles', locale: _localeName, name: 'demoTypographySubtitle', desc: r'Subtitle for the typography demo.'); } String get demoTypographyTitle { - return Intl.message(r'Typography', + return Intl.message('Typography', locale: _localeName, name: 'demoTypographyTitle', desc: r'Title for the typography demo.'); } String get dialogAddAccount { - return Intl.message(r'Add account', + return Intl.message('Add account', locale: _localeName, name: 'dialogAddAccount', desc: r'Alert dialog option for adding an account.'); } String get dialogAgree { - return Intl.message(r'AGREE', + return Intl.message('AGREE', locale: _localeName, name: 'dialogAgree', desc: r'Alert dialog agree option.'); } String get dialogCancel { - return Intl.message(r'CANCEL', + return Intl.message('CANCEL', locale: _localeName, name: 'dialogCancel', desc: r'Alert dialog cancel option.'); } String get dialogDisagree { - return Intl.message(r'DISAGREE', + return Intl.message('DISAGREE', locale: _localeName, name: 'dialogDisagree', desc: r'Alert dialog disagree option.'); } String get dialogDiscard { - return Intl.message(r'DISCARD', + return Intl.message('DISCARD', locale: _localeName, name: 'dialogDiscard', desc: r'Alert dialog discard option.'); } String get dialogDiscardTitle { - return Intl.message(r'Discard draft?', + return Intl.message('Discard draft?', locale: _localeName, name: 'dialogDiscardTitle', desc: r'Alert dialog message to discard draft.'); } String get dialogFullscreenDescription { - return Intl.message(r'A full screen dialog demo', + return Intl.message('A full screen dialog demo', locale: _localeName, name: 'dialogFullscreenDescription', desc: r'Description for full screen dialog demo.'); } String get dialogFullscreenSave { - return Intl.message(r'SAVE', + return Intl.message('SAVE', locale: _localeName, name: 'dialogFullscreenSave', desc: r'Save button for full screen dialog demo.'); } String get dialogFullscreenTitle { - return Intl.message(r'Full Screen Dialog', + return Intl.message('Full Screen Dialog', locale: _localeName, name: 'dialogFullscreenTitle', desc: r'Title for full screen dialog demo.'); @@ -3398,21 +3431,21 @@ class GalleryLocalizations { String get dialogLocationDescription { return Intl.message( - r'Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running.', + 'Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running.', locale: _localeName, name: 'dialogLocationDescription', desc: r'Alert dialog description to use location services.'); } String get dialogLocationTitle { - return Intl.message(r'Use Google' "'" r's location service?', + return Intl.message('Use Google' "'" r's location service?', locale: _localeName, name: 'dialogLocationTitle', desc: r'Alert dialog title to use location services.'); } String dialogSelectedOption(Object value) { - return Intl.message(r'You selected: "$value"', + return Intl.message('You selected: "${value}"', locale: _localeName, name: 'dialogSelectedOption', desc: r'Message displayed after an option is selected from a dialog', @@ -3420,21 +3453,21 @@ class GalleryLocalizations { } String get dialogSetBackup { - return Intl.message(r'Set backup account', + return Intl.message('Set backup account', locale: _localeName, name: 'dialogSetBackup', desc: r'Alert dialog title for setting a backup account.'); } String get dialogShow { - return Intl.message(r'SHOW DIALOG', + return Intl.message('SHOW DIALOG', locale: _localeName, name: 'dialogShow', desc: r'Button text to display a dialog.'); } String get dismiss { - return Intl.message(r'DISMISS', + return Intl.message('DISMISS', locale: _localeName, name: 'dismiss', desc: @@ -3442,119 +3475,119 @@ class GalleryLocalizations { } String get homeCategoryReference { - return Intl.message(r'REFERENCE STYLES & MEDIA', + return Intl.message('REFERENCE STYLES & MEDIA', locale: _localeName, name: 'homeCategoryReference', desc: r'Category title on home screen for reference styles & media.'); } String get homeHeaderCategories { - return Intl.message(r'Categories', + return Intl.message('Categories', locale: _localeName, name: 'homeHeaderCategories', desc: r'Header title on home screen for Categories section.'); } String get homeHeaderGallery { - return Intl.message(r'Gallery', + return Intl.message('Gallery', locale: _localeName, name: 'homeHeaderGallery', desc: r'Header title on home screen for Gallery section.'); } String get placeBeach { - return Intl.message(r'Beach', + return Intl.message('Beach', locale: _localeName, name: 'placeBeach', desc: r'Title for Beach location.'); } String get placeBronzeWorks { - return Intl.message(r'Bronze Works', + return Intl.message('Bronze Works', locale: _localeName, name: 'placeBronzeWorks', desc: r'Title for Bronze Works location.'); } String get placeChennai { - return Intl.message(r'Chennai', + return Intl.message('Chennai', locale: _localeName, name: 'placeChennai', desc: r'Title for Chennai location.'); } String get placeChettinad { - return Intl.message(r'Chettinad', + return Intl.message('Chettinad', locale: _localeName, name: 'placeChettinad', desc: r'Title for Chettinad location.'); } String get placeFisherman { - return Intl.message(r'Fisherman', + return Intl.message('Fisherman', locale: _localeName, name: 'placeFisherman', desc: r'Title for an image of a fisherman.'); } String get placeFlowerMarket { - return Intl.message(r'Flower Market', + return Intl.message('Flower Market', locale: _localeName, name: 'placeFlowerMarket', desc: r'Title for Flower Market location.'); } String get placeLunchPrep { - return Intl.message(r'Lunch Prep', + return Intl.message('Lunch Prep', locale: _localeName, name: 'placeLunchPrep', desc: r'Title for an image of preparing lunch.'); } String get placeMarket { - return Intl.message(r'Market', + return Intl.message('Market', locale: _localeName, name: 'placeMarket', desc: r'Title for Market location.'); } String get placePondicherry { - return Intl.message(r'Pondicherry', + return Intl.message('Pondicherry', locale: _localeName, name: 'placePondicherry', desc: r'Title for Pondicherry location.'); } String get placeSaltFarm { - return Intl.message(r'Salt Farm', + return Intl.message('Salt Farm', locale: _localeName, name: 'placeSaltFarm', desc: r'Title for Salt Farm location.'); } String get placeScooters { - return Intl.message(r'Scooters', + return Intl.message('Scooters', locale: _localeName, name: 'placeScooters', desc: r'Title for image of people riding on scooters.'); } String get placeSilkMaker { - return Intl.message(r'Silk Maker', + return Intl.message('Silk Maker', locale: _localeName, name: 'placeSilkMaker', desc: r'Title for an image of a silk maker.'); } String get placeTanjore { - return Intl.message(r'Tanjore', + return Intl.message('Tanjore', locale: _localeName, name: 'placeTanjore', desc: r'Title for Tanjore location.'); } String get placeThanjavurTemple { - return Intl.message(r'Thanjavur Temple', + return Intl.message('Thanjavur Temple', locale: _localeName, name: 'placeThanjavurTemple', desc: r'Title for Thanjavur Temple location.'); @@ -3562,7 +3595,8 @@ class GalleryLocalizations { String rallyAccountAmount( Object accountName, Object accountNumber, Object amount) { - return Intl.message(r'$accountName account $accountNumber with $amount.', + return Intl.message( + '${accountName} account ${accountNumber} with ${amount}.', locale: _localeName, name: 'rallyAccountAmount', desc: @@ -3571,35 +3605,35 @@ class GalleryLocalizations { } String get rallyAccountDataCarSavings { - return Intl.message(r'Car Savings', + return Intl.message('Car Savings', locale: _localeName, name: 'rallyAccountDataCarSavings', desc: r'Name for account made up by user.'); } String get rallyAccountDataChecking { - return Intl.message(r'Checking', + return Intl.message('Checking', locale: _localeName, name: 'rallyAccountDataChecking', desc: r'Name for account made up by user.'); } String get rallyAccountDataHomeSavings { - return Intl.message(r'Home Savings', + return Intl.message('Home Savings', locale: _localeName, name: 'rallyAccountDataHomeSavings', desc: r'Name for account made up by user.'); } String get rallyAccountDataVacation { - return Intl.message(r'Vacation', + return Intl.message('Vacation', locale: _localeName, name: 'rallyAccountDataVacation', desc: r'Name for account made up by user.'); } String get rallyAccountDetailDataAccountOwner { - return Intl.message(r'Account Owner', + return Intl.message('Account Owner', locale: _localeName, name: 'rallyAccountDetailDataAccountOwner', desc: @@ -3607,7 +3641,7 @@ class GalleryLocalizations { } String get rallyAccountDetailDataAnnualPercentageYield { - return Intl.message(r'Annual Percentage Yield', + return Intl.message('Annual Percentage Yield', locale: _localeName, name: 'rallyAccountDetailDataAnnualPercentageYield', desc: @@ -3615,7 +3649,7 @@ class GalleryLocalizations { } String get rallyAccountDetailDataInterestPaidLastYear { - return Intl.message(r'Interest Paid Last Year', + return Intl.message('Interest Paid Last Year', locale: _localeName, name: 'rallyAccountDetailDataInterestPaidLastYear', desc: @@ -3623,7 +3657,7 @@ class GalleryLocalizations { } String get rallyAccountDetailDataInterestRate { - return Intl.message(r'Interest Rate', + return Intl.message('Interest Rate', locale: _localeName, name: 'rallyAccountDetailDataInterestRate', desc: @@ -3631,7 +3665,7 @@ class GalleryLocalizations { } String get rallyAccountDetailDataInterestYtd { - return Intl.message(r'Interest YTD', + return Intl.message('Interest YTD', locale: _localeName, name: 'rallyAccountDetailDataInterestYtd', desc: @@ -3639,7 +3673,7 @@ class GalleryLocalizations { } String get rallyAccountDetailDataNextStatement { - return Intl.message(r'Next Statement', + return Intl.message('Next Statement', locale: _localeName, name: 'rallyAccountDetailDataNextStatement', desc: @@ -3647,7 +3681,7 @@ class GalleryLocalizations { } String get rallyAccountTotal { - return Intl.message(r'Total', + return Intl.message('Total', locale: _localeName, name: 'rallyAccountTotal', desc: r'Title for ' @@ -3658,21 +3692,21 @@ class GalleryLocalizations { } String get rallyAccounts { - return Intl.message(r'Accounts', + return Intl.message('Accounts', locale: _localeName, name: 'rallyAccounts', desc: r'Link text for accounts page.'); } String get rallyAlerts { - return Intl.message(r'Alerts', + return Intl.message('Alerts', locale: _localeName, name: 'rallyAlerts', desc: r'Title for alerts part of overview page.'); } String rallyAlertsMessageATMFees(Object amount) { - return Intl.message(r'You’ve spent $amount in ATM fees this month', + return Intl.message('You’ve spent ${amount} in ATM fees this month', locale: _localeName, name: 'rallyAlertsMessageATMFees', desc: @@ -3682,17 +3716,16 @@ class GalleryLocalizations { String rallyAlertsMessageCheckingAccount(Object percent) { return Intl.message( - r'Good work! Your checking account is $percent higher than last month.', + 'Good work! Your checking account is ${percent} higher than last month.', locale: _localeName, name: 'rallyAlertsMessageCheckingAccount', - desc: - r'Alert message shown when for example, the checking account is 1% higher than last month.', + desc: r'Alert message shown when for example, the checking account is 1% higher than last month.', args: [percent]); } String rallyAlertsMessageHeadsUpShopping(Object percent) { return Intl.message( - r'Heads up, you’ve used up $percent of your Shopping budget for this month.', + 'Heads up, you’ve used up ${percent} of your Shopping budget for this month.', locale: _localeName, name: 'rallyAlertsMessageHeadsUpShopping', desc: r'Alert message shown when for example, user has used more than 90% of their shopping budget.', @@ -3700,7 +3733,7 @@ class GalleryLocalizations { } String rallyAlertsMessageSpentOnRestaurants(Object amount) { - return Intl.message(r'You’ve spent $amount on Restaurants this week.', + return Intl.message('You’ve spent ${amount} on Restaurants this week.', locale: _localeName, name: 'rallyAlertsMessageSpentOnRestaurants', desc: @@ -3717,11 +3750,11 @@ class GalleryLocalizations { one: 'Increase your potential tax deduction! Assign categories to 1 unassigned transaction.', other: - 'Increase your potential tax deduction! Assign categories to $count unassigned transactions.'); + 'Increase your potential tax deduction! Assign categories to ${count} unassigned transactions.'); } String rallyBillAmount(Object billName, Object date, Object amount) { - return Intl.message(r'$billName bill due $date for $amount.', + return Intl.message('${billName} bill due ${date} for ${amount}.', locale: _localeName, name: 'rallyBillAmount', desc: @@ -3730,14 +3763,14 @@ class GalleryLocalizations { } String get rallyBills { - return Intl.message(r'Bills', + return Intl.message('Bills', locale: _localeName, name: 'rallyBills', desc: r'Link text for bills page.'); } String get rallyBillsDue { - return Intl.message(r'Due', + return Intl.message('Due', locale: _localeName, name: 'rallyBillsDue', desc: r'Title for ' @@ -3750,7 +3783,7 @@ class GalleryLocalizations { String rallyBudgetAmount(Object budgetName, Object amountUsed, Object amountTotal, Object amountLeft) { return Intl.message( - r'$budgetName budget with $amountUsed used of $amountTotal, $amountLeft left', + '${budgetName} budget with ${amountUsed} used of ${amountTotal}, ${amountLeft} left', locale: _localeName, name: 'rallyBudgetAmount', desc: r'Semantics label for row with a budget (housing budget for example), with how much is used of the budget (for example $5), the total budget (for example $100) and the amount left in the budget (for example $95).', @@ -3758,35 +3791,35 @@ class GalleryLocalizations { } String get rallyBudgetCategoryClothing { - return Intl.message(r'Clothing', + return Intl.message('Clothing', locale: _localeName, name: 'rallyBudgetCategoryClothing', desc: r'Category for budget, to sort expenses / bills in.'); } String get rallyBudgetCategoryCoffeeShops { - return Intl.message(r'Coffee Shops', + return Intl.message('Coffee Shops', locale: _localeName, name: 'rallyBudgetCategoryCoffeeShops', desc: r'Category for budget, to sort expenses / bills in.'); } String get rallyBudgetCategoryGroceries { - return Intl.message(r'Groceries', + return Intl.message('Groceries', locale: _localeName, name: 'rallyBudgetCategoryGroceries', desc: r'Category for budget, to sort expenses / bills in.'); } String get rallyBudgetCategoryRestaurants { - return Intl.message(r'Restaurants', + return Intl.message('Restaurants', locale: _localeName, name: 'rallyBudgetCategoryRestaurants', desc: r'Category for budget, to sort expenses / bills in.'); } String get rallyBudgetLeft { - return Intl.message(r'Left', + return Intl.message('Left', locale: _localeName, name: 'rallyBudgetLeft', desc: r'Title for ' @@ -3797,21 +3830,21 @@ class GalleryLocalizations { } String get rallyBudgets { - return Intl.message(r'Budgets', + return Intl.message('Budgets', locale: _localeName, name: 'rallyBudgets', desc: r'Link text for budgets page.'); } String get rallyDescription { - return Intl.message(r'A personal finance app', + return Intl.message('A personal finance app', locale: _localeName, name: 'rallyDescription', desc: r'Study description for Rally.'); } String get rallyFinanceLeft { - return Intl.message(r' LEFT', + return Intl.message(' LEFT', locale: _localeName, name: 'rallyFinanceLeft', desc: r'Displayed as ' @@ -3822,21 +3855,21 @@ class GalleryLocalizations { } String get rallyLoginButtonLogin { - return Intl.message(r'LOGIN', + return Intl.message('LOGIN', locale: _localeName, name: 'rallyLoginButtonLogin', desc: r'Text for login button.'); } String get rallyLoginLabelLogin { - return Intl.message(r'Login', + return Intl.message('Login', locale: _localeName, name: 'rallyLoginLabelLogin', desc: r'The label text to login.'); } String get rallyLoginLoginToRally { - return Intl.message(r'Login to Rally', + return Intl.message('Login to Rally', locale: _localeName, name: 'rallyLoginLoginToRally', desc: @@ -3844,49 +3877,49 @@ class GalleryLocalizations { } String get rallyLoginNoAccount { - return Intl.message(r'Don' "'" r't have an account?', + return Intl.message('Don' "'" r't have an account?', locale: _localeName, name: 'rallyLoginNoAccount', desc: r'Prompt for signing up for an account.'); } String get rallyLoginPassword { - return Intl.message(r'Password', + return Intl.message('Password', locale: _localeName, name: 'rallyLoginPassword', desc: r'The password field in an login form.'); } String get rallyLoginRememberMe { - return Intl.message(r'Remember Me', + return Intl.message('Remember Me', locale: _localeName, name: 'rallyLoginRememberMe', desc: r'Text if the user wants to stay logged in.'); } String get rallyLoginSignUp { - return Intl.message(r'SIGN UP', + return Intl.message('SIGN UP', locale: _localeName, name: 'rallyLoginSignUp', desc: r'Button text to sign up for an account.'); } String get rallyLoginUsername { - return Intl.message(r'Username', + return Intl.message('Username', locale: _localeName, name: 'rallyLoginUsername', desc: r'The username field in an login form.'); } String get rallySeeAll { - return Intl.message(r'SEE ALL', + return Intl.message('SEE ALL', locale: _localeName, name: 'rallySeeAll', desc: r'Link text for button to see all data for category.'); } String get rallySeeAllAccounts { - return Intl.message(r'See all accounts', + return Intl.message('See all accounts', locale: _localeName, name: 'rallySeeAllAccounts', desc: @@ -3894,126 +3927,126 @@ class GalleryLocalizations { } String get rallySeeAllBills { - return Intl.message(r'See all bills', + return Intl.message('See all bills', locale: _localeName, name: 'rallySeeAllBills', desc: r'Semantics label for button to see all bills.'); } String get rallySeeAllBudgets { - return Intl.message(r'See all budgets', + return Intl.message('See all budgets', locale: _localeName, name: 'rallySeeAllBudgets', desc: r'Semantics label for button to see all budgets.'); } String get rallySettingsFindAtms { - return Intl.message(r'Find ATMs', + return Intl.message('Find ATMs', locale: _localeName, name: 'rallySettingsFindAtms', desc: r'Link to go to the page ' "'" r'Find ATMs' "'" r'.'); } String get rallySettingsHelp { - return Intl.message(r'Help', + return Intl.message('Help', locale: _localeName, name: 'rallySettingsHelp', desc: r'Link to go to the page ' "'" r'Help' "'" r'.'); } String get rallySettingsManageAccounts { - return Intl.message(r'Manage Accounts', + return Intl.message('Manage Accounts', locale: _localeName, name: 'rallySettingsManageAccounts', desc: r'Link to go to the page ' "'" r'Manage Accounts.'); } String get rallySettingsNotifications { - return Intl.message(r'Notifications', + return Intl.message('Notifications', locale: _localeName, name: 'rallySettingsNotifications', desc: r'Link to go to the page ' "'" r'Notifications' "'" r'.'); } String get rallySettingsPaperlessSettings { - return Intl.message(r'Paperless Settings', + return Intl.message('Paperless Settings', locale: _localeName, name: 'rallySettingsPaperlessSettings', desc: r'Link to go to the page ' "'" r'Paperless Settings' "'" r'.'); } String get rallySettingsPasscodeAndTouchId { - return Intl.message(r'Passcode and Touch ID', + return Intl.message('Passcode and Touch ID', locale: _localeName, name: 'rallySettingsPasscodeAndTouchId', desc: r'Link to go to the page ' "'" r'Passcode and Touch ID' "'" r'.'); } String get rallySettingsPersonalInformation { - return Intl.message(r'Personal Information', + return Intl.message('Personal Information', locale: _localeName, name: 'rallySettingsPersonalInformation', desc: r'Link to go to the page ' "'" r'Personal Information' "'" r'.'); } String get rallySettingsSignOut { - return Intl.message(r'Sign out', + return Intl.message('Sign out', locale: _localeName, name: 'rallySettingsSignOut', desc: r'Link to go to the page ' "'" r'Sign out' "'" r'.'); } String get rallySettingsTaxDocuments { - return Intl.message(r'Tax Documents', + return Intl.message('Tax Documents', locale: _localeName, name: 'rallySettingsTaxDocuments', desc: r'Link to go to the page ' "'" r'Tax Documents' "'" r'.'); } String get rallyTitleAccounts { - return Intl.message(r'ACCOUNTS', + return Intl.message('ACCOUNTS', locale: _localeName, name: 'rallyTitleAccounts', desc: r'The navigation link to the accounts page.'); } String get rallyTitleBills { - return Intl.message(r'BILLS', + return Intl.message('BILLS', locale: _localeName, name: 'rallyTitleBills', desc: r'The navigation link to the bills page.'); } String get rallyTitleBudgets { - return Intl.message(r'BUDGETS', + return Intl.message('BUDGETS', locale: _localeName, name: 'rallyTitleBudgets', desc: r'The navigation link to the budgets page.'); } String get rallyTitleOverview { - return Intl.message(r'OVERVIEW', + return Intl.message('OVERVIEW', locale: _localeName, name: 'rallyTitleOverview', desc: r'The navigation link to the overview page.'); } String get rallyTitleSettings { - return Intl.message(r'SETTINGS', + return Intl.message('SETTINGS', locale: _localeName, name: 'rallyTitleSettings', desc: r'The navigation link to the settings page.'); } String get settingsAbout { - return Intl.message(r'About Flutter Gallery', + return Intl.message('About Flutter Gallery', locale: _localeName, name: 'settingsAbout', desc: r'Title for information button.'); } String get settingsAttribution { - return Intl.message(r'Designed by TOASTER in London', + return Intl.message('Designed by TOASTER in London', locale: _localeName, name: 'settingsAttribution', desc: @@ -4021,7 +4054,7 @@ class GalleryLocalizations { } String get settingsButtonCloseLabel { - return Intl.message(r'Close settings', + return Intl.message('Close settings', locale: _localeName, name: 'settingsButtonCloseLabel', desc: @@ -4029,7 +4062,7 @@ class GalleryLocalizations { } String get settingsButtonLabel { - return Intl.message(r'Settings', + return Intl.message('Settings', locale: _localeName, name: 'settingsButtonLabel', desc: @@ -4037,147 +4070,147 @@ class GalleryLocalizations { } String get settingsDarkTheme { - return Intl.message(r'Dark', + return Intl.message('Dark', locale: _localeName, name: 'settingsDarkTheme', desc: r'Title for the dark theme setting.'); } String get settingsFeedback { - return Intl.message(r'Send feedback', + return Intl.message('Send feedback', locale: _localeName, name: 'settingsFeedback', desc: r'Title for feedback button.'); } String get settingsLightTheme { - return Intl.message(r'Light', + return Intl.message('Light', locale: _localeName, name: 'settingsLightTheme', desc: r'Title for the light theme setting.'); } String get settingsLocale { - return Intl.message(r'Locale', + return Intl.message('Locale', locale: _localeName, name: 'settingsLocale', desc: r'Title for locale setting.'); } String get settingsPlatformAndroid { - return Intl.message(r'Android', + return Intl.message('Android', locale: _localeName, name: 'settingsPlatformAndroid', desc: r'Title for Android platform setting.'); } String get settingsPlatformIOS { - return Intl.message(r'iOS', + return Intl.message('iOS', locale: _localeName, name: 'settingsPlatformIOS', desc: r'Title for iOS platform setting.'); } String get settingsPlatformMechanics { - return Intl.message(r'Platform mechanics', + return Intl.message('Platform mechanics', locale: _localeName, name: 'settingsPlatformMechanics', desc: r'Title for platform mechanics (iOS/Android) setting.'); } String get settingsSlowMotion { - return Intl.message(r'Slow motion', + return Intl.message('Slow motion', locale: _localeName, name: 'settingsSlowMotion', desc: r'Title for slow motion setting.'); } String get settingsSystemDefault { - return Intl.message(r'System', + return Intl.message('System', locale: _localeName, name: 'settingsSystemDefault', desc: r'Option label to indicate the system default will be used.'); } String get settingsTextDirection { - return Intl.message(r'Text direction', + return Intl.message('Text direction', locale: _localeName, name: 'settingsTextDirection', desc: r'Title for text direction setting.'); } String get settingsTextDirectionLTR { - return Intl.message(r'LTR', + return Intl.message('LTR', locale: _localeName, name: 'settingsTextDirectionLTR', desc: r'Option label for left-to-right text direction setting.'); } String get settingsTextDirectionLocaleBased { - return Intl.message(r'Based on locale', + return Intl.message('Based on locale', locale: _localeName, name: 'settingsTextDirectionLocaleBased', desc: r'Option label for locale-based text direction setting.'); } String get settingsTextDirectionRTL { - return Intl.message(r'RTL', + return Intl.message('RTL', locale: _localeName, name: 'settingsTextDirectionRTL', desc: r'Option label for right-to-left text direction setting.'); } String get settingsTextScaling { - return Intl.message(r'Text scaling', + return Intl.message('Text scaling', locale: _localeName, name: 'settingsTextScaling', desc: r'Title for text scaling setting.'); } String get settingsTextScalingHuge { - return Intl.message(r'Huge', + return Intl.message('Huge', locale: _localeName, name: 'settingsTextScalingHuge', desc: r'Option label for huge text scale setting.'); } String get settingsTextScalingLarge { - return Intl.message(r'Large', + return Intl.message('Large', locale: _localeName, name: 'settingsTextScalingLarge', desc: r'Option label for large text scale setting.'); } String get settingsTextScalingNormal { - return Intl.message(r'Normal', + return Intl.message('Normal', locale: _localeName, name: 'settingsTextScalingNormal', desc: r'Option label for normal text scale setting.'); } String get settingsTextScalingSmall { - return Intl.message(r'Small', + return Intl.message('Small', locale: _localeName, name: 'settingsTextScalingSmall', desc: r'Option label for small text scale setting.'); } String get settingsTheme { - return Intl.message(r'Theme', + return Intl.message('Theme', locale: _localeName, name: 'settingsTheme', desc: r'Title for the theme setting.'); } String get settingsTitle { - return Intl.message(r'Settings', + return Intl.message('Settings', locale: _localeName, name: 'settingsTitle', desc: r'Title for the settings screen.'); } String get shrineCancelButtonCaption { - return Intl.message(r'CANCEL', + return Intl.message('CANCEL', locale: _localeName, name: 'shrineCancelButtonCaption', desc: @@ -4185,7 +4218,7 @@ class GalleryLocalizations { } String get shrineCartClearButtonCaption { - return Intl.message(r'CLEAR CART', + return Intl.message('CLEAR CART', locale: _localeName, name: 'shrineCartClearButtonCaption', desc: r'Caption for a button used to clear the cart.'); @@ -4199,18 +4232,18 @@ class GalleryLocalizations { args: [quantity], zero: 'NO ITEMS', one: '1 ITEM', - other: '$quantity ITEMS'); + other: '${quantity} ITEMS'); } String get shrineCartPageCaption { - return Intl.message(r'CART', + return Intl.message('CART', locale: _localeName, name: 'shrineCartPageCaption', desc: r'Caption for a shopping cart page.'); } String get shrineCartShippingCaption { - return Intl.message(r'Shipping:', + return Intl.message('Shipping:', locale: _localeName, name: 'shrineCartShippingCaption', desc: @@ -4218,7 +4251,7 @@ class GalleryLocalizations { } String get shrineCartSubtotalCaption { - return Intl.message(r'Subtotal:', + return Intl.message('Subtotal:', locale: _localeName, name: 'shrineCartSubtotalCaption', desc: @@ -4226,14 +4259,14 @@ class GalleryLocalizations { } String get shrineCartTaxCaption { - return Intl.message(r'Tax:', + return Intl.message('Tax:', locale: _localeName, name: 'shrineCartTaxCaption', desc: r'Label for a text showing the tax for the items in the cart.'); } String get shrineCartTotalCaption { - return Intl.message(r'TOTAL', + return Intl.message('TOTAL', locale: _localeName, name: 'shrineCartTotalCaption', desc: @@ -4241,7 +4274,7 @@ class GalleryLocalizations { } String get shrineCategoryNameAccessories { - return Intl.message(r'ACCESSORIES', + return Intl.message('ACCESSORIES', locale: _localeName, name: 'shrineCategoryNameAccessories', desc: @@ -4249,35 +4282,35 @@ class GalleryLocalizations { } String get shrineCategoryNameAll { - return Intl.message(r'ALL', + return Intl.message('ALL', locale: _localeName, name: 'shrineCategoryNameAll', desc: r'A tab showing products from all categories.'); } String get shrineCategoryNameClothing { - return Intl.message(r'CLOTHING', + return Intl.message('CLOTHING', locale: _localeName, name: 'shrineCategoryNameClothing', desc: r'A category of products consisting of clothing.'); } String get shrineCategoryNameHome { - return Intl.message(r'HOME', + return Intl.message('HOME', locale: _localeName, name: 'shrineCategoryNameHome', desc: r'A category of products consisting of items used at home.'); } String get shrineDescription { - return Intl.message(r'A fashionable retail app', + return Intl.message('A fashionable retail app', locale: _localeName, name: 'shrineDescription', desc: r'Study description for Shrine.'); } String get shrineLoginPasswordLabel { - return Intl.message(r'Password', + return Intl.message('Password', locale: _localeName, name: 'shrineLoginPasswordLabel', desc: @@ -4285,7 +4318,7 @@ class GalleryLocalizations { } String get shrineLoginUsernameLabel { - return Intl.message(r'Username', + return Intl.message('Username', locale: _localeName, name: 'shrineLoginUsernameLabel', desc: @@ -4293,21 +4326,21 @@ class GalleryLocalizations { } String get shrineLogoutButtonCaption { - return Intl.message(r'LOGOUT', + return Intl.message('LOGOUT', locale: _localeName, name: 'shrineLogoutButtonCaption', desc: r'Label for a logout button.'); } String get shrineMenuCaption { - return Intl.message(r'MENU', + return Intl.message('MENU', locale: _localeName, name: 'shrineMenuCaption', desc: r'Caption for a menu page.'); } String get shrineNextButtonCaption { - return Intl.message(r'NEXT', + return Intl.message('NEXT', locale: _localeName, name: 'shrineNextButtonCaption', desc: @@ -4315,133 +4348,133 @@ class GalleryLocalizations { } String get shrineProductBlueStoneMug { - return Intl.message(r'Blue stone mug', + return Intl.message('Blue stone mug', locale: _localeName, name: 'shrineProductBlueStoneMug', desc: r'Name of the product ' "'" r'Blue stone mug' "'" r'.'); } String get shrineProductCeriseScallopTee { - return Intl.message(r'Cerise scallop tee', + return Intl.message('Cerise scallop tee', locale: _localeName, name: 'shrineProductCeriseScallopTee', desc: r'Name of the product ' "'" r'Cerise scallop tee' "'" r'.'); } String get shrineProductChambrayNapkins { - return Intl.message(r'Chambray napkins', + return Intl.message('Chambray napkins', locale: _localeName, name: 'shrineProductChambrayNapkins', desc: r'Name of the product ' "'" r'Chambray napkins' "'" r'.'); } String get shrineProductChambrayShirt { - return Intl.message(r'Chambray shirt', + return Intl.message('Chambray shirt', locale: _localeName, name: 'shrineProductChambrayShirt', desc: r'Name of the product ' "'" r'Chambray shirt' "'" r'.'); } String get shrineProductClassicWhiteCollar { - return Intl.message(r'Classic white collar', + return Intl.message('Classic white collar', locale: _localeName, name: 'shrineProductClassicWhiteCollar', desc: r'Name of the product ' "'" r'Classic white collar' "'" r'.'); } String get shrineProductClaySweater { - return Intl.message(r'Clay sweater', + return Intl.message('Clay sweater', locale: _localeName, name: 'shrineProductClaySweater', desc: r'Name of the product ' "'" r'Clay sweater' "'" r'.'); } String get shrineProductCopperWireRack { - return Intl.message(r'Copper wire rack', + return Intl.message('Copper wire rack', locale: _localeName, name: 'shrineProductCopperWireRack', desc: r'Name of the product ' "'" r'Copper wire rack' "'" r'.'); } String get shrineProductFineLinesTee { - return Intl.message(r'Fine lines tee', + return Intl.message('Fine lines tee', locale: _localeName, name: 'shrineProductFineLinesTee', desc: r'Name of the product ' "'" r'Fine lines tee' "'" r'.'); } String get shrineProductGardenStrand { - return Intl.message(r'Garden strand', + return Intl.message('Garden strand', locale: _localeName, name: 'shrineProductGardenStrand', desc: r'Name of the product ' "'" r'Garden strand' "'" r'.'); } String get shrineProductGatsbyHat { - return Intl.message(r'Gatsby hat', + return Intl.message('Gatsby hat', locale: _localeName, name: 'shrineProductGatsbyHat', desc: r'Name of the product ' "'" r'Gatsby hat' "'" r'.'); } String get shrineProductGentryJacket { - return Intl.message(r'Gentry jacket', + return Intl.message('Gentry jacket', locale: _localeName, name: 'shrineProductGentryJacket', desc: r'Name of the product ' "'" r'Gentry jacket' "'" r'.'); } String get shrineProductGiltDeskTrio { - return Intl.message(r'Gilt desk trio', + return Intl.message('Gilt desk trio', locale: _localeName, name: 'shrineProductGiltDeskTrio', desc: r'Name of the product ' "'" r'Gilt desk trio' "'" r'.'); } String get shrineProductGingerScarf { - return Intl.message(r'Ginger scarf', + return Intl.message('Ginger scarf', locale: _localeName, name: 'shrineProductGingerScarf', desc: r'Name of the product ' "'" r'Ginger scarf' "'" r'.'); } String get shrineProductGreySlouchTank { - return Intl.message(r'Grey slouch tank', + return Intl.message('Grey slouch tank', locale: _localeName, name: 'shrineProductGreySlouchTank', desc: r'Name of the product ' "'" r'Grey slouch tank' "'" r'.'); } String get shrineProductHurrahsTeaSet { - return Intl.message(r'Hurrahs tea set', + return Intl.message('Hurrahs tea set', locale: _localeName, name: 'shrineProductHurrahsTeaSet', desc: r'Name of the product ' "'" r'Hurrahs tea set' "'" r'.'); } String get shrineProductKitchenQuattro { - return Intl.message(r'Kitchen quattro', + return Intl.message('Kitchen quattro', locale: _localeName, name: 'shrineProductKitchenQuattro', desc: r'Name of the product ' "'" r'Kitchen quattro' "'" r'.'); } String get shrineProductNavyTrousers { - return Intl.message(r'Navy trousers', + return Intl.message('Navy trousers', locale: _localeName, name: 'shrineProductNavyTrousers', desc: r'Name of the product ' "'" r'Navy trousers' "'" r'.'); } String get shrineProductPlasterTunic { - return Intl.message(r'Plaster tunic', + return Intl.message('Plaster tunic', locale: _localeName, name: 'shrineProductPlasterTunic', desc: r'Name of the product ' "'" r'Plaster tunic' "'" r'.'); } String shrineProductPrice(Object price) { - return Intl.message(r'x $price', + return Intl.message('x ${price}', locale: _localeName, name: 'shrineProductPrice', desc: r'A text showing the unit price of each product. Used as: ' @@ -4453,7 +4486,7 @@ class GalleryLocalizations { } String shrineProductQuantity(Object quantity) { - return Intl.message(r'Quantity: $quantity', + return Intl.message('Quantity: ${quantity}', locale: _localeName, name: 'shrineProductQuantity', desc: r'A text showing the number of items for a specific product.', @@ -4461,133 +4494,133 @@ class GalleryLocalizations { } String get shrineProductQuartetTable { - return Intl.message(r'Quartet table', + return Intl.message('Quartet table', locale: _localeName, name: 'shrineProductQuartetTable', desc: r'Name of the product ' "'" r'Quartet table' "'" r'.'); } String get shrineProductRainwaterTray { - return Intl.message(r'Rainwater tray', + return Intl.message('Rainwater tray', locale: _localeName, name: 'shrineProductRainwaterTray', desc: r'Name of the product ' "'" r'Rainwater tray' "'" r'.'); } String get shrineProductRamonaCrossover { - return Intl.message(r'Ramona crossover', + return Intl.message('Ramona crossover', locale: _localeName, name: 'shrineProductRamonaCrossover', desc: r'Name of the product ' "'" r'Ramona crossover' "'" r'.'); } String get shrineProductSeaTunic { - return Intl.message(r'Sea tunic', + return Intl.message('Sea tunic', locale: _localeName, name: 'shrineProductSeaTunic', desc: r'Name of the product ' "'" r'Sea tunic' "'" r'.'); } String get shrineProductSeabreezeSweater { - return Intl.message(r'Seabreeze sweater', + return Intl.message('Seabreeze sweater', locale: _localeName, name: 'shrineProductSeabreezeSweater', desc: r'Name of the product ' "'" r'Seabreeze sweater' "'" r'.'); } String get shrineProductShoulderRollsTee { - return Intl.message(r'Shoulder rolls tee', + return Intl.message('Shoulder rolls tee', locale: _localeName, name: 'shrineProductShoulderRollsTee', desc: r'Name of the product ' "'" r'Shoulder rolls tee' "'" r'.'); } String get shrineProductShrugBag { - return Intl.message(r'Shrug bag', + return Intl.message('Shrug bag', locale: _localeName, name: 'shrineProductShrugBag', desc: r'Name of the product ' "'" r'Shrug bag' "'" r'.'); } String get shrineProductSootheCeramicSet { - return Intl.message(r'Soothe ceramic set', + return Intl.message('Soothe ceramic set', locale: _localeName, name: 'shrineProductSootheCeramicSet', desc: r'Name of the product ' "'" r'Soothe ceramic set' "'" r'.'); } String get shrineProductStellaSunglasses { - return Intl.message(r'Stella sunglasses', + return Intl.message('Stella sunglasses', locale: _localeName, name: 'shrineProductStellaSunglasses', desc: r'Name of the product ' "'" r'Stella sunglasses' "'" r'.'); } String get shrineProductStrutEarrings { - return Intl.message(r'Strut earrings', + return Intl.message('Strut earrings', locale: _localeName, name: 'shrineProductStrutEarrings', desc: r'Name of the product ' "'" r'Strut earrings' "'" r'.'); } String get shrineProductSucculentPlanters { - return Intl.message(r'Succulent planters', + return Intl.message('Succulent planters', locale: _localeName, name: 'shrineProductSucculentPlanters', desc: r'Name of the product ' "'" r'Succulent planters' "'" r'.'); } String get shrineProductSunshirtDress { - return Intl.message(r'Sunshirt dress', + return Intl.message('Sunshirt dress', locale: _localeName, name: 'shrineProductSunshirtDress', desc: r'Name of the product ' "'" r'Sunshirt dress' "'" r'.'); } String get shrineProductSurfAndPerfShirt { - return Intl.message(r'Surf and perf shirt', + return Intl.message('Surf and perf shirt', locale: _localeName, name: 'shrineProductSurfAndPerfShirt', desc: r'Name of the product ' "'" r'Surf and perf shirt' "'" r'.'); } String get shrineProductVagabondSack { - return Intl.message(r'Vagabond sack', + return Intl.message('Vagabond sack', locale: _localeName, name: 'shrineProductVagabondSack', desc: r'Name of the product ' "'" r'Vagabond sack' "'" r'.'); } String get shrineProductVarsitySocks { - return Intl.message(r'Varsity socks', + return Intl.message('Varsity socks', locale: _localeName, name: 'shrineProductVarsitySocks', desc: r'Name of the product ' "'" r'Varsity socks' "'" r'.'); } String get shrineProductWalterHenleyWhite { - return Intl.message(r'Walter henley (white)', + return Intl.message('Walter henley (white)', locale: _localeName, name: 'shrineProductWalterHenleyWhite', desc: r'Name of the product ' "'" r'Walter henley (white)' "'" r'.'); } String get shrineProductWeaveKeyring { - return Intl.message(r'Weave keyring', + return Intl.message('Weave keyring', locale: _localeName, name: 'shrineProductWeaveKeyring', desc: r'Name of the product ' "'" r'Weave keyring' "'" r'.'); } String get shrineProductWhitePinstripeShirt { - return Intl.message(r'White pinstripe shirt', + return Intl.message('White pinstripe shirt', locale: _localeName, name: 'shrineProductWhitePinstripeShirt', desc: r'Name of the product ' "'" r'White pinstripe shirt' "'" r'.'); } String get shrineProductWhitneyBelt { - return Intl.message(r'Whitney belt', + return Intl.message('Whitney belt', locale: _localeName, name: 'shrineProductWhitneyBelt', desc: r'Name of the product ' "'" r'Whitney belt' "'" r'.'); @@ -4602,11 +4635,11 @@ class GalleryLocalizations { args: [quantity], zero: 'Shopping cart, no items', one: 'Shopping cart, 1 item', - other: 'Shopping cart, $quantity items'); + other: 'Shopping cart, ${quantity} items'); } String get shrineScreenReaderProductAddToCart { - return Intl.message(r'Add to cart', + return Intl.message('Add to cart', locale: _localeName, name: 'shrineScreenReaderProductAddToCart', desc: @@ -4614,7 +4647,7 @@ class GalleryLocalizations { } String shrineScreenReaderRemoveProductButton(Object product) { - return Intl.message(r'Remove $product', + return Intl.message('Remove ${product}', locale: _localeName, name: 'shrineScreenReaderRemoveProductButton', desc: @@ -4623,7 +4656,7 @@ class GalleryLocalizations { } String get shrineTooltipCloseCart { - return Intl.message(r'Close cart', + return Intl.message('Close cart', locale: _localeName, name: 'shrineTooltipCloseCart', desc: @@ -4631,7 +4664,7 @@ class GalleryLocalizations { } String get shrineTooltipCloseMenu { - return Intl.message(r'Close menu', + return Intl.message('Close menu', locale: _localeName, name: 'shrineTooltipCloseMenu', desc: @@ -4639,7 +4672,7 @@ class GalleryLocalizations { } String get shrineTooltipOpenMenu { - return Intl.message(r'Open menu', + return Intl.message('Open menu', locale: _localeName, name: 'shrineTooltipOpenMenu', desc: @@ -4647,7 +4680,7 @@ class GalleryLocalizations { } String get shrineTooltipRemoveItem { - return Intl.message(r'Remove item', + return Intl.message('Remove item', locale: _localeName, name: 'shrineTooltipRemoveItem', desc: @@ -4655,7 +4688,7 @@ class GalleryLocalizations { } String get shrineTooltipSearch { - return Intl.message(r'Search', + return Intl.message('Search', locale: _localeName, name: 'shrineTooltipSearch', desc: @@ -4663,7 +4696,7 @@ class GalleryLocalizations { } String get shrineTooltipSettings { - return Intl.message(r'Settings', + return Intl.message('Settings', locale: _localeName, name: 'shrineTooltipSettings', desc: @@ -4671,21 +4704,21 @@ class GalleryLocalizations { } String get signIn { - return Intl.message(r'SIGN IN', + return Intl.message('SIGN IN', locale: _localeName, name: 'signIn', desc: r'Sign in label to sign into website.'); } String get starterAppDescription { - return Intl.message(r'A responsive starter layout', + return Intl.message('A responsive starter layout', locale: _localeName, name: 'starterAppDescription', desc: r'The description for the starter app.'); } String starterAppDrawerItem(Object value) { - return Intl.message(r'Item $value', + return Intl.message('Item ${value}', locale: _localeName, name: 'starterAppDrawerItem', desc: r'Generic placeholder drawer item.', @@ -4693,70 +4726,70 @@ class GalleryLocalizations { } String get starterAppGenericBody { - return Intl.message(r'Body', + return Intl.message('Body', locale: _localeName, name: 'starterAppGenericBody', desc: r'Generic placeholder for body text in drawer.'); } String get starterAppGenericButton { - return Intl.message(r'BUTTON', + return Intl.message('BUTTON', locale: _localeName, name: 'starterAppGenericButton', desc: r'Generic placeholder for button.'); } String get starterAppGenericHeadline { - return Intl.message(r'Headline', + return Intl.message('Headline', locale: _localeName, name: 'starterAppGenericHeadline', desc: r'Generic placeholder for headline in drawer.'); } String get starterAppGenericSubtitle { - return Intl.message(r'Subtitle', + return Intl.message('Subtitle', locale: _localeName, name: 'starterAppGenericSubtitle', desc: r'Generic placeholder for subtitle in drawer.'); } String get starterAppGenericTitle { - return Intl.message(r'Title', + return Intl.message('Title', locale: _localeName, name: 'starterAppGenericTitle', desc: r'Generic placeholder for title in app bar.'); } String get starterAppTitle { - return Intl.message(r'Starter app', + return Intl.message('Starter app', locale: _localeName, name: 'starterAppTitle', desc: r'The title and name for the starter app.'); } String get starterAppTooltipAdd { - return Intl.message(r'Add', + return Intl.message('Add', locale: _localeName, name: 'starterAppTooltipAdd', desc: r'Tooltip on add icon.'); } String get starterAppTooltipFavorite { - return Intl.message(r'Favorite', + return Intl.message('Favorite', locale: _localeName, name: 'starterAppTooltipFavorite', desc: r'Tooltip on favorite icon.'); } String get starterAppTooltipSearch { - return Intl.message(r'Search', + return Intl.message('Search', locale: _localeName, name: 'starterAppTooltipSearch', desc: r'Tooltip on search icon.'); } String get starterAppTooltipShare { - return Intl.message(r'Share', + return Intl.message('Share', locale: _localeName, name: 'starterAppTooltipShare', desc: r'Tooltip on share icon.'); diff --git a/gallery/gallery/lib/l10n/intl_en_US.arb b/gallery/gallery/lib/l10n/intl_en_US.arb index c2d2299f5..0cce28685 100644 --- a/gallery/gallery/lib/l10n/intl_en_US.arb +++ b/gallery/gallery/lib/l10n/intl_en_US.arb @@ -57,14 +57,18 @@ "@cardsDemoExploreSemantics": { "description": "Semantics label for Explore. Label tells user to explore the destinationName to the user. Example Explore Tamil", "placeholders": { - "destinationName": "Tamil" + "destinationName": { + "example": "Tamil" + } } }, "cardsDemoShareSemantics": "Share {destinationName}", "@cardsDemoShareSemantics": { "description": "Semantics label for Share. Label tells user to share the destinationName to the user. Example Share Tamil", "placeholders": { - "destinationName": "Tamil" + "destinationName": { + "example": "Tamil" + } } }, "cardsDemoTravelDestinationTitle1": "Top 10 Cities to Visit in Tamil Nadu", @@ -307,35 +311,45 @@ "@rallyAlertsMessageHeadsUpShopping": { "description": "Alert message shown when for example, user has used more than 90% of their shopping budget.", "placeholders": { - "percent": "90%" + "percent": { + "example": "90%" + } } }, "rallyAlertsMessageSpentOnRestaurants": "You’ve spent {amount} on Restaurants this week.", "@rallyAlertsMessageSpentOnRestaurants": { "description": "Alert message shown when for example, user has spent $120 on Restaurants this week.", "placeholders": { - "amount": "$120" + "amount": { + "example": "$120" + } } }, "rallyAlertsMessageATMFees": "You’ve spent {amount} in ATM fees this month", "@rallyAlertsMessageATMFees": { "description": "Alert message shown when for example, the user has spent $24 in ATM fees this month.", "placeholders": { - "amount": "24" + "amount": { + "example": "24" + } } }, "rallyAlertsMessageCheckingAccount": "Good work! Your checking account is {percent} higher than last month.", "@rallyAlertsMessageCheckingAccount": { "description": "Alert message shown when for example, the checking account is 1% higher than last month.", "placeholders": { - "percent": "1%" + "percent": { + "example": "1%" + } } }, "rallyAlertsMessageUnassignedTransactions": "{count, plural, =1{Increase your potential tax deduction! Assign categories to 1 unassigned transaction.}other{Increase your potential tax deduction! Assign categories to {count} unassigned transactions.}}", "@rallyAlertsMessageUnassignedTransactions": { "description": "Alert message shown when you have unassigned transactions.", "placeholders": { - "count": "2" + "count": { + "example": "2" + } } }, "rallySeeAllAccounts": "See all accounts", @@ -354,28 +368,48 @@ "@rallyAccountAmount": { "description": "Semantics label for row with bank account name (for example checking) and its bank account number (for example 123), with how much money is deposited in it (for example $12).", "placeholders": { - "accountName": "Home Savings", - "accountNumber": "1234", - "amount": "$12" + "accountName": { + "example": "Home Savings" + }, + "accountNumber": { + "example": "1234" + }, + "amount": { + "example": "$12" + } } }, "rallyBillAmount": "{billName} bill due {date} for {amount}.", "@rallyBillAmount": { "description": "Semantics label for row with a bill (example name is rent), when the bill is due (1/12/2019 for example) and for how much money ($12).", "placeholders": { - "billName": "Rent", - "date": "1/24/2019", - "amount": "$12" + "billName": { + "example": "Rent" + }, + "date": { + "example": "1/24/2019" + }, + "amount": { + "example": "$12" + } } }, "rallyBudgetAmount": "{budgetName} budget with {amountUsed} used of {amountTotal}, {amountLeft} left", "@rallyBudgetAmount": { "description": "Semantics label for row with a budget (housing budget for example), with how much is used of the budget (for example $5), the total budget (for example $100) and the amount left in the budget (for example $95).", "placeholders": { - "budgetName": "Groceries", - "amountUsed": "$5", - "amountTotal": "$100", - "amountLeft": "$95" + "budgetName": { + "example": "Groceries" + }, + "amountUsed": { + "example": "$5" + }, + "amountTotal": { + "example": "$100" + }, + "amountLeft": { + "example": "$95" + } } }, "craneDescription": "A personalized travel app", @@ -2318,6 +2352,36 @@ "@craneFormDates": { "description": "Form field label to select multiple dates." }, + "craneHours": "{hours, plural, =1{1h} other{{hours}h}}", + "@craneHours": { + "description": "Generic text for an amount of hours, abbreviated to the shortest form. For example 1h. {hours} should remain untranslated.", + "placeholders": { + "hours": { + "example": "1" + } + } + }, + "craneMinutes": "{minutes, plural, =1{1m} other{{minutes}m}}", + "@craneMinutes": { + "description": "Generic text for an amount of minutes, abbreviated to the shortest form. For example 15m. {minutes} should remain untranslated.", + "placeholders": { + "minutes": { + "example": "15" + } + } + }, + "craneFlightDuration": "{hoursShortForm} {minutesShortForm}", + "@craneFlightDuration": { + "description": "A pattern to define the layout of a flight duration string. For example in English one might say 1h 15m. Translation should only rearrange the inputs. {hoursShortForm} would for example be replaced by 1h, already translated to the given locale. {minutesShortForm} would for example be replaced by 15m, already translated to the given locale.", + "placeholders": { + "hoursShortForm": { + "example": "1h" + }, + "minutesShortForm": { + "example": "15m" + } + } + }, "craneFly": "FLY", "@craneFly": { "description": "Title for FLY tab." @@ -2347,7 +2411,7 @@ "description": "Label indicating if a flight is nonstop or how many layovers it includes.", "placeholders": { "numberOfStops": { - "example": 2 + "example": "2" } } }, diff --git a/gallery/gallery/lib/l10n/intl_en_US.xml b/gallery/gallery/lib/l10n/intl_en_US.xml index e6735d1cd..bc18fa162 100644 --- a/gallery/gallery/lib/l10n/intl_en_US.xml +++ b/gallery/gallery/lib/l10n/intl_en_US.xml @@ -2189,6 +2189,18 @@ name="craneFormDates" description="Form field label to select multiple dates." >Select Dates + {hours, plural, =1{1h} other{{hours}h}} + {minutes, plural, =1{1m} other{{minutes}m}} + {hoursShortForm} {minutesShortForm} "${Intl.plural(totalRestaurants, zero: 'No Restaurants', one: '1 Restaurant', other: '${totalRestaurants} Restaurants')}"; + static m29(hoursShortForm, minutesShortForm) => + "${hoursShortForm} ${minutesShortForm}"; + static m3(numberOfStops) => "${Intl.plural(numberOfStops, zero: 'Nonstop', one: '1 stop', other: '${numberOfStops} stops')}"; + static m30(hours) => "${Intl.plural(hours, one: '1h', other: '${hours}h')}"; + + static m31(minutes) => + "${Intl.plural(minutes, one: '1m', other: '${minutes}m')}"; + static m4(totalProperties) => "${Intl.plural(totalProperties, zero: 'No Available Properties', one: '1 Available Properties', other: '${totalProperties} Available Properties')}"; - static m29(value) => "${value} with honey"; + static m32(value) => "${value} with honey"; - static m30(value) => "${value} with sugar"; + static m33(value) => "${value} with sugar"; static m5(value) => "Item ${value}"; @@ -231,6 +239,7 @@ class MessageLookup extends MessageLookupByLibrary { "craneEatRestaurants": m2, "craneEatSubhead": MessageLookupByLibrary.simpleMessage( "Explore Restaurants by Destination"), + "craneFlightDuration": m29, "craneFly": MessageLookupByLibrary.simpleMessage("FLY"), "craneFly0": MessageLookupByLibrary.simpleMessage("Aspen, United States"), @@ -295,6 +304,8 @@ class MessageLookup extends MessageLookupByLibrary { MessageLookupByLibrary.simpleMessage("Choose Origin"), "craneFormTime": MessageLookupByLibrary.simpleMessage("Select Time"), "craneFormTravelers": MessageLookupByLibrary.simpleMessage("Travelers"), + "craneHours": m30, + "craneMinutes": m31, "craneSleep": MessageLookupByLibrary.simpleMessage("SLEEP"), "craneSleep0": MessageLookupByLibrary.simpleMessage("Malé, Maldives"), "craneSleep0SemanticLabel": @@ -403,8 +414,8 @@ class MessageLookup extends MessageLookupByLibrary { MessageLookupByLibrary.simpleMessage("Jelly bean"), "dataTableRowLollipop": MessageLookupByLibrary.simpleMessage("Lollipop"), - "dataTableRowWithHoney": m29, - "dataTableRowWithSugar": m30, + "dataTableRowWithHoney": m32, + "dataTableRowWithSugar": m33, "demo2dTransformationsDescription": MessageLookupByLibrary.simpleMessage( "Tap to edit tiles, and use gestures to move around the scene. Drag to pan, pinch to zoom, rotate with two fingers. Press the reset button to return to the starting orientation."), "demo2dTransformationsEditTooltip": diff --git a/gallery/gallery/lib/studies/crane/model/formatters.dart b/gallery/gallery/lib/studies/crane/model/formatters.dart index 6b8dc39f6..bad70cf27 100644 --- a/gallery/gallery/lib/studies/crane/model/formatters.dart +++ b/gallery/gallery/lib/studies/crane/model/formatters.dart @@ -2,17 +2,16 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'package:duration/duration.dart'; import 'package:flutter/material.dart'; +import 'package:gallery/l10n/gallery_localizations.dart'; // Duration of time (e.g. 16h 12m) String formattedDuration(BuildContext context, Duration duration, {bool abbreviated}) { - return prettyDuration( - duration, - spacer: '', - delimiter: ' ', - abbreviated: abbreviated, - tersity: DurationTersity.minute, - ); + final hoursShortForm = + GalleryLocalizations.of(context).craneHours(duration.inHours.toInt()); + final minutesShortForm = + GalleryLocalizations.of(context).craneMinutes(duration.inMinutes % 60); + return GalleryLocalizations.of(context) + .craneFlightDuration(hoursShortForm, minutesShortForm); } diff --git a/gallery/gallery/pubspec.lock b/gallery/gallery/pubspec.lock index a33b3de45..890fa81bb 100644 --- a/gallery/gallery/pubspec.lock +++ b/gallery/gallery/pubspec.lock @@ -99,13 +99,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.3.3" - duration: - dependency: "direct main" - description: - name: duration - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.8" flare_dart: dependency: transitive description: diff --git a/gallery/gallery/pubspec.yaml b/gallery/gallery/pubspec.yaml index 496683d51..eecc247a7 100644 --- a/gallery/gallery/pubspec.yaml +++ b/gallery/gallery/pubspec.yaml @@ -14,7 +14,6 @@ dependencies: intl: intl_translation: flutter_localized_locales: - duration: cupertino_icons: ^0.1.2 rally_assets: 1.0.0 meta: