Skip to content

Commit 72550b0

Browse files
authored
Add translated strings (#653)
Resolves: rdar://108904481
1 parent 727f098 commit 72550b0

File tree

2 files changed

+61
-31
lines changed

2 files changed

+61
-31
lines changed

src/lang/locales/ja-JP.json

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"video": {
66
"replay": "リプレイ",
77
"play": "再生",
8+
"pause": "一時停止",
89
"watch": "概要のビデオを観る"
910
},
1011
"tutorials": {
@@ -55,7 +56,15 @@
5556
"open-menu": "メニューを開く",
5657
"close-menu": "メニューを閉じる"
5758
},
58-
"current-page": "現在のページは{title}です"
59+
"current-page": "現在のページは{title}です",
60+
"card": {
61+
"learn-more": "詳しい情報",
62+
"read-article": "記事を読む",
63+
"start-tutorial": "チュートリアルを開始",
64+
"view-api": "APIのコレクションを表示",
65+
"view-symbol": "記号を表示",
66+
"view-sample-code": "サンプルコードを表示"
67+
}
5968
},
6069
"aside-kind": {
6170
"beta": "ベータ版",
@@ -83,7 +92,7 @@
8392
"default-implementations": "デフォルト実装",
8493
"relationships": "関連項目",
8594
"see-also": "参照",
86-
"declarations": "宣言",
95+
"declaration": "宣言",
8796
"details": "詳細",
8897
"parameters": "パラメータ",
8998
"possible-values": "使用できる値",
@@ -104,22 +113,22 @@
104113
"default-implementation": "デフォルト実装あり。| デフォルト実装あり。"
105114
},
106115
"availability": {
107-
"introduced-and-deprecated": "{name}{introducedAt}で導入され、{name}{deprecatedAt}で非推奨になりました",
108-
"available-on": "{name}{introducedAt}以降で使用できます"
116+
"introduced-and-deprecated": "{name} {introducedAt}で導入され、{name} {deprecatedAt}で非推奨になりました",
117+
"available-on": "{name} {introducedAt}以降で使用できます"
109118
},
110119
"more": "さらに表示",
111120
"less": "表示を減らす",
112121
"api-reference": "APIリファレンス",
113122
"filter": {
114123
"title": "フィルタ",
115-
"search-symbols": "記号を検索",
116-
"suggested-tags": "提案されたタグ",
117-
"selected-tags": "選択したタグ",
124+
"search-symbols": "{technology}でシンボルを検索",
125+
"suggested-tags": "提案されたタグ | 提案されたタグ",
126+
"selected-tags": "選択したタグ | 選択したタグ",
118127
"add-tag": "タグを追加",
119128
"tag-select-remove": "タグ。選択してリストから削除します。",
120129
"navigate": "シンボルを移動するには、上下左右の矢印キーを押します。",
121-
"siblings-label": "{number-siblings}個中{total-siblings} 個のシンボルが中にあります {parent-siblings}",
122-
"parent-label": "@:filter.siblings-label 1個のシンボルを含む | @:filter.siblings-label {number-parent} 個のシンボルを含む",
130+
"siblings-label": "{total-siblings}個中{number-siblings}個のシンボルが{parent-siblings}の中にあります",
131+
"parent-label": "{total-siblings}個中{number-siblings}個のシンボルが1個のシンボルを含む{parent-siblings}の中にあります | {total-siblings}個中{number-siblings}個のシンボルが{number-parent}個のシンボルを含む{parent-siblings}の中にあります",
123132
"reset-filter": "フィルタをリセット"
124133
},
125134
"navigator": {
@@ -148,10 +157,10 @@
148157
"default": "デフォルト",
149158
"minimum": "最小",
150159
"maximum": "最大",
151-
"possible-types": "使用できるタイプ",
152-
"possible-values": "使用できる値"
160+
"possible-types": "タイプ | 使用できるタイプ",
161+
"possible-values": "値 | 使用できる値"
153162
},
154-
"content-type": "コンテンツタイプ: {value}",
163+
"content-type": "Content-Type: {value}",
155164
"read-only": "読み出し専用",
156165
"error": {
157166
"unknown": "原因不明のエラーが起きました。",
@@ -169,8 +178,8 @@
169178
"end": "取り消し線テキストの終了"
170179
},
171180
"code": {
172-
"start": "start of code block",
173-
"end": "end of code block"
181+
"start": "コードブロックの開始",
182+
"end": "コードブロックの終了"
174183
},
175184
"skip-navigation": "ナビゲーションをスキップ"
176185
},
@@ -183,5 +192,11 @@
183192
"formats": {
184193
"parenthesis": "({content})",
185194
"colon": "{content}: "
195+
},
196+
"quicknav": {
197+
"button": {
198+
"label": "クイックナビゲーションを開く",
199+
"title": "クリックするか「/」を入力すると素早く移動します"
200+
}
186201
}
187202
}

