Skip to content

Commit d09abb2

Browse files
committed
added korean mandarin and japanese translations
1 parent 31464fd commit d09abb2

File tree

115 files changed

+3331
-811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+3331
-811
lines changed

create_i18n.sh

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/bin/bash
2+
3+
# Define languages
4+
langs=("ko" "zh" "ja")
5+
6+
# Define the file structure
7+
files=(
8+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/general-info/bridge/bridging-testnet.md"
9+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/general-info/contract-addresses/testnet-contracts.md"
10+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/general-info/contract-addresses/tokens.md"
11+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/add-status-network.md"
12+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/network-details.md"
13+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/introduction/quick-start.md"
14+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/other/official-links.md"
15+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/tokenomics/karma-token.md"
16+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/tokenomics/snt-token.md"
17+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/tools/block-explorers.md"
18+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/tools/bridge.md"
19+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/tools/rpc.md"
20+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/tools/testnet-faucets.md"
21+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-foundry.md"
22+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-hardhat.md"
23+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/tutorials/deploying-contracts/using-remix.md"
24+
"docs/i18n/LANG/docusaurus-plugin-content-docs/current/index.md"
25+
)
26+
27+
for lang in "${langs[@]}"; do
28+
for file in "${files[@]}"; do
29+
path=${file/LANG/$lang}
30+
mkdir -p "$(dirname "$path")"
31+
touch "$path"
32+
done
33+
done

i18n/ja/code.json

