Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"copyButtonLabel": "Kopioi",
"pasteButtonLabel": "Liitä",
"selectAllButtonLabel": "Valitse kaikki",
"tabSemanticsLabel": "Välilehti $tabIndex/$tabCount",
"tabSemanticsLabel": "Välilehti $tabIndex kautta $tabCount",
"modalBarrierDismissLabel": "Ohita",
"searchTextFieldPlaceholderLabel": "Hae",
"noSpellCheckReplacementsLabel": "No Replacements Found"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3983,7 +3983,7 @@ class CupertinoLocalizationFi extends GlobalCupertinoLocalizations {
String get selectAllButtonLabel => 'Valitse kaikki';

@override
String get tabSemanticsLabelRaw => r'Välilehti $tabIndex/$tabCount';
String get tabSemanticsLabelRaw => r'Välilehti $tabIndex kautta $tabCount';

@override
String? get timerPickerHourLabelFew => null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14206,7 +14206,7 @@ class MaterialLocalizationFi extends GlobalMaterialLocalizations {
String get signedInLabel => 'Kirjautunut sisään';

@override
String get tabLabelRaw => r'Välilehti $tabIndex/$tabCount';
String get tabLabelRaw => r'Välilehti $tabIndex kautta $tabCount';

@override
TimeOfDayFormat get timeOfDayFormatRaw => TimeOfDayFormat.HH_dot_mm;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"pageRowsInfoTitle": "$firstRow–$lastRow/$rowCount",
"pageRowsInfoTitleApproximate": "$firstRow–$lastRow/~$rowCount",
"rowsPerPageTitle": "Riviä/sivu:",
"tabLabel": "Välilehti $tabIndex/$tabCount",
"tabLabel": "Välilehti $tabIndex kautta $tabCount",
"selectedRowCountTitleOne": "1 kohde valittu",
"selectedRowCountTitleOther": "$selectedRowCount kohdetta valittu",
"cancelButtonLabel": "Peru",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,13 @@ void main() {
expect(file.readAsStringSync(), encodedArbFile);
}
});

// Regression test for https://github.com/flutter/flutter/issues/110451.
testWidgets('Finnish translation for tab label', (WidgetTester tester) async {
const Locale locale = Locale('fi');
expect(GlobalCupertinoLocalizations.delegate.isSupported(locale), isTrue);
final CupertinoLocalizations localizations = await GlobalCupertinoLocalizations.delegate.load(locale);
expect(localizations, isA<CupertinoLocalizationFi>());
expect(localizations.tabSemanticsLabel(tabIndex: 1, tabCount: 2), 'Välilehti 1 kautta 2');
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -528,4 +528,13 @@ void main() {
expect(file.readAsStringSync(), encodedArbFile);
}
});

// Regression test for https://github.com/flutter/flutter/issues/110451.
testWidgets('Finnish translation for tab label', (WidgetTester tester) async {
const Locale locale = Locale('fi');
expect(GlobalCupertinoLocalizations.delegate.isSupported(locale), isTrue);
final MaterialLocalizations localizations = await GlobalMaterialLocalizations.delegate.load(locale);
expect(localizations, isA<MaterialLocalizationFi>());
expect(localizations.tabLabel(tabIndex: 1, tabCount: 2), 'Välilehti 1 kautta 2');
});
}