From 91309ae13250c5fd9f91a8e1843f16430773ff15 Mon Sep 17 00:00:00 2001 From: Shinya Fujino Date: Wed, 21 Jun 2023 02:34:06 +0900 Subject: i18n(ja): Add Japanese translation for `search.devWarning` (#234) Co-authored-by: Chris Swithinbank --- .changeset/shy-bats-yell.md | 5 +++++ docs/src/content/docs/ja/guides/i18n.mdx | 1 + packages/starlight/translations/ja.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/shy-bats-yell.md diff --git a/.changeset/shy-bats-yell.md b/.changeset/shy-bats-yell.md new file mode 100644 index 00000000..95f96fca --- /dev/null +++ b/.changeset/shy-bats-yell.md @@ -0,0 +1,5 @@ +--- +"@astrojs/starlight": patch +--- + +Add Japanese translation for `search.devWarning` diff --git a/docs/src/content/docs/ja/guides/i18n.mdx b/docs/src/content/docs/ja/guides/i18n.mdx index b122c9aa..0b376300 100644 --- a/docs/src/content/docs/ja/guides/i18n.mdx +++ b/docs/src/content/docs/ja/guides/i18n.mdx @@ -180,6 +180,7 @@ Starlightでは、読者が選択した言語でサイト全体を体験でき "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", diff --git a/packages/starlight/translations/ja.json b/packages/starlight/translations/ja.json index 833928b0..75e2b06e 100644 --- a/packages/starlight/translations/ja.json +++ b/packages/starlight/translations/ja.json @@ -3,7 +3,7 @@ "search.label": "検索", "search.shortcutLabel": "(/を押して検索)", "search.cancelLabel": "キャンセル", - "search.devWarning": "Search is only available in production builds. \nTry building and previewing the site to test it out locally.", + "search.devWarning": "検索はプロダクションビルドでのみ利用可能です。\nローカルでテストするには、サイトをビルドしてプレビューしてください。", "themeSelect.accessibleLabel": "テーマの選択", "themeSelect.dark": "ダーク", "themeSelect.light": "ライト", -- cgit