File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
packages/flutter_localizations Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -21688,7 +21688,7 @@ class MaterialLocalizationIt extends GlobalMaterialLocalizations {
21688
21688
String get cutButtonLabel => 'Taglia';
21689
21689
21690
21690
@override
21691
- String get dateHelpText => 'mm/gg /aaaa';
21691
+ String get dateHelpText => 'gg/mm /aaaa';
21692
21692
21693
21693
@override
21694
21694
String get dateInputLabel => 'Inserisci data';
Original file line number Diff line number Diff line change 56
56
"refreshIndicatorSemanticLabel": "Aggiorna",
57
57
"moreButtonTooltip": "Altro",
58
58
"dateSeparator": "/",
59
- "dateHelpText": "mm/gg /aaaa",
59
+ "dateHelpText": "gg/mm /aaaa",
60
60
"selectYearSemanticsLabel": "Seleziona anno",
61
61
"unspecifiedDate": "Data",
62
62
"unspecifiedDateRange": "Intervallo di date",
Original file line number Diff line number Diff line change @@ -596,4 +596,15 @@ void main() {
596
596
expect (localizations.copyButtonLabel, '복사' );
597
597
expect (localizations.pasteButtonLabel, '붙여넣기' );
598
598
});
599
+
600
+ // Regression test for https://github.com/flutter/flutter/issues/156954
601
+ testWidgets ('Italian translation for dateHelpText' , (WidgetTester tester) async {
602
+ const Locale locale = Locale ('it' );
603
+ expect (GlobalCupertinoLocalizations .delegate.isSupported (locale), isTrue);
604
+ final MaterialLocalizations localizations = await GlobalMaterialLocalizations .delegate.load (
605
+ locale,
606
+ );
607
+ expect (localizations, isA <MaterialLocalizationIt >());
608
+ expect (localizations.dateHelpText, 'gg/mm/aaaa' );
609
+ });
599
610
}
You can’t perform that action at this time.
0 commit comments