diff --git a/components/builds/BuildFilters.tsx b/components/builds/BuildFilters.tsx index a723e7f6c..fa624a322 100644 --- a/components/builds/BuildFilters.tsx +++ b/components/builds/BuildFilters.tsx @@ -1,5 +1,6 @@ import { Box, + Flex, Grid, IconButton, NumberDecrementStepper, @@ -11,7 +12,7 @@ import { Select, } from "@chakra-ui/react"; import { t, Trans } from "@lingui/macro"; -import { Ability } from "@prisma/client"; +import { Ability, Mode } from "@prisma/client"; import AbilityIcon from "components/common/AbilityIcon"; import { UseBuildsByWeaponDispatch, @@ -19,7 +20,7 @@ import { } from "hooks/builds"; import { abilities, isMainAbility } from "lib/lists/abilities"; import { useMyTheme } from "lib/useMyTheme"; -import { Fragment } from "react"; +import { Fragment, useState } from "react"; import { FiTrash } from "react-icons/fi"; interface Props { @@ -28,6 +29,7 @@ interface Props { } const BuildFilters: React.FC = ({ filters, dispatch }) => { + const [modeValueChanged, setModeValueChanged] = useState(false); const { gray } = useMyTheme(); return ( @@ -163,7 +165,7 @@ const BuildFilters: React.FC = ({ filters, dispatch }) => { ))} - + - + + ); }; diff --git a/hooks/builds.ts b/hooks/builds.ts index aa37a8086..2daf92165 100644 --- a/hooks/builds.ts +++ b/hooks/builds.ts @@ -1,4 +1,4 @@ -import { Ability } from "@prisma/client"; +import { Ability, Mode } from "@prisma/client"; import { abilities, isMainAbility } from "lib/lists/abilities"; import { weaponToCode } from "lib/lists/weaponCodes"; import { weapons } from "lib/lists/weapons"; @@ -19,6 +19,7 @@ interface BuildFilter { export interface UseBuildsByWeaponState { weapon: string; filters: BuildFilter[]; + modeFilter?: Mode; expandedUsers: Set; } @@ -48,6 +49,10 @@ type Action = type: "SET_FILTER_ABILITY_POINTS"; index: number; abilityPoints: { min: number; max: number }; + } + | { + type: "SET_MODE_FILTER"; + modeFilter?: Mode; }; export type UseBuildsByWeaponDispatch = Dispatch; @@ -116,6 +121,11 @@ export function useBuildsByWeapon() { ...oldState, filters: filtersAbilityPointsCopy, }; + case "SET_MODE_FILTER": + return { + ...oldState, + modeFilter: action.modeFilter, + }; default: return oldState; } @@ -147,36 +157,53 @@ export function useBuildsByWeapon() { const buildArrays = data ?? []; - const buildsToShow = state.filters.length - ? buildArrays.reduce((acc: GetBuildsByWeaponData, buildArray) => { - const filteredArray = buildArray.filter((build) => { - return state.filters.every((filter) => { - // @ts-ignore - const apCount = build.abilityPoints[filter.ability] ?? 0; + const buildsToShow = buildArrays.reduce( + (acc: GetBuildsByWeaponData, buildArray) => { + const filteredArray = buildArray.filter((build) => { + if (state.filters.length) { + if ( + !state.filters.every((filter) => { + // @ts-ignore + const apCount = build.abilityPoints[filter.ability] ?? 0; - if (typeof filter.hasAbility === "boolean") - return ( - (filter.hasAbility && apCount > 0) || - (!filter.hasAbility && apCount === 0) + if (typeof filter.hasAbility === "boolean") + return ( + (filter.hasAbility && apCount > 0) || + (!filter.hasAbility && apCount === 0) + ); + + if (filter.abilityPoints) { + return ( + apCount >= filter.abilityPoints.min && + apCount <= filter.abilityPoints.max + ); + } + + console.error( + "filter had no 'show' or 'abilityPoints' attributes" ); + return true; + }) + ) { + return false; + } + } - if (filter.abilityPoints) { - return ( - apCount >= filter.abilityPoints.min && - apCount <= filter.abilityPoints.max - ); - } + if (state.modeFilter) { + if (!build.modes.some((mode) => mode === state.modeFilter)) { + return false; + } + } - console.error("filter had no 'show' or 'abilityPoints' attributes"); - return true; - }); - }); + return true; + }); - if (!filteredArray.length) return acc; + if (!filteredArray.length) return acc; - return [...acc, filteredArray]; - }, []) - : buildArrays; + return [...acc, filteredArray]; + }, + [] + ); return { data: buildsToShow, diff --git a/locale/de/messages.json b/locale/de/messages.json index 9d469e8fa..7160eb6cb 100644 --- a/locale/de/messages.json +++ b/locale/de/messages.json @@ -17,6 +17,8 @@ "Excluded": "", "Max AP": "", "Filter by ability": "Nach Effekten filtern", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": "Als .png herunterladen", "Download as .json": "Als .json herunterladen", "Load from .json": "Von .json laden", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "", "Power": "", "Weapon": "Waffe", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "", "All weapons": "", "Edit profile": "Profil bearbeiten", @@ -373,4 +387,4 @@ "Search for users by their Discord tag or Twitter name": "", "Top 500 Tier Lists": "", "Here you can find X Rank Top 500 usage tier lists. For example for a weapon to be in the X tier it needs at least 30 placements in that mode that month. Below the weapon count and X Power average are shown.": "" -} +} \ No newline at end of file diff --git a/locale/el/messages.json b/locale/el/messages.json index cc512368b..63fcec688 100644 --- a/locale/el/messages.json +++ b/locale/el/messages.json @@ -17,6 +17,8 @@ "Excluded": "", "Max AP": "", "Filter by ability": "Φιλτράρισμα ανά Ικανότητα", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": "Λήψη ως .png", "Download as .json": "Λήψη ως .json", "Load from .json": "Άνοιγμα από .json", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "", "Power": "", "Weapon": "Όπλο", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "", "All weapons": "", "Edit profile": "Τροποποίηση Προφίλ", diff --git a/locale/en/messages.json b/locale/en/messages.json index 02c43a2bc..236c5ae5b 100644 --- a/locale/en/messages.json +++ b/locale/en/messages.json @@ -17,6 +17,8 @@ "Excluded": "Excluded", "Max AP": "Max AP", "Filter by ability": "Filter by ability", + "Filter by mode": "Filter by mode", + "All modes": "All modes", "Home": "Home", "Markdown is supported - <0>https://sendou.ink/markdown": "Markdown is supported - <0>https://sendou.ink/markdown", "Only {maxMultiCount} users allowed": "Only {maxMultiCount} users allowed", @@ -80,6 +82,17 @@ "Download as .png": "Download as .png", "Download as .json": "Download as .json", "Load from .json": "Load from .json", + "Team created": "Team created", + "Delete registration?": "Delete registration?", + "Registration canceled": "Registration canceled", + "Leave team?": "Leave team?", + "Team left": "Team left", + "Team fully registered": "Team fully registered", + "Add players to complete registration": "Add players to complete registration", + "Copy invite link": "Copy invite link", + "Delete registration": "Delete registration", + "Leave team": "Leave team", + "Register new team": "Register new team", "Date": "Date", "Power": "Power", "Weapon": "Weapon", @@ -320,6 +333,11 @@ "All modes equally": "All modes equally", "SZ every other": "SZ every other", "Amount of maps to generate": "Amount of maps to generate", + "Play": "Play", + "Next ladder date is not confirmed. Follow this page for updates!": "Next ladder date is not confirmed. Follow this page for updates!", + "Please wait...": "Please wait...", + "There is an error that needs to be fixed before you can join the team.": "There is an error that needs to be fixed before you can join the team.", + "Joined the team. Redirecting.": "Joined the team. Redirecting.", "X Rank Top 500": "X Rank Top 500", "League (Twin)": "League (Twin)", "League (Quad)": "League (Quad)", @@ -361,11 +379,7 @@ "Leave the team?": "Leave the team?", "Left the team": "Left the team", "Edit team profile": "Edit team profile", - "Leave team": "Leave team", "Show only teams that are recruiting": "Show only teams that are recruiting", - "Please wait...": "Please wait...", - "There is an error that needs to be fixed before you can join the team.": "There is an error that needs to be fixed before you can join the team.", - "Joined the team. Redirecting.": "Joined the team. Redirecting.", "Users": "Users", "All weapons": "All weapons", "Edit profile": "Edit profile", diff --git a/locale/es/messages.json b/locale/es/messages.json index 9e295486a..0f7587c46 100644 --- a/locale/es/messages.json +++ b/locale/es/messages.json @@ -17,6 +17,8 @@ "Excluded": "", "Max AP": "", "Filter by ability": "Filtrar por potenciador", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": "Descargar como .png", "Download as .json": "Descargar como .json", "Load from .json": "Cargar desde .json", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "", "Power": "", "Weapon": "Arma", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "", "All weapons": "", "Edit profile": "Editar perfil", diff --git a/locale/fr/messages.json b/locale/fr/messages.json index 3567c0a14..df153ea81 100644 --- a/locale/fr/messages.json +++ b/locale/fr/messages.json @@ -17,6 +17,8 @@ "Excluded": "", "Max AP": "", "Filter by ability": "Filtrer par aptitudes", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": "Télécharger en tant que .png", "Download as .json": "Télécharger en tant que .json", "Load from .json": "Charger depuis .json", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "", "Power": "", "Weapon": "Arme", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "", "All weapons": "", "Edit profile": "Modifier son profile", diff --git a/locale/it/messages.json b/locale/it/messages.json index 30801b7b6..ffad1a0c9 100644 --- a/locale/it/messages.json +++ b/locale/it/messages.json @@ -17,6 +17,8 @@ "Excluded": "", "Max AP": "", "Filter by ability": "Filtra tramite abilità", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": "Scarica come .png", "Download as .json": "Scarica come .json", "Load from .json": "Carica da .json", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "", "Power": "", "Weapon": "Arma", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "", "All weapons": "", "Edit profile": "Modifica Profilo", diff --git a/locale/ja/messages.json b/locale/ja/messages.json index 9df87ff13..2aa119050 100644 --- a/locale/ja/messages.json +++ b/locale/ja/messages.json @@ -17,6 +17,8 @@ "Excluded": "", "Max AP": "", "Filter by ability": "", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": "", "Download as .json": "", "Load from .json": "", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "", "Power": "", "Weapon": "", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "", "All weapons": "", "Edit profile": "", diff --git a/locale/ko/messages.json b/locale/ko/messages.json index 44e944858..2ece451e1 100644 --- a/locale/ko/messages.json +++ b/locale/ko/messages.json @@ -17,6 +17,8 @@ "Excluded": "", "Max AP": "", "Filter by ability": "능력별로 거르기", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": ".png 으로 다운로드", "Download as .json": ".json 으로 다운로드", "Load from .json": ".json 에서 로드", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "", "Power": "", "Weapon": "무기", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "", "All weapons": "", "Edit profile": "프로필 편집", diff --git a/locale/nl/messages.json b/locale/nl/messages.json index 9df87ff13..2aa119050 100644 --- a/locale/nl/messages.json +++ b/locale/nl/messages.json @@ -17,6 +17,8 @@ "Excluded": "", "Max AP": "", "Filter by ability": "", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": "", "Download as .json": "", "Load from .json": "", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "", "Power": "", "Weapon": "", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "", "All weapons": "", "Edit profile": "", diff --git a/locale/pt/messages.json b/locale/pt/messages.json index 4ba528487..9702df9a7 100644 --- a/locale/pt/messages.json +++ b/locale/pt/messages.json @@ -17,6 +17,8 @@ "Excluded": "Sem", "Max AP": "", "Filter by ability": "Filtrar por habilidade", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "Há suporte para Markdown - <0>https://sendou.ink/markdown", "Only {maxMultiCount} users allowed": "Escolha apenas {maxMultiCount} usuários", @@ -80,6 +82,17 @@ "Download as .png": "Baixar como .png", "Download as .json": "Baixar como .json", "Load from .json": "Carregar .json", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "Dia", "Power": "", "Weapon": "Arma", @@ -320,6 +333,11 @@ "All modes equally": "Todos os modos igualmente", "SZ every other": "Splat Zones mapa sim, mapa não", "Amount of maps to generate": "Quantidade de mapas para gerar", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "Usuários", "All weapons": "Todas as armas", "Edit profile": "Editar perfil", diff --git a/locale/ru/messages.json b/locale/ru/messages.json index 9df87ff13..2aa119050 100644 --- a/locale/ru/messages.json +++ b/locale/ru/messages.json @@ -17,6 +17,8 @@ "Excluded": "", "Max AP": "", "Filter by ability": "", + "Filter by mode": "", + "All modes": "", "Home": "", "Markdown is supported - <0>https://sendou.ink/markdown": "", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": "", "Download as .json": "", "Load from .json": "", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "", "Power": "", "Weapon": "", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "", "League (Twin)": "", "League (Quad)": "", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "", "All weapons": "", "Edit profile": "", diff --git a/locale/sv/messages.json b/locale/sv/messages.json index 994b5b36f..2ae97f26a 100644 --- a/locale/sv/messages.json +++ b/locale/sv/messages.json @@ -17,6 +17,8 @@ "Excluded": "Exkluderat", "Max AP": "Max AP", "Filter by ability": "Filtrera efter effekt", + "Filter by mode": "", + "All modes": "", "Home": "Hem", "Markdown is supported - <0>https://sendou.ink/markdown": "Markdown stöds - <0>https://sendou.ink/markdown", "Only {maxMultiCount} users allowed": "", @@ -80,6 +82,17 @@ "Download as .png": "Ladda ner som .png", "Download as .json": "Ladda ner som .json", "Load from .json": "Ladda från .json", + "Team created": "", + "Delete registration?": "", + "Registration canceled": "", + "Leave team?": "", + "Team left": "", + "Team fully registered": "", + "Add players to complete registration": "", + "Copy invite link": "", + "Delete registration": "", + "Leave team": "", + "Register new team": "", "Date": "Datum", "Power": "X-Poäng", "Weapon": "Vapen", @@ -320,6 +333,11 @@ "All modes equally": "", "SZ every other": "", "Amount of maps to generate": "", + "Play": "", + "Next ladder date is not confirmed. Follow this page for updates!": "", + "Please wait...": "", + "There is an error that needs to be fixed before you can join the team.": "", + "Joined the team. Redirecting.": "", "X Rank Top 500": "X-Rang Topp 500", "League (Twin)": "League (Twin)", "League (Quad)": "League (Quad)", @@ -361,11 +379,7 @@ "Leave the team?": "", "Left the team": "", "Edit team profile": "", - "Leave team": "", "Show only teams that are recruiting": "", - "Please wait...": "", - "There is an error that needs to be fixed before you can join the team.": "", - "Joined the team. Redirecting.": "", "Users": "Användare", "All weapons": "Alla vapen", "Edit profile": "Redigera profil",