From 29e757ba7541da33f9866b78a69867efd8b1294a Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Sun, 29 Dec 2024 04:49:31 -0500 Subject: [PATCH] [U] Update i18n for userbox --- AquaNet/src/libs/i18n/en_ref.ts | 38 ++++++++++++++++----------------- AquaNet/src/libs/i18n/zh.ts | 24 ++++++++++++++++++++- 2 files changed, 41 insertions(+), 21 deletions(-) diff --git a/AquaNet/src/libs/i18n/en_ref.ts b/AquaNet/src/libs/i18n/en_ref.ts index e2cf5fdb..27e2729b 100644 --- a/AquaNet/src/libs/i18n/en_ref.ts +++ b/AquaNet/src/libs/i18n/en_ref.ts @@ -161,26 +161,24 @@ export const EN_REF_SETTINGS = { } export const EN_REF_USERBOX = { - 'userbox.tabs.chusan':'Chuni', - 'userbox.tabs.maimai':'Mai (WIP)', - 'userbox.tabs.ongeki':'Ongeki (WIP)', - 'userbox.nameplate': 'Nameplate', - 'userbox.frame': 'Frame', - 'userbox.trophy': 'Trophy (Title)', - 'userbox.mapicon': 'Map Icon', - 'userbox.voice':'System Voice', - 'userbox.wear':'Avatar Wear', - 'userbox.head':'Avatar Head', - 'userbox.face':'Avatar Face', - 'userbox.skin':'Avatar Skin', - 'userbox.item':'Avatar Item', - 'userbox.front':'Avatar Front', - 'userbox.back':'Avatar Back', - 'userbox.preview.avatar':'Avatar Preview', - 'userbox.preview.nameplate':'Nameplate Preview', - 'userbox.preview.ui':'Interface Preview', - 'userbox.error.noprofile':'No profile was found for this game', - 'userbox.error.nodata':'No data was found for this game', + 'userbox.header.general': 'General Settings', + 'userbox.header.userbox': 'UserBox Settings', + 'userbox.header.preview': 'UserBox Preview', + 'userbox.nameplateId': 'Nameplate', + 'userbox.frameId': 'Frame', + 'userbox.trophyId': 'Trophy (Title)', + 'userbox.mapIconId': 'Map Icon', + 'userbox.voiceId': 'System Voice', + 'userbox.avatarWear': 'Avatar Wear', + 'userbox.avatarHead': 'Avatar Head', + 'userbox.avatarFace': 'Avatar Face', + 'userbox.avatarSkin': 'Avatar Skin', + 'userbox.avatarItem': 'Avatar Item', + 'userbox.avatarFront': 'Avatar Front', + 'userbox.avatarBack': 'Avatar Back', + 'userbox.preview.notice': 'To honor the copyright, we cannot host the images of the userbox items. However, if someone else is willing to provide the images, you can enter their URL here and it will be displayed.', + 'userbox.preview.url': 'Image URL', + 'userbox.error.nodata': 'Chuni data not found', } export const EN_REF = { ...EN_REF_USER, ...EN_REF_Welcome, ...EN_REF_GENERAL, diff --git a/AquaNet/src/libs/i18n/zh.ts b/AquaNet/src/libs/i18n/zh.ts index a5e48cbb..a98e6e93 100644 --- a/AquaNet/src/libs/i18n/zh.ts +++ b/AquaNet/src/libs/i18n/zh.ts @@ -4,6 +4,7 @@ import { EN_REF_LEADERBOARD, EN_REF_SETTINGS, EN_REF_USER, + EN_REF_USERBOX, type EN_REF_Welcome } from "./en_ref"; @@ -169,5 +170,26 @@ const zhSettings: typeof EN_REF_SETTINGS = { 'settings.export': '导出玩家数据', } +export const zhUserbox: typeof EN_REF_USERBOX = { + 'userbox.header.general': '游戏设置', + 'userbox.header.userbox': 'UserBox 设置', + 'userbox.header.preview': 'UserBox 预览', + 'userbox.nameplateId': '名牌', + 'userbox.frameId': '边框', + 'userbox.trophyId': '称号', + 'userbox.mapIconId': '地图图标', + 'userbox.voiceId': '系统语音', + 'userbox.avatarWear': '企鹅服饰', + 'userbox.avatarHead': '企鹅头饰', + 'userbox.avatarFace': '企鹅面部', + 'userbox.avatarSkin': '企鹅皮肤', + 'userbox.avatarItem': '企鹅物品', + 'userbox.avatarFront': '企鹅前景', + 'userbox.avatarBack': '企鹅背景', + 'userbox.preview.notice': '「生存战略」:为了尊重版权,我们不会提供游戏内物品的图片。但是如果你认识其他愿意提供图床的人,在这里输入 URL 就可以显示出预览。', + 'userbox.preview.url': '图床 URL', + 'userbox.error.nodata': '未找到中二数据', +}; + export const ZH = { ...zhUser, ...zhWelcome, ...zhGeneral, - ...zhLeaderboard, ...zhHome, ...zhSettings } + ...zhLeaderboard, ...zhHome, ...zhSettings, ...zhUserbox }