From a0993b062bd8f30734abffbac01ddfb101e13abf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E4=B8=8A=20=E8=AB=92?= Date: Tue, 9 Aug 2022 07:23:42 +0900 Subject: [PATCH] Add Japanese --- website/docusaurus.config.js | 7 +- website/i18n/ja/code.json | 303 ++++++++++++++++++ .../options.json | 14 + .../current.json | 38 +++ .../ja/docusaurus-theme-classic/footer.json | 54 ++++ .../ja/docusaurus-theme-classic/navbar.json | 42 +++ 6 files changed, 457 insertions(+), 1 deletion(-) create mode 100644 website/i18n/ja/code.json create mode 100644 website/i18n/ja/docusaurus-plugin-content-blog/options.json create mode 100644 website/i18n/ja/docusaurus-plugin-content-docs/current.json create mode 100644 website/i18n/ja/docusaurus-theme-classic/footer.json create mode 100644 website/i18n/ja/docusaurus-theme-classic/navbar.json diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index b966be7918b..6e1706b36f5 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -18,7 +18,7 @@ const config = { i18n: { defaultLocale: "en", - locales: ["en", "zh-Hans"], + locales: ["en", "zh-Hans", "ja"], localeConfigs: { en: { label: "English", @@ -30,6 +30,11 @@ const config = { direction: "ltr", htmlLang: "zh-Hans", }, + "ja": { + label: "日本語", + direction: "ltr", + htmlLang: "ja-JP", + } }, }, plugins: [ diff --git a/website/i18n/ja/code.json b/website/i18n/ja/code.json new file mode 100644 index 00000000000..a33ab839abb --- /dev/null +++ b/website/i18n/ja/code.json @@ -0,0 +1,303 @@ +{ + "homepage.Features.Title1": { + "message": "豊富な機能" + }, + "homepage.Features.Description1": { + "message": "メニューやダイアログなどのネイティブUI要素を使用して、クロスプラットフォームアプリを構築しましょう。" + }, + "homepage.Features.Title2": { + "message": "使い慣れた技術" + }, + "homepage.Features.Description2": { + "message": "すでにあなたが知っている技術で、素晴らしいアプリを構築できます。" + }, + "homepage.Features.Title3": { + "message": "速い" + }, + "homepage.Features.Description3": { + "message": "Wails CLIを使用して、プロジェクトをすばやく生成、ビルド、およびパッケージ化できます。" + }, + "homepage.Tagline": { + "message": "Goで美しいクロスプラットフォームアプリを開発" + }, + "homepage.ButtonText": { + "message": "はじめよう" + }, + "homepage.LearnMoreButtonText": { + "message": "詳しく" + }, + "theme.ErrorPageContent.title": { + "message": "ページがクラッシュしました。", + "description": "The title of the fallback page when the page crashed" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "再試行", + "description": "The label of the button to try again when the page crashed" + }, + "theme.NotFound.title": { + "message": "ページが見つかりません", + "description": "The title of the 404 page" + }, + "theme.NotFound.p1": { + "message": "リクエストされたページは見つかりませんでした。", + "description": "The first paragraph of the 404 page" + }, + "theme.NotFound.p2": { + "message": "リンク元のページの所有者に連絡し、このリンクが無効であることをお知らせください。", + "description": "The 2nd paragraph of the 404 page" + }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "閉じる", + "description": "The ARIA label for close button of announcement bar" + }, + "theme.blog.archive.title": { + "message": "アーカイブ", + "description": "The page & hero title of the blog archive page" + }, + "theme.blog.archive.description": { + "message": "アーカイブ", + "description": "The page & hero description of the blog archive page" + }, + "theme.BackToTopButton.buttonAriaLabel": { + "message": "ページ上部へ戻る", + "description": "The ARIA label for the back to top button" + }, + "theme.blog.paginator.navAriaLabel": { + "message": "ブログ投稿一覧ページナビゲーション", + "description": "The ARIA label for the blog pagination" + }, + "theme.blog.paginator.newerEntries": { + "message": "より新しい投稿", + "description": "The label used to navigate to the newer blog posts page (previous page)" + }, + "theme.blog.paginator.olderEntries": { + "message": "より古い投稿", + "description": "The label used to navigate to the older blog posts page (next page)" + }, + "theme.blog.post.readingTime.plurals": { + "message": "1分で読めます|{readingTime}分で読めます", + "description": "Pluralized label for \"{readingTime} min read\". 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)" + }, + "theme.blog.post.readMoreLabel": { + "message": "\"{title}\"の投稿をすべて読む", + "description": "The ARIA label for the link to full blog posts from excerpts" + }, + "theme.blog.post.readMore": { + "message": "すべて読む", + "description": "The label used in blog post item excerpts to link to full blog posts" + }, + "theme.blog.post.paginator.navAriaLabel": { + "message": "ブログ投稿ページナビゲーション", + "description": "The ARIA label for the blog posts pagination" + }, + "theme.blog.post.paginator.newerPost": { + "message": "次の新しい投稿", + "description": "The blog post button label to navigate to the newer/previous post" + }, + "theme.blog.post.paginator.olderPost": { + "message": "次の古い投稿", + "description": "The blog post button label to navigate to the older/next post" + }, + "theme.blog.sidebar.navAriaLabel": { + "message": "最近のブログ投稿のナビゲーション", + "description": "The ARIA label for recent posts in the blog sidebar" + }, + "theme.blog.post.plurals": { + "message": "1件の投稿|{count}件の投稿", + "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)" + }, + "theme.blog.tagTitle": { + "message": "\"{tagName}\"タグがついた{nPosts}件の投稿", + "description": "The title of the page for a blog tag" + }, + "theme.tags.tagsPageLink": { + "message": "すべてのタグを見る", + "description": "The label of the link targeting the tag list page" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "コードをクリップボードにコピー", + "description": "The ARIA label for copy code blocks button" + }, + "theme.CodeBlock.copied": { + "message": "コピーしました", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copy": { + "message": "コピー", + "description": "The copy button label on code blocks" + }, + "theme.colorToggle.ariaLabel": { + "message": "ダークモード/ライトモードの切替 (現在は{mode}です)", + "description": "The ARIA label for the navbar color mode toggle" + }, + "theme.colorToggle.ariaLabel.mode.dark": { + "message": "ダークモード", + "description": "The name for the dark color mode" + }, + "theme.colorToggle.ariaLabel.mode.light": { + "message": "ライトモード", + "description": "The name for the light color mode" + }, + "theme.docs.DocCard.categoryDescription": { + "message": "{count}件", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, + "theme.docs.sidebar.expandButtonTitle": { + "message": "サイドバーを展開", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.sidebar.expandButtonAriaLabel": { + "message": "サイドバーを展開", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.paginator.navAriaLabel": { + "message": "ドキュメントページナビゲーション", + "description": "The ARIA label for the docs pagination" + }, + "theme.docs.paginator.previous": { + "message": "前へ", + "description": "The label used to navigate to the previous doc" + }, + "theme.docs.paginator.next": { + "message": "次へ", + "description": "The label used to navigate to the next doc" + }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "サイドバーを折りたたむ", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "サイドバーを折りたたむ", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": { + "message": "'{label}'カテゴリサイドバーの折りたたみを切替える", + "description": "The ARIA label to toggle the collapsible sidebar category" + }, + "theme.docs.tagDocListPageTitle.nDocsTagged": { + "message": "1件のドキュメントがタグ付けされています|{count}件のドキュメントがタグ付けされています", + "description": "Pluralized label for \"{count} docs tagged\". 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)" + }, + "theme.docs.tagDocListPageTitle": { + "message": "\"{tagName}\"タグがついた{nDocsTagged}件のドキュメント", + "description": "The title of the page for a docs tag" + }, + "theme.docs.versionBadge.label": { + "message": "バージョン: {versionLabel}" + }, + "theme.docs.versions.unreleasedVersionLabel": { + "message": "これは、{siteTitle} {versionLabel}のまだ未公開なドキュメントです。", + "description": "The label used to tell the user that he's browsing an unreleased doc version" + }, + "theme.docs.versions.unmaintainedVersionLabel": { + "message": "これは、{siteTitle} {versionLabel}のドキュメントで、長期間更新されていません。", + "description": "The label used to tell the user that he's browsing an unmaintained doc version" + }, + "theme.docs.versions.latestVersionSuggestionLabel": { + "message": "最新のドキュメントは、{latestVersionLink} ({versionLabel}) をご覧ください。", + "description": "The label used to tell the user to check the latest version" + }, + "theme.docs.versions.latestVersionLinkLabel": { + "message": "最新バージョン", + "description": "The label used for the latest version suggestion link label" + }, + "theme.common.editThisPage": { + "message": "このページを編集", + "description": "The link label to edit the current page" + }, + "theme.common.headingLinkTitle": { + "message": "見出しへの直リンク", + "description": "Title for link to heading" + }, + "theme.lastUpdated.atDate": { + "message": "{date}", + "description": "The words used to describe on which date a page has been last updated" + }, + "theme.lastUpdated.byUser": { + "message": "{user}", + "description": "The words used to describe by who the page has been last updated" + }, + "theme.lastUpdated.lastUpdatedAtBy": { + "message": "{byUser}が{atDate}に最終更新", + "description": "The sentence used to display when a page has been last updated, and by who" + }, + "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { + "message": "← メインメニューに戻る", + "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" + }, + "theme.navbar.mobileVersionsDropdown.label": { + "message": "バージョン一覧", + "description": "The label for the navbar versions dropdown on mobile view" + }, + "theme.common.skipToMainContent": { + "message": "メインコンテンツにスキップ", + "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" + }, + "theme.tags.tagsListLabel": { + "message": "タグ:", + "description": "The label alongside a tag list" + }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "このページ", + "description": "The label used by the button on the collapsible TOC component" + }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "言語一覧", + "description": "The label for the mobile language switcher dropdown" + }, + "theme.SearchBar.seeAll": { + "message": "{count}件の結果をすべて見る" + }, + "theme.SearchBar.label": { + "message": "検索", + "description": "The ARIA label and placeholder for search button" + }, + "theme.SearchPage.documentsFound.plurals": { + "message": "1件のドキュメントが見つかりました|{count}件のドキュメントが見つかりました", + "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)" + }, + "theme.SearchPage.existingResultsTitle": { + "message": "\"{query}\"の検索結果", + "description": "The search page title for non-empty query" + }, + "theme.SearchPage.emptyResultsTitle": { + "message": "ドキュメントの検索", + "description": "The search page title for empty query" + }, + "theme.SearchPage.inputPlaceholder": { + "message": "検索したい単語を入力", + "description": "The placeholder for search page input" + }, + "theme.SearchPage.inputLabel": { + "message": "検索", + "description": "The ARIA label for search page input" + }, + "theme.SearchPage.algoliaLabel": { + "message": "Algoliaによる検索", + "description": "The ARIA label for Algolia mention" + }, + "theme.SearchPage.noResultsText": { + "message": "見つかりませんでした", + "description": "The paragraph for empty search result" + }, + "theme.SearchPage.fetchingNewResults": { + "message": "新しい結果を取得中...", + "description": "The paragraph for fetching new search results" + }, + "theme.tags.tagsPageTitle": { + "message": "タグ", + "description": "The title of the tag list page" + }, + "theme.docs.breadcrumbs.home": { + "message": "ホームページ", + "description": "The ARIA label for the home page in the breadcrumbs" + }, + "theme.docs.breadcrumbs.navAriaLabel": { + "message": "パンくずリスト", + "description": "The ARIA label for the breadcrumbs" + }, + "theme.CodeBlock.wordWrapToggle": { + "message": "Toggle word wrap 文字列の折り返しの切替", + "description": "The title attribute for toggle word wrapping button of code block lines" + } +} \ No newline at end of file diff --git a/website/i18n/ja/docusaurus-plugin-content-blog/options.json b/website/i18n/ja/docusaurus-plugin-content-blog/options.json new file mode 100644 index 00000000000..7abfbdd6766 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-blog/options.json @@ -0,0 +1,14 @@ +{ + "title": { + "message": "ブログ", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "ブログ", + "description": "The description for the blog used in SEO" + }, + "sidebar.title": { + "message": "最近の投稿", + "description": "The label for the left sidebar" + } +} diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current.json b/website/i18n/ja/docusaurus-plugin-content-docs/current.json new file mode 100644 index 00000000000..798c29a0c48 --- /dev/null +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current.json @@ -0,0 +1,38 @@ +{ + "version.label": { + "message": "次のバージョン 🚧", + "description": "The label for version current" + }, + "sidebar.tutorialSidebar.category.Getting Started": { + "message": "はじめよう", + "description": "The label for category Getting Started in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Reference": { + "message": "リファレンス", + "description": "The label for category Reference in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Runtime": { + "message": "ランタイム", + "description": "The label for category Runtime in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Community": { + "message": "コミュニティ", + "description": "The label for category Community in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Showcase": { + "message": "ショーケース", + "description": "The label for category Showcase in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Guides": { + "message": "ガイド", + "description": "The label for category Guides in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Tutorials": { + "message": "チュートリアル", + "description": "The label for category Tutorials in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Contributing": { + "message": "コントリビューション", + "description": "The label for category Contributing in sidebar tutorialSidebar" + } +} diff --git a/website/i18n/ja/docusaurus-theme-classic/footer.json b/website/i18n/ja/docusaurus-theme-classic/footer.json new file mode 100644 index 00000000000..284c95e8d9e --- /dev/null +++ b/website/i18n/ja/docusaurus-theme-classic/footer.json @@ -0,0 +1,54 @@ +{ + "link.title.Docs": { + "message": "ドキュメント", + "description": "The title of the footer links column with title=Docs in the footer" + }, + "link.title.Community": { + "message": "コミュニティ", + "description": "The title of the footer links column with title=Community in the footer" + }, + "link.title.More": { + "message": "その他", + "description": "The title of the footer links column with title=More in the footer" + }, + "link.item.label.Introduction": { + "message": "イントロダクション", + "description": "The label of footer link with label=Introduction linking to /docs/introduction" + }, + "link.item.label.Getting Started": { + "message": "はじめよう", + "description": "The label of footer link with label=Getting Started linking to /docs/gettingstarted/installation" + }, + "link.item.label.Changelog": { + "message": "変更履歴", + "description": "The label of footer link with label=Changelog linking to /changelog" + }, + "link.item.label.Github": { + "message": "Github", + "description": "The label of footer link with label=Github linking to https://github.com/wailsapp/wails" + }, + "link.item.label.Twitter": { + "message": "Twitter", + "description": "The label of footer link with label=Twitter linking to https://twitter.com/wailsapp" + }, + "link.item.label.Slack": { + "message": "Slack", + "description": "The label of footer link with label=Slack linking to https://gophers.slack.com/messages/CJ4P9F7MZ/" + }, + "link.item.label.Slack invite": { + "message": "Slackへの招待", + "description": "The label of footer link with label=Slack invite linking to https://invite.slack.golangbridge.org/" + }, + "link.item.label.Blog": { + "message": "ブログ", + "description": "The label of footer link with label=Blog linking to /blog" + }, + "copyright": { + "message": "Copyright © 2022 Lea Anthony. このサイトはDocusaurusで生成されました。", + "description": "The footer copyright" + }, + "link.item.label.Awesome": { + "message": "Awesome", + "description": "The label of footer link with label=Awesome linking to https://github.com/wailsapp/awesome-wails" + } +} diff --git a/website/i18n/ja/docusaurus-theme-classic/navbar.json b/website/i18n/ja/docusaurus-theme-classic/navbar.json new file mode 100644 index 00000000000..b3f8dd4e647 --- /dev/null +++ b/website/i18n/ja/docusaurus-theme-classic/navbar.json @@ -0,0 +1,42 @@ +{ + "item.label.Sponsor": { + "message": "スポンサー ❤", + "description": "Navbar item with label Sponsor" + }, + "item.label.Docs": { + "message": "ドキュメント", + "description": "Navbar item with label Docs" + }, + "item.label.Blog": { + "message": "ブログ", + "description": "Navbar item with label Blog" + }, + "item.label.GitHub": { + "message": "GitHub", + "description": "Navbar item with label GitHub" + }, + "item.label.About": { + "message": "概要", + "description": "Navbar item with label About" + }, + "item.label.FAQ": { + "message": "FAQ", + "description": "Navbar item with label FAQ" + }, + "item.label.Changelog": { + "message": "変更履歴", + "description": "Navbar item with label Changelog" + }, + "item.label.Community Guide": { + "message": "コミュニティガイド", + "description": "Navbar item with label Community Guide" + }, + "item.label.Credits": { + "message": "クレジット", + "description": "Navbar item with label Credits" + }, + "item.label.Stats": { + "message": "統計情報", + "description": "Navbar item with label Stats" + } +}