[+] More i18n

pull/23/head
Azalea 2024-03-06 10:33:31 -05:00
parent 68f8ef0b24
commit f9af23dbca
3 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,7 @@ export const EN_REF_USER = {
'UserHome.Game.Chu3': "Chuni",
'UserHome.Game.Ongeki': "Ongeki",
'UserHome.UnknownSong': "(unknown song)",
'UserHome.Settings': 'Settings',
}
export const EN_REF_Welcome = {

View File

@ -23,6 +23,7 @@ const zhUser: typeof EN_REF_USER = {
'UserHome.Game.Chu3': "中二",
'UserHome.Game.Ongeki': "音击",
'UserHome.UnknownSong': "(未知曲目)",
'UserHome.Settings': '设置',
}
const zhWelcome: typeof EN_REF_Welcome = {

View File

@ -63,7 +63,7 @@
<div class="name-box">
<h2>{d.user.name}</h2>
{#if me && me.username === username}
<a class="setting-icon clickable" use:tooltip={"Settings"} href="/settings">
<a class="setting-icon clickable" use:tooltip={t("UserHome.Settings")} href="/settings">
<Icon icon="eos-icons:rotating-gear"/>
</a>
{/if}