Skip to content

Commit d444249

Browse files
committed
[rdar://102139999] chore: update i18n files
1 parent a9efd8c commit d444249

File tree

3 files changed

+113
-65
lines changed

3 files changed

+113
-65
lines changed

src/lang/locales/en_US.json

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
},
2929
"project-files": "Project files",
3030
"estimated-time": "Estimated Time",
31-
"sections": { "chapter": "Chapter {number}" },
31+
"sections": {
32+
"chapter": "Chapter {number}"
33+
},
3234
"question-of": "Question {index} of {total}",
3335
"section-of": "{number} of {total}",
3436
"overriding-title": "{newTitle} with {title}",
@@ -38,21 +40,18 @@
3840
"full": "minute | minutes | {count} minutes",
3941
"short": "min | mins"
4042
},
41-
"hours": { "full": "hour | hours" }
43+
"hours": {
44+
"full": "hour | hours"
45+
}
4246
}
4347
},
4448
"documentation": {
4549
"title": "Documentation",
46-
"navigator": {
47-
"title": "Documentation Navigator",
48-
"open-navigator": "Open Documentation Navigator",
49-
"close-navigator": "Close Documentation Navigator"
50-
},
5150
"nav": {
5251
"breadcrumbs": "Breadcrumbs",
5352
"menu": "Menu",
54-
"open-menu": "Open menu",
55-
"close-menu": "Close menu"
53+
"open-menu": "Open @:documentation.nav.menu",
54+
"close-menu": "Close @:documentation.nav.menu"
5655
},
5756
"current-page": "Current page is {title}"
5857
},
@@ -68,7 +67,7 @@
6867
"change-type": {
6968
"added": "Added",
7069
"modified": "Modified",
71-
"deprecated": "Deprecated"
70+
"deprecated": "@:aside-kind.deprecated"
7271
},
7372
"verbs": {
7473
"hide": "Hide",
@@ -91,7 +90,11 @@
9190
"resources": "Resources"
9291
},
9392
"metadata": {
94-
"details": { "name": "Name", "key": "Key", "type": "Type" },
93+
"details": {
94+
"name": "Name",
95+
"key": "Key",
96+
"type": "Type"
97+
},
9598
"beta": {
9699
"legal": "This documentation refers to beta software and may be changed.",
97100
"software": "Beta Software"
@@ -131,10 +134,13 @@
131134
"ready": "ready"
132135
},
133136
"tags": {
134-
"hide-deprecated": "Hide Deprecated"
137+
"hide-deprecated": "Hide @:aside-kind.deprecated"
135138
}
136139
},
137-
"tab": { "request": "Request", "response": "Response" },
140+
"tab": {
141+
"request": "Request",
142+
"response": "Response"
143+
},
138144
"required": "Required",
139145
"parameters": {
140146
"default": "Default",
@@ -172,4 +178,4 @@
172178
"parenthesis": "({content})",
173179
"colon": "{content}: "
174180
}
175-
}
181+
}

src/lang/locales/ja_JA.json

