Commit 12cf8dfe authored by Chunchi Che's avatar Chunchi Che

Revert "update Match.tsx and translations"

This reverts commit 4e31b296.
parent 4e31b296
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"CustomRoomDesc": "Crie uma sala com regras personalizadas e desafie seus amigos.", "CustomRoomDesc": "Crie uma sala com regras personalizadas e desafie seus amigos.",
"ReplayTitle": "Replay", "ReplayTitle": "Replay",
"ReplayDesc": "Assista livremente aos duelos passados e reviva aqueles momentos emocionantes de reversão.", "ReplayDesc": "Assista livremente aos duelos passados e reviva aqueles momentos emocionantes de reversão.",
"MdproDecksTitle": "Mdpro Baralho Online", "WIPTitle": "Em desenvolvimento...",
"MdproDecksDesc": "Veja outros jogadores ou carregue seu próprio deck." "WIPDesc": "Aguarde por outras funcionalidades."
} }
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"CustomRoomDesc": "创建自定义规则的房间,与好友约战。", "CustomRoomDesc": "创建自定义规则的房间,与好友约战。",
"ReplayTitle": "录像回放", "ReplayTitle": "录像回放",
"ReplayDesc": "自由查看进行过的决斗,回味那些精彩的逆转瞬间。", "ReplayDesc": "自由查看进行过的决斗,回味那些精彩的逆转瞬间。",
"MdproDecksTitle": "Mdpro 在线卡组", "WIPTitle": "开发中...",
"MdproDecksDesc": "查看其他玩家或者上传自己的卡组构筑。" "WIPDesc": "其他功能敬请期待。"
} }
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"CustomRoomDesc": "Create a room with custom rules and challenge friends.", "CustomRoomDesc": "Create a room with custom rules and challenge friends.",
"ReplayTitle": "Replay", "ReplayTitle": "Replay",
"ReplayDesc": "Freely watch past duels and relive those exciting moments of reversal.", "ReplayDesc": "Freely watch past duels and relive those exciting moments of reversal.",
"MdproDecksTitle": "Mdpro Online Deck", "WIPTitle": "Under development...",
"MdproDecksDesc": "View other players' decks or upload your own deck build." "WIPDesc": "Stay tuned for other features."
} }
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"CustomRoomDesc": "Salle personnalisée", "CustomRoomDesc": "Salle personnalisée",
"ReplayTitle": "Replay", "ReplayTitle": "Replay",
"ReplayDesc": "Regardez librement les duels passés et revivez ces moments passionnants de retournement.", "ReplayDesc": "Regardez librement les duels passés et revivez ces moments passionnants de retournement.",
"MdproDecksTitle": "Mdpro Deck en Ligne", "WIPTitle": "En développement...",
"MdproDecksDesc": "Consultez les decks des autres joueurs ou téléchargez votre propre construction de deck." "WIPDesc": "D'autres fonctionnalités à venir."
} }
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"CustomRoomDesc": "カスタムルールの部屋を作成し、友達と対戦しましょう。", "CustomRoomDesc": "カスタムルールの部屋を作成し、友達と対戦しましょう。",
"ReplayTitle": "リプレイ", "ReplayTitle": "リプレイ",
"ReplayDesc": "過去のデュエルを自由に見て、それらのエキサイティングな逆転の瞬間を振り返りましょう。", "ReplayDesc": "過去のデュエルを自由に見て、それらのエキサイティングな逆転の瞬間を振り返りましょう。",
"MdproDecksTitle": "Mdpro オンラインデッキ", "WIPTitle": "開発中...",
"MdproDecksDesc": "他のプレイヤーのデッキを閲覧したり、自分のデッキをアップロードしたりする" "WIPDesc": "他の機能をお楽しみに。"
} }
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"CustomRoomDesc": "Crie uma sala com regras personalizadas e desafie seus amigos.", "CustomRoomDesc": "Crie uma sala com regras personalizadas e desafie seus amigos.",
"ReplayTitle": "Repetição", "ReplayTitle": "Repetição",
"ReplayDesc": "Assiste livremente aos duelos passados e revive aqueles momentos emocionantes de reversão.", "ReplayDesc": "Assiste livremente aos duelos passados e revive aqueles momentos emocionantes de reversão.",
"MdproDecksTitle": "Baralho Online Mdpro", "WIPTitle": "Em desenvolvimento...",
"MdproDecksDesc": "Ver os decks de outros jogadores ou enviar o seu próprio deck." "WIPDesc": "Aguarde por outras funcionalidades."
} }
} }
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"CustomRoomDesc": "Crea una sala con reglas personalizadas y desafía a tus amigos.", "CustomRoomDesc": "Crea una sala con reglas personalizadas y desafía a tus amigos.",
"ReplayTitle": "Repetición", "ReplayTitle": "Repetición",
"ReplayDesc": "Mira libremente duelos pasados y revive esos emocionantes momentos de reversión.", "ReplayDesc": "Mira libremente duelos pasados y revive esos emocionantes momentos de reversión.",
"MdproDecksTitle": "Baraja en línea de Mdpro", "WIPTitle": "En desarrollo...",
"MdproDecksDesc": "Ver las barajas de otros jugadores o subir tus propias construcciones de barajas." "WIPDesc": "Espere por otras funciones."
} }
} }
...@@ -16,6 +16,7 @@ import { ...@@ -16,6 +16,7 @@ import {
getJoinRoomPasswd, getJoinRoomPasswd,
getPrivateRoomID, getPrivateRoomID,
match, match,
pullDecks,
} from "@/api"; } from "@/api";
import { useConfig } from "@/config"; import { useConfig } from "@/config";
import { AudioActionType, changeScene } from "@/infra/audio"; import { AudioActionType, changeScene } from "@/infra/audio";
...@@ -220,9 +221,6 @@ export const Component: React.FC = () => { ...@@ -220,9 +221,6 @@ export const Component: React.FC = () => {
} }
}, [joined]); }, [joined]);
// Mdpro 在线卡组
const onMdproOnlineDecks = () => navigate(`/mdpro/decks`);
return ( return (
<> <>
<Background /> <Background />
...@@ -319,10 +317,13 @@ export const Component: React.FC = () => { ...@@ -319,10 +317,13 @@ export const Component: React.FC = () => {
onClick={replayOpen} onClick={replayOpen}
/> />
<Mode <Mode
title={i18n("MdproDeckstitle")} title={i18n("WIPTitle")}
desc={i18n("MdproDecksDesc")} desc={i18n("WIPDesc")}
icon={null} icon={null}
onClick={onMdproOnlineDecks} onClick={async () => {
const mdproDecks = await pullDecks();
console.log(mdproDecks);
}}
/> />
</div> </div>
</div> </div>
......
import React from "react";
import { Background } from "../Shared";
export const Component: React.FC = () => (
<div>
<Background />
</div>
);
...@@ -32,10 +32,6 @@ const router = createBrowserRouter([ ...@@ -32,10 +32,6 @@ const router = createBrowserRouter([
path: "/side", path: "/side",
lazy: () => import("./Side"), lazy: () => import("./Side"),
}, },
{
path: "/mdpro/decks",
lazy: () => import("./MdproDeck"),
},
], ],
}, },
]); ]);
......
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