From 9e4e0137e1d8ff54289ee337cddf18541e484658 Mon Sep 17 00:00:00 2001 From: Kenzo Wada <79452224+Kenzo-Wada@users.noreply.github.com> Date: Fri, 27 Sep 2024 01:26:23 +0900 Subject: [PATCH] i18n(ja): translated `components` section + alpha (#2384) Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com> --- docs/astro.config.mjs | 1 + .../src/content/docs/ja/components/asides.mdx | 155 ++++++++++++ .../src/content/docs/ja/components/badges.mdx | 150 ++++++++++++ .../content/docs/ja/components/card-grids.mdx | 173 ++++++++++++++ docs/src/content/docs/ja/components/cards.mdx | 106 +++++++++ docs/src/content/docs/ja/components/code.mdx | 103 ++++++++ .../content/docs/ja/components/file-tree.mdx | 222 ++++++++++++++++++ docs/src/content/docs/ja/components/icons.mdx | 124 ++++++++++ .../docs/ja/components/link-buttons.mdx | 145 ++++++++++++ .../content/docs/ja/components/link-cards.mdx | 124 ++++++++++ docs/src/content/docs/ja/components/steps.mdx | 120 ++++++++++ docs/src/content/docs/ja/components/tabs.mdx | 221 +++++++++++++++++ .../docs/ja/components/using-components.mdx | 96 ++++++++ ...oring-content.md => authoring-content.mdx} | 148 ++++++++++-- docs/src/content/docs/ja/reference/icons.mdx | 19 ++ 15 files changed, 1891 insertions(+), 16 deletions(-) create mode 100644 docs/src/content/docs/ja/components/asides.mdx create mode 100644 docs/src/content/docs/ja/components/badges.mdx create mode 100644 docs/src/content/docs/ja/components/card-grids.mdx create mode 100644 docs/src/content/docs/ja/components/cards.mdx create mode 100644 docs/src/content/docs/ja/components/code.mdx create mode 100644 docs/src/content/docs/ja/components/file-tree.mdx create mode 100644 docs/src/content/docs/ja/components/icons.mdx create mode 100644 docs/src/content/docs/ja/components/link-buttons.mdx create mode 100644 docs/src/content/docs/ja/components/link-cards.mdx create mode 100644 docs/src/content/docs/ja/components/steps.mdx create mode 100644 docs/src/content/docs/ja/components/tabs.mdx create mode 100644 docs/src/content/docs/ja/components/using-components.mdx rename docs/src/content/docs/ja/guides/{authoring-content.md => authoring-content.mdx} (83%) create mode 100644 docs/src/content/docs/ja/reference/icons.mdx diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index fd76cad6818..4924cda337c 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -137,6 +137,7 @@ export default defineConfig({ fr: 'Composants', ru: 'Компоненты', ko: '컴포넌트', + ja: 'コンポーネント', }, autogenerate: { directory: 'components' }, }, diff --git a/docs/src/content/docs/ja/components/asides.mdx b/docs/src/content/docs/ja/components/asides.mdx new file mode 100644 index 00000000000..717e8bbac6b --- /dev/null +++ b/docs/src/content/docs/ja/components/asides.mdx @@ -0,0 +1,155 @@ +--- +title: 補足情報 +description: Starlightで補足情報を使用して、ページのメインコンテンツの横に補足情報を表示する方法を学びます。 +--- + +import { Aside } from '@astrojs/starlight/components'; + +ページのメインコンテンツの横に補足情報を表示するには、`