summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Fujino2024-03-20 18:32:19 +0900
committerGitHub2024-03-20 10:32:19 +0100
commit68ff7aeb24c9a9e48dfb22ce3aef6b94f48fde50 (patch)
treebef4323d92767009efd398789de63b6765d7b13a
parentc48ece89aa5a800bf01d268755dc1764f0167a79 (diff)
downloadIT.starlight-68ff7aeb24c9a9e48dfb22ce3aef6b94f48fde50.tar.gz
IT.starlight-68ff7aeb24c9a9e48dfb22ce3aef6b94f48fde50.tar.bz2
IT.starlight-68ff7aeb24c9a9e48dfb22ce3aef6b94f48fde50.zip
i18n(ja): Update i18n.mdx (#1639)
Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
-rw-r--r--docs/src/content/docs/ja/guides/i18n.mdx31
1 files changed, 2 insertions, 29 deletions
diff --git a/docs/src/content/docs/ja/guides/i18n.mdx b/docs/src/content/docs/ja/guides/i18n.mdx
index 224edcc7..c44b8c3e 100644
--- a/docs/src/content/docs/ja/guides/i18n.mdx
+++ b/docs/src/content/docs/ja/guides/i18n.mdx
@@ -141,6 +141,7 @@ Starlightã¯ã€ã™ã¹ã¦ã®è¨€èªžã§åŒç­‰ã®ãƒšãƒ¼ã‚¸ãŒä½œæˆã•れるã“ã¨ã‚
## Starlightã®UIを翻訳ã™ã‚‹
import LanguagesList from '~/components/languages-list.astro';
+import UIStringsList from '~/components/ui-strings-list.astro';
Starlightã§ã¯ã€èª­è€…ãŒé¸æŠžã—ãŸè¨€èªžã§ã‚µã‚¤ãƒˆå…¨ä½“を体験ã§ãるよã†ã«ã€ç¿»è¨³ã•れãŸã‚³ãƒ³ãƒ†ãƒ³ãƒ„ファイルをホストã™ã‚‹ã ã‘ã§ãªãã€ãƒ‡ãƒ•ォルトUIã®æ–‡å­—列(ãŸã¨ãˆã°ç›®æ¬¡ã«è¡¨ç¤ºã•れã¦ã„る「目次ã€ã¨ã„ã†è¦‹å‡ºã—)も翻訳ã§ãるよã†ã«ãªã£ã¦ã„ã¾ã™ã€‚
@@ -178,35 +179,7 @@ Starlightã§ã¯ã€èª­è€…ãŒé¸æŠžã—ãŸè¨€èªžã§ã‚µã‚¤ãƒˆå…¨ä½“を体験ã§ãã‚
以下ã¯ã€StarlightãŒè‹±èªžç‰ˆã®ãƒ‡ãƒ•ォルトã¨ã—ã¦ä½¿ç”¨ã—ã¦ã„る文字列ã§ã™ã€‚
- ```json
- {
- "skipLink.label": "Skip to content",
- "search.label": "Search",
- "search.shortcutLabel": "(Press / to Search)",
- "search.cancelLabel": "Cancel",
- "search.devWarning": "Search is only available in production builds. \nTry building and previewing the site to test it out locally.",
- "themeSelect.accessibleLabel": "Select theme",
- "themeSelect.dark": "Dark",
- "themeSelect.light": "Light",
- "themeSelect.auto": "Auto",
- "languageSelect.accessibleLabel": "Select language",
- "menuButton.accessibleLabel": "Menu",
- "sidebarNav.accessibleLabel": "Main",
- "tableOfContents.onThisPage": "On this page",
- "tableOfContents.overview": "Overview",
- "i18n.untranslatedContent": "This content is not available in your language yet.",
- "page.editLink": "Edit page",
- "page.lastUpdated": "Last updated:",
- "page.previousLink": "Previous",
- "page.nextLink": "Next",
- "404.text": "Page not found. Check the URL or try using the search bar.",
- "aside.note": "Note",
- "aside.tip": "Tip",
- "aside.caution": "Caution",
- "aside.danger": "Danger",
- "fileTree.directory": "Directory"
- }
- ```
+ <UIStringsList />
Starlightã®ã‚³ãƒ¼ãƒ‰ãƒ–ロックã¯ã€[Expressive Code](https://github.com/expressive-code/expressive-code)ライブラリã«ã‚ˆã£ã¦å‹•作ã—ã¦ã„ã¾ã™ã€‚`expressiveCode`キーを使用ã—ã¦ã€åŒã˜JSONファイルã§UI文字列ã®ç¿»è¨³ã«ã¤ã„ã¦è¨­å®šã§ãã¾ã™ã€‚