Commit 82912fd2 authored by BBeretta's avatar BBeretta

feat/language-translation (Additional translations added + 'Sort By'...

feat/language-translation (Additional translations added + 'Sort By' translated + icons and orders of Settings added and redone.)
parent c4792a39
......@@ -28,28 +28,34 @@ const messages: Record<
extraDeckWarning: "The number of Extra Deck should be 0-15",
},
br: {
mainDeckWarning: "The number of Main Deck should be 40-60 cards",
extraDeckWarning: "The number of Extra Deck should be 0-15",
mainDeckWarning:
"O número de cartas no Deck Principal deve ser entre 40-60",
extraDeckWarning: "O número de cartas no Deck Extra deve ser entre 0-15",
},
pt: {
mainDeckWarning: "The number of Main Deck should be 40-60 cards",
extraDeckWarning: "The number of Extra Deck should be 0-15",
mainDeckWarning:
"O número de cartas no Deck Principal deve ser entre 40-60",
extraDeckWarning: "O número de cartas no Deck Extra deve ser entre 0-15",
},
fr: {
mainDeckWarning: "The number of Main Deck should be 40-60 cards",
extraDeckWarning: "The number of Extra Deck should be 0-15",
mainDeckWarning:
"Le nombre de cartes dans le Deck Principal doit être entre 40 et 60",
extraDeckWarning:
"Le nombre de cartes dans le Deck Extra doit être entre 0 et 15",
},
ja: {
mainDeckWarning: "The number of Main Deck should be 40-60 cards",
extraDeckWarning: "The number of Extra Deck should be 0-15",
mainDeckWarning: "メインデッキの枚数は40~60枚でなければなりません",
extraDeckWarning: "エクストラデッキの枚数は0~15枚でなければなりません",
},
ko: {
mainDeckWarning: "The number of Main Deck should be 40-60 cards",
extraDeckWarning: "The number of Extra Deck should be 0-15",
mainDeckWarning: "메인 덱의 카드 수는 40-60장이어야 합니다",
extraDeckWarning: "엑스트라 덱의 카드 수는 0-15장이어야 합니다",
},
es: {
mainDeckWarning: "The number of Main Deck should be 40-60 cards",
extraDeckWarning: "The number of Extra Deck should be 0-15",
mainDeckWarning:
"El número de cartas en el Mazo Principal debe ser entre 40-60",
extraDeckWarning:
"El número de cartas en el Mazo Extra debe ser entre 0-15",
},
cn: {
mainDeckWarning: "主卡组数量应为40-60张",
......
......@@ -52,19 +52,19 @@ export const DeckDatabase: React.FC = () => {
((a.data?.[key] ?? 0) - (b.data?.[key] ?? 0)) * scale,
);
};
const { t } = useTranslation("BuildDeck");
const dropdownOptions: MenuProps["items"] = (
[
["从新到旧", () => setSortRef((a, b) => b.id - a.id)],
["从旧到新", () => setSortRef((a, b) => a.id - b.id)],
["攻击力从高到低", genSort("atk", -1)],
["攻击力从低到高", genSort("atk")],
["守备力从高到低", genSort("def", -1)],
["守备力从低到高", genSort("def")],
["星/阶/刻/Link从高到低", genSort("level", -1)],
["星/阶/刻/Link从低到高", genSort("level")],
["灵摆刻度从高到低", genSort("lscale", -1)],
["灵摆刻度从低到高", genSort("lscale")],
[`${t("FromNewToOld")}`, () => setSortRef((a, b) => b.id - a.id)],
[`${t("FromOldToNew")}`, () => setSortRef((a, b) => a.id - b.id)],
[`${t("AttackPowerFromHighToLow")}`, genSort("atk", -1)],
[`${t("AttackPowerFromLowToHigh")}`, genSort("atk")],
[`${t("DefensePowerFromHighToLow")}`, genSort("def", -1)],
[`${t("DefensePowerFromLowToHigh")}`, genSort("def")],
[`${t("StarsRanksLevelsLinkFromHighToLow")}`, genSort("level", -1)],
[`${t("StarsRanksLevelsLinkFromLowToHigh")}`, genSort("level")],
[`${t("PendulumScaleFromHighToLow")}`, genSort("lscale", -1)],
[`${t("PendulumScaleFromLowToHigh")}`, genSort("lscale")],
] as const
).map(([label, onClick], key) => ({ key, label, onClick }));
......
......@@ -29,47 +29,47 @@ const messages: Record<
cannotAddTokens: "Cannot add tokens",
},
br: {
cardTypeNotMatch: "The Card Type does not match",
exceedsNumberCardsSameName: "The number of Extra Deck should be 0-15",
limitCards: "Limit of cards",
exceedsLimit: "Exceeds the limit",
cannotAddTokens: "Cannot add tokens",
cardTypeNotMatch: "O Tipo de Carta não corresponde",
exceedsNumberCardsSameName: "Excede o número de cartas com o mesmo nome",
limitCards: "Limite de cartas",
exceedsLimit: "Excede o limite",
cannotAddTokens: "Não é possível adicionar fichas",
},
pt: {
cardTypeNotMatch: "The Card Type does not match",
exceedsNumberCardsSameName: "The number of Extra Deck should be 0-15",
limitCards: "Limit of cards",
exceedsLimit: "Exceeds the limit",
cannotAddTokens: "Cannot add tokens",
cardTypeNotMatch: "O Tipo de Carta não corresponde",
exceedsNumberCardsSameName: "Excede o número de cartas com o mesmo nome",
limitCards: "Limite de cartas",
exceedsLimit: "Excede o limite",
cannotAddTokens: "Não é possível adicionar fichas",
},
fr: {
cardTypeNotMatch: "The Card Type does not match",
exceedsNumberCardsSameName: "The number of Extra Deck should be 0-15",
limitCards: "Limit of cards",
exceedsLimit: "Exceeds the limit",
cannotAddTokens: "Cannot add tokens",
cardTypeNotMatch: "Le Type de Carte ne correspond pas",
exceedsNumberCardsSameName: "Dépasse le nombre de cartes avec le même nom",
limitCards: "Limite de cartes",
exceedsLimit: "Dépasse la limite",
cannotAddTokens: "Impossible d'ajouter des jetons",
},
ja: {
cardTypeNotMatch: "The Card Type does not match",
exceedsNumberCardsSameName: "The number of Extra Deck should be 0-15",
limitCards: "Limit of cards",
exceedsLimit: "Exceeds the limit",
cannotAddTokens: "Cannot add tokens",
cardTypeNotMatch: "カードタイプが一致しません",
exceedsNumberCardsSameName: "同名カードの枚数を超えています",
limitCards: "カードの制限",
exceedsLimit: "制限を超えています",
cannotAddTokens: "トークンを追加できません",
},
ko: {
cardTypeNotMatch: "The Card Type does not match",
exceedsNumberCardsSameName: "The number of Extra Deck should be 0-15",
limitCards: "Limit of cards",
exceedsLimit: "Exceeds the limit",
cannotAddTokens: "Cannot add tokens",
cardTypeNotMatch: "카드 유형이 일치하지 않습니다",
exceedsNumberCardsSameName: "동일한 이름의 카드 수를 초과합니다",
limitCards: "카드 제한",
exceedsLimit: "제한을 초과합니다",
cannotAddTokens: "토큰을 추가할 수 없습니다",
},
es: {
cardTypeNotMatch: "The Card Type does not match",
cardTypeNotMatch: "El Tipo de Carta no coincide",
exceedsNumberCardsSameName:
"Exceeds the number of cards with the same name",
limitCards: "Limit of cards",
exceedsLimit: "Exceeds the limit",
cannotAddTokens: "Cannot add tokens",
"Supera el número de cartas con el mismo nombre",
limitCards: "Límite de cartas",
exceedsLimit: "Supera el límite",
cannotAddTokens: "No se pueden agregar fichas",
},
cn: {
cardTypeNotMatch: "卡片种类不符合",
......
......@@ -38,7 +38,7 @@ export const I18NSelector: React.FC = () => {
checked={i18n.language === lang.value}
onChange={() => onClickLanguageChange(lang.value)}
>
<FlagIcon code={lang.flag} size={26} />
<FlagIcon code={lang.flag} size={24} />
</Checkbox>
</Tooltip>
</Col>
......
......@@ -38,6 +38,160 @@
"WIPTitle": "Em desenvolvimento...",
"WIPDesc": "Aguarde por outras funcionalidades."
},
"BuildDeck": {
"EnterTheDeckName": "Nome do deck",
"Shuffle": "Embaralhar",
"Sort": "Ordenar",
"Clear": "Limpar",
"Reset": "Redefinir",
"Save": "Salvar",
"QuestionCircleTooltip": "Clique duas vezes para adicionar uma carta, clique com o botão direito para remover uma carta, pressione o botão do meio do mouse para alternar cartas entre o deck principal e o deck lateral.",
"Filter": "Filtrar",
"SortBy": "Ordenar por ",
"KeywordsPlaceholder": "Palavras-chave (separadas por espaços)",
"FromNewToOld": "Do novo para o antigo",
"FromOldToNew": "Do antigo para o novo",
"AttackPowerFromHighToLow": "Poder de ataque do alto para o baixo",
"AttackPowerFromLowToHigh": "Poder de ataque do baixo para o alto",
"DefensePowerFromHighToLow": "Poder de defesa do alto para o baixo",
"DefensePowerFromLowToHigh": "Poder de defesa do baixo para o alto",
"StarsRanksLevelsLinkFromHighToLow": "Estrelas/Rank/Níveis/Link do alto para o baixo",
"StarsRanksLevelsLinkFromLowToHigh": "Estrelas/Rank/Níveis/Link do baixo para o alto",
"PendulumScaleFromHighToLow": "Escala Pêndulo do alto para o baixo",
"PendulumScaleFromLowToHigh": "Escala Pêndulo do baixo para o alto",
"ResetSuccessful": "Redefinição bem-sucedida",
"SaveSuccessful": "Salvo com sucesso",
"NoDeckGroupFound": "Nenhum grupo de deck correspondente encontrado",
"OnlyShowDecksIUploaded": "Mostrar apenas decks que eu enviei",
"ShowAllOnlineDecks": "Mostrar todos os decks online",
"CardDatabase": "Banco de Dados de Cartas",
"MDProOnlineDeck": "Deck Online MDPro"
},
"Filter": {
"CardFilter": "Filtro de Carta",
"Attribute": "Atributo",
"Race": "Raça",
"Type": "Tipo",
"Level": "Nível",
"PendulumScale": "Escala Pêndulo",
"Attack": "Ataque",
"Defense": "Defesa",
"Select": "-Selecione-",
"Minimum": "Min",
"Maximum": "Máx",
"Confirm": "Confirmar",
"Cancel": "Cancelar"
},
"CardDetails": {
"Level": "Nível",
"Type": "Tipo",
"Attribute": "Atributo",
"Race": "Raça",
"Attack": "Ataque",
"Defence": "Defesa",
"PendulumScale": "Escala Pêndulo",
"MonsterEffect": "Efeito de Monstro",
"PendulumEffect": "Efeito Pêndulo",
"CardEffect": "Efeito da Carta"
},
"WaitRoom": {
"Deck": "Deck",
"JoinDuelist": "Juntar-se ao Duelista",
"JoinSpectator": "Juntar-se como Espectador",
"DuelReady": "Pronto para Duelo",
"CancelReady": "Cancelar Prontidão",
"LeaveRoom": "Sair da Sala",
"Expand": "Expandir",
"Collapse": "Recolher",
"Sidebar": "Barra Lateral",
"StartGame": "Iniciar Jogo",
"PlsRockPaperScissors": "Por favor, jogue Pedra, Papel, Tesoura",
"WaitOpponentPlayRockPaperScissors": "Aguarde o oponente jogar Pedra, Papel, Tesoura",
"PlsChooseWhoGoesFirst": "Por favor, escolha quem começa",
"WaitingForGameToStart": "Aguardando o início do jogo",
"Scissors": "Tesoura",
"Rock": "Pedra",
"Paper": "Papel"
},
"CustomRoomContent": {
"CreateJoinPrivateRoom": "Criar/Entrar em Sala Privada",
"RoomPassword": "Senha",
"Initial": "Inicial ",
"InitialHandSize": "Tamanho da Mão Inicial",
"DrawPerTurn": "Compras por Turno",
"CardsAllowed": "Cartas Permitidas",
"SimplifiedChinese": "Chinês Simplificado",
"CustomCards": "Cartas Personalizadas",
"ExclusiveCardsProhibited": "Cartas Exclusivas Proibidas",
"AllCards": "Todas as Cartas",
"DuelMode": "Modo de Duelo",
"SingleMatchMode": "Modo de Partida Única",
"TournamentMode": "Modo de Torneio",
"DuelRules": "Regras de Duelo",
"MasterRule1": "Regra Mestre 1",
"MasterRule2": "Regra Mestre 2",
"MasterRule3": "Regra Mestre 3",
"NewMasterRule": "Nova Regra Mestre",
"MasterRule2020": "Regra Mestre 2020",
"NoDeckCheck": "Sem Verificação de Deck",
"NoShuffleDeck": "Sem Embaralhar Deck",
"40MinutesAutomaticOvertime": "40 Minutos de Tempo Extra Automático",
"EnterYourFriendsPrivateRoomPassword": "Insira a senha da sala privada do seu amigo aqui.",
"CreatePrivateRoom": "Criar Sala Privada",
"JoinPrivateRoom": "Entrar em Sala Privada"
},
"WatchContent": {
"SearchRoomByPlayerUsername": "Procurar Sala pelo Nome do Jogador",
"RankedMatch": "Partida Ranqueada",
"Versus": "vs"
},
"DeckSelect": {
"CopySuccessful": "Cópia bem-sucedida",
"CopyFailed.": "Falha na cópia",
"CreateNewDeck": "Criar novo deck",
"ImportFromLocalFile": "Importar de arquivo local",
"ImportFromClipboard": "Importar da área de transferência",
"ClickOrDragFilesHereToUpload": "Clique ou arraste arquivos aqui para fazer upload",
"SupportsYdkExtension": "Suporta apenas arquivos de deck com a extensão .ydk.",
"UnableToReadClipboardContent": "Não foi possível ler o conteúdo da área de transferência."
},
"Chat": {
"PleaseEnterChatContent": "Por favor, insira o conteúdo do chat"
},
"MatchModal": {
"PleaseEnterCustomRoomInformation": "Por favor, insira as informações da sala personalizada",
"Server": "Servidor",
"KoishiServer": "Servidor Koishi",
"UltraPreemptiveServer": "Servidor Ultra Preemptivo",
"PlayerNickname": "Apelido do Jogador",
"RoomPasswordOptional": "Senha da Sala (opcional)",
"JoinRoom": "Entrar na Sala"
},
"ReplayModal": {
"SelectReplay": "Selecionar Replay",
"ClickOrDragFilesHereToUpload": "Clique ou arraste arquivos aqui para fazer upload",
"SupportsYrd3dExtension": "Apenas arquivos de replay com a extensão .yrp3d são suportados.",
"StartReplay": "Iniciar Replay",
"PleaseUploadReplayFile": "Por favor, carregue o arquivo de replay primeiro."
},
"Popover": {
"First": "Primeiro",
"Second": "Segundo"
},
"Menu": {
"DoYouSurrunder": "Você se rende?",
"Cancel": "Cancelar",
"Confirm": "Confirmar",
"SelectPhase": "Por favor, selecione a fase",
"Deselect": "Deselecionar",
"SelectionComplete": "Seleção completa",
"ChatRoom": "Sala de Chat"
},
"SelectCardModal": {
"PleaseSelect": "Por favor, selecione",
"Cards": "Cartas",
"SelectOneCardAtTime": "Selecione uma carta por vez"
},
"SystemSettings": {
"AudioSettings": "Configurações de áudio",
"TurnOnMusic": "Música",
......
......@@ -118,7 +118,7 @@
"CustomRoomContent": {
"CreateJoinPrivateRoom": "创建/加入私密房间",
"RoomPassword": "房间密码",
"Initial": "初始",
"Initial": "初始 ",
"InitialHandSize": "初始手牌数",
"DrawPerTurn": "每回合抽卡",
"CardsAllowed": "卡片允许",
......@@ -201,4 +201,4 @@
"SwitchMusicAccordingToTheEnvironment": "根据环境切换音乐",
"LanguageSettings": "语言"
}
}
\ No newline at end of file
}
......@@ -201,4 +201,4 @@
"SwitchMusicAccordingToTheEnvironment": "Switch music according to the environment",
"LanguageSettings": "Language"
}
}
\ No newline at end of file
}
......@@ -38,6 +38,160 @@
"WIPTitle": "En développement...",
"WIPDesc": "D'autres fonctionnalités à venir."
},
"BuildDeck": {
"EnterTheDeckName": "Nom du deck",
"Shuffle": "Mélanger",
"Sort": "Trier",
"Clear": "Effacer",
"Reset": "Réinitialiser",
"Save": "Enregistrer",
"QuestionCircleTooltip": "Double-cliquez pour ajouter une carte, cliquez avec le bouton droit pour retirer une carte, appuyez sur la molette de la souris pour basculer les cartes entre le deck principal et le deck latéral.",
"Filter": "Filtrer",
"SortBy": "Trier par ",
"KeywordsPlaceholder": "Mots-clés (séparés par des espaces)",
"FromNewToOld": "Du nouveau au vieux",
"FromOldToNew": "Du vieux au nouveau",
"AttackPowerFromHighToLow": "Puissance d'attaque de haut en bas",
"AttackPowerFromLowToHigh": "Puissance d'attaque de bas en haut",
"DefensePowerFromHighToLow": "Puissance de défense de haut en bas",
"DefensePowerFromLowToHigh": "Puissance de défense de bas en haut",
"StarsRanksLevelsLinkFromHighToLow": "Étoiles/Niveaux/Link de haut en bas",
"StarsRanksLevelsLinkFromLowToHigh": "Étoiles/Niveaux/Link de bas en haut",
"PendulumScaleFromHighToLow": "Échelle Pendule de haut en bas",
"PendulumScaleFromLowToHigh": "Échelle Pendule de bas en haut",
"ResetSuccessful": "Réinitialisation réussie",
"SaveSuccessful": "Enregistrement réussi",
"NoDeckGroupFound": "Aucun groupe de deck correspondant trouvé",
"OnlyShowDecksIUploaded": "Afficher seulement les decks que j'ai téléchargés",
"ShowAllOnlineDecks": "Afficher tous les decks en ligne",
"CardDatabase": "Base de données des cartes",
"MDProOnlineDeck": "Deck en ligne MDPro"
},
"Filter": {
"CardFilter": "Filtre de carte",
"Attribute": "Attribut",
"Race": "Race",
"Type": "Type",
"Level": "Niveau",
"PendulumScale": "Échelle Pendule",
"Attack": "Attaque",
"Defense": "Défense",
"Select": "-Sélectionner-",
"Minimum": "Min",
"Maximum": "Max",
"Confirm": "Confirmer",
"Cancel": "Annuler"
},
"CardDetails": {
"Level": "Niveau",
"Type": "Type",
"Attribute": "Attribut",
"Race": "Race",
"Attack": "Attaque",
"Defence": "Défense",
"PendulumScale": "Échelle Pendule",
"MonsterEffect": "Effet Monstre",
"PendulumEffect": "Effet Pendule",
"CardEffect": "Effet de Carte"
},
"WaitRoom": {
"Deck": "Deck",
"JoinDuelist": "Rejoindre le duelliste",
"JoinSpectator": "Rejoindre en tant que spectateur",
"DuelReady": "Prêt pour le duel",
"CancelReady": "Annuler la préparation",
"LeaveRoom": "Quitter la salle",
"Expand": "Développer",
"Collapse": "Réduire",
"Sidebar": "Barre latérale",
"StartGame": "Commencer le jeu",
"PlsRockPaperScissors": "Veuillez jouer à Pierre, Papier, Ciseaux",
"WaitOpponentPlayRockPaperScissors": "Attendez que l'adversaire joue à Pierre, Papier, Ciseaux",
"PlsChooseWhoGoesFirst": "Veuillez choisir qui commence",
"WaitingForGameToStart": "En attente du début du jeu",
"Scissors": "Ciseaux",
"Rock": "Pierre",
"Paper": "Papier"
},
"CustomRoomContent": {
"CreateJoinPrivateRoom": "Créer/Rejoindre une salle privée",
"RoomPassword": "Mot de passe",
"Initial": "Initial ",
"InitialHandSize": "Taille de la main initiale",
"DrawPerTurn": "Piocher par tour",
"CardsAllowed": "Cartes autorisées",
"SimplifiedChinese": "Chinois simplifié",
"CustomCards": "Cartes personnalisées",
"ExclusiveCardsProhibited": "Cartes exclusives interdites",
"AllCards": "Toutes les cartes",
"DuelMode": "Mode Duel",
"SingleMatchMode": "Mode Match unique",
"TournamentMode": "Mode Tournoi",
"DuelRules": "Règles de Duel",
"MasterRule1": "Règle Maître 1",
"MasterRule2": "Règle Maître 2",
"MasterRule3": "Règle Maître 3",
"NewMasterRule": "Nouvelle Règle Maître",
"MasterRule2020": "Règle Maître 2020",
"NoDeckCheck": "Pas de vérification du deck",
"NoShuffleDeck": "Pas de mélange du deck",
"40MinutesAutomaticOvertime": "40 minutes de prolongation automatique",
"EnterYourFriendsPrivateRoomPassword": "Entrez le mot de passe de la salle privée de votre ami ici.",
"CreatePrivateRoom": "Créer une salle privée",
"JoinPrivateRoom": "Rejoindre une salle privée"
},
"WatchContent": {
"SearchRoomByPlayerUsername": "Rechercher une salle par le nom d'utilisateur du joueur",
"RankedMatch": "Match classé",
"Versus": "vs"
},
"DeckSelect": {
"CopySuccessful": "Copie réussie",
"CopyFailed.": "Échec de la copie",
"CreateNewDeck": "Créer un nouveau deck",
"ImportFromLocalFile": "Importer depuis un fichier local",
"ImportFromClipboard": "Importer depuis le presse-papiers",
"ClickOrDragFilesHereToUpload": "Cliquez ou faites glisser les fichiers ici pour les télécharger",
"SupportsYdkExtension": "Prend en charge uniquement les fichiers de deck avec l'extension .ydk.",
"UnableToReadClipboardContent": "Impossible de lire le contenu du presse-papiers."
},
"Chat": {
"PleaseEnterChatContent": "Veuillez entrer le contenu du chat"
},
"MatchModal": {
"PleaseEnterCustomRoomInformation": "Veuillez entrer les informations de la salle personnalisée",
"Server": "Serveur",
"KoishiServer": "Serveur Koishi",
"UltraPreemptiveServer": "Serveur Ultra Préemptif",
"PlayerNickname": "Pseudo du joueur",
"RoomPasswordOptional": "Mot de passe de la salle (optionnel)",
"JoinRoom": "Rejoindre la salle"
},
"ReplayModal": {
"SelectReplay": "Sélectionner le replay",
"ClickOrDragFilesHereToUpload": "Cliquez ou faites glisser les fichiers ici pour les télécharger",
"SupportsYrd3dExtension": "Seuls les fichiers de replay avec l'extension .yrp3d sont pris en charge.",
"StartReplay": "Démarrer le replay",
"PleaseUploadReplayFile": "Veuillez d'abord télécharger le fichier de replay."
},
"Popover": {
"First": "Premier",
"Second": "Deuxième"
},
"Menu": {
"DoYouSurrunder": "Abandonnez-vous?",
"Cancel": "Annuler",
"Confirm": "Confirmer",
"SelectPhase": "Veuillez sélectionner la phase",
"Deselect": "Désélectionner",
"SelectionComplete": "Sélection terminée",
"ChatRoom": "Salle de chat"
},
"SelectCardModal": {
"PleaseSelect": "Veuillez sélectionner",
"Cards": "Cartes",
"SelectOneCardAtTime": "Sélectionnez une carte à la fois"
},
"SystemSettings": {
"AudioSettings": "Paramètres audio",
"TurnOnMusic": "Activer la musique",
......
......@@ -38,6 +38,160 @@
"WIPTitle": "開発中...",
"WIPDesc": "他の機能をお楽しみに。"
},
"BuildDeck": {
"EnterTheDeckName": "デッキ名を入力",
"Shuffle": "シャッフル",
"Sort": "ソート",
"Clear": "クリア",
"Reset": "リセット",
"Save": "保存",
"QuestionCircleTooltip": "カードを追加するにはダブルクリック、カードを削除するには右クリック、メインデッキとサイドデッキの間でカードを切り替えるにはホイールボタンを押します。",
"Filter": "フィルター",
"SortBy": "並び替え ",
"KeywordsPlaceholder": "キーワード(スペースで区切る)",
"FromNewToOld": "新しい順",
"FromOldToNew": "古い順",
"AttackPowerFromHighToLow": "攻撃力が高い順",
"AttackPowerFromLowToHigh": "攻撃力が低い順",
"DefensePowerFromHighToLow": "守備力が高い順",
"DefensePowerFromLowToHigh": "守備力が低い順",
"StarsRanksLevelsLinkFromHighToLow": "星/ランク/レベル/リンクが高い順",
"StarsRanksLevelsLinkFromLowToHigh": "星/ランク/レベル/リンクが低い順",
"PendulumScaleFromHighToLow": "ペンデュラムスケールが高い順",
"PendulumScaleFromLowToHigh": "ペンデュラムスケールが低い順",
"ResetSuccessful": "リセット成功",
"SaveSuccessful": "保存成功",
"NoDeckGroupFound": "対応するデッキグループが見つかりません",
"OnlyShowDecksIUploaded": "自分がアップロードしたデッキのみ表示",
"ShowAllOnlineDecks": "すべてのオンラインデッキを表示",
"CardDatabase": "カードデータベース",
"MDProOnlineDeck": "MDProオンラインデッキ"
},
"Filter": {
"CardFilter": "カードフィルター",
"Attribute": "属性",
"Race": "種族",
"Type": "種類",
"Level": "レベル",
"PendulumScale": "ペンデュラムスケール",
"Attack": "攻撃力",
"Defense": "守備力",
"Select": "-選択-",
"Minimum": "最小",
"Maximum": "最大",
"Confirm": "確認",
"Cancel": "キャンセル"
},
"CardDetails": {
"Level": "レベル",
"Type": "種類",
"Attribute": "属性",
"Race": "種族",
"Attack": "攻撃力",
"Defence": "守備力",
"PendulumScale": "ペンデュラムスケール",
"MonsterEffect": "モンスター効果",
"PendulumEffect": "ペンデュラム効果",
"CardEffect": "カード効果"
},
"WaitRoom": {
"Deck": "デッキ",
"JoinDuelist": "デュエリストとして参加",
"JoinSpectator": "観戦者として参加",
"DuelReady": "デュエル準備完了",
"CancelReady": "準備完了をキャンセル",
"LeaveRoom": "ルームを退出",
"Expand": "拡張",
"Collapse": "折りたたみ",
"Sidebar": "サイドバー",
"StartGame": "ゲームを開始",
"PlsRockPaperScissors": "じゃんけんをしてください",
"WaitOpponentPlayRockPaperScissors": "相手がじゃんけんをするのを待っています",
"PlsChooseWhoGoesFirst": "先行を選んでください",
"WaitingForGameToStart": "ゲーム開始を待っています",
"Scissors": "はさみ",
"Rock": "岩",
"Paper": "紙"
},
"CustomRoomContent": {
"CreateJoinPrivateRoom": "プライベートルームを作成/参加",
"RoomPassword": "パスワード",
"Initial": "初期 ",
"InitialHandSize": "初期手札サイズ",
"DrawPerTurn": "1ターンごとのドロー",
"CardsAllowed": "許可されるカード",
"SimplifiedChinese": "簡体字中国語",
"CustomCards": "カスタムカード",
"ExclusiveCardsProhibited": "専用カード禁止",
"AllCards": "すべてのカード",
"DuelMode": "デュエルモード",
"SingleMatchMode": "シングルマッチモード",
"TournamentMode": "トーナメントモード",
"DuelRules": "デュエルルール",
"MasterRule1": "マスタールール1",
"MasterRule2": "マスタールール2",
"MasterRule3": "マスタールール3",
"NewMasterRule": "新マスタールール",
"MasterRule2020": "マスタールール2020",
"NoDeckCheck": "デッキチェックなし",
"NoShuffleDeck": "デッキシャッフルなし",
"40MinutesAutomaticOvertime": "40分自動延長",
"EnterYourFriendsPrivateRoomPassword": "友達のプライベートルームのパスワードをここに入力してください。",
"CreatePrivateRoom": "プライベートルームを作成",
"JoinPrivateRoom": "プライベートルームに参加"
},
"WatchContent": {
"SearchRoomByPlayerUsername": "プレイヤーのユーザー名でルームを検索",
"RankedMatch": "ランクマッチ",
"Versus": "対"
},
"DeckSelect": {
"CopySuccessful": "コピー成功",
"CopyFailed.": "コピー失敗",
"CreateNewDeck": "新しいデッキを作成",
"ImportFromLocalFile": "ローカルファイルからインポート",
"ImportFromClipboard": "クリップボードからインポート",
"ClickOrDragFilesHereToUpload": "ここをクリックまたはファイルをドラッグしてアップロード",
"SupportsYdkExtension": "デッキファイルは.ydk拡張子のみサポートされています。",
"UnableToReadClipboardContent": "クリップボードの内容を読み取れません。"
},
"Chat": {
"PleaseEnterChatContent": "チャット内容を入力してください"
},
"MatchModal": {
"PleaseEnterCustomRoomInformation": "カスタムルーム情報を入力してください",
"Server": "サーバー",
"KoishiServer": "コイシサーバー",
"UltraPreemptiveServer": "超先行サーバー",
"PlayerNickname": "プレイヤーニックネーム",
"RoomPasswordOptional": "ルームパスワード(任意)",
"JoinRoom": "ルームに参加"
},
"ReplayModal": {
"SelectReplay": "リプレイを選択",
"ClickOrDragFilesHereToUpload": "ここをクリックまたはファイルをドラッグしてアップロード",
"SupportsYrd3dExtension": ".yrp3d拡張子のリプレイファイルのみサポートされています。",
"StartReplay": "リプレイを開始",
"PleaseUploadReplayFile": "まずリプレイファイルをアップロードしてください。"
},
"Popover": {
"First": "先行",
"Second": "後攻"
},
"Menu": {
"DoYouSurrunder": "降参しますか?",
"Cancel": "キャンセル",
"Confirm": "確認",
"SelectPhase": "フェーズを選択してください",
"Deselect": "選択解除",
"SelectionComplete": "選択完了",
"ChatRoom": "チャットルーム"
},
"SelectCardModal": {
"PleaseSelect": "選択してください",
"Cards": "カード",
"SelectOneCardAtTime": "1回に1枚のカードを選択してください"
},
"SystemSettings": {
"AudioSettings": "オーディオ設定",
"TurnOnMusic": "音楽をオンにする",
......
......@@ -38,6 +38,160 @@
"WIPTitle": "Em desenvolvimento...",
"WIPDesc": "Aguarde por outras funcionalidades."
},
"BuildDeck": {
"EnterTheDeckName": "Nome do deck",
"Shuffle": "Embaralhar",
"Sort": "Ordenar",
"Clear": "Limpar",
"Reset": "Redefinir",
"Save": "Salvar",
"QuestionCircleTooltip": "Clique duas vezes para adicionar uma carta, clique com o botão direito para remover uma carta, pressione o botão do meio do mouse para alternar cartas entre o deck principal e o deck lateral.",
"Filter": "Filtrar",
"SortBy": "Ordenar por ",
"KeywordsPlaceholder": "Palavras-chave (separadas por espaços)",
"FromNewToOld": "Do novo para o antigo",
"FromOldToNew": "Do antigo para o novo",
"AttackPowerFromHighToLow": "Poder de ataque do alto para o baixo",
"AttackPowerFromLowToHigh": "Poder de ataque do baixo para o alto",
"DefensePowerFromHighToLow": "Poder de defesa do alto para o baixo",
"DefensePowerFromLowToHigh": "Poder de defesa do baixo para o alto",
"StarsRanksLevelsLinkFromHighToLow": "Estrelas/Rank/Níveis/Link do alto para o baixo",
"StarsRanksLevelsLinkFromLowToHigh": "Estrelas/Rank/Níveis/Link do baixo para o alto",
"PendulumScaleFromHighToLow": "Escala Pêndulo do alto para o baixo",
"PendulumScaleFromLowToHigh": "Escala Pêndulo do baixo para o alto",
"ResetSuccessful": "Redefinição bem-sucedida",
"SaveSuccessful": "Salvo com sucesso",
"NoDeckGroupFound": "Nenhum grupo de deck correspondente encontrado",
"OnlyShowDecksIUploaded": "Mostrar apenas decks que eu enviei",
"ShowAllOnlineDecks": "Mostrar todos os decks online",
"CardDatabase": "Banco de Dados de Cartas",
"MDProOnlineDeck": "Deck Online MDPro"
},
"Filter": {
"CardFilter": "Filtro de Carta",
"Attribute": "Atributo",
"Race": "Raça",
"Type": "Tipo",
"Level": "Nível",
"PendulumScale": "Escala Pêndulo",
"Attack": "Ataque",
"Defense": "Defesa",
"Select": "-Selecione-",
"Minimum": "Min",
"Maximum": "Máx",
"Confirm": "Confirmar",
"Cancel": "Cancelar"
},
"CardDetails": {
"Level": "Nível",
"Type": "Tipo",
"Attribute": "Atributo",
"Race": "Raça",
"Attack": "Ataque",
"Defence": "Defesa",
"PendulumScale": "Escala Pêndulo",
"MonsterEffect": "Efeito de Monstro",
"PendulumEffect": "Efeito Pêndulo",
"CardEffect": "Efeito da Carta"
},
"WaitRoom": {
"Deck": "Deck",
"JoinDuelist": "Juntar-se ao Duelista",
"JoinSpectator": "Juntar-se como Espectador",
"DuelReady": "Pronto para Duelo",
"CancelReady": "Cancelar Prontidão",
"LeaveRoom": "Sair da Sala",
"Expand": "Expandir",
"Collapse": "Recolher",
"Sidebar": "Barra Lateral",
"StartGame": "Iniciar Jogo",
"PlsRockPaperScissors": "Por favor, jogue Pedra, Papel, Tesoura",
"WaitOpponentPlayRockPaperScissors": "Aguarde o oponente jogar Pedra, Papel, Tesoura",
"PlsChooseWhoGoesFirst": "Por favor, escolha quem começa",
"WaitingForGameToStart": "Aguardando o início do jogo",
"Scissors": "Tesoura",
"Rock": "Pedra",
"Paper": "Papel"
},
"CustomRoomContent": {
"CreateJoinPrivateRoom": "Criar/Entrar em Sala Privada",
"RoomPassword": "Senha",
"Initial": "Inicial ",
"InitialHandSize": "Tamanho da Mão Inicial",
"DrawPerTurn": "Compras por Turno",
"CardsAllowed": "Cartas Permitidas",
"SimplifiedChinese": "Chinês Simplificado",
"CustomCards": "Cartas Personalizadas",
"ExclusiveCardsProhibited": "Cartas Exclusivas Proibidas",
"AllCards": "Todas as Cartas",
"DuelMode": "Modo de Duelo",
"SingleMatchMode": "Modo de Partida Única",
"TournamentMode": "Modo de Torneio",
"DuelRules": "Regras de Duelo",
"MasterRule1": "Regra Mestre 1",
"MasterRule2": "Regra Mestre 2",
"MasterRule3": "Regra Mestre 3",
"NewMasterRule": "Nova Regra Mestre",
"MasterRule2020": "Regra Mestre 2020",
"NoDeckCheck": "Sem Verificação de Deck",
"NoShuffleDeck": "Sem Embaralhar Deck",
"40MinutesAutomaticOvertime": "40 Minutos de Tempo Extra Automático",
"EnterYourFriendsPrivateRoomPassword": "Insira a senha da sala privada do seu amigo aqui.",
"CreatePrivateRoom": "Criar Sala Privada",
"JoinPrivateRoom": "Entrar em Sala Privada"
},
"WatchContent": {
"SearchRoomByPlayerUsername": "Procurar Sala pelo Nome do Jogador",
"RankedMatch": "Partida Ranqueada",
"Versus": "vs"
},
"DeckSelect": {
"CopySuccessful": "Cópia bem-sucedida",
"CopyFailed.": "Falha na cópia",
"CreateNewDeck": "Criar novo deck",
"ImportFromLocalFile": "Importar de arquivo local",
"ImportFromClipboard": "Importar da área de transferência",
"ClickOrDragFilesHereToUpload": "Clique ou arraste arquivos aqui para fazer upload",
"SupportsYdkExtension": "Suporta apenas arquivos de deck com a extensão .ydk.",
"UnableToReadClipboardContent": "Não foi possível ler o conteúdo da área de transferência."
},
"Chat": {
"PleaseEnterChatContent": "Por favor, insira o conteúdo do chat"
},
"MatchModal": {
"PleaseEnterCustomRoomInformation": "Por favor, insira as informações da sala personalizada",
"Server": "Servidor",
"KoishiServer": "Servidor Koishi",
"UltraPreemptiveServer": "Servidor Ultra Preemptivo",
"PlayerNickname": "Apelido do Jogador",
"RoomPasswordOptional": "Senha da Sala (opcional)",
"JoinRoom": "Entrar na Sala"
},
"ReplayModal": {
"SelectReplay": "Selecionar Replay",
"ClickOrDragFilesHereToUpload": "Clique ou arraste arquivos aqui para fazer upload",
"SupportsYrd3dExtension": "Apenas arquivos de replay com a extensão .yrp3d são suportados.",
"StartReplay": "Iniciar Replay",
"PleaseUploadReplayFile": "Por favor, carregue o arquivo de replay primeiro."
},
"Popover": {
"First": "Primeiro",
"Second": "Segundo"
},
"Menu": {
"DoYouSurrunder": "Você se rende?",
"Cancel": "Cancelar",
"Confirm": "Confirmar",
"SelectPhase": "Por favor, selecione a fase",
"Deselect": "Deselecionar",
"SelectionComplete": "Seleção completa",
"ChatRoom": "Sala de Chat"
},
"SelectCardModal": {
"PleaseSelect": "Por favor, selecione",
"Cards": "Cartas",
"SelectOneCardAtTime": "Selecione uma carta por vez"
},
"SystemSettings": {
"AudioSettings": "Configurações de áudio",
"TurnOnMusic": "Música",
......
......@@ -38,6 +38,160 @@
"WIPTitle": "En desarrollo...",
"WIPDesc": "Espere por otras funciones."
},
"BuildDeck": {
"EnterTheDeckName": "Nombre del mazo",
"Shuffle": "Barajar",
"Sort": "Ordenar",
"Clear": "Limpiar",
"Reset": "Reiniciar",
"Save": "Guardar",
"QuestionCircleTooltip": "Haz doble clic para agregar una carta, haz clic derecho para eliminar una carta, presiona la rueda del ratón para cambiar las cartas entre el mazo principal y el mazo lateral.",
"Filter": "Filtrar",
"SortBy": "Ordenar por ",
"KeywordsPlaceholder": "Palabras clave (separadas por espacios)",
"FromNewToOld": "De nuevo a viejo",
"FromOldToNew": "De viejo a nuevo",
"AttackPowerFromHighToLow": "Poder de ataque de mayor a menor",
"AttackPowerFromLowToHigh": "Poder de ataque de menor a mayor",
"DefensePowerFromHighToLow": "Poder de defensa de mayor a menor",
"DefensePowerFromLowToHigh": "Poder de defensa de menor a mayor",
"StarsRanksLevelsLinkFromHighToLow": "Estrellas/Rangos/Niveles/Enlace de mayor a menor",
"StarsRanksLevelsLinkFromLowToHigh": "Estrellas/Rangos/Niveles/Enlace de menor a mayor",
"PendulumScaleFromHighToLow": "Escala de péndulo de mayor a menor",
"PendulumScaleFromLowToHigh": "Escala de péndulo de menor a mayor",
"ResetSuccessful": "Reinicio exitoso",
"SaveSuccessful": "Guardado exitoso",
"NoDeckGroupFound": "No se encontró un grupo de mazo correspondiente",
"OnlyShowDecksIUploaded": "Mostrar solo los mazos que subí",
"ShowAllOnlineDecks": "Mostrar todos los mazos en línea",
"CardDatabase": "Base de datos de cartas",
"MDProOnlineDeck": "Mazo en línea MDPro"
},
"Filter": {
"CardFilter": "Filtro de carta",
"Attribute": "Atributo",
"Race": "Raza",
"Type": "Tipo",
"Level": "Nivel",
"PendulumScale": "Escala de péndulo",
"Attack": "Ataque",
"Defense": "Defensa",
"Select": "-Seleccionar-",
"Minimum": "Mín",
"Maximum": "Máx",
"Confirm": "Confirmar",
"Cancel": "Cancelar"
},
"CardDetails": {
"Level": "Nivel",
"Type": "Tipo",
"Attribute": "Atributo",
"Race": "Raza",
"Attack": "Ataque",
"Defence": "Defensa",
"PendulumScale": "Escala de péndulo",
"MonsterEffect": "Efecto de Monstruo",
"PendulumEffect": "Efecto de Péndulo",
"CardEffect": "Efecto de Carta"
},
"WaitRoom": {
"Deck": "Mazo",
"JoinDuelist": "Unirse como Duelista",
"JoinSpectator": "Unirse como Espectador",
"DuelReady": "Duelista Listo",
"CancelReady": "Cancelar Listo",
"LeaveRoom": "Salir de la Sala",
"Expand": "Expandir",
"Collapse": "Colapsar",
"Sidebar": "Barra Lateral",
"StartGame": "Iniciar Juego",
"PlsRockPaperScissors": "Por favor, juega Piedra, Papel o Tijeras",
"WaitOpponentPlayRockPaperScissors": "Esperando a que el oponente juegue Piedra, Papel o Tijeras",
"PlsChooseWhoGoesFirst": "Por favor, elige quién va primero",
"WaitingForGameToStart": "Esperando a que comience el juego",
"Scissors": "Tijeras",
"Rock": "Piedra",
"Paper": "Papel"
},
"CustomRoomContent": {
"CreateJoinPrivateRoom": "Crear/Unirse a una Sala Privada",
"RoomPassword": "Contraseña",
"Initial": "Inicial ",
"InitialHandSize": "Tamaño de Mano Inicial",
"DrawPerTurn": "Robo por Turno",
"CardsAllowed": "Cartas Permitidas",
"SimplifiedChinese": "Chino Simplificado",
"CustomCards": "Cartas Personalizadas",
"ExclusiveCardsProhibited": "Cartas Exclusivas Prohibidas",
"AllCards": "Todas las Cartas",
"DuelMode": "Modo de Duelo",
"SingleMatchMode": "Modo de Partida Única",
"TournamentMode": "Modo de Torneo",
"DuelRules": "Reglas de Duelo",
"MasterRule1": "Regla Maestra 1",
"MasterRule2": "Regla Maestra 2",
"MasterRule3": "Regla Maestra 3",
"NewMasterRule": "Nueva Regla Maestra",
"MasterRule2020": "Regla Maestra 2020",
"NoDeckCheck": "Sin Verificación de Mazo",
"NoShuffleDeck": "Sin Barajar Mazo",
"40MinutesAutomaticOvertime": "40 Minutos de Tiempo Extra Automático",
"EnterYourFriendsPrivateRoomPassword": "Ingresa la contraseña de la sala privada de tu amigo aquí.",
"CreatePrivateRoom": "Crear Sala Privada",
"JoinPrivateRoom": "Unirse a Sala Privada"
},
"WatchContent": {
"SearchRoomByPlayerUsername": "Buscar Sala por Nombre de Usuario del Jugador",
"RankedMatch": "Partida Clasificatoria",
"Versus": "vs"
},
"DeckSelect": {
"CopySuccessful": "Copia exitosa",
"CopyFailed.": "Copia fallida",
"CreateNewDeck": "Crear nuevo mazo",
"ImportFromLocalFile": "Importar desde archivo local",
"ImportFromClipboard": "Importar desde el portapapeles",
"ClickOrDragFilesHereToUpload": "Haz clic o arrastra archivos aquí para subir",
"SupportsYdkExtension": "Solo admite archivos de mazo con la extensión .ydk.",
"UnableToReadClipboardContent": "No se puede leer el contenido del portapapeles."
},
"Chat": {
"PleaseEnterChatContent": "Por favor, ingresa el contenido del chat"
},
"MatchModal": {
"PleaseEnterCustomRoomInformation": "Por favor, ingresa la información de la sala personalizada",
"Server": "Servidor",
"KoishiServer": "Servidor Koishi",
"UltraPreemptiveServer": "Servidor Ultra Preventivo",
"PlayerNickname": "Apodo del Jugador",
"RoomPasswordOptional": "Contraseña de la Sala (opcional)",
"JoinRoom": "Unirse a la Sala"
},
"ReplayModal": {
"SelectReplay": "Seleccionar Repetición",
"ClickOrDragFilesHereToUpload": "Haz clic o arrastra archivos aquí para subir",
"SupportsYrd3dExtension": "Solo se admiten archivos de repetición con la extensión .yrp3d.",
"StartReplay": "Iniciar Repetición",
"PleaseUploadReplayFile": "Por favor, sube primero el archivo de repetición."
},
"Popover": {
"First": "Primero",
"Second": "Segundo"
},
"Menu": {
"DoYouSurrunder": "¿Te rindes?",
"Cancel": "Cancelar",
"Confirm": "Confirmar",
"SelectPhase": "Por favor, selecciona la fase",
"Deselect": "Deseleccionar",
"SelectionComplete": "Selección Completa",
"ChatRoom": "Sala de Chat"
},
"SelectCardModal": {
"PleaseSelect": "Por favor, selecciona",
"Cards": "Cartas",
"SelectOneCardAtTime": "Selecciona una carta a la vez"
},
"SystemSettings": {
"AudioSettings": "Configuración de audio",
"TurnOnMusic": "Activar música",
......
......@@ -56,30 +56,95 @@ const resources = {
Header: translationSpanish.Header,
Start: translationSpanish.Start,
Match: translationSpanish.Match,
BuildDeck: translationSpanish.BuildDeck,
Filter: translationSpanish.Filter,
CardDetails: translationSpanish.CardDetails,
WaitRoom: translationSpanish.WaitRoom,
CustomRoomContent: translationSpanish.CustomRoomContent,
WatchContent: translationSpanish.WatchContent,
DeckSelect: translationSpanish.DeckSelect,
Chat: translationSpanish.Chat,
MatchModal: translationSpanish.MatchModal,
ReplayModal: translationSpanish.ReplayModal,
Popover: translationSpanish.Popover,
Menu: translationSpanish.Menu,
SelectCardModal: translationSpanish.SelectCardModal,
SystemSettings: translationSpanish.SystemSettings,
},
fr: {
Header: translationFrench.Header,
Start: translationFrench.Start,
Match: translationFrench.Match,
BuildDeck: translationFrench.BuildDeck,
Filter: translationFrench.Filter,
CardDetails: translationFrench.CardDetails,
WaitRoom: translationFrench.WaitRoom,
CustomRoomContent: translationFrench.CustomRoomContent,
WatchContent: translationFrench.WatchContent,
DeckSelect: translationFrench.DeckSelect,
Chat: translationFrench.Chat,
MatchModal: translationFrench.MatchModal,
ReplayModal: translationFrench.ReplayModal,
Popover: translationFrench.Popover,
Menu: translationFrench.Menu,
SelectCardModal: translationFrench.SelectCardModal,
SystemSettings: translationFrench.SystemSettings,
},
ja: {
Header: translationJapanese.Header,
Start: translationJapanese.Start,
Match: translationJapanese.Match,
BuildDeck: translationJapanese.BuildDeck,
Filter: translationJapanese.Filter,
CardDetails: translationJapanese.CardDetails,
WaitRoom: translationJapanese.WaitRoom,
CustomRoomContent: translationJapanese.CustomRoomContent,
WatchContent: translationJapanese.WatchContent,
DeckSelect: translationJapanese.DeckSelect,
Chat: translationJapanese.Chat,
MatchModal: translationJapanese.MatchModal,
ReplayModal: translationJapanese.ReplayModal,
Popover: translationJapanese.Popover,
Menu: translationJapanese.Menu,
SelectCardModal: translationJapanese.SelectCardModal,
SystemSettings: translationJapanese.SystemSettings,
},
br: {
Header: translationBrazilian.Header,
Start: translationBrazilian.Start,
Match: translationBrazilian.Match,
BuildDeck: translationBrazilian.BuildDeck,
Filter: translationBrazilian.Filter,
CardDetails: translationBrazilian.CardDetails,
WaitRoom: translationBrazilian.WaitRoom,
CustomRoomContent: translationBrazilian.CustomRoomContent,
WatchContent: translationBrazilian.WatchContent,
DeckSelect: translationBrazilian.DeckSelect,
Chat: translationBrazilian.Chat,
MatchModal: translationBrazilian.MatchModal,
ReplayModal: translationBrazilian.ReplayModal,
Popover: translationBrazilian.Popover,
Menu: translationBrazilian.Menu,
SelectCardModal: translationBrazilian.SelectCardModal,
SystemSettings: translationBrazilian.SystemSettings,
},
pt: {
Header: translationPortuguese.Header,
Start: translationPortuguese.Start,
Match: translationPortuguese.Match,
BuildDeck: translationPortuguese.BuildDeck,
Filter: translationPortuguese.Filter,
CardDetails: translationPortuguese.CardDetails,
WaitRoom: translationPortuguese.WaitRoom,
CustomRoomContent: translationPortuguese.CustomRoomContent,
WatchContent: translationPortuguese.WatchContent,
DeckSelect: translationPortuguese.DeckSelect,
Chat: translationPortuguese.Chat,
MatchModal: translationPortuguese.MatchModal,
ReplayModal: translationPortuguese.ReplayModal,
Popover: translationPortuguese.Popover,
Menu: translationPortuguese.Menu,
SelectCardModal: translationPortuguese.SelectCardModal,
SystemSettings: translationPortuguese.SystemSettings,
},
};
......
......@@ -32,6 +32,16 @@ import {
initWASM,
} from "./utils";
import {
LoginOutlined,
LogoutOutlined,
FullscreenOutlined,
DatabaseFilled,
UserOutlined,
TeamOutlined,
SettingFilled
} from "@ant-design/icons";
const NeosConfig = useConfig();
export const loader: LoaderFunction = async () => {
......@@ -115,14 +125,14 @@ export const Component = () => {
{
label: (
<a href={NeosConfig.profileUrl} target="_blank">
{i18n("PersonalCenter")}
<><UserOutlined style={{fontSize: '16px'}} /> <strong>{i18n("PersonalCenter")}</strong></>
</a>
),
},
{
label: (
<a href="https://ygobbs.com" target="_blank">
{i18n("MyCardCommunity")}
<><TeamOutlined style={{fontSize: '16px'}} /> <strong>{i18n("MyCardCommunity")}</strong></>
</a>
),
},
......@@ -132,15 +142,15 @@ export const Component = () => {
href="https://mycard.moe/ygopro/arena/#/"
target="_blank"
>
{i18n("DuelDatabase")}
<><DatabaseFilled style={{fontSize: '16px'}} /> <strong>{i18n("DuelDatabase")}</strong></>
</a>
),
},
{
label: i18n("SystemSettings"),
label: <><SettingFilled /> <strong>{i18n("SystemSettings")}</strong></>,
onClick: () => {
modal.info({
content: <Setting />,
content: <><Setting /></>,
centered: true,
maskClosable: true,
icon: null,
......@@ -149,13 +159,13 @@ export const Component = () => {
},
},
{
label: logined ? i18n("LogOut") : i18n("Login"),
onClick: logined ? onLogout : onLogin,
label: <><strong style={{ color: '#1890ff' }}><FullscreenOutlined style={{fontSize: '16px'}}/> {i18n("Fullscreen")}</strong></>,
onClick: () => document.documentElement.requestFullscreen(),
},
{
label: i18n("Fullscreen"),
onClick: () => document.documentElement.requestFullscreen(),
danger: true,
label: logined ? <><LogoutOutlined style={{fontSize: '16px'}}/> <strong>{i18n("LogOut")}</strong></> : <><LoginOutlined style={{fontSize: '16px'}}/> <strong>{i18n("Login")}</strong></>,
onClick: logined ? onLogout : onLogin,
danger: logined ? true : false,
},
].map((x, key) => ({ ...x, key })),
}}
......
import { AudioFilled, TranslationOutlined } from "@ant-design/icons";
import { ConfigProvider, Modal, Tabs, TabsProps } from "antd";
import zhCN from "antd/locale/zh_CN";
import React from "react";
......@@ -21,12 +22,20 @@ export const Setting = (props: SettingProps) => {
const items: TabsProps["items"] = [
{
key: "audio",
label: i18n("AudioSettings"),
label: (
<>
{i18n("AudioSettings")} <AudioFilled />
</>
),
children: <AudioSetting />,
},
{
key: "language",
label: i18n("LanguageSettings"),
label: (
<>
{i18n("LanguageSettings")} <TranslationOutlined />
</>
),
children: <I18NSelector />,
},
];
......
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