Lines changed: 139 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@
122122
"message": "{atDate}{byUser}最終更新",
123123
"description": "The sentence used to display when a page has been last updated, and by who"
124124
},
125-
"theme.NotFound.title": {
126-
"message": "ページが見つかりません",
127-
"description": "The title of the 404 page"
128-
},
129125
"theme.navbar.mobileVersionsDropdown.label": {
130126
"message": "他のバージョン",
131127
"description": "The label for the navbar versions dropdown on mobile view"
132128
},
129+
"theme.NotFound.title": {
130+
"message": "ページが見つかりません",
131+
"description": "The title of the 404 page"
132+
},
133133
"theme.tags.tagsListLabel": {
134134
"message": "タグ:",
135135
"description": "The label alongside a tag list"
@@ -194,6 +194,10 @@
194194
"message": "ナビゲーション",
195195
"description": "The ARIA label for the main navigation"
196196
},
197+
"theme.navbar.mobileLanguageDropdown.label": {
198+
"message": "他の言語",
199+
"description": "The label for the mobile language switcher dropdown"
200+
},
197201
"theme.NotFound.p1": {
198202
"message": "お探しのページが見つかりませんでした",
199203
"description": "The first paragraph of the 404 page"
@@ -202,10 +206,6 @@
202206
"message": "このページにリンクしているサイトの所有者にリンクが壊れていることを伝えてください",
203207
"description": "The 2nd paragraph of the 404 page"
204208
},
205-
"theme.navbar.mobileLanguageDropdown.label": {
206-
"message": "他の言語",
207-
"description": "The label for the mobile language switcher dropdown"
208-
},
209209
"theme.TOCCollapsible.toggleButtonLabel": {
210210
"message": "このページの見出し",
211211
"description": "The label used by the button on the collapsible TOC component"
@@ -258,6 +258,137 @@
258258
"message": "サイドバーを開く",
259259
"description": "The ARIA label and title attribute for expand button of doc sidebar"
260260
},
261+
"theme.SearchBar.seeAll": {
262+
"message": "検索結果{count}件をすべて見る"
263+
},
264+
"theme.SearchPage.documentsFound.plurals": {
265+
"message": "{count}件のドキュメントが見つかりました",
266+
"description": "Pluralized label for \"{count} documents found\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
267+
},
268+
"theme.SearchPage.existingResultsTitle": {
269+
"message": "『{query}』の検索結果",
270+
"description": "The search page title for non-empty query"
271+
},
272+
"theme.SearchPage.emptyResultsTitle": {
273+
"message": "ドキュメントを検索",
274+
"description": "The search page title for empty query"
275+
},
276+
"theme.SearchPage.inputPlaceholder": {
277+
"message": "検索するキーワードを入力してください",
278+
"description": "The placeholder for search page input"
279+
},
280+
"theme.SearchPage.inputLabel": {
281+
"message": "検索",
282+
"description": "The ARIA label for search page input"
283+
},
284+
"theme.SearchPage.algoliaLabel": {
285+
"message": "Algoliaで検索",
286+
"description": "The ARIA label for Algolia mention"
287+
},
288+
"theme.SearchPage.noResultsText": {
289+
"message": "検索結果が見つかりませんでした",
290+
"description": "The paragraph for empty search result"
291+
},
292+
"theme.SearchPage.fetchingNewResults": {
293+
"message": "新しい検索結果を取得しています...",
294+
"description": "The paragraph for fetching new search results"
295+
},
296+
"theme.SearchBar.label": {
297+
"message": "検索",
298+
"description": "The ARIA label and placeholder for search button"
299+
},
300+
"theme.SearchModal.searchBox.resetButtonTitle": {
301+
"message": "クリア",
302+
"description": "The label and ARIA label for search box reset button"
303+
},
304+
"theme.SearchModal.searchBox.cancelButtonText": {
305+
"message": "キャンセル",
306+
"description": "The label and ARIA label for search box cancel button"
307+
},
308+
"theme.SearchModal.startScreen.recentSearchesTitle": {
309+
"message": "最近の検索",
310+
"description": "The title for recent searches"
311+
},
312+
"theme.SearchModal.startScreen.noRecentSearchesText": {
313+
"message": "最近の検索履歴はありません",
314+
"description": "The text when no recent searches"
315+
},
316+
"theme.SearchModal.startScreen.saveRecentSearchButtonTitle": {
317+
"message": "この検索をお気に入りに追加",
318+
"description": "The label for save recent search button"
319+
},
320+
"theme.SearchModal.startScreen.removeRecentSearchButtonTitle": {
321+
"message": "この検索を履歴から削除",
322+
"description": "The label for remove recent search button"
323+
},
324+
"theme.SearchModal.startScreen.favoriteSearchesTitle": {
325+
"message": "お気に入り",
326+
"description": "The title for favorite searches"
327+
},
328+
"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": {
329+
"message": "この検索をお気に入りから削除",
330+
"description": "The label for remove favorite search button"
331+
},
332+
"theme.SearchModal.errorScreen.titleText": {
333+
"message": "検索結果の取得に失敗しました",
334+
"description": "The title for error screen of search modal"
335+
},
336+
"theme.SearchModal.errorScreen.helpText": {
337+
"message": "ネットワーク接続を確認してください",
338+
"description": "The help text for error screen of search modal"
339+
},
340+
"theme.SearchModal.footer.selectText": {
341+
"message": "選ぶ",
342+
"description": "The explanatory text of the action for the enter key"
343+
},
344+
"theme.SearchModal.footer.selectKeyAriaLabel": {
345+
"message": "エンターキー",
346+
"description": "The ARIA label for the Enter key button that makes the selection"
347+
},
348+
"theme.SearchModal.footer.navigateText": {
349+
"message": "移動",
350+
"description": "The explanatory text of the action for the Arrow up and Arrow down key"
351+
},
352+
"theme.SearchModal.footer.navigateUpKeyAriaLabel": {
353+
"message": "上矢印キー",
354+
"description": "The ARIA label for the Arrow up key button that makes the navigation"
355+
},
356+
"theme.SearchModal.footer.navigateDownKeyAriaLabel": {
357+
"message": "下矢印キー",
358+
"description": "The ARIA label for the Arrow down key button that makes the navigation"
359+
},
360+
"theme.SearchModal.footer.closeText": {
361+
"message": "閉じる",
362+
"description": "The explanatory text of the action for Escape key"
363+
},
364+
"theme.SearchModal.footer.closeKeyAriaLabel": {
365+
"message": "エスケープキー",
366+
"description": "The ARIA label for the Escape key button that close the modal"
367+
},
368+
"theme.SearchModal.footer.searchByText": {
369+
"message": "検索",
370+
"description": "The text explain that the search is making by Algolia"
371+
},
372+
"theme.SearchModal.noResultsScreen.noResultsText": {
373+
"message": "見つかりませんでした",
374+
"description": "The text explains that there are no results for the following search"
375+
},
376+
"theme.SearchModal.noResultsScreen.suggestedQueryText": {
377+
"message": "次の検索を試す:",
378+
"description": "The text for the suggested query when no results are found for the following search"
379+
},
380+
"theme.SearchModal.noResultsScreen.reportMissingResultsText": {
381+
"message": "よりよい検索結果がありますか?",
382+
"description": "The text for the question where the user thinks there are missing results"
383+
},
384+
"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": {
385+
"message": "報告する",
386+
"description": "The text for the link to report missing results"
387+
},
388+
"theme.SearchModal.placeholder": {
389+
"message": "ドキュメントを検索",
390+
"description": "The placeholder of the input of the DocSearch pop-up modal"
391+
},
261392
"theme.blog.post.plurals": {
262393
"message": "{count}件",
263394
"description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"

0 commit comments

Comments
 (0)