mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-12 06:07:27 +08:00
[+] Add wacca to frontend
This commit is contained in:
@@ -30,4 +30,4 @@ export function t(key: keyof LocalizedMessages, variables?: { [index: string]: a
|
|||||||
Object.assign(window, { t })
|
Object.assign(window, { t })
|
||||||
|
|
||||||
export const GAME_TITLE: { [key in GameName]: string } =
|
export const GAME_TITLE: { [key in GameName]: string } =
|
||||||
{chu3: t("game.chu3"), mai2: t("game.mai2"), ongeki: t("game.ongeki")}
|
{chu3: t("game.chu3"), mai2: t("game.mai2"), ongeki: t("game.ongeki"), wacca: t("game.wacca")}
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ export const EN_REF_GENERAL = {
|
|||||||
'game.mai2': "Mai",
|
'game.mai2': "Mai",
|
||||||
'game.chu3': "Chuni",
|
'game.chu3': "Chuni",
|
||||||
'game.ongeki': "Ongeki",
|
'game.ongeki': "Ongeki",
|
||||||
|
'game.wacca': "Wacca",
|
||||||
'status.error': "Error",
|
'status.error': "Error",
|
||||||
'status.error.hint': 'Something went wrong, please try again later or ',
|
'status.error.hint': 'Something went wrong, please try again later or ',
|
||||||
'status.error.hint.link': 'join our discord for support.',
|
'status.error.hint.link': 'join our discord for support.',
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const zhUser: typeof EN_REF_USER = {
|
|||||||
'UserHome.PlayTime': '游玩时间',
|
'UserHome.PlayTime': '游玩时间',
|
||||||
'UserHome.FirstSeen': '发现新大陆',
|
'UserHome.FirstSeen': '发现新大陆',
|
||||||
'UserHome.LastSeen': '上次出勤',
|
'UserHome.LastSeen': '上次出勤',
|
||||||
'UserHome.Version': '最新最热否',
|
'UserHome.Version': '游戏版本',
|
||||||
'UserHome.RecentScores': '成绩',
|
'UserHome.RecentScores': '成绩',
|
||||||
'UserHome.NoData': '过去 ${days} 天内没有玩过',
|
'UserHome.NoData': '过去 ${days} 天内没有玩过',
|
||||||
'UserHome.UnknownSong': "(未知曲目)",
|
'UserHome.UnknownSong': "(未知曲目)",
|
||||||
@@ -61,6 +61,7 @@ const zhGeneral: typeof EN_REF_GENERAL = {
|
|||||||
'game.mai2': "舞萌",
|
'game.mai2': "舞萌",
|
||||||
'game.chu3': "中二",
|
'game.chu3': "中二",
|
||||||
'game.ongeki': "音击",
|
'game.ongeki': "音击",
|
||||||
|
'game.wacca': "ワッカ",
|
||||||
"status.error": "发生错误",
|
"status.error": "发生错误",
|
||||||
"status.error.hint": "出了一些问题,请稍后刷新重试或者",
|
"status.error.hint": "出了一些问题,请稍后刷新重试或者",
|
||||||
"status.error.hint.link": "加我们的 Discord 群问一问",
|
"status.error.hint.link": "加我们的 Discord 群问一问",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export type GameName = 'mai2' | 'chu3' | 'ongeki'
|
export type GameName = 'mai2' | 'chu3' | 'ongeki' | 'wacca'
|
||||||
|
|
||||||
const multTable = {
|
const multTable = {
|
||||||
'mai2': [
|
'mai2': [
|
||||||
@@ -41,6 +41,19 @@ const multTable = {
|
|||||||
[ 70.0, 0, 'B' ],
|
[ 70.0, 0, 'B' ],
|
||||||
[ 50.0, 0, 'C' ],
|
[ 50.0, 0, 'C' ],
|
||||||
[ 0.0, 0, 'D' ]
|
[ 0.0, 0, 'D' ]
|
||||||
|
],
|
||||||
|
|
||||||
|
'wacca': [
|
||||||
|
[ 100.0, 0, 'AP' ],
|
||||||
|
[ 98.0, 0, 'SSS' ],
|
||||||
|
[ 95.0, 0, 'SS' ],
|
||||||
|
[ 90.0, 0, 'S' ],
|
||||||
|
[ 85.0, 0, 'AAA' ],
|
||||||
|
[ 80.0, 0, 'AA' ],
|
||||||
|
[ 70.0, 0, 'A' ],
|
||||||
|
[ 60.0, 0, 'B' ],
|
||||||
|
[ 1.0, 0, 'C' ],
|
||||||
|
[ 0.0, 0, 'D' ]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user