From 2d601b9c4d203cd3d1bd4a5611e848fd427a8615 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Wed, 2 Apr 2025 09:58:11 +0200 Subject: [PATCH] Update schematic stats label and remove permission check --- src/components/dashboard/Statistics.svelte | 4 +--- src/i18n/common/de.json | 2 +- src/i18n/common/en.json | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/dashboard/Statistics.svelte b/src/components/dashboard/Statistics.svelte index 6c06f69..d9b476e 100644 --- a/src/components/dashboard/Statistics.svelte +++ b/src/components/dashboard/Statistics.svelte @@ -43,7 +43,5 @@ maximumFractionDigits: 2 }).format(data.playtime)})}h

{t("dashboard.stats.fights", {fights: data.fights})}

- {#if user.perms.includes("CHECK")} -

{t("dashboard.stats.checked", {checked: data.acceptedSchematics})}

- {/if} +

{t("dashboard.stats.checked", {checked: data.acceptedSchematics})}

{/await} \ No newline at end of file diff --git a/src/i18n/common/de.json b/src/i18n/common/de.json index 841ad21..9064add 100644 --- a/src/i18n/common/de.json +++ b/src/i18n/common/de.json @@ -173,7 +173,7 @@ "stats": { "playtime": "Spielzeit: {# playtime #}", "fights": "Kämpfe: {# fights #}", - "checked": "Schematics Geprüft: {# checked #}" + "checked": "Freigegebene Schematics: {# checked #}" }, "schematic": { "upload": "Hochladen", diff --git a/src/i18n/common/en.json b/src/i18n/common/en.json index 3de45a7..a70811c 100644 --- a/src/i18n/common/en.json +++ b/src/i18n/common/en.json @@ -111,7 +111,7 @@ "stats": { "playtime": "Playtime: {# playtime #}", "fights": "Fights: {# fights #}", - "checked": "Schematics Checked: {# checked #}" + "checked": "Accepted Schematics: {# checked #}" }, "schematic": { "upload": "Upload",