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