Update schematic stats label and remove permission check
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-04-02 09:58:11 +02:00
parent 48586f1a50
commit 2d601b9c4d
3 changed files with 3 additions and 5 deletions

View File

@ -43,7 +43,5 @@
maximumFractionDigits: 2 maximumFractionDigits: 2
}).format(data.playtime)})}h</p> }).format(data.playtime)})}h</p>
<p>{t("dashboard.stats.fights", {fights: data.fights})}</p> <p>{t("dashboard.stats.fights", {fights: data.fights})}</p>
{#if user.perms.includes("CHECK")} <p>{t("dashboard.stats.checked", {checked: data.acceptedSchematics})}</p>
<p>{t("dashboard.stats.checked", {checked: data.acceptedSchematics})}</p>
{/if}
{/await} {/await}

View File

@ -173,7 +173,7 @@
"stats": { "stats": {
"playtime": "Spielzeit: {# playtime #}", "playtime": "Spielzeit: {# playtime #}",
"fights": "Kämpfe: {# fights #}", "fights": "Kämpfe: {# fights #}",
"checked": "Schematics Geprüft: {# checked #}" "checked": "Freigegebene Schematics: {# checked #}"
}, },
"schematic": { "schematic": {
"upload": "Hochladen", "upload": "Hochladen",

View File

@ -111,7 +111,7 @@
"stats": { "stats": {
"playtime": "Playtime: {# playtime #}", "playtime": "Playtime: {# playtime #}",
"fights": "Fights: {# fights #}", "fights": "Fights: {# fights #}",
"checked": "Schematics Checked: {# checked #}" "checked": "Accepted Schematics: {# checked #}"
}, },
"schematic": { "schematic": {
"upload": "Upload", "upload": "Upload",