From 5d36e352fff0283d5ced54113c4df0f33d9adf78 Mon Sep 17 00:00:00 2001 From: SHINICHIRO SUZUKI Date: Wed, 29 Jun 2022 12:43:50 +0900 Subject: [PATCH 1/2] feat: :+1: add Japanese language --- i18n/ja.yaml | 55 +++++++++++++++++++++++++++++++++++++++++++++++ package-lock.json | 7 ++++-- 2 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 i18n/ja.yaml diff --git a/i18n/ja.yaml b/i18n/ja.yaml new file mode 100644 index 00000000..84c8deee --- /dev/null +++ b/i18n/ja.yaml @@ -0,0 +1,55 @@ +article: + anchor_label: "アンカー" + date: "{{ .Date }}" + date_updated: "更新日: {{ .Date }}" + draft: "下書き" + edit_title: "編集" + reading_time: + one: "{{ .Count }} 分" + other: "{{ .Count }} 分" + reading_time_title: "読むのに必要な時間" + table_of_contents: "目次" + word_count: + one: "{{ .Count }} 文字" + other: "{{ .Count }} 文字" + +author: + byline_title: "著者" + +code: + copy: "コピー" + copied: "コピーしました" + +error: + 404_title: "ページが見つかりませんでした。 :confused:" + 404_error: "Error 404" + 404_description: "ご要望のページは存在しないようです。" + +footer: + dark_appearance: "ダークモードへ切り替え" + light_appearance: "ライトモードへ切り替え" + powered_by: "Powered by {{ .Hugo }} & {{ .Congo }}" + +list: + externalurl_title: "外部サイトへリンク" + no_articles: "ここに掲載する記事はまだありません。" + +nav: + scroll_to_top_title: "TOPへスクロール" + skip_to_main: "メインコンテンツへスキップ" + +search: + open_button_title: "検索 (/)" + close_button_title: "閉じる (Esc)" + input_placeholder: "Search" + +sharing: + email: " Eメールを送る" + facebook: "Facebookでシェアする" + linkedin: "LinkedInでシェアする" + pinterest: "Pinterestでピンする" + reddit: "Redditに投稿する" + twitter: "Twitterに投稿する" + +shortcode: + recent_articles: "最近の記事" diff --git a/package-lock.json b/package-lock.json index 9b0707a9..717f48e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hugo-congo-theme", - "version": "2.2.2", + "version": "2.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hugo-congo-theme", - "version": "2.2.2", + "version": "2.3.0", "hasInstallScript": true, "license": "MIT", "devDependencies": { @@ -20,6 +20,9 @@ "rimraf": "^3.0.2", "tailwindcss": "^3.1.4", "vendor-copy": "^3.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/jpanther" } }, "node_modules/@braintree/sanitize-url": { From 3ddabbb56a652ec26916155ec75b6437afc3f47b Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 29 Jun 2022 14:42:52 +1000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20Update=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 739fd968..c7d76630 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Added + +- Japanese translation ([#234](https://github.com/jpanther/congo/pull/234)) + ### Fixed - Main content misaligned when hamburger menu is opened at large viewport sizes