Commit dc7e1946 authored by xiaoye's avatar xiaoye

fix

parent 7c6306a5
Pipeline #42407 failed with stages
in 1 minute and 17 seconds
{
"version": 4962,
"servers": [
{
"name": "宵服",
"ip": "jwyxym.top",
"port": "50003"
},
{
"name": "koishi",
"ip": "koishi.momobako.com",
......
{
"version": 4962,
"servers": [
{
"name": "宵服",
"ip": "jwyxym.top",
"port": "50003"
},
{
"name": "koishi",
"ip": "koishi.momobako.com",
......
......@@ -8,12 +8,12 @@ import { useI18N } from "../I18NContext";
const languageOptions: { value: string; label: string; flag: FlagIconCode }[] =
[
{ value: "cn", label: "简体中文", flag: "CN" as FlagIconCode },
{ value: "en", label: "English", flag: "US" as FlagIconCode },
{ value: "fr", label: "Français", flag: "FR" as FlagIconCode },
{ value: "ja", label: "日本語", flag: "JP" as FlagIconCode },
{ value: "br", label: "Português do Brasil", flag: "BR" as FlagIconCode },
{ value: "pt", label: "Português", flag: "PT" as FlagIconCode },
{ value: "es", label: "Castellano", flag: "ES" as FlagIconCode },
// { value: "en", label: "English", flag: "US" as FlagIconCode },
// { value: "fr", label: "Français", flag: "FR" as FlagIconCode },
// { value: "ja", label: "日本語", flag: "JP" as FlagIconCode },
// { value: "br", label: "Português do Brasil", flag: "BR" as FlagIconCode },
// { value: "pt", label: "Português", flag: "PT" as FlagIconCode },
// { value: "es", label: "Castellano", flag: "ES" as FlagIconCode },
];
export const I18NSelector: React.FC = () => {
......
......@@ -161,6 +161,7 @@
"MatchModal": {
"PleaseEnterCustomRoomInformation": "Por favor, insira as informações da sala personalizada",
"Server": "Servidor",
"XiaoServer": "宵服",
"KoishiServer": "Servidor Koishi",
"UltraPreemptiveServer": "Servidor Ultra Preemptivo",
"PlayerNickname": "Apelido do Jogador",
......
......@@ -30,7 +30,7 @@
"MCSpectatorListTitle": "MC观战列表",
"MCSpectatorListDesc": "观看萌卡MyCard上正在进行的决斗",
"SinglePlayerModeTitle": "单人模式",
"SinglePlayerModeDesc": "在Koishi 7210服务器上开启一场与AI的决斗,验证自己的卡组,或者只是打发时间。",
"SinglePlayerModeDesc": "在宵服开启一场与AI的决斗,验证自己的卡组,或者只是打发时间。",
"CustomRoomTitle": "自定义房间",
"CustomRoomDesc": "创建自定义规则的房间,与好友约战。",
"ReplayTitle": "录像回放",
......@@ -164,6 +164,7 @@
"MatchModal": {
"PleaseEnterCustomRoomInformation": "请输入自定义房间信息",
"Server": "服务器",
"XiaoServer": "宵服",
"KoishiServer": "Koishi服",
"UltraPreemptiveServer": "超先行服",
"408": "408环境",
......
......@@ -164,6 +164,7 @@
"MatchModal": {
"PleaseEnterCustomRoomInformation": "Please enter custom room information",
"Server": "Server",
"XiaoServer": "宵服",
"KoishiServer": "Koishi Server",
"UltraPreemptiveServer": "Ultra Preemptive Server",
"408": "408 Environment",
......
......@@ -161,6 +161,7 @@
"MatchModal": {
"PleaseEnterCustomRoomInformation": "Veuillez entrer les informations de la salle personnalisée",
"Server": "Serveur",
"XiaoServer": "宵服",
"KoishiServer": "Serveur Koishi",
"UltraPreemptiveServer": "Serveur Ultra Préemptif",
"PlayerNickname": "Pseudo du joueur",
......
......@@ -162,6 +162,7 @@
"MatchModal": {
"PleaseEnterCustomRoomInformation": "カスタムルーム情報を入力してください",
"Server": "サーバー",
"XiaoServer": "宵服",
"KoishiServer": "コイシサーバー",
"UltraPreemptiveServer": "超先行サーバー",
"408": "408環境",
......
......@@ -161,6 +161,7 @@
"MatchModal": {
"PleaseEnterCustomRoomInformation": "Por favor, insira as informações da sala personalizada",
"Server": "Servidor",
"XiaoServer": "宵服",
"KoishiServer": "Servidor Koishi",
"UltraPreemptiveServer": "Servidor Ultra Preemptivo",
"PlayerNickname": "Apelido do Jogador",
......
......@@ -161,6 +161,7 @@
"MatchModal": {
"PleaseEnterCustomRoomInformation": "Por favor, ingresa la información de la sala personalizada",
"Server": "Servidor",
"XiaoServer": "宵服",
"KoishiServer": "Servidor Koishi",
"UltraPreemptiveServer": "Servidor Ultra Preventivo",
"PlayerNickname": "Apodo del Jugador",
......
......@@ -16,9 +16,10 @@ import styles from "./index.module.scss";
const NeosConfig = useConfig();
const serverConfig = NeosConfig.servers;
const KOISHI_INDEX = 0;
const PRERELEASE_INDEX = 3;
const ENV_408 = 4;
const XIAO_INDEX = 0;
const KOISHI_INDEX = 1;
const PRERELEASE_INDEX = 4;
const ENV_408 = 5;
const {
defaults: { defaultPlayer, defaultPassword },
......@@ -121,6 +122,10 @@ export const MatchModal: React.FC = ({}) => {
title={i18n("Server")}
value={serverId}
options={[
{
value: XIAO_INDEX,
label: i18n("XiaoServer"),
},
{
value: KOISHI_INDEX,
label: i18n("KoishiServer"),
......
......@@ -255,7 +255,7 @@ export const Component: React.FC = () => {
</Button>
</Space>
<div className={styles["mode-select"]}>
<Mode
{/* <Mode
title={i18n("MCCompetitiveMatchmakingTitle")}
desc={i18n("MCCompetitiveMatchmakingDesc")}
icon={
......@@ -290,7 +290,7 @@ export const Component: React.FC = () => {
desc={i18n("MCSpectatorListDesc")}
icon={watchLoading ? <LoadingOutlined /> : <PlayCircleFilled />}
onClick={onMCWatch}
/>
/> */}
<Mode
title={i18n("SinglePlayerModeTitle")}
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