Skip to content

Commit 9f5fd75

Browse files
authored
[framework] fix incorrect chinese localizations for Search Web and Share in selection controls (#144857)
Fixes flutter/flutter#144825 Corresponding translation suggestions: https://tc.corp.google.com/btviewer/edittranslation?project=Flutter&msgId=7417055026368500447&language=zh-TW (I accidentally pressed submit 3 times :( ) https://tc.corp.google.com/btviewer/edittranslation?project=Flutter&msgId=7417055026368500447&language=zh-HK https://tc.corp.google.com/btviewer/edittranslation?project=Flutter&msgId=7417055026368500447&language=zh-CN https://tc.corp.google.com/btviewer/edittranslation?project=Flutter&msgId=8883913494819754382&language=zh-CN ## 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 [relevant style guides] and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use `dart format`.) - [x] I signed the [CLA]. - [x] The title of the PR starts with the name of the package surrounded by square brackets, e.g. `[shared_preferences]` - [x] I [linked to at least one issue that this PR fixes] in the description above. - [x] I updated `pubspec.yaml` with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes]. - [x] I updated `CHANGELOG.md` to add a description of the change, [following repository CHANGELOG style]. - [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] All existing and new tests are passing.
1 parent a69567a commit 9f5fd75

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"noSpellCheckReplacementsLabel": "找不到替换文字",
2626
"menuDismissLabel": "关闭菜单",
2727
"lookUpButtonLabel": "查询",
28-
"searchWebButtonLabel": "在网络上搜索",
29-
"shareButtonLabel": "分享…",
28+
"searchWebButtonLabel": "搜索",
29+
"shareButtonLabel": "共享…",
3030
"clearButtonLabel": "Clear"
3131
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"searchWebButtonLabel": "搜尋網頁",
2+
"searchWebButtonLabel": "搜尋",
33
"shareButtonLabel": "分享…",
44
"lookUpButtonLabel": "查詢",
55
"noSpellCheckReplacementsLabel": "找不到替換字詞",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"lookUpButtonLabel": "查詢",
3-
"searchWebButtonLabel": "在網路上搜尋",
3+
"searchWebButtonLabel": "搜尋",
44
"shareButtonLabel": "分享…",
55
"noSpellCheckReplacementsLabel": "找不到替代文字",
66
"menuDismissLabel": "關閉選單",

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14036,13 +14036,13 @@ class CupertinoLocalizationZh extends GlobalCupertinoLocalizations {
1403614036
String get searchTextFieldPlaceholderLabel => '搜索';
1403714037

1403814038
@override
14039-
String get searchWebButtonLabel => '在网络上搜索';
14039+
String get searchWebButtonLabel => '搜索';
1404014040

1404114041
@override
1404214042
String get selectAllButtonLabel => '全选';
1404314043

1404414044
@override
14045-
String get shareButtonLabel => '分享…';
14045+
String get shareButtonLabel => '共享…';
1404614046

1404714047
@override
1404814048
String get tabSemanticsLabelRaw => r'第 $tabIndex 个标签,共 $tabCount 个';
@@ -14183,11 +14183,14 @@ class CupertinoLocalizationZhHant extends CupertinoLocalizationZh {
1418314183
String get searchTextFieldPlaceholderLabel => '搜尋';
1418414184

1418514185
@override
14186-
String get searchWebButtonLabel => '搜尋網頁';
14186+
String get searchWebButtonLabel => '搜尋';
1418714187

1418814188
@override
1418914189
String get selectAllButtonLabel => '全選';
1419014190

14191+
@override
14192+
String get shareButtonLabel => '分享…';
14193+
1419114194
@override
1419214195
String get tabSemanticsLabelRaw => r'$tabCount 個分頁中嘅第 $tabIndex 個';
1419314196

@@ -14239,9 +14242,6 @@ class CupertinoLocalizationZhHantTw extends CupertinoLocalizationZhHant {
1423914242
required super.decimalFormat,
1424014243
});
1424114244

14242-
@override
14243-
String get searchWebButtonLabel => '在網路上搜尋';
14244-
1424514245
@override
1424614246
String get noSpellCheckReplacementsLabel => '找不到替代文字';
1424714247

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44063,7 +44063,7 @@ class MaterialLocalizationZh extends GlobalMaterialLocalizations {
4406344063
String get searchFieldLabel => '搜索';
4406444064

4406544065
@override
44066-
String get searchWebButtonLabel => '在网络上搜索';
44066+
String get searchWebButtonLabel => '搜索';
4406744067

4406844068
@override
4406944069
String get selectAllButtonLabel => '全选';
@@ -44093,7 +44093,7 @@ class MaterialLocalizationZh extends GlobalMaterialLocalizations {
4409344093
String? get selectedRowCountTitleZero => null;
4409444094

4409544095
@override
44096-
String get shareButtonLabel => '分享…';
44096+
String get shareButtonLabel => '共享…';
4409744097

4409844098
@override
4409944099
String get showAccountsLabel => '显示账号';
@@ -44476,7 +44476,7 @@ class MaterialLocalizationZhHant extends MaterialLocalizationZh {
4447644476
String get searchFieldLabel => '搜尋';
4447744477

4447844478
@override
44479-
String get searchWebButtonLabel => '搜尋網頁';
44479+
String get searchWebButtonLabel => '搜尋';
4448044480

4448144481
@override
4448244482
String get selectAllButtonLabel => '全部選取';
@@ -44490,6 +44490,9 @@ class MaterialLocalizationZhHant extends MaterialLocalizationZh {
4449044490
@override
4449144491
String get selectedRowCountTitleOther => r'已選取 $selectedRowCount 個項目';
4449244492

44493+
@override
44494+
String get shareButtonLabel => '分享…';
44495+
4449344496
@override
4449444497
String get showAccountsLabel => '顯示帳戶';
4449544498

@@ -44564,9 +44567,6 @@ class MaterialLocalizationZhHantTw extends MaterialLocalizationZhHant {
4456444567
required super.twoDigitZeroPaddedFormat,
4456544568
});
4456644569

44567-
@override
44568-
String get searchWebButtonLabel => '在網路上搜尋';
44569-
4457044570
@override
4457144571
String get scanTextButtonLabel => '掃描文字';
4457244572

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@
143143
"collapsedHint": "已展开",
144144
"menuDismissLabel": "关闭菜单",
145145
"lookUpButtonLabel": "查询",
146-
"searchWebButtonLabel": "在网络上搜索",
147-
"shareButtonLabel": "分享…",
146+
"searchWebButtonLabel": "搜索",
147+
"shareButtonLabel": "共享…",
148148
"clearButtonTooltip": "Clear text",
149149
"selectedDateLabel": "Selected"
150150
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"searchWebButtonLabel": "搜尋網頁",
2+
"searchWebButtonLabel": "搜尋",
33
"shareButtonLabel": "分享…",
44
"scanTextButtonLabel": "掃瞄文字",
55
"lookUpButtonLabel": "查詢",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"lookUpButtonLabel": "查詢",
3-
"searchWebButtonLabel": "在網路上搜尋",
3+
"searchWebButtonLabel": "搜尋",
44
"shareButtonLabel": "分享…",
55
"scanTextButtonLabel": "掃描文字",
66
"menuDismissLabel": "關閉選單",

0 commit comments

Comments
 (0)