From 42c1031aed3d28c75006151815b3eb065ed11566 Mon Sep 17 00:00:00 2001 From: Citra Bella Rahayu <146302496+Achixz@users.noreply.github.com> Date: Sun, 15 Oct 2023 08:16:56 +0700 Subject: [PATCH] feat: Added Japanese translation (#25) --- README.md | 4 ++++ src/translations.ts | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/README.md b/README.md index 64b9123..5600f35 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,10 @@ You can use [GitHub's theme context](https://github.blog/changelog/2021-11-24-sp

id

Indonesian (Bahasa Indonesia)

+ +

ja

+

Japanese (日本語)

+

ko

Korean (한국어)

diff --git a/src/translations.ts b/src/translations.ts index c2eb143..851df03 100644 --- a/src/translations.ts +++ b/src/translations.ts @@ -72,4 +72,18 @@ export const locales: Locales = { contributedToText: "ساهم في (العام الماضي)", rtlDirection: true, }, + ja: { + titleCard: "{name}の GitHub 統計", + followersText: "フォロワー", + followingText: "フォロー中", + totalReposText: "トータルリポジトリ", + starsCountText: "星の数", + forksCountText: "フォークの数", + commitsCountText: "コミットの数", + totalPRText: "トータルPR", + totalPRMergedText: "トータルPRの マージ", + totalIssuesText: "トータル Issues", + contributedToText: "貢献したリポジトリ (昨年)", + rtlDirection: false, + }, }