Commit dc7e1946 authored by xiaoye's avatar xiaoye

fix

parent 7c6306a5
Pipeline #42407 failed with stages
in 1 minute and 17 seconds
{ {
"version": 4962, "version": 4962,
"servers": [ "servers": [
{
"name": "宵服",
"ip": "jwyxym.top",
"port": "50003"
},
{ {
"name": "koishi", "name": "koishi",
"ip": "koishi.momobako.com", "ip": "koishi.momobako.com",
......
{ {
"version": 4962, "version": 4962,
"servers": [ "servers": [
{
"name": "宵服",
"ip": "jwyxym.top",
"port": "50003"
},
{ {
"name": "koishi", "name": "koishi",
"ip": "koishi.momobako.com", "ip": "koishi.momobako.com",
......
...@@ -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 = () => {
......
...@@ -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",
......
...@@ -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环境",
......
...@@ -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",
......
...@@ -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",
......
...@@ -162,6 +162,7 @@ ...@@ -162,6 +162,7 @@
"MatchModal": { "MatchModal": {
"PleaseEnterCustomRoomInformation": "カスタムルーム情報を入力してください", "PleaseEnterCustomRoomInformation": "カスタムルーム情報を入力してください",
"Server": "サーバー", "Server": "サーバー",
"XiaoServer": "宵服",
"KoishiServer": "コイシサーバー", "KoishiServer": "コイシサーバー",
"UltraPreemptiveServer": "超先行サーバー", "UltraPreemptiveServer": "超先行サーバー",
"408": "408環境", "408": "408環境",
......
...@@ -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",
......
...@@ -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",
......
...@@ -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"),
......
...@@ -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")}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment