closes #219 filter by mode dropdown

This commit is contained in:
Kalle (Sendou)
2021-01-30 02:35:58 +02:00
parent 249a5dcf01
commit a363b6667d
14 changed files with 302 additions and 78 deletions

View File

@@ -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<Props> = ({ filters, dispatch }) => {
const [modeValueChanged, setModeValueChanged] = useState(false);
const { gray } = useMyTheme();
return (
@@ -163,7 +165,7 @@ const BuildFilters: React.FC<Props> = ({ filters, dispatch }) => {
</Fragment>
))}
</Grid>
<Box mt={4}>
<Flex mt={4} justify="space-between">
<Select
onChange={(e) =>
dispatch({
@@ -189,7 +191,34 @@ const BuildFilters: React.FC<Props> = ({ filters, dispatch }) => {
</option>
))}
</Select>
</Box>
<Select
onChange={(e) => {
setModeValueChanged(true);
dispatch({
type: "SET_MODE_FILTER",
modeFilter:
e.target.value === "ALL" ? undefined : (e.target.value as Mode),
});
}}
size="sm"
width={48}
m={2}
>
<option hidden value="NO_VALUE">
{t`Filter by mode`}
</option>
{[t`All modes`, "TW", "SZ", "TC", "RM", "CB"]
// let's filter out all modes initially
// to avoid confusion as it does nothing different from
// having nothing selected at all
.filter((_, i) => modeValueChanged || i !== 0)
.map((mode, i) => (
<option key={mode} value={i === 0 ? "ALL" : mode}>
{mode}
</option>
))}
</Select>
</Flex>
</>
);
};

View File

@@ -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<number>;
}
@@ -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<Action>;
@@ -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,

View File

@@ -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</0>": "",
"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.": ""
}
}

View File

@@ -17,6 +17,8 @@
"Excluded": "",
"Max AP": "",
"Filter by ability": "Φιλτράρισμα ανά Ικανότητα",
"Filter by mode": "",
"All modes": "",
"Home": "",
"Markdown is supported - <0>https://sendou.ink/markdown</0>": "",
"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": "Τροποποίηση Προφίλ",

View File

@@ -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</0>": "Markdown is supported - <0>https://sendou.ink/markdown</0>",
"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",

View File

@@ -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</0>": "",
"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",

View File

@@ -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</0>": "",
"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",

View File

@@ -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</0>": "",
"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",

View File

@@ -17,6 +17,8 @@
"Excluded": "",
"Max AP": "",
"Filter by ability": "",
"Filter by mode": "",
"All modes": "",
"Home": "",
"Markdown is supported - <0>https://sendou.ink/markdown</0>": "",
"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": "",

View File

@@ -17,6 +17,8 @@
"Excluded": "",
"Max AP": "",
"Filter by ability": "능력별로 거르기",
"Filter by mode": "",
"All modes": "",
"Home": "",
"Markdown is supported - <0>https://sendou.ink/markdown</0>": "",
"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": "프로필 편집",

View File

@@ -17,6 +17,8 @@
"Excluded": "",
"Max AP": "",
"Filter by ability": "",
"Filter by mode": "",
"All modes": "",
"Home": "",
"Markdown is supported - <0>https://sendou.ink/markdown</0>": "",
"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": "",

View File

@@ -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</0>": "Há suporte para Markdown - <0>https://sendou.ink/markdown</0>",
"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",

View File

@@ -17,6 +17,8 @@
"Excluded": "",
"Max AP": "",
"Filter by ability": "",
"Filter by mode": "",
"All modes": "",
"Home": "",
"Markdown is supported - <0>https://sendou.ink/markdown</0>": "",
"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": "",

View File

@@ -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</0>": "Markdown stöds - <0>https://sendou.ink/markdown</0>",
"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",