Unverified Commit 61a04b15 authored by Shi-Hao Hong's avatar Shi-Hao Hong Committed by GitHub

Fix and address Inconsistencies with Pashto support (#60600)

* Normalize Pashto incomplete translations

* Add comment to README.md about incomplete Pashto support
parent a9ea825a
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
// entries that are included in the English arb files. This is useful when // entries that are included in the English arb files. This is useful when
// adding new resources for localization. You can just add the appropriate // adding new resources for localization. You can just add the appropriate
// entries to the English arb file and then run this script. It will then check // entries to the English arb file and then run this script. It will then check
// all of the other language locale arb files and update them with new 'TBD' // all of the other language locale arb files and update them with the English
// entries for any missing resources. These will be picked up by the localization // source for any missing resources. These will be picked up by the localization
// team and then translated. // team and then translated.
// //
// ## Usage // ## Usage
......
...@@ -199,6 +199,18 @@ dev/tools/localization/bin/encode_kn_arb_files.dart. The localizations code ...@@ -199,6 +199,18 @@ dev/tools/localization/bin/encode_kn_arb_files.dart. The localizations code
generator uses generateEncodedString() generator uses generateEncodedString()
from dev/tools/localization/localizations_utils.dart. from dev/tools/localization/localizations_utils.dart.
### Support for Pashto (ps) translations
When Flutter first set up i18n for the Material library, Pashto (ps)
translations were included for the first set of Material widgets.
However, Pashto was never set up to be continuously maintained in
Flutter by Google, so material_ps.arb was never updated beyond the
initial commit.
To prevent breaking applications that rely on these original Pashto
translations, they will be kept. However, all new strings will have
the English translation until support for Pashto is provided.
See https://github.com/flutter/flutter/issues/60598.
### Translations Status, Reporting Errors ### Translations Status, Reporting Errors
......
...@@ -19563,7 +19563,7 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations { ...@@ -19563,7 +19563,7 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations {
String get closeButtonTooltip => 'بنده'; String get closeButtonTooltip => 'بنده';
@override @override
String get collapsedIconTapHint => 'TBD'; String get collapsedIconTapHint => 'Expand';
@override @override
String get continueButtonLabel => 'منځپانګې'; String get continueButtonLabel => 'منځپانګې';
...@@ -19617,7 +19617,7 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations { ...@@ -19617,7 +19617,7 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations {
String get drawerLabel => 'د نیویگیشن مینو'; String get drawerLabel => 'د نیویگیشن مینو';
@override @override
String get expandedIconTapHint => 'TBD'; String get expandedIconTapHint => 'Collapse';
@override @override
String get hideAccountsLabel => 'حسابونه پټ کړئ'; String get hideAccountsLabel => 'حسابونه پټ کړئ';
...@@ -19653,7 +19653,7 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations { ...@@ -19653,7 +19653,7 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations {
String get modalBarrierDismissLabel => 'رد کړه'; String get modalBarrierDismissLabel => 'رد کړه';
@override @override
String get moreButtonTooltip => 'TBD'; String get moreButtonTooltip => 'More';
@override @override
String get nextMonthTooltip => 'بله میاشت'; String get nextMonthTooltip => 'بله میاشت';
...@@ -19689,7 +19689,7 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations { ...@@ -19689,7 +19689,7 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations {
String get previousPageTooltip => 'مخکینی مخ'; String get previousPageTooltip => 'مخکینی مخ';
@override @override
String get refreshIndicatorSemanticLabel => 'TBD'; String get refreshIndicatorSemanticLabel => 'Refresh';
@override @override
String get remainingTextFieldCharacterCountFew => null; String get remainingTextFieldCharacterCountFew => null;
...@@ -19698,34 +19698,34 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations { ...@@ -19698,34 +19698,34 @@ class MaterialLocalizationPs extends GlobalMaterialLocalizations {
String get remainingTextFieldCharacterCountMany => null; String get remainingTextFieldCharacterCountMany => null;
@override @override
String get remainingTextFieldCharacterCountOne => 'TBD'; String get remainingTextFieldCharacterCountOne => '1 character remaining';
@override @override
String get remainingTextFieldCharacterCountOther => 'TBD'; String get remainingTextFieldCharacterCountOther => '\$remainingCount characters remaining';
@override @override
String get remainingTextFieldCharacterCountTwo => null; String get remainingTextFieldCharacterCountTwo => null;
@override @override
String get remainingTextFieldCharacterCountZero => 'TBD'; String get remainingTextFieldCharacterCountZero => 'No characters remaining';
@override @override
String get reorderItemDown => 'TBD'; String get reorderItemDown => 'Move down';
@override @override
String get reorderItemLeft => 'TBD'; String get reorderItemLeft => 'Move left';
@override @override
String get reorderItemRight => 'TBD'; String get reorderItemRight => 'Move right';
@override @override
String get reorderItemToEnd => 'TBD'; String get reorderItemToEnd => 'Move to the end';
@override @override
String get reorderItemToStart => 'TBD'; String get reorderItemToStart => 'Move to the start';
@override @override
String get reorderItemUp => 'TBD'; String get reorderItemUp => 'Move up';
@override @override
String get rowsPerPageTitle => 'د هرې پاڼې پاڼې:'; String get rowsPerPageTitle => 'د هرې پاڼې پاڼې:';
......
...@@ -39,19 +39,19 @@ ...@@ -39,19 +39,19 @@
"dialogLabel": "خبرې اترې", "dialogLabel": "خبرې اترې",
"alertDialogLabel": "خبرتیا", "alertDialogLabel": "خبرتیا",
"searchFieldLabel": "لټون", "searchFieldLabel": "لټون",
"reorderItemToStart": "TBD", "moreButtonTooltip": "More",
"reorderItemToEnd": "TBD", "reorderItemToStart": "Move to the start",
"reorderItemUp": "TBD", "reorderItemToEnd": "Move to the end",
"reorderItemDown": "TBD", "reorderItemUp": "Move up",
"reorderItemLeft": "TBD", "reorderItemDown": "Move down",
"reorderItemRight": "TBD", "reorderItemLeft": "Move left",
"expandedIconTapHint": "TBD", "reorderItemRight": "Move right",
"collapsedIconTapHint": "TBD", "expandedIconTapHint": "Collapse",
"remainingTextFieldCharacterCountZero": "TBD", "collapsedIconTapHint": "Expand",
"remainingTextFieldCharacterCountOne": "TBD", "remainingTextFieldCharacterCountZero": "No characters remaining",
"remainingTextFieldCharacterCountOther": "TBD", "remainingTextFieldCharacterCountOne": "1 character remaining",
"refreshIndicatorSemanticLabel": "TBD", "remainingTextFieldCharacterCountOther": "$remainingCount characters remaining",
"moreButtonTooltip": "TBD", "refreshIndicatorSemanticLabel": "Refresh",
"dateSeparator": "/", "dateSeparator": "/",
"dateHelpText": "mm/dd/yyyy", "dateHelpText": "mm/dd/yyyy",
"selectYearSemanticsLabel": "Select year", "selectYearSemanticsLabel": "Select year",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment