From 8521d6334f746c8a040e08dfca90fa2e45a02139 Mon Sep 17 00:00:00 2001 From: Hans Muller <hansmuller@chromium.org> Date: Tue, 16 Oct 2018 14:57:37 -0700 Subject: [PATCH] Updated Khmer and Turkish translations (#23165) --- .../lib/src/l10n/localizations.dart | 64 +++++++++---------- .../lib/src/l10n/material_km.arb | 62 +++++++++--------- .../lib/src/l10n/material_tr.arb | 2 +- .../test/translations_test.dart | 16 ++--- 4 files changed, 69 insertions(+), 75 deletions(-) diff --git a/packages/flutter_localizations/lib/src/l10n/localizations.dart b/packages/flutter_localizations/lib/src/l10n/localizations.dart index ff3ea4fd83..643b9b0f7d 100644 --- a/packages/flutter_localizations/lib/src/l10n/localizations.dart +++ b/packages/flutter_localizations/lib/src/l10n/localizations.dart @@ -6654,7 +6654,7 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get aboutListTileTitleRaw => r'អំពី $applicationName'; @override - String get alertDialogLabel => r'ការជូនដំណឹង'; + String get alertDialogLabel => r'ជូនដំណឹង'; @override String get anteMeridiemAbbreviation => r'AM'; @@ -6672,7 +6672,7 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get closeButtonTooltip => r'បិទ'; @override - String get collapsedIconTapHint => r'TBD'; + String get collapsedIconTapHint => r'ពង្រីក'; @override String get continueButtonLabel => r'បន្áž'; @@ -6684,7 +6684,7 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get cutButtonLabel => r'កាážáŸ‹'; @override - String get deleteButtonTooltip => r'យកចáŸáž‰'; + String get deleteButtonTooltip => r'លុប'; @override String get dialogLabel => r'ប្រអប់'; @@ -6693,19 +6693,19 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get drawerLabel => r'ម៉ឺនុយរុករក'; @override - String get expandedIconTapHint => r'TBD'; + String get expandedIconTapHint => r'បង្រួម'; @override String get hideAccountsLabel => r'លាក់គណនី'; @override - String get licensesPageTitle => r'អាជ្ញាបáŸážŽáŸ’ណ'; + String get licensesPageTitle => r'អាជ្ញាបណ្ណ'; @override - String get modalBarrierDismissLabel => r'បិទ'; + String get modalBarrierDismissLabel => r'ច្រាន​ចោល'; @override - String get nextMonthTooltip => r'ážáŸ‚ក្រោយ'; + String get nextMonthTooltip => r'ážáŸ‚​​ក្រោយ'; @override String get nextPageTooltip => r'ទំពáŸážšáž”ន្ទាប់'; @@ -6714,25 +6714,25 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get okButtonLabel => r'យល់ព្រម'; @override - String get openAppDrawerTooltip => r'បើកម៉ឺនុយរុករក'; + String get openAppDrawerTooltip => r'បើក​ម៉ឺនុយរុករក'; @override - String get pageRowsInfoTitleRaw => r'$firstRow-$lastRow ពី $rowCount'; + String get pageRowsInfoTitleRaw => r'$firstRow–$lastRow ក្នុង​ចំណោម​ $rowCount'; @override - String get pageRowsInfoTitleApproximateRaw => r'$firstRow–$lastRow ពីប្រហែល $rowCount'; + String get pageRowsInfoTitleApproximateRaw => r'$firstRow–$lastRow ក្នុង​ចំណោម​ប្រហែល $rowCount'; @override - String get pasteButtonLabel => r'ដាក់'; + String get pasteButtonLabel => r'ដាក់​ចូល'; @override - String get popupMenuLabel => r'ម៉ឺនុយលáŸáž…ឡើង'; + String get popupMenuLabel => r'​ម៉ឺនុយ​លោážâ€‹áž¡áž¾áž„'; @override String get postMeridiemAbbreviation => r'PM'; @override - String get previousMonthTooltip => r'កាលពីážáŸ‚មុន'; + String get previousMonthTooltip => r'ážáŸ‚មុន'; @override String get previousPageTooltip => r'ទំពáŸážšáž˜áž»áž“'; @@ -6744,10 +6744,10 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get remainingTextFieldCharacterCountMany => null; @override - String get remainingTextFieldCharacterCountOne => r'TBD'; + String get remainingTextFieldCharacterCountOne => r'នៅសល់​ 1 ážáž½â€‹áž‘ៀáž'; @override - String get remainingTextFieldCharacterCountOther => r'TBD'; + String get remainingTextFieldCharacterCountOther => r'នៅសល់ $remainingCount ážáž½â€‹áž‘ៀáž'; @override String get remainingTextFieldCharacterCountTwo => null; @@ -6756,25 +6756,25 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get remainingTextFieldCharacterCountZero => r'TBD'; @override - String get reorderItemDown => r'TBD'; + String get reorderItemDown => r'ផ្លាស់ទី​ចុះ​ក្រោម'; @override - String get reorderItemLeft => r'TBD'; + String get reorderItemLeft => r'ផ្លាស់ទី​ទៅ​ឆ្វáŸáž„'; @override - String get reorderItemRight => r'TBD'; + String get reorderItemRight => r'ផ្លាស់ទីទៅ​ស្ážáž¶áŸ†'; @override - String get reorderItemToEnd => r'TBD'; + String get reorderItemToEnd => r'ផ្លាស់ទីទៅ​ចំណុចបញ្ចប់'; @override - String get reorderItemToStart => r'TBD'; + String get reorderItemToStart => r'ផ្លាស់ទីទៅ​ចំណុច​ចាប់ផ្ដើម'; @override - String get reorderItemUp => r'TBD'; + String get reorderItemUp => r'ផ្លាស់ទី​ឡើង​លើ'; @override - String get rowsPerPageTitle => r'ជួរមុáž:'; + String get rowsPerPageTitle => r'ជួរ​ដáŸáž€â€‹áž€áŸ’នុង​មួយ​ទំពáŸážšáŸ–'; @override ScriptCategory get scriptCategory => ScriptCategory.dense; @@ -6783,7 +6783,7 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get searchFieldLabel => r'ស្វែងរក'; @override - String get selectAllButtonLabel => r'ជ្រើសទាំងអស់'; + String get selectAllButtonLabel => r'ជ្រើសរើស​ទាំង​អស់'; @override String get selectedRowCountTitleFew => null; @@ -6792,10 +6792,10 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get selectedRowCountTitleMany => null; @override - String get selectedRowCountTitleOne => r'បានជ្រើស 1 ធាážáž»'; + String get selectedRowCountTitleOne => r'បាន​ជ្រើស​រើស​ធាážáž» 1'; @override - String get selectedRowCountTitleOther => r'បានជ្រើស $selectedRowCount ធាážáž»'; + String get selectedRowCountTitleOther => r'បាន​ជ្រើស​រើស​ធាážáž» $selectedRowCount'; @override String get selectedRowCountTitleTwo => null; @@ -6807,25 +6807,25 @@ class MaterialLocalizationKm extends GlobalMaterialLocalizations { String get showAccountsLabel => r'បង្ហាញគណនី'; @override - String get showMenuTooltip => r'បង្ហាញម៉ឺនុយ'; + String get showMenuTooltip => r'បង្ហាញ​ម៉ឺនុយ'; @override - String get signedInLabel => r'ចូល'; + String get signedInLabel => r'បានចូល​គណនី'; @override - String get tabLabelRaw => r'ážáŸáž” $tabIndex ពី $tabCount'; + String get tabLabelRaw => r'ផ្ទាំង $tabIndex ក្នុង​ចំណោម​ $tabCount'; @override TimeOfDayFormat get timeOfDayFormatRaw => TimeOfDayFormat.h_colon_mm_space_a; @override - String get timePickerHourModeAnnouncement => r'ជ្រើសរើសមួយម៉ោង'; + String get timePickerHourModeAnnouncement => r'ជ្រើសរើស​ម៉ោង'; @override - String get timePickerMinuteModeAnnouncement => r'ជ្រើសនាទី'; + String get timePickerMinuteModeAnnouncement => r'ជ្រើសរើស​នាទី'; @override - String get viewLicensesButtonLabel => r'មើលអាជ្ញាបáŸážŽáŸ’ណ'; + String get viewLicensesButtonLabel => r'មើលអាជ្ញាបណ្ណ'; } /// The translations for Korean (`ko`). @@ -10704,7 +10704,7 @@ class MaterialLocalizationTr extends GlobalMaterialLocalizations { String get timePickerMinuteModeAnnouncement => r'Dakikayı seçin'; @override - String get viewLicensesButtonLabel => r'LÄ°SANLARI GÖSTER'; + String get viewLicensesButtonLabel => r'LÄ°SANSLARI GÖSTER'; } /// The translations for Ukrainian (`uk`). diff --git a/packages/flutter_localizations/lib/src/l10n/material_km.arb b/packages/flutter_localizations/lib/src/l10n/material_km.arb index 5ff8d4c386..65bc923b0d 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_km.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_km.arb @@ -1,54 +1,54 @@ { "scriptCategory": "dense", "timeOfDayFormat": "h:mm a", - "openAppDrawerTooltip": "បើកម៉ឺនុយរុករក", + "openAppDrawerTooltip": "បើក​ម៉ឺនុយរុករក", "backButtonTooltip": "ážáž™áž€áŸ’រោយ", "closeButtonTooltip": "បិទ", - "deleteButtonTooltip": "យកចáŸáž‰", - "nextMonthTooltip": "ážáŸ‚ក្រោយ", - "previousMonthTooltip": "កាលពីážáŸ‚មុន", + "deleteButtonTooltip": "លុប", + "nextMonthTooltip": "ážáŸ‚​​ក្រោយ", + "previousMonthTooltip": "ážáŸ‚មុន", "nextPageTooltip": "ទំពáŸážšáž”ន្ទាប់", "previousPageTooltip": "ទំពáŸážšáž˜áž»áž“", - "showMenuTooltip": "បង្ហាញម៉ឺនុយ", + "showMenuTooltip": "បង្ហាញ​ម៉ឺនុយ", "aboutListTileTitle": "អំពី $applicationName", - "licensesPageTitle": "អាជ្ញាបáŸážŽáŸ’ណ", - "pageRowsInfoTitle": "$firstRow-$lastRow ពី $rowCount", - "pageRowsInfoTitleApproximate": "$firstRow–$lastRow ពីប្រហែល $rowCount", - "rowsPerPageTitle": "ជួរមុáž:", - "tabLabel": "ážáŸáž” $tabIndex ពី $tabCount", - "selectedRowCountTitleOne": "បានជ្រើស 1 ធាážáž»", - "selectedRowCountTitleOther": "បានជ្រើស $selectedRowCount ធាážáž»", + "licensesPageTitle": "អាជ្ញាបណ្ណ", + "pageRowsInfoTitle": "$firstRow–$lastRow ក្នុង​ចំណោម​ $rowCount", + "pageRowsInfoTitleApproximate": "$firstRow–$lastRow ក្នុង​ចំណោម​ប្រហែល $rowCount", + "rowsPerPageTitle": "ជួរ​ដáŸáž€â€‹áž€áŸ’នុង​មួយ​ទំពáŸážšáŸ–", + "tabLabel": "ផ្ទាំង $tabIndex ក្នុង​ចំណោម​ $tabCount", + "selectedRowCountTitleOne": "បាន​ជ្រើស​រើស​ធាážáž» 1", + "selectedRowCountTitleOther": "បាន​ជ្រើស​រើស​ធាážáž» $selectedRowCount", "cancelButtonLabel": "បោះបង់", "closeButtonLabel": "បិទ", "continueButtonLabel": "បន្áž", "copyButtonLabel": "ចម្លង", "cutButtonLabel": "កាážáŸ‹", "okButtonLabel": "យល់ព្រម", - "pasteButtonLabel": "ដាក់", - "selectAllButtonLabel": "ជ្រើសទាំងអស់", - "viewLicensesButtonLabel": "មើលអាជ្ញាបáŸážŽáŸ’ណ", + "pasteButtonLabel": "ដាក់​ចូល", + "selectAllButtonLabel": "ជ្រើសរើស​ទាំង​អស់", + "viewLicensesButtonLabel": "មើលអាជ្ញាបណ្ណ", "anteMeridiemAbbreviation": "AM", "postMeridiemAbbreviation": "PM", - "timePickerHourModeAnnouncement": "ជ្រើសរើសមួយម៉ោង", - "timePickerMinuteModeAnnouncement": "ជ្រើសនាទី", - "signedInLabel": "ចូល", + "timePickerHourModeAnnouncement": "ជ្រើសរើស​ម៉ោង", + "timePickerMinuteModeAnnouncement": "ជ្រើសរើស​នាទី", + "signedInLabel": "បានចូល​គណនី", "hideAccountsLabel": "លាក់គណនី", "showAccountsLabel": "បង្ហាញគណនី", - "modalBarrierDismissLabel": "បិទ", + "modalBarrierDismissLabel": "ច្រាន​ចោល", "drawerLabel": "ម៉ឺនុយរុករក", - "popupMenuLabel": "ម៉ឺនុយលáŸáž…ឡើង", + "popupMenuLabel": "​ម៉ឺនុយ​លោážâ€‹áž¡áž¾áž„", "dialogLabel": "ប្រអប់", - "alertDialogLabel": "ការជូនដំណឹង", + "alertDialogLabel": "ជូនដំណឹង", "searchFieldLabel": "ស្វែងរក", - "reorderItemToStart": "TBD", - "reorderItemToEnd": "TBD", - "reorderItemUp": "TBD", - "reorderItemDown": "TBD", - "reorderItemLeft": "TBD", - "reorderItemRight": "TBD", - "expandedIconTapHint": "TBD", - "collapsedIconTapHint": "TBD", + "reorderItemToStart": "ផ្លាស់ទីទៅ​ចំណុច​ចាប់ផ្ដើម", + "reorderItemToEnd": "ផ្លាស់ទីទៅ​ចំណុចបញ្ចប់", + "reorderItemUp": "ផ្លាស់ទី​ឡើង​លើ", + "reorderItemDown": "ផ្លាស់ទី​ចុះ​ក្រោម", + "reorderItemLeft": "ផ្លាស់ទី​ទៅ​ឆ្វáŸáž„", + "reorderItemRight": "ផ្លាស់ទីទៅ​ស្ážáž¶áŸ†", + "expandedIconTapHint": "បង្រួម", + "collapsedIconTapHint": "ពង្រីក", "remainingTextFieldCharacterCountZero": "TBD", - "remainingTextFieldCharacterCountOne": "TBD", - "remainingTextFieldCharacterCountOther": "TBD" + "remainingTextFieldCharacterCountOne": "នៅសល់​ 1 ážáž½â€‹áž‘ៀáž", + "remainingTextFieldCharacterCountOther": "នៅសល់ $remainingCount ážáž½â€‹áž‘ៀáž" } diff --git a/packages/flutter_localizations/lib/src/l10n/material_tr.arb b/packages/flutter_localizations/lib/src/l10n/material_tr.arb index 242f4bc9f2..32cf8ba906 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_tr.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_tr.arb @@ -26,7 +26,7 @@ "okButtonLabel": "Tamam", "pasteButtonLabel": "YAPIÅžTIR", "selectAllButtonLabel": "TÃœMÃœNÃœ SEÇ", - "viewLicensesButtonLabel": "LÄ°SANLARI GÖSTER", + "viewLicensesButtonLabel": "LÄ°SANSLARI GÖSTER", "anteMeridiemAbbreviation": "ÖÖ", "postMeridiemAbbreviation": "ÖS", "timePickerHourModeAnnouncement": "Saati seçin", diff --git a/packages/flutter_localizations/test/translations_test.dart b/packages/flutter_localizations/test/translations_test.dart index dbbe8fa402..57275818ca 100644 --- a/packages/flutter_localizations/test/translations_test.dart +++ b/packages/flutter_localizations/test/translations_test.dart @@ -118,17 +118,11 @@ void main() { expect(localizations.selectedRowCountTitle(123456789), '123.456.789 de articole selectate'); localizations = await GlobalMaterialLocalizations.delegate.load(const Locale('km', '')); - expect(localizations.selectedRowCountTitle(0), 'បានជ្រើស 0 ធាážáž»'); - expect(localizations.selectedRowCountTitle(1), 'បានជ្រើស 1 ធាážáž»'); - expect(localizations.selectedRowCountTitle(2), 'បានជ្រើស 2 ធាážáž»'); - expect(localizations.selectedRowCountTitle(3), 'បានជ្រើស 3 ធាážáž»'); - expect(localizations.selectedRowCountTitle(5), 'បានជ្រើស 5 ធាážáž»'); - expect(localizations.selectedRowCountTitle(10), 'បានជ្រើស 10 ធាážáž»'); - expect(localizations.selectedRowCountTitle(15), 'បានជ្រើស 15 ធាážáž»'); - expect(localizations.selectedRowCountTitle(29), 'បានជ្រើស 29 ធាážáž»'); - expect(localizations.selectedRowCountTitle(10000), 'បានជ្រើស 10.000 ធាážáž»'); - expect(localizations.selectedRowCountTitle(10019), 'បានជ្រើស 10.019 ធាážáž»'); - expect(localizations.selectedRowCountTitle(123456789), 'បានជ្រើស 123.456.789 ធាážáž»'); + expect(localizations.selectedRowCountTitle(0), 'បាន​ជ្រើស​រើស​ធាážáž» 0'); + expect(localizations.selectedRowCountTitle(1), 'បាន​ជ្រើស​រើស​ធាážáž» 1'); + expect(localizations.selectedRowCountTitle(2), 'បាន​ជ្រើស​រើស​ធាážáž» 2'); + expect(localizations.selectedRowCountTitle(10000), 'បាន​ជ្រើស​រើស​ធាážáž» 10.000'); + expect(localizations.selectedRowCountTitle(123456789), 'បាន​ជ្រើស​រើស​ធាážáž» 123.456.789'); }); testWidgets('spot check formatMediumDate(), formatFullDate() translations', (WidgetTester tester) async { -- 2.21.0