Skip to content

Add Japanese locale #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions _data/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,29 @@ fr-FR:
<<: *FR
fr-LU:
<<: *FR

## => Japanese
########################
en: &JA
SUBSCRIBE : "購読"
READMORE : "さらに読む"
SEARCH : "検索"
CANCEL : "キャンセル"
VIEWS : "閲覧数"
LAST_UPDATED : "最終更新"
PREVIOUS : "前"
NEXT : "次"
ARTICLE_DATE_FORMAT : "%Y年 %m月 %d日"
ARTICLE_LIST_DATE_FORMAT: "%m月 %d日"
STATISTICS : "記事数 [POST_COUNT]件、[PAGE_COUNT]ページ"
LICENSE_ANNOUNCE : "このサイトは[LICENSE]ライセンスの下に提供されています。"
POST_ON_GITHUB : "Githubで編集する"
FOLLOW_ME : "[NAME]でフォローする"
FOLLOW_US : "[NAME]でフォローする"
EMAIL_ME : "Eメールを送る"
EMAIL_US : "Eメールを送る"
COPYRIGHT_DATES : "2021"

ja-JP:
<<: *JA
# @end locale config
4 changes: 4 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ header:
fr-CH : *FR
fr-FR : *FR
fr-LU : *FR
ja : &JA アーカイブ
ja-JP : *JA
# @end locale config
url: /archive.html

Expand All @@ -46,5 +48,7 @@ header:
fr-CH : *FR
fr-FR : *FR
fr-LU : *FR
ja : &JA サイト概要
ja-JP : *JA
# @end locale config
url: /about.html
2 changes: 2 additions & 0 deletions _layouts/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
fr-CH : *FR
fr-FR : *FR
fr-LU : *FR
ja : &JA アーカイブ
ja-JP : *JA
# @end locale config
---

Expand Down
2 changes: 2 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
fr-CH : *FR
fr-FR : *FR
fr-LU : *FR
ja : &JA ホーム
ja-JP : *JA
# @end locale config
show_title: false
articles:
Expand Down
2 changes: 2 additions & 0 deletions about.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ titles:
fr-CH : *FR
fr-FR : *FR
fr-LU : *FR
ja : &JA サイト概要
ja-JP : *JA
# @end locale config
key: page-about
---
Expand Down