diff options
author | Shinya Fujino | 2024-03-20 18:32:19 +0900 |
---|---|---|
committer | GitHub | 2024-03-20 10:32:19 +0100 |
commit | 68ff7aeb24c9a9e48dfb22ce3aef6b94f48fde50 (patch) | |
tree | bef4323d92767009efd398789de63b6765d7b13a | |
parent | c48ece89aa5a800bf01d268755dc1764f0167a79 (diff) | |
download | IT.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.mdx | 31 |
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æ–‡å—列ã®ç¿»è¨³ã«ã¤ã„ã¦è¨å®šã§ãã¾ã™ã€‚ |