🔀 Merge pull request #234 from shin-sforzando:lang-jpn

🇯🇵 add Japanese language
pull/238/head
James Panther 2022-06-29 14:44:11 +10:00 committed by GitHub
commit 9cb8b84cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 64 additions and 2 deletions

View File

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased] ## [Unreleased]
### Added
- Japanese translation ([#234](https://github.com/jpanther/congo/pull/234))
### Fixed ### Fixed
- Main content misaligned when hamburger menu is opened at large viewport sizes - Main content misaligned when hamburger menu is opened at large viewport sizes

55
i18n/ja.yaml 100644
View File

@ -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: "最近の記事"

7
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "hugo-congo-theme", "name": "hugo-congo-theme",
"version": "2.2.2", "version": "2.3.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "hugo-congo-theme", "name": "hugo-congo-theme",
"version": "2.2.2", "version": "2.3.0",
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
@ -20,6 +20,9 @@
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"tailwindcss": "^3.1.4", "tailwindcss": "^3.1.4",
"vendor-copy": "^3.0.1" "vendor-copy": "^3.0.1"
},
"funding": {
"url": "https://github.com/sponsors/jpanther"
} }
}, },
"node_modules/@braintree/sanitize-url": { "node_modules/@braintree/sanitize-url": {