From 4e2230d6f379963f38571bfdbcdcd2c91c20b8f4 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Wed, 5 Jul 2023 13:21:16 -0700 Subject: [PATCH] Add Japanese menu localization --- i18n/en.po | 9 +++++++++ i18n/ja.po | 9 +++++++++ templates/nav.html.tera | 6 +++--- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/i18n/en.po b/i18n/en.po index 02bd6b1..f9356ba 100644 --- a/i18n/en.po +++ b/i18n/en.po @@ -3,3 +3,12 @@ msgstr "English" msgid "title" msgstr "Tegaki Tuesday" + +msgid "profile" +msgstr "Profile" + +msgid "join_servers" +msgstr "Join servers" + +msgid "log_out" +msgstr "Log out" \ No newline at end of file diff --git a/i18n/ja.po b/i18n/ja.po index 91a9a53..791132d 100644 --- a/i18n/ja.po +++ b/i18n/ja.po @@ -3,3 +3,12 @@ msgstr "日本語" msgid "title" msgstr "手書きの火曜日" + +msgid "profile" +msgstr "プロフィール" + +msgid "join_servers" +msgstr "サーバーに参加する" + +msgid "log_out" +msgstr "ログアウトする" \ No newline at end of file diff --git a/templates/nav.html.tera b/templates/nav.html.tera index 2a3bc5e..37445b8 100644 --- a/templates/nav.html.tera +++ b/templates/nav.html.tera @@ -19,7 +19,7 @@ - Profile + {{ "profile" | i18n(lang=lang) }} @@ -27,7 +27,7 @@ - Join servers + {{ "join_servers" | i18n(lang=lang) }} @@ -35,7 +35,7 @@ - Log out + {{ "log_out" | i18n(lang=lang) }}