From 70f2ca19654e46cfe2ed2051eb64711aeb238a33 Mon Sep 17 00:00:00 2001 From: Qun Cheng <36861262+QuncCccccc@users.noreply.github.com> Date: Tue, 8 Jul 2025 10:59:08 -0700 Subject: [PATCH] Update translation from console (#171556) Regular import of latest translations. Some .arb files(cupertino_ko.arb, and material_it.arb) are overwritten again and will cause translation issues. See comment [here](https://github.com/flutter/flutter/pull/166496#issuecomment-2773987516). I manually reverted them back. This PR doesn't run the date_localization script because seems the script also relies on the [intl package](https://pub.dev/packages/intl). A bunch of scuba failures come from the change of that packages. TODO: upstream issues should be fixed (see [comment](https://github.com/flutter/flutter/pull/166496#issuecomment-2773987516)). Update date localization. ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [ ] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. --- .../lib/src/l10n/cupertino_kn.arb | 2 +- .../lib/src/l10n/cupertino_zh_TW.arb | 2 +- .../src/l10n/generated_cupertino_localizations.dart | 4 ++-- .../src/l10n/generated_material_localizations.dart | 12 ++++++------ .../lib/src/l10n/material_cs.arb | 2 +- .../lib/src/l10n/material_fa.arb | 2 +- .../lib/src/l10n/material_kn.arb | 2 +- .../lib/src/l10n/material_sv.arb | 4 ++-- .../lib/src/l10n/material_zh_TW.arb | 2 +- .../test/material/translations_test.dart | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/flutter_localizations/lib/src/l10n/cupertino_kn.arb b/packages/flutter_localizations/lib/src/l10n/cupertino_kn.arb index b3dcdd615c7..1b604aecc04 100644 --- a/packages/flutter_localizations/lib/src/l10n/cupertino_kn.arb +++ b/packages/flutter_localizations/lib/src/l10n/cupertino_kn.arb @@ -16,7 +16,7 @@ "timerPickerSecondLabelOne": "\u0cb8\u0cc6\u002e", "timerPickerSecondLabelOther": "\u0cb8\u0cc6\u002e", "cutButtonLabel": "\u0c95\u0ca4\u0ccd\u0ca4\u0cb0\u0cbf\u0cb8\u0cbf", - "copyButtonLabel": "\u0ca8\u0c95\u0cb2\u0cbf\u0cb8\u0cbf", + "copyButtonLabel": "\u0c95\u0cbe\u0caa\u0cbf\u0020\u0cae\u0cbe\u0ca1\u0cbf", "pasteButtonLabel": "\u0c85\u0c82\u0c9f\u0cbf\u0cb8\u0cbf", "selectAllButtonLabel": "\u0c8e\u0cb2\u0ccd\u0cb2\u0cb5\u0ca8\u0ccd\u0ca8\u0cc2\u0020\u0c86\u0caf\u0ccd\u0c95\u0cc6\u0cae\u0cbe\u0ca1\u0cbf", "modalBarrierDismissLabel": "\u0cb5\u0c9c\u0cbe\u0c97\u0cca\u0cb3\u0cbf\u0cb8\u0cbf", diff --git a/packages/flutter_localizations/lib/src/l10n/cupertino_zh_TW.arb b/packages/flutter_localizations/lib/src/l10n/cupertino_zh_TW.arb index 9b3cfd9f56e..08e9eab14e4 100644 --- a/packages/flutter_localizations/lib/src/l10n/cupertino_zh_TW.arb +++ b/packages/flutter_localizations/lib/src/l10n/cupertino_zh_TW.arb @@ -18,7 +18,7 @@ "anteMeridiemAbbreviation": "上午", "postMeridiemAbbreviation": "下午", "todayLabel": "今天", - "alertDialogLabel": "快訊", + "alertDialogLabel": "警告", "timerPickerHourLabelOne": "小時", "timerPickerHourLabelOther": "小時", "timerPickerMinuteLabelOne": "分", diff --git a/packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart b/packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart index 7ef77484253..2a83c598490 100644 --- a/packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart +++ b/packages/flutter_localizations/lib/src/l10n/generated_cupertino_localizations.dart @@ -8173,7 +8173,7 @@ class CupertinoLocalizationKn extends GlobalCupertinoLocalizations { String get clearButtonLabel => '\u{ca4}\u{cc6}\u{cb0}\u{cb5}\u{cc1}\u{c97}\u{cca}\u{cb3}\u{cbf}\u{cb8}\u{cbf}'; @override - String get copyButtonLabel => '\u{ca8}\u{c95}\u{cb2}\u{cbf}\u{cb8}\u{cbf}'; + String get copyButtonLabel => '\u{c95}\u{cbe}\u{caa}\u{cbf}\u{20}\u{cae}\u{cbe}\u{ca1}\u{cbf}'; @override String get cutButtonLabel => '\u{c95}\u{ca4}\u{ccd}\u{ca4}\u{cb0}\u{cbf}\u{cb8}\u{cbf}'; @@ -15371,7 +15371,7 @@ class CupertinoLocalizationZhHantTw extends CupertinoLocalizationZhHant { String get datePickerDateTimeOrderString => 'date_time_dayPeriod'; @override - String get alertDialogLabel => '快訊'; + String get alertDialogLabel => '警告'; @override String? get timerPickerMinuteLabelOne => '分'; diff --git a/packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart b/packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart index 10bf0701f61..e3d4b6820b2 100644 --- a/packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart +++ b/packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart @@ -5510,7 +5510,7 @@ class MaterialLocalizationCs extends GlobalMaterialLocalizations { String get backButtonTooltip => 'Zpět'; @override - String get bottomSheetLabel => 'Spodní tabulka'; + String get bottomSheetLabel => 'Spodní panel'; @override String get calendarModeButtonLabel => 'Přepnout na kalendář'; @@ -14620,7 +14620,7 @@ class MaterialLocalizationFa extends GlobalMaterialLocalizations { String get deleteButtonTooltip => 'حذف'; @override - String get dialModeButtonLabel => 'رفتن به حالت انتخابگر صفحه ساعت'; + String get dialModeButtonLabel => 'رفتن به حالت انتخاب‌گر صفحه ساعت'; @override String get dialogLabel => 'کادر گفتگو'; @@ -24655,7 +24655,7 @@ class MaterialLocalizationKn extends GlobalMaterialLocalizations { String get continueButtonLabel => '\u{cae}\u{cc1}\u{c82}\u{ca6}\u{cc1}\u{cb5}\u{cb0}\u{cbf}\u{cb8}\u{cbf}'; @override - String get copyButtonLabel => '\u{ca8}\u{c95}\u{cb2}\u{cbf}\u{cb8}\u{cbf}'; + String get copyButtonLabel => '\u{c95}\u{cbe}\u{caa}\u{cbf}\u{20}\u{cae}\u{cbe}\u{ca1}\u{cbf}'; @override String get currentDateLabel => '\u{c87}\u{c82}\u{ca6}\u{cc1}'; @@ -39134,13 +39134,13 @@ class MaterialLocalizationSv extends GlobalMaterialLocalizations { String get expandedIconTapHint => 'Dölj'; @override - String get expansionTileCollapsedHint => 'tryck snabbt två gånger för att utöka'; + String get expansionTileCollapsedHint => 'dubbeltryck för att utöka'; @override String get expansionTileCollapsedTapHint => 'Utöka för mer information'; @override - String get expansionTileExpandedHint => 'tryck snabbt två gånger för att komprimera'; + String get expansionTileExpandedHint => 'dubbeltryck för att komprimera'; @override String get expansionTileExpandedTapHint => 'Komprimera'; @@ -45993,7 +45993,7 @@ class MaterialLocalizationZhHantTw extends MaterialLocalizationZhHant { String get timePickerMinuteModeAnnouncement => '選取分鐘數'; @override - String get alertDialogLabel => '快訊'; + String get alertDialogLabel => '警告'; @override String get reorderItemToStart => '移至開頭'; diff --git a/packages/flutter_localizations/lib/src/l10n/material_cs.arb b/packages/flutter_localizations/lib/src/l10n/material_cs.arb index 4a97f74bc89..fbb0a653bc8 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_cs.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_cs.arb @@ -138,7 +138,7 @@ "menuBarMenuLabel": "Nabídka na liště s nabídkou", "currentDateLabel": "Dnes", "scrimLabel": "Scrim", - "bottomSheetLabel": "Spodní tabulka", + "bottomSheetLabel": "Spodní panel", "scrimOnTapHint": "Zavřít $modalRouteContentName", "keyboardKeyShift": "Shift", "expansionTileExpandedHint": "dvojitým klepnutím sbalíte", diff --git a/packages/flutter_localizations/lib/src/l10n/material_fa.arb b/packages/flutter_localizations/lib/src/l10n/material_fa.arb index 84d4d396e71..4e3ccaadb11 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_fa.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_fa.arb @@ -78,7 +78,7 @@ "timePickerHourLabel": "ساعت", "timePickerMinuteLabel": "دقیقه", "invalidTimeLabel": "زمان معتبری وارد کنید", - "dialModeButtonLabel": "رفتن به حالت انتخابگر صفحه ساعت", + "dialModeButtonLabel": "رفتن به حالت انتخاب‌گر صفحه ساعت", "inputTimeModeButtonLabel": "رفتن به حالت ورودی نوشتاری", "licensesPackageDetailTextZero": "No licenses", "licensesPackageDetailTextOne": "۱ پروانه", diff --git a/packages/flutter_localizations/lib/src/l10n/material_kn.arb b/packages/flutter_localizations/lib/src/l10n/material_kn.arb index 9f743e6d378..c25a906815f 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_kn.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_kn.arb @@ -23,7 +23,7 @@ "cancelButtonLabel": "\u0cb0\u0ca6\u0ccd\u0ca6\u0cc1\u0cae\u0cbe\u0ca1\u0cbf", "closeButtonLabel": "\u0cae\u0cc1\u0c9a\u0ccd\u0c9a\u0cbf\u0cb0\u0cbf", "continueButtonLabel": "\u0cae\u0cc1\u0c82\u0ca6\u0cc1\u0cb5\u0cb0\u0cbf\u0cb8\u0cbf", - "copyButtonLabel": "\u0ca8\u0c95\u0cb2\u0cbf\u0cb8\u0cbf", + "copyButtonLabel": "\u0c95\u0cbe\u0caa\u0cbf\u0020\u0cae\u0cbe\u0ca1\u0cbf", "cutButtonLabel": "\u0c95\u0ca4\u0ccd\u0ca4\u0cb0\u0cbf\u0cb8\u0cbf", "scanTextButtonLabel": "\u0caa\u0ca0\u0ccd\u0caf\u0cb5\u0ca8\u0ccd\u0ca8\u0cc1\u0020\u0cb8\u0ccd\u0c95\u0ccd\u0caf\u0cbe\u0ca8\u0ccd\u0020\u0cae\u0cbe\u0ca1\u0cbf", "okButtonLabel": "\u0cb8\u0cb0\u0cbf", diff --git a/packages/flutter_localizations/lib/src/l10n/material_sv.arb b/packages/flutter_localizations/lib/src/l10n/material_sv.arb index 9a3125187be..8e0b641e165 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_sv.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_sv.arb @@ -135,8 +135,8 @@ "bottomSheetLabel": "Ark på nedre delen av skärmen", "scrimOnTapHint": "Stäng $modalRouteContentName", "keyboardKeyShift": "Skift", - "expansionTileExpandedHint": "tryck snabbt två gånger för att komprimera", - "expansionTileCollapsedHint": "tryck snabbt två gånger för att utöka", + "expansionTileExpandedHint": "dubbeltryck för att komprimera", + "expansionTileCollapsedHint": "dubbeltryck för att utöka", "expansionTileExpandedTapHint": "Komprimera", "expansionTileCollapsedTapHint": "Utöka för mer information", "expandedHint": "Komprimerades", diff --git a/packages/flutter_localizations/lib/src/l10n/material_zh_TW.arb b/packages/flutter_localizations/lib/src/l10n/material_zh_TW.arb index 6c3c96494bb..64caddbffd3 100644 --- a/packages/flutter_localizations/lib/src/l10n/material_zh_TW.arb +++ b/packages/flutter_localizations/lib/src/l10n/material_zh_TW.arb @@ -133,7 +133,7 @@ "drawerLabel": "導覽選單", "popupMenuLabel": "彈出式選單", "dialogLabel": "對話方塊", - "alertDialogLabel": "快訊", + "alertDialogLabel": "警告", "searchFieldLabel": "搜尋", "reorderItemToStart": "移至開頭", "reorderItemToEnd": "移至結尾", diff --git a/packages/flutter_localizations/test/material/translations_test.dart b/packages/flutter_localizations/test/material/translations_test.dart index 3c7358f01c8..901451c1bb3 100644 --- a/packages/flutter_localizations/test/material/translations_test.dart +++ b/packages/flutter_localizations/test/material/translations_test.dart @@ -508,7 +508,7 @@ void main() { expect(GlobalMaterialLocalizations.delegate.isSupported(locale), isTrue); localizations = await GlobalMaterialLocalizations.delegate.load(locale); expect(localizations, isA()); - expect(localizations.alertDialogLabel, '快訊'); + expect(localizations.alertDialogLabel, '警告'); expect(localizations.anteMeridiemAbbreviation, '上午'); expect(localizations.closeButtonLabel, '關閉'); expect(localizations.okButtonLabel, '確定');