src/lang/locales/zh-CN.json

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"video": {
66
"replay": "重新播放",
77
"play": "播放",
8+
"pause": "暂停",
89
"watch": "观看介绍视频"
910
},
1011
"tutorials": {
@@ -55,7 +56,15 @@
5556
"open-menu": "打开菜单",
5657
"close-menu": "关闭菜单"
5758
},
58-
"current-page": "当前页面为:{title}"
59+
"current-page": "当前页面为:{title}",
60+
"card": {
61+
"learn-more": "进一步了解",
62+
"read-article": "阅读文章",
63+
"start-tutorial": "开始教程",
64+
"view-api": "查看 API 集合",
65+
"view-symbol": "查看符号",
66+
"view-sample-code": "查看示例代码"
67+
}
5968
},
6069
"aside-kind": {
6170
"beta": "Beta 版",
@@ -83,7 +92,7 @@
8392
"default-implementations": "默认实现",
8493
"relationships": "关系",
8594
"see-also": "另请参阅",
86-
"declarations": "声明",
95+
"declaration": "声明",
8796
"details": "详细信息",
8897
"parameters": "参数",
8998
"possible-values": "可能值",
@@ -101,31 +110,31 @@
101110
"legal": "此文档涉及 Beta 版软件且可能会改动。",
102111
"software": "Beta 版软件"
103112
},
104-
"default-implementation": "已提供默认实现"
113+
"default-implementation": "提供默认实现。| 提供默认实现方法"
105114
},
106115
"availability": {
107-
"introduced-and-deprecated": "{name}{introducedAt}中引入,{name}{deprecatedAt}中弃用",
108-
"available-on": "{name}{introducedAt}及更高版本中可用"
116+
"introduced-and-deprecated": "{name} {introducedAt} 中引入,{name} {deprecatedAt} 中弃用",
117+
"available-on": "{name} {introducedAt} 及更高版本中可用"
109118
},
110119
"more": "更多",
111120
"less": "更少",
112121
"api-reference": "API 参考",
113122
"filter": {
114123
"title": "过滤",
115-
"search-symbols": "搜索符号",
124+
"search-symbols": "在 {technology} 搜索符号",
116125
"suggested-tags": "建议标签",
117126
"selected-tags": "所选标签",
118127
"add-tag": "添加标签",
119128
"tag-select-remove": "标签。选择以从列表中移除。",
120129
"navigate": "若要导航符号,请按下上箭头、下箭头、左箭头或右箭头。",
121-
"siblings-label": "内含 {number-siblings} 个符号(共 {total-siblings} 个){parent-siblings}",
122-
"parent-label": "@:filter.siblings-label 包含 1 个符号 | @:filter.siblings-label 包含 {number-parent} 个符号",
130+
"siblings-label": "{parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)",
131+
"parent-label": "{parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)包含一个符号 | {parent-siblings} 内含 {number-siblings} 个符号(共 {total-siblings} 个)包含 {number-parent} 个符号",
123132
"reset-filter": "还原过滤条件"
124133
},
125134
"navigator": {
126-
"title": "文档 导航器",
127-
"open-navigator": "打开文档 导航器",
128-
"close-navigator": "关闭文档 导航器",
135+
"title": "文档导航器",
136+
"open-navigator": "打开文档导航器",
137+
"close-navigator": "关闭文档导航器",
129138
"no-results": "未找到结果。",
130139
"no-children": "无可用数据。",
131140
"error-fetching": "获取数据时出错。",
@@ -148,8 +157,8 @@
148157
"default": "默认",
149158
"minimum": "最小值",
150159
"maximum": "最大值",
151-
"possible-types": "可能类型",
152-
"possible-values": "可能值"
160+
"possible-types": "类型 | 可能类型",
161+
"possible-values": "值 | 可能值"
153162
},
154163
"content-type": "内容类型:{value}",
155164
"read-only": "只读",
@@ -169,8 +178,8 @@
169178
"end": "删除线文本结束"
170179
},
171180
"code": {
172-
"start": "start of code block",
173-
"end": "end of code block"
181+
"start": "代码块开头",
182+
"end": "代码块结尾"
174183
},
175184
"skip-navigation": "跳过导航"
176185
},
@@ -181,7 +190,13 @@
181190
"search": "搜索"
182191
},
183192
"formats": {
184-
"parenthesis": "({content})",
185-
"colon": "{content}:"
193+
"parenthesis": "({content})",
194+
"colon": "{content}: "
195+
},
196+
"quicknav": {
197+
"button": {
198+
"label": "打开快速导航",
199+
"title": "点按或键入 / 进行快速导航"
200+
}
186201
}
187202
}

0 commit comments

Comments
 (0)