Lines changed: 45 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"submit": "送信",
1212
"next": "次へ",
1313
"preview": {
14-
"title": "プレビューなし | プレビュー | プレビュー"
14+
"title": "プレビューなし | プレビュー | プレビュー",
15+
"no-preview-available-step": "この手順では利用可能なプレビューがありません。"
1516
},
1617
"nav": {
1718
"chapters": "",
@@ -28,14 +29,15 @@
2829
"project-files": "プロジェクトファイル",
2930
"estimated-time": "予測時間",
3031
"sections": {
31-
"chapter": ""
32+
"chapter": "{number}"
3233
},
3334
"question-of": "{total}問中の{index}問",
3435
"section-of": "{total}件中の{number}件",
3536
"overriding-title": "{title}の{newTitle}",
3637
"time": {
38+
"format": "{number} {minutes}",
3739
"minutes": {
38-
"full": "分 | 分 |{count}分",
40+
"full": "分 | 分 | {count}分",
3941
"short": "分 | 分"
4042
},
4143
"hours": {
@@ -45,35 +47,35 @@
4547
},
4648
"documentation": {
4749
"title": "ドキュメント",
48-
"navigator": "ドキュメントナビゲータ",
4950
"nav": {
5051
"breadcrumbs": "パンくずリスト",
51-
"menu": "メニュー"
52+
"menu": "メニュー",
53+
"open-menu": "@:documentation.nav.menuを開く",
54+
"close-menu": "@:documentation.nav.menuを閉じる"
5255
},
5356
"current-page": "現在のページは{title}です"
5457
},
55-
"kind": {
58+
"aside-kind": {
5659
"beta": "ベータ版",
5760
"experiment": "試験運用版",
5861
"important": "重要",
5962
"note": "注意",
6063
"tip": "ヒント",
61-
"warning": "警告"
64+
"warning": "警告",
65+
"deprecated": "非推奨"
6266
},
6367
"change-type": {
6468
"added": "追加",
6569
"modified": "変更",
66-
"deprecated": "非推奨"
70+
"deprecated": "@:aside-kind.deprecated"
6771
},
6872
"verbs": {
6973
"hide": "非表示",
7074
"show": "表示",
71-
"close": "閉じる",
72-
"reset": "リセット",
73-
"open": "開く"
75+
"close": "閉じる"
7476
},
7577
"sections": {
76-
"title": "セクション",
78+
"title": "セクション{number}",
7779
"on-this-page": "このページの内容",
7880
"topics": "トピック",
7981
"default-implementations": "デフォルト実装",
@@ -108,21 +110,32 @@
108110
"api-reference": "APIリファレンス",
109111
"filter": {
110112
"title": "フィルタ",
111-
"suggested": "提案",
112-
"selected": "選択",
113+
"search-symbols": "記号を検索",
114+
"suggested-tags": "提案された{tags}",
115+
"selected-tags": "選択した{tags}",
113116
"add-tag": "タグを追加",
114-
"tag": "タグ",
115-
"select-remove": "選択してリストから削除します。",
117+
"tag-select-remove": "タグ。選択してリストから削除します。",
116118
"navigate": "シンボルを移動するには、上下左右の矢印キーを押します。",
117-
"containing-symbols": "1個のシンボルを含む |{number}個のシンボルを含む",
118-
"symbols-inside": "{total}個中{number}個のシンボルが中にあります"
119+
"containing-symbols": "1個のシンボルを含む | {number}個のシンボルを含む",
120+
"symbols-inside": "{total}個中{number}個のシンボルが中にあります",
121+
"reset-filter": "フィルタをリセット"
119122
},
120123
"navigator": {
124+
"title": "@:documentation.titleナビゲータ",
125+
"open-navigator": "@:navigator.titleを開く",
126+
"close-navigator": "@:navigator.titleを閉じる",
121127
"no-results": "結果が見つかりません。",
122128
"no-children": "使用できるデータがありません。",
123129
"error-fetching": "データを取得する際にエラーが起きました。",
124-
"items-found": "項目が見つかりました。Tabキーを押すと項目をナビゲートできます。",
125-
"navigator-is": "ナビゲータは{state}です"
130+
"items-found": "項目が見つかりません | 1個の項目が見つかりました | {number}個の項目が見つかりましたTabキーを押すと項目をナビゲートできます。",
131+
"navigator-is": "ナビゲータは{state}です",
132+
"state": {
133+
"loading": "読み込み中",
134+
"ready": "準備完了"
135+
},
136+
"tags": {
137+
"hide-deprecated": "@:aside-kind.deprecatedの項目を非表示"
138+
}
126139
},
127140
"tab": {
128141
"request": "リクエスト",
@@ -134,11 +147,9 @@
134147
"minimum": "最小",
135148
"maximum": "最大",
136149
"possible-types": "使用できるタイプ",
137-
"type": "タイプ",
138-
"possible-values": "使用できる値",
139-
"value": ""
150+
"possible-values": "使用できる値"
140151
},
141-
"content-type": "コンテンツタイプ",
152+
"content-type": "コンテンツタイプ: {value}",
142153
"read-only": "読み出し専用",
143154
"error": {
144155
"unknown": "原因不明のエラーが起きました。",
@@ -156,5 +167,15 @@
156167
"end": "取り消し線テキストの終了"
157168
},
158169
"skip-navigation": "ナビゲーションをスキップ"
170+
},
171+
"select-language": "このページの言語を選択",
172+
"icons": {
173+
"clear": "消去",
174+
"web-service-endpoint": "Webサービスのエンドポイント",
175+
"search": "検索"
176+
},
177+
"formats": {
178+
"parenthesis": "({content})",
179+
"colon": "{content}: "
159180
}
160181
}

src/lang/locales/zh_CN.json

Lines changed: 48 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
},
88
"tutorials": {
99
"title": "教程",
10-
"step": "第{number}步",
10+
"step": " {number} ",
1111
"submit": "提交",
1212
"next": "下一步",
1313
"preview": {
14-
"title": "无预览 | 预览"
14+
"title": "无预览 | 预览",
15+
"no-preview-available-step": "这一步没有预览。"
1516
},
1617
"nav": {
1718
"chapters": "章节",
@@ -20,22 +21,23 @@
2021
"assessment": {
2122
"check-your-understanding": "检查你的理解程度",
2223
"success-message": "很棒,你回答了此教程的所有问题。",
23-
"answer-number-is": "第{index}个答案",
24+
"answer-number-is": " {index} 个答案",
2425
"correct": "正确",
2526
"incorrect": "错误",
2627
"next-question": "下一个问题"
2728
},
2829
"project-files": "项目文件",
2930
"estimated-time": "预计时间",
3031
"sections": {
31-
"chapter": "章节"
32+
"chapter": "第 {number} 章"
3233
},
33-
"question-of": "第{index}个问题(共{total}个)",
34+
"question-of": " {index} 个问题(共 {total} 个)",
3435
"section-of": "{number}/{total}",
3536
"overriding-title": "{newTitle}{title}",
3637
"time": {
38+
"format": "{number} {minutes}",
3739
"minutes": {
38-
"full": "分钟 |{count}分钟",
40+
"full": "分钟 | {count} 分钟",
3941
"short": "分钟"
4042
},
4143
"hours": {
@@ -45,35 +47,35 @@
4547
},
4648
"documentation": {
4749
"title": "文档",
48-
"navigator": "文档导航器",
4950
"nav": {
5051
"breadcrumbs": "面包屑导航",
51-
"menu": "菜单"
52+
"menu": "菜单",
53+
"open-menu": "打开@:documentation.nav.menu",
54+
"close-menu": "关闭@:documentation.nav.menu"
5255
},
5356
"current-page": "当前页面为:{title}"
5457
},
55-
"kind": {
58+
"aside-kind": {
5659
"beta": "Beta 版",
5760
"experiment": "试验",
5861
"important": "重要事项",
5962
"note": "",
6063
"tip": "提示",
61-
"warning": "警告"
64+
"warning": "警告",
65+
"deprecated": "已弃用"
6266
},
6367
"change-type": {
6468
"added": "已添加",
6569
"modified": "已修改",
66-
"deprecated": "已弃用"
70+
"deprecated": "@:aside-kind.deprecated"
6771
},
6872
"verbs": {
6973
"hide": "隐藏",
7074
"show": "显示",
71-
"close": "关闭",
72-
"reset": "重设",
73-
"open": "打开"
75+
"close": "关闭"
7476
},
7577
"sections": {
76-
"title": "部分",
78+
"title": "第 {number} 部分",
7779
"on-this-page": "在此页面上",
7880
"topics": "主题",
7981
"default-implementations": "默认实现",
@@ -108,21 +110,32 @@
108110
"api-reference": "API 参考",
109111
"filter": {
110112
"title": "过滤",
111-
"suggested": "建议",
112-
"selected": "已选择",
113+
"search-symbols": "搜索符号",
114+
"suggested-tags": "建议{tags}",
115+
"selected-tags": "所选{tags}",
113116
"add-tag": "添加标签",
114-
"tag": "标签",
115-
"select-remove": "选择以从列表中移除。",
117+
"tag-select-remove": "标签。选择以从列表中移除。",
116118
"navigate": "若要导航符号,请按下上箭头、下箭头、左箭头或右箭头。",
117-
"containing-symbols": "包含 1 个符号 | 包含{number}个符号",
118-
"symbols-inside": "内含{number}个符号(共{total}个)"
119+
"containing-symbols": "包含 1 个符号 | 包含 {number} 个符号",
120+
"symbols-inside": "内含 {number} 个符号(共 {total} 个)",
121+
"reset-filter": "还原过滤条件"
119122
},
120123
"navigator": {
124+
"title": "@:documentation.title 导航器",
125+
"open-navigator": "打开@:navigator.title",
126+
"close-navigator": "关闭@:navigator.title",
121127
"no-results": "未找到结果。",
122128
"no-children": "无可用数据。",
123129
"error-fetching": "获取数据时出错。",
124-
"items-found": "找到项目。按下 Tab 键导航。",
125-
"navigator-is": "导航器{state}"
130+
"items-found": "未找到任何项目 | 找到 1 个项目 | 找到 {number} 个项目。按下 Tab 键导航。",
131+
"navigator-is": "导航器{state}",
132+
"state": {
133+
"loading": "正在载入",
134+
"ready": "准备就绪"
135+
},
136+
"tags": {
137+
"hide-deprecated": "隐藏@:aside-kind.deprecated"
138+
}
126139
},
127140
"tab": {
128141
"request": "请求",
@@ -134,11 +147,9 @@
134147
"minimum": "最小值",
135148
"maximum": "最大值",
136149
"possible-types": "可能类型",
137-
"type": "类型",
138-
"possible-values": "可能值",
139-
"value": ""
150+
"possible-values": "可能值"
140151
},
141-
"content-type": "内容类型",
152+
"content-type": "内容类型:{value}",
142153
"read-only": "只读",
143154
"error": {
144155
"unknown": "出现未知错误。",
@@ -156,5 +167,15 @@
156167
"end": "删除线文本结束"
157168
},
158169
"skip-navigation": "跳过导航"
170+
},
171+
"select-language": "选择此页面的语言",
172+
"icons": {
173+
"clear": "清除",
174+
"web-service-endpoint": "网络服务端点",
175+
"search": "搜索"
176+
},
177+
"formats": {
178+
"parenthesis": "({content})",
179+
"colon": "{content}:"
159180
}
160181
}

0 commit comments

Comments
 (0)