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
}).format(data.playtime)})}h</p>
<p>{t("dashboard.stats.fights", {fights: data.fights})}</p>
{#if user.perms.includes("CHECK")}
<p>{t("dashboard.stats.checked", {checked: data.acceptedSchematics})}</p>
{/if}
<p>{t("dashboard.stats.checked", {checked: data.acceptedSchematics})}</p>
{/await}

View File

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

View File

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