Add Japanese menu localization

rust
Elnu 1 year ago
parent 78fe1ebab1
commit 4e2230d6f3

@ -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"

@ -3,3 +3,12 @@ msgstr "日本語"
msgid "title"
msgstr "手書きの火曜日"
msgid "profile"
msgstr "プロフィール"
msgid "join_servers"
msgstr "サーバーに参加する"
msgid "log_out"
msgstr "ログアウトする"

@ -19,7 +19,7 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z" />
</svg>
Profile
{{ "profile" | i18n(lang=lang) }}
</span>
</a>
<span class="link" onclick="showServers()">
@ -27,7 +27,7 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M18 18.72a9.094 9.094 0 003.741-.479 3 3 0 00-4.682-2.72m.94 3.198l.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0112 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 016 18.719m12 0a5.971 5.971 0 00-.941-3.197m0 0A5.995 5.995 0 0012 12.75a5.995 5.995 0 00-5.058 2.772m0 0a3 3 0 00-4.681 2.72 8.986 8.986 0 003.74.477m.94-3.197a5.971 5.971 0 00-.94 3.197M15 6.75a3 3 0 11-6 0 3 3 0 016 0zm6 3a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-13.5 0a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z" />
</svg>
Join servers
{{ "join_servers" | i18n(lang=lang) }}
</span>
</span>
<a href="/logout" class="link">
@ -35,7 +35,7 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15M12 9l-3 3m0 0l3 3m-3-3h12.75" />
</svg>
Log out
{{ "log_out" | i18n(lang=lang) }}
</span>
</a>
</nav>

Loading…
Cancel
Save