Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit e3b851a

Browse files
authored
Fix Tamil DateTime representation of AM/PM (#108185)
* init * testS * init * accidentally committed wrong file
1 parent e74b9b5 commit e3b851a

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

packages/flutter_localizations/lib/src/l10n/cupertino_ta.arb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"datePickerMinuteSemanticsLabelOther": "$minute நிமிடங்கள்",
66
"datePickerDateOrder": "dmy",
77
"datePickerDateTimeOrder": "date_time_dayPeriod",
8-
"anteMeridiemAbbreviation": "AM",
9-
"postMeridiemAbbreviation": "PM",
8+
"anteMeridiemAbbreviation": "முற்பகல்",
9+
"postMeridiemAbbreviation": "பிற்பகல்",
1010
"todayLabel": "இன்று",
1111
"alertDialogLabel": "விழிப்பூட்டல்",
1212
"timerPickerHourLabelOne": "மணிநேரம்",

packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10811,7 +10811,7 @@ class CupertinoLocalizationTa extends GlobalCupertinoLocalizations {
1081110811
String get alertDialogLabel => 'விழிப்பூட்டல்';
1081210812

1081310813
@override
10814-
String get anteMeridiemAbbreviation => 'AM';
10814+
String get anteMeridiemAbbreviation => 'முற்பகல்';
1081510815

1081610816
@override
1081710817
String get copyButtonLabel => 'நகலெடு';
@@ -10868,7 +10868,7 @@ class CupertinoLocalizationTa extends GlobalCupertinoLocalizations {
1086810868
String get pasteButtonLabel => 'ஒட்டு';
1086910869

1087010870
@override
10871-
String get postMeridiemAbbreviation => 'PM';
10871+
String get postMeridiemAbbreviation => 'பிற்பகல்';
1087210872

1087310873
@override
1087410874
String get searchTextFieldPlaceholderLabel => 'தேடுக';

packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34141,7 +34141,7 @@ class MaterialLocalizationTa extends GlobalMaterialLocalizations {
3414134141
String get alertDialogLabel => 'விழிப்பூட்டல்';
3414234142

3414334143
@override
34144-
String get anteMeridiemAbbreviation => 'AM';
34144+
String get anteMeridiemAbbreviation => 'முற்பகல்';
3414534145

3414634146
@override
3414734147
String get backButtonTooltip => 'முந்தைய பக்கம்';
@@ -34432,7 +34432,7 @@ class MaterialLocalizationTa extends GlobalMaterialLocalizations {
3443234432
String get popupMenuLabel => 'பாப்-அப் மெனு';
3443334433

3443434434
@override
34435-
String get postMeridiemAbbreviation => 'PM';
34435+
String get postMeridiemAbbreviation => 'பிற்பகல்';
3443634436

3443734437
@override
3443834438
String get previousMonthTooltip => 'முந்தைய மாதம்';

packages/flutter_localizations/lib/src/l10n/material_ta.arb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"selectedRowCountTitleOther": "$selectedRowCount வரிசைகள் தேர்ந்தெடுக்கப்பட்டன",
4040
"cancelButtonLabel": "ரத்துசெய்",
4141
"viewLicensesButtonLabel": "உரிமங்களைக் காட்டு",
42-
"anteMeridiemAbbreviation": "AM",
43-
"postMeridiemAbbreviation": "PM",
42+
"anteMeridiemAbbreviation": "முற்பகல்",
43+
"postMeridiemAbbreviation": "பிற்பகல்",
4444
"timePickerHourModeAnnouncement": "மணிநேரத்தைத் தேர்ந்தெடுக்கவும்",
4545
"timePickerMinuteModeAnnouncement": "நிமிடங்களைத் தேர்ந்தெடுக்கவும்",
4646
"modalBarrierDismissLabel": "நிராகரிக்கும்",

packages/flutter_localizations/test/material/date_time_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ void main() {
113113

114114
testWidgets('formats ${TimeOfDayFormat.a_space_h_colon_mm}', (WidgetTester tester) async {
115115
expect(await formatTimeOfDay(tester, const Locale('zh'), const TimeOfDay(hour: 9, minute: 32)), '上午 9:32');
116+
expect(await formatTimeOfDay(tester, const Locale('ta'), const TimeOfDay(hour: 9, minute: 32)), 'முற்பகல் 9:32');
116117
});
117118
});
118119

0 commit comments

Comments
 (0)