Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaoye
Neos
Commits
dc7e1946
Commit
dc7e1946
authored
Jan 05, 2026
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7c6306a5
Pipeline
#42407
failed with stages
in 1 minute and 17 seconds
Changes
12
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
34 additions
and
12 deletions
+34
-12
neos.config.json
neos.config.json
+5
-0
neos.config.prod.json
neos.config.prod.json
+5
-0
src/ui/I18N/I18NSelector/index.tsx
src/ui/I18N/I18NSelector/index.tsx
+6
-6
src/ui/I18N/Source/Brazilian/translation.json
src/ui/I18N/Source/Brazilian/translation.json
+1
-0
src/ui/I18N/Source/Chinese/translation.json
src/ui/I18N/Source/Chinese/translation.json
+2
-1
src/ui/I18N/Source/English/translation.json
src/ui/I18N/Source/English/translation.json
+1
-0
src/ui/I18N/Source/French/translation.json
src/ui/I18N/Source/French/translation.json
+1
-0
src/ui/I18N/Source/Japanese/translation.json
src/ui/I18N/Source/Japanese/translation.json
+1
-0
src/ui/I18N/Source/Portuguese/translation.json
src/ui/I18N/Source/Portuguese/translation.json
+1
-0
src/ui/I18N/Source/Spanish/translation.json
src/ui/I18N/Source/Spanish/translation.json
+1
-0
src/ui/Match/MatchModal/index.tsx
src/ui/Match/MatchModal/index.tsx
+8
-3
src/ui/Match/index.tsx
src/ui/Match/index.tsx
+2
-2
No files found.
neos.config.json
View file @
dc7e1946
{
{
"version"
:
4962
,
"version"
:
4962
,
"servers"
:
[
"servers"
:
[
{
"name"
:
"宵服"
,
"ip"
:
"jwyxym.top"
,
"port"
:
"50003"
},
{
{
"name"
:
"koishi"
,
"name"
:
"koishi"
,
"ip"
:
"koishi.momobako.com"
,
"ip"
:
"koishi.momobako.com"
,
...
...
neos.config.prod.json
View file @
dc7e1946
{
{
"version"
:
4962
,
"version"
:
4962
,
"servers"
:
[
"servers"
:
[
{
"name"
:
"宵服"
,
"ip"
:
"jwyxym.top"
,
"port"
:
"50003"
},
{
{
"name"
:
"koishi"
,
"name"
:
"koishi"
,
"ip"
:
"koishi.momobako.com"
,
"ip"
:
"koishi.momobako.com"
,
...
...
src/ui/I18N/I18NSelector/index.tsx
View file @
dc7e1946
...
@@ -8,12 +8,12 @@ import { useI18N } from "../I18NContext";
...
@@ -8,12 +8,12 @@ import { useI18N } from "../I18NContext";
const
languageOptions
:
{
value
:
string
;
label
:
string
;
flag
:
FlagIconCode
}[]
=
const
languageOptions
:
{
value
:
string
;
label
:
string
;
flag
:
FlagIconCode
}[]
=
[
[
{
value
:
"
cn
"
,
label
:
"
简体中文
"
,
flag
:
"
CN
"
as
FlagIconCode
},
{
value
:
"
cn
"
,
label
:
"
简体中文
"
,
flag
:
"
CN
"
as
FlagIconCode
},
{
value
:
"
en
"
,
label
:
"
English
"
,
flag
:
"
US
"
as
FlagIconCode
},
//
{ value: "en", label: "English", flag: "US" as FlagIconCode },
{
value
:
"
fr
"
,
label
:
"
Français
"
,
flag
:
"
FR
"
as
FlagIconCode
},
//
{ value: "fr", label: "Français", flag: "FR" as FlagIconCode },
{
value
:
"
ja
"
,
label
:
"
日本語
"
,
flag
:
"
JP
"
as
FlagIconCode
},
//
{ value: "ja", label: "日本語", flag: "JP" as FlagIconCode },
{
value
:
"
br
"
,
label
:
"
Português do Brasil
"
,
flag
:
"
BR
"
as
FlagIconCode
},
//
{ value: "br", label: "Português do Brasil", flag: "BR" as FlagIconCode },
{
value
:
"
pt
"
,
label
:
"
Português
"
,
flag
:
"
PT
"
as
FlagIconCode
},
//
{ value: "pt", label: "Português", flag: "PT" as FlagIconCode },
{
value
:
"
es
"
,
label
:
"
Castellano
"
,
flag
:
"
ES
"
as
FlagIconCode
},
//
{ value: "es", label: "Castellano", flag: "ES" as FlagIconCode },
];
];
export
const
I18NSelector
:
React
.
FC
=
()
=>
{
export
const
I18NSelector
:
React
.
FC
=
()
=>
{
...
...
src/ui/I18N/Source/Brazilian/translation.json
View file @
dc7e1946
...
@@ -161,6 +161,7 @@
...
@@ -161,6 +161,7 @@
"MatchModal"
:
{
"MatchModal"
:
{
"PleaseEnterCustomRoomInformation"
:
"Por favor, insira as informações da sala personalizada"
,
"PleaseEnterCustomRoomInformation"
:
"Por favor, insira as informações da sala personalizada"
,
"Server"
:
"Servidor"
,
"Server"
:
"Servidor"
,
"XiaoServer"
:
"宵服"
,
"KoishiServer"
:
"Servidor Koishi"
,
"KoishiServer"
:
"Servidor Koishi"
,
"UltraPreemptiveServer"
:
"Servidor Ultra Preemptivo"
,
"UltraPreemptiveServer"
:
"Servidor Ultra Preemptivo"
,
"PlayerNickname"
:
"Apelido do Jogador"
,
"PlayerNickname"
:
"Apelido do Jogador"
,
...
...
src/ui/I18N/Source/Chinese/translation.json
View file @
dc7e1946
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
"MCSpectatorListTitle"
:
"MC观战列表"
,
"MCSpectatorListTitle"
:
"MC观战列表"
,
"MCSpectatorListDesc"
:
"观看萌卡MyCard上正在进行的决斗"
,
"MCSpectatorListDesc"
:
"观看萌卡MyCard上正在进行的决斗"
,
"SinglePlayerModeTitle"
:
"单人模式"
,
"SinglePlayerModeTitle"
:
"单人模式"
,
"SinglePlayerModeDesc"
:
"在
Koishi 7210服务器上
开启一场与AI的决斗,验证自己的卡组,或者只是打发时间。"
,
"SinglePlayerModeDesc"
:
"在
宵服
开启一场与AI的决斗,验证自己的卡组,或者只是打发时间。"
,
"CustomRoomTitle"
:
"自定义房间"
,
"CustomRoomTitle"
:
"自定义房间"
,
"CustomRoomDesc"
:
"创建自定义规则的房间,与好友约战。"
,
"CustomRoomDesc"
:
"创建自定义规则的房间,与好友约战。"
,
"ReplayTitle"
:
"录像回放"
,
"ReplayTitle"
:
"录像回放"
,
...
@@ -164,6 +164,7 @@
...
@@ -164,6 +164,7 @@
"MatchModal"
:
{
"MatchModal"
:
{
"PleaseEnterCustomRoomInformation"
:
"请输入自定义房间信息"
,
"PleaseEnterCustomRoomInformation"
:
"请输入自定义房间信息"
,
"Server"
:
"服务器"
,
"Server"
:
"服务器"
,
"XiaoServer"
:
"宵服"
,
"KoishiServer"
:
"Koishi服"
,
"KoishiServer"
:
"Koishi服"
,
"UltraPreemptiveServer"
:
"超先行服"
,
"UltraPreemptiveServer"
:
"超先行服"
,
"408"
:
"408环境"
,
"408"
:
"408环境"
,
...
...
src/ui/I18N/Source/English/translation.json
View file @
dc7e1946
...
@@ -164,6 +164,7 @@
...
@@ -164,6 +164,7 @@
"MatchModal"
:
{
"MatchModal"
:
{
"PleaseEnterCustomRoomInformation"
:
"Please enter custom room information"
,
"PleaseEnterCustomRoomInformation"
:
"Please enter custom room information"
,
"Server"
:
"Server"
,
"Server"
:
"Server"
,
"XiaoServer"
:
"宵服"
,
"KoishiServer"
:
"Koishi Server"
,
"KoishiServer"
:
"Koishi Server"
,
"UltraPreemptiveServer"
:
"Ultra Preemptive Server"
,
"UltraPreemptiveServer"
:
"Ultra Preemptive Server"
,
"408"
:
"408 Environment"
,
"408"
:
"408 Environment"
,
...
...
src/ui/I18N/Source/French/translation.json
View file @
dc7e1946
...
@@ -161,6 +161,7 @@
...
@@ -161,6 +161,7 @@
"MatchModal"
:
{
"MatchModal"
:
{
"PleaseEnterCustomRoomInformation"
:
"Veuillez entrer les informations de la salle personnalisée"
,
"PleaseEnterCustomRoomInformation"
:
"Veuillez entrer les informations de la salle personnalisée"
,
"Server"
:
"Serveur"
,
"Server"
:
"Serveur"
,
"XiaoServer"
:
"宵服"
,
"KoishiServer"
:
"Serveur Koishi"
,
"KoishiServer"
:
"Serveur Koishi"
,
"UltraPreemptiveServer"
:
"Serveur Ultra Préemptif"
,
"UltraPreemptiveServer"
:
"Serveur Ultra Préemptif"
,
"PlayerNickname"
:
"Pseudo du joueur"
,
"PlayerNickname"
:
"Pseudo du joueur"
,
...
...
src/ui/I18N/Source/Japanese/translation.json
View file @
dc7e1946
...
@@ -162,6 +162,7 @@
...
@@ -162,6 +162,7 @@
"MatchModal"
:
{
"MatchModal"
:
{
"PleaseEnterCustomRoomInformation"
:
"カスタムルーム情報を入力してください"
,
"PleaseEnterCustomRoomInformation"
:
"カスタムルーム情報を入力してください"
,
"Server"
:
"サーバー"
,
"Server"
:
"サーバー"
,
"XiaoServer"
:
"宵服"
,
"KoishiServer"
:
"コイシサーバー"
,
"KoishiServer"
:
"コイシサーバー"
,
"UltraPreemptiveServer"
:
"超先行サーバー"
,
"UltraPreemptiveServer"
:
"超先行サーバー"
,
"408"
:
"408環境"
,
"408"
:
"408環境"
,
...
...
src/ui/I18N/Source/Portuguese/translation.json
View file @
dc7e1946
...
@@ -161,6 +161,7 @@
...
@@ -161,6 +161,7 @@
"MatchModal"
:
{
"MatchModal"
:
{
"PleaseEnterCustomRoomInformation"
:
"Por favor, insira as informações da sala personalizada"
,
"PleaseEnterCustomRoomInformation"
:
"Por favor, insira as informações da sala personalizada"
,
"Server"
:
"Servidor"
,
"Server"
:
"Servidor"
,
"XiaoServer"
:
"宵服"
,
"KoishiServer"
:
"Servidor Koishi"
,
"KoishiServer"
:
"Servidor Koishi"
,
"UltraPreemptiveServer"
:
"Servidor Ultra Preemptivo"
,
"UltraPreemptiveServer"
:
"Servidor Ultra Preemptivo"
,
"PlayerNickname"
:
"Apelido do Jogador"
,
"PlayerNickname"
:
"Apelido do Jogador"
,
...
...
src/ui/I18N/Source/Spanish/translation.json
View file @
dc7e1946
...
@@ -161,6 +161,7 @@
...
@@ -161,6 +161,7 @@
"MatchModal"
:
{
"MatchModal"
:
{
"PleaseEnterCustomRoomInformation"
:
"Por favor, ingresa la información de la sala personalizada"
,
"PleaseEnterCustomRoomInformation"
:
"Por favor, ingresa la información de la sala personalizada"
,
"Server"
:
"Servidor"
,
"Server"
:
"Servidor"
,
"XiaoServer"
:
"宵服"
,
"KoishiServer"
:
"Servidor Koishi"
,
"KoishiServer"
:
"Servidor Koishi"
,
"UltraPreemptiveServer"
:
"Servidor Ultra Preventivo"
,
"UltraPreemptiveServer"
:
"Servidor Ultra Preventivo"
,
"PlayerNickname"
:
"Apodo del Jugador"
,
"PlayerNickname"
:
"Apodo del Jugador"
,
...
...
src/ui/Match/MatchModal/index.tsx
View file @
dc7e1946
...
@@ -16,9 +16,10 @@ import styles from "./index.module.scss";
...
@@ -16,9 +16,10 @@ import styles from "./index.module.scss";
const
NeosConfig
=
useConfig
();
const
NeosConfig
=
useConfig
();
const
serverConfig
=
NeosConfig
.
servers
;
const
serverConfig
=
NeosConfig
.
servers
;
const
KOISHI_INDEX
=
0
;
const
XIAO_INDEX
=
0
;
const
PRERELEASE_INDEX
=
3
;
const
KOISHI_INDEX
=
1
;
const
ENV_408
=
4
;
const
PRERELEASE_INDEX
=
4
;
const
ENV_408
=
5
;
const
{
const
{
defaults
:
{
defaultPlayer
,
defaultPassword
},
defaults
:
{
defaultPlayer
,
defaultPassword
},
...
@@ -121,6 +122,10 @@ export const MatchModal: React.FC = ({}) => {
...
@@ -121,6 +122,10 @@ export const MatchModal: React.FC = ({}) => {
title=
{
i18n
(
"
Server
"
)
}
title=
{
i18n
(
"
Server
"
)
}
value=
{
serverId
}
value=
{
serverId
}
options=
{
[
options=
{
[
{
value
:
XIAO_INDEX
,
label
:
i18n
(
"
XiaoServer
"
),
},
{
{
value
:
KOISHI_INDEX
,
value
:
KOISHI_INDEX
,
label
:
i18n
(
"
KoishiServer
"
),
label
:
i18n
(
"
KoishiServer
"
),
...
...
src/ui/Match/index.tsx
View file @
dc7e1946
...
@@ -255,7 +255,7 @@ export const Component: React.FC = () => {
...
@@ -255,7 +255,7 @@ export const Component: React.FC = () => {
</
Button
>
</
Button
>
</
Space
>
</
Space
>
<
div
className=
{
styles
[
"
mode-select
"
]
}
>
<
div
className=
{
styles
[
"
mode-select
"
]
}
>
<
Mode
{
/*
<Mode
title={i18n("MCCompetitiveMatchmakingTitle")}
title={i18n("MCCompetitiveMatchmakingTitle")}
desc={i18n("MCCompetitiveMatchmakingDesc")}
desc={i18n("MCCompetitiveMatchmakingDesc")}
icon={
icon={
...
@@ -290,7 +290,7 @@ export const Component: React.FC = () => {
...
@@ -290,7 +290,7 @@ export const Component: React.FC = () => {
desc={i18n("MCSpectatorListDesc")}
desc={i18n("MCSpectatorListDesc")}
icon={watchLoading ? <LoadingOutlined /> : <PlayCircleFilled />}
icon={watchLoading ? <LoadingOutlined /> : <PlayCircleFilled />}
onClick={onMCWatch}
onClick={onMCWatch}
/>
/>
*/
}
<
Mode
<
Mode
title=
{
i18n
(
"
SinglePlayerModeTitle
"
)
}
title=
{
i18n
(
"
SinglePlayerModeTitle
"
)
}
desc=
{
i18n
(
"
SinglePlayerModeDesc
"
)
}
desc=
{
i18n
(
"
SinglePlayerModeDesc
"
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment