Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions components/player/PlayerIntroDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ import EmptyDescription from "~/components/ui/empty/EmptyDescription.vue";
import { Skeleton } from "~/components/ui/skeleton";
import FadeSwap from "~/components/ui/transitions/FadeSwap.vue";
import mapLabel from "~/utilities/mapLabel";
import {
tacticalSectionLabelClasses,
tacticalSectionTickClasses,
} from "~/utilities/tacticalClasses";

ChartJS.register(
CategoryScale,
Expand Down Expand Up @@ -1092,22 +1088,6 @@ function tooltipAfter(index: number | undefined): string[] {

<template>
<div>
<div class="mb-3 flex flex-wrap items-center justify-between gap-3">
<div :class="[tacticalSectionLabelClasses, 'mb-0']">
<span :class="tacticalSectionTickClasses"></span>
{{ $t("pages.players.detail.intro.section") }}
<span
v-if="hasData"
class="font-mono text-[0.62rem] tracking-[0.18em] text-muted-foreground/70"
>
·
{{
$t("pages.players.detail.intro.last_n", { n: aggregate.matches })
}}
</span>
</div>
</div>

<FadeSwap>
<div
v-if="loading && !hasData"
Expand Down
15 changes: 1 addition & 14 deletions components/player/PlayerMapsGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import FadeSwap from "~/components/ui/transitions/FadeSwap.vue";
import {
tacticalSectionLabelClasses,
tacticalSectionTickClasses,
tacticalSectionDescriptionClasses,
} from "~/utilities/tacticalClasses";
import StatChevron from "~/components/StatChevron.vue";
import {
Expand Down Expand Up @@ -630,19 +629,7 @@ function avgKda(agg: MapAggregate, side: SideKey): string {

<template>
<div>
<div class="flex flex-wrap items-start justify-between gap-3">
<div>
<div :class="[tacticalSectionLabelClasses, 'mb-0']">
<span :class="tacticalSectionTickClasses"></span>
{{ $t("pages.players.detail.maps.section") }}
</div>
<div :class="tacticalSectionDescriptionClasses">
{{ $t("pages.players.detail.maps.description") }}
</div>
</div>
</div>

<FadeSwap class="mt-3">
<FadeSwap>
<div v-if="loading && !hasMaps" key="skeleton">
<div
class="grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"
Expand Down
9 changes: 0 additions & 9 deletions components/player/PlayerWeaponsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ import EmptyDescription from "~/components/ui/empty/EmptyDescription.vue";
import FadeSwap from "~/components/ui/transitions/FadeSwap.vue";
import TableSkeleton from "~/components/player/stats/TableSkeleton.vue";
import { resolveWeapon } from "~/utilities/weaponIcon";
import {
tacticalSectionLabelClasses,
tacticalSectionTickClasses,
} from "~/utilities/tacticalClasses";
import { hltvColor } from "~/utils/statTiers";

const props = defineProps<{
Expand Down Expand Up @@ -347,11 +343,6 @@ function onIconError(event: Event) {

<template>
<div>
<div :class="[tacticalSectionLabelClasses, 'mb-3']">
<span :class="tacticalSectionTickClasses"></span>
{{ $t("pages.players.detail.weapons_table.section") }}
</div>

<FadeSwap>
<TableSkeleton
v-if="loading && !hasData"
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/ar_SA.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "جارٍ جلب البيانات…",
"matches_section": "المباريات",
"intro": {
"section": "مقدمة الأداء",
"last_n": "آخر {n} مباريات",
"empty_title": "لا توجد مباريات محللة",
"empty_description": "تظهر إحصاءات الأداء التفصيلية هنا بعد أن ينهي هذا اللاعب مباريات ويتم تحليلها.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "الخرائط",
"description": "أداء المسيرة موزّعًا حسب الخريطة، مع تقسيم بين جهة T وجهة CT.",
"empty_title": "لا توجد بيانات خرائط بعد",
"empty_description": "بعد أن ينهي هذا اللاعب مباريات، سيظهر الأداء لكل خريطة هنا.",
"played_short": "لعب",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "متوسط K/D/A"
},
"weapons_table": {
"section": "الأسلحة",
"empty_title": "لا توجد بيانات أسلحة",
"empty_description": "لا توجد قتلات مسجّلة بالأسلحة لهذا اللاعب بعد.",
"weapon": "سلاح",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/da_DK.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "Henter telemetri…",
"matches_section": "KAMPE",
"intro": {
"section": "Præstationsoverblik",
"last_n": "Seneste {n} kampe",
"empty_title": "Ingen behandlede kampe",
"empty_description": "Detaljerede præstationsstats vises her, når spilleren har færdigspillede og behandlede kampe.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "MAPS",
"description": "Karrierepræstation fordelt på map, med opdeling på terrorist- og counter-terrorist-side.",
"empty_title": "Ingen mapdata endnu",
"empty_description": "Når spilleren har spillet kampe færdig, vises præstation pr. map her.",
"played_short": "SPL",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "Gns. K/D/A"
},
"weapons_table": {
"section": "Våben",
"empty_title": "Ingen våbendata",
"empty_description": "Spilleren har ingen registrerede våbenkills endnu.",
"weapon": "Våben",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "Telemetrie wird geladen …",
"matches_section": "MATCHES",
"intro": {
"section": "Performance-Übersicht",
"last_n": "Letzte {n} Matches",
"empty_title": "Keine ausgewerteten Matches",
"empty_description": "Detaillierte Performance-Stats erscheinen hier, sobald dieser Spieler Matches beendet hat und sie ausgewertet sind.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "MAPS",
"description": "Karriere-Performance pro Map, aufgeteilt nach T- und CT-Seite.",
"empty_title": "Noch keine Map-Daten",
"empty_description": "Sobald dieser Spieler Matches beendet, erscheint hier die Performance pro Map.",
"played_short": "GSP",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "Ø K/D/A"
},
"weapons_table": {
"section": "Waffen",
"empty_title": "Keine Waffendaten",
"empty_description": "Für diesen Spieler sind noch keine Kills mit Waffen erfasst.",
"weapon": "Waffe",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "Acquiring telemetry…",
"matches_section": "MATCHES",
"intro": {
"section": "Performance Intro",
"last_n": "Last {n} matches",
"empty_title": "No parsed matches",
"empty_description": "Detailed performance stats appear here once this player has finished and parsed matches.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "MAPS",
"description": "Career performance broken down by map, with terrorist and counter-terrorist side splits.",
"empty_title": "No map data yet",
"empty_description": "Once this player finishes matches, per-map performance will appear here.",
"played_short": "PLD",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "Avg K/D/A"
},
"weapons_table": {
"section": "Weapons",
"empty_title": "No weapon data",
"empty_description": "This player has no recorded weapon kills yet.",
"weapon": "Weapon",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "Obteniendo telemetría…",
"matches_section": "PARTIDAS",
"intro": {
"section": "Resumen de rendimiento",
"last_n": "Últimas {n} partidas",
"empty_title": "No hay partidas procesadas",
"empty_description": "Las estadísticas detalladas de rendimiento aparecerán aquí cuando este jugador tenga partidas terminadas y procesadas.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "MAPAS",
"description": "Rendimiento de la carrera desglosado por mapa, con separación por bando T y CT.",
"empty_title": "Aún no hay datos por mapa",
"empty_description": "Cuando este jugador termine partidas, aquí aparecerá su rendimiento por mapa.",
"played_short": "JUG",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "K/D/A medio"
},
"weapons_table": {
"section": "Armas",
"empty_title": "Sin datos de armas",
"empty_description": "Este jugador aún no tiene bajas con arma registradas.",
"weapon": "Arma",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "Acquisition de la télémétrie…",
"matches_section": "MATCHS",
"intro": {
"section": "Aperçu des performances",
"last_n": "{n} derniers matchs",
"empty_title": "Aucun match analysé",
"empty_description": "Les stats détaillées apparaîtront ici une fois que ce joueur aura terminé des matchs et qu'ils auront été analysés.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "MAPS",
"description": "Performances de carrière détaillées par map, avec la répartition camp T et camp CT.",
"empty_title": "Aucune donnée de map",
"empty_description": "Une fois que ce joueur aura terminé des matchs, les performances par map apparaîtront ici.",
"played_short": "JOU",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "K/D/A moy."
},
"weapons_table": {
"section": "Armes",
"empty_title": "Aucune donnée d'arme",
"empty_description": "Ce joueur n'a encore aucun kill enregistré par arme.",
"weapon": "Arme",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/it_IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "Acquisizione telemetria…",
"matches_section": "MATCH",
"intro": {
"section": "Introduzione rendimento",
"last_n": "Ultimi {n} match",
"empty_title": "Nessun match analizzato",
"empty_description": "Le statistiche dettagliate appaiono qui quando il giocatore ha match conclusi e analizzati.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "MAPPE",
"description": "Rendimento in carriera suddiviso per mappa, con dettaglio lato terrorista e antiterrorista.",
"empty_title": "Ancora nessun dato sulle mappe",
"empty_description": "Quando il giocatore avrà concluso dei match, qui apparirà il rendimento per mappa.",
"played_short": "GIO",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "K/D/A medi"
},
"weapons_table": {
"section": "Armi",
"empty_title": "Nessun dato sulle armi",
"empty_description": "Questo giocatore non ha ancora kill registrate con armi.",
"weapon": "Arma",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/ja_JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "データ取得中…",
"matches_section": "試合",
"intro": {
"section": "パフォーマンス概要",
"last_n": "直近 {n} 試合",
"empty_title": "解析済みの試合なし",
"empty_description": "このプレイヤーの試合が終了して解析されると、詳細なパフォーマンススタッツがここに表示されます。",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "マップ",
"description": "マップ別の通算パフォーマンス。T サイドと CT サイドの内訳付き。",
"empty_title": "マップデータなし",
"empty_description": "このプレイヤーが試合を終えると、マップ別のパフォーマンスがここに表示されます。",
"played_short": "試合",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "平均 K/D/A"
},
"weapons_table": {
"section": "武器",
"empty_title": "武器データなし",
"empty_description": "このプレイヤーには武器別のキル記録がまだありません。",
"weapon": "武器",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/ko_KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "데이터 수집 중…",
"matches_section": "매치",
"intro": {
"section": "퍼포먼스 개요",
"last_n": "최근 {n}경기",
"empty_title": "파싱된 매치 없음",
"empty_description": "이 플레이어의 매치가 종료되고 파싱되면 상세 퍼포먼스 통계가 이곳에 표시됩니다.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "맵",
"description": "맵별 커리어 퍼포먼스를 테러리스트/카운터테러리스트 진영별로 나눠서 보여줍니다.",
"empty_title": "아직 맵 데이터 없음",
"empty_description": "이 플레이어가 매치를 마치면 맵별 퍼포먼스가 이곳에 표시됩니다.",
"played_short": "PLD",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "평균 K/D/A"
},
"weapons_table": {
"section": "무기",
"empty_title": "무기 데이터 없음",
"empty_description": "이 플레이어는 아직 무기 킬 기록이 없습니다.",
"weapon": "무기",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/pl_PL.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "Pobieranie telemetrii…",
"matches_section": "MECZE",
"intro": {
"section": "Wstęp wydajności",
"last_n": "Ostatnie {n} meczów",
"empty_title": "Brak przeanalizowanych meczów",
"empty_description": "Szczegółowe statystyki wydajności pojawią się tutaj, gdy gracz zakończy i przeanalizuje mecze.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "MAPY",
"description": "Wydajność w karierze w podziale na mapy, ze statystykami dla strony terrorystów i antyterrorystów.",
"empty_title": "Brak jeszcze danych o mapach",
"empty_description": "Gdy gracz zakończy mecze, pojawi się tutaj wydajność per mapa.",
"played_short": "ROZ",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "Śr. K/D/A"
},
"weapons_table": {
"section": "Broń",
"empty_title": "Brak danych o broni",
"empty_description": "Ten gracz nie ma jeszcze zapisanych zabójstw daną bronią.",
"weapon": "Broń",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "Obtendo telemetria…",
"matches_section": "PARTIDAS",
"intro": {
"section": "Desempenho / Performance",
"last_n": "Últimas {n} partidas",
"empty_title": "Nenhuma partida processada",
"empty_description": "As estatísticas detalhadas de desempenho aparecerão aqui quando este jogador concluir e processar partidas.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "MAPAS",
"description": "Desempenho de carreira detalhado por mapa, com divisão entre lados terrorista e contra-terrorista.",
"empty_title": "Nenhum dado de mapa ainda",
"empty_description": "Assim que este jogador concluir partidas, o desempenho por mapa aparecerá aqui.",
"played_short": "JOG",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "Média K/D/A"
},
"weapons_table": {
"section": "Armas",
"empty_title": "Nenhum dado de armas",
"empty_description": "Este jogador ainda não possui abates registrados com armas.",
"weapon": "Arma",
Expand Down
5 changes: 0 additions & 5 deletions i18n/locales/ru_RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,6 @@
"acquiring_telemetry": "Получение телеметрии…",
"matches_section": "МАТЧИ",
"intro": {
"section": "Обзор показателей",
"last_n": "Последние {n} матчей",
"empty_title": "Нет разобранных матчей",
"empty_description": "Подробная статистика появится здесь, когда у этого игрока будут завершённые и разобранные матчи.",
"adr": "ADR",
Expand All @@ -3233,8 +3231,6 @@
}
},
"maps": {
"section": "КАРТЫ",
"description": "Показатели по картам за всю карьеру, с разбивкой по сторонам T и CT.",
"empty_title": "Пока нет данных по картам",
"empty_description": "Когда этот игрок завершит матчи, здесь появится статистика по каждой карте.",
"played_short": "СЫГР",
Expand All @@ -3255,7 +3251,6 @@
"col_avg_kda": "Ср. K/D/A"
},
"weapons_table": {
"section": "Оружие",
"empty_title": "Нет данных по оружию",
"empty_description": "У этого игрока пока нет зафиксированных убийств из оружия.",
"weapon": "Оружие",
Expand Down
Loading
Loading