Skip to content

Commit 14de6b1

Browse files
authored
Add Japanese translation (#1051)
* app: i18n: Add Japanese translation * CHANGES: Add Japanese i18n
1 parent ebd7b39 commit 14de6b1

3 files changed

Lines changed: 42 additions & 0 deletions

File tree

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ New Features
1515
- Add sorting option for comments (`#1005`_, pkvach)
1616
- admin: Add log out button (`#870`_, bbaovanc)
1717
- Add support for environment variables in config (`#1037`_, pkvach)
18+
- Add Japanese localisation (`#1051`_, zurukumo)
1819

1920
.. _#870: https://github.com/posativ/isso/pull/870
2021
.. _#966: https://github.com/posativ/isso/pull/966
@@ -24,6 +25,7 @@ New Features
2425
.. _#1020: https://github.com/isso-comments/isso/pull/1020
2526
.. _#1005: https://github.com/isso-comments/isso/pull/1005
2627
.. _#1037: https://github.com/isso-comments/isso/pull/1037
28+
.. _#1051: https://github.com/isso-comments/isso/pull/1051
2729

2830
Breaking Changes
2931
^^^^^^^^^^^^^^^^

isso/js/app/i18n.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ var catalogue = {
1818
hr: require("app/i18n/hr"),
1919
hu: require("app/i18n/hu"),
2020
it: require("app/i18n/it"),
21+
ja: require("app/i18n/ja"),
2122
ko: require("app/i18n/ko"),
2223
nl: require("app/i18n/nl"),
2324
oc: require("app/i18n/oc"),
@@ -54,6 +55,7 @@ var pluralforms = function(lang) {
5455
case "hr":
5556
case "hu":
5657
case "it":
58+
case "ja":
5759
case "ko":
5860
case "nl":
5961
case "pt":

isso/js/app/i18n/ja.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
module.exports = {
2+
"postbox-text": "コメントを入力してください (3文字以上)",
3+
"postbox-author": "名前 (任意)",
4+
"postbox-author-placeholder": "John Doe",
5+
"postbox-email": "E-mail (任意)",
6+
"postbox-email-placeholder": "johndoe@example.com",
7+
"postbox-website": "ウェブサイト (任意)",
8+
"postbox-website-placeholder": "https://example.com",
9+
"postbox-preview": "プレビュー",
10+
"postbox-edit": "編集",
11+
"postbox-submit": "送信",
12+
"postbox-notification": "返信があった場合にメールで通知する",
13+
14+
"num-comments": "コメント 1件\nコメント {{ n }}件",
15+
"no-comments": "まだコメントはありません",
16+
"atom-feed": "Atomフィード",
17+
18+
"comment-reply": "返信",
19+
"comment-edit": "編集",
20+
"comment-save": "保存",
21+
"comment-delete": "削除",
22+
"comment-confirm": "確認",
23+
"comment-close": "閉じる",
24+
"comment-cancel": "キャンセル",
25+
"comment-deleted": "コメントは削除されました",
26+
"comment-queued": "コメントは承認待ちです",
27+
"comment-anonymous": "名無し",
28+
"comment-hidden": "{{ n }}件 非表示",
29+
"comment-page-author-suffix": "管理人",
30+
31+
"date-now": "たった今",
32+
"date-minute": "1分前\n{{ n }}分前",
33+
"date-hour": "1時間前\n{{ n }}時間前",
34+
"date-day": "昨日\n{{ n }}日前",
35+
"date-week": "先週\n{{ n }}週間前",
36+
"date-month": "先月\n{{ n }}ヶ月前",
37+
"date-year": "1年前\n{{ n }}年前"
38+
};

0 commit comments

Comments
 (0)