badges improvements

This commit is contained in:
2026-08-23 20:31:44 -07:00
parent ac2e61731c
commit e3fea18ab2
9 changed files with 366 additions and 76 deletions
+33 -6
View File
@@ -384,7 +384,7 @@ msgid "Active device: {0}"
msgstr "Active device: {0}"
#: src/app/routes/_authed/admin/activities.tsx:21
#: src/features/admin/components/admin-page.tsx:47
#: src/features/admin/components/admin-page.tsx:90
msgid "Activities"
msgstr "Activities"
@@ -520,7 +520,7 @@ msgstr "Avg Win Margin"
msgid "Award Badge"
msgstr "Award Badge"
#: src/features/admin/components/admin-page.tsx:36
#: src/features/admin/components/admin-page.tsx:55
msgid "Award Badges"
msgstr "Award Badges"
@@ -554,6 +554,18 @@ msgstr "Back"
msgid "Badge awarded to {playerName}"
msgstr "Badge awarded to {playerName}"
#: src/features/admin/components/admin-page.tsx:86
msgid "Badge recalculation failed. Check the server logs."
msgstr "Badge recalculation failed. Check the server logs."
#: src/features/admin/components/admin-page.tsx:39
msgid "Badge recalculation is already running"
msgstr "Badge recalculation is already running"
#: src/features/admin/components/admin-page.tsx:38
msgid "Badge recalculation started in the background"
msgstr "Badge recalculation started in the background"
#: src/features/admin/components/award-badges.tsx:70
msgid "Badge Type"
msgstr "Badge Type"
@@ -581,7 +593,7 @@ msgid "Bracket"
msgstr "Bracket"
#: src/app/routes/_authed/admin/preview.tsx:13
#: src/features/admin/components/admin-page.tsx:59
#: src/features/admin/components/admin-page.tsx:102
msgid "Bracket Preview"
msgstr "Bracket Preview"
@@ -1060,6 +1072,10 @@ msgstr "Failed to set active device"
msgid "Failed to set volume"
msgstr "Failed to set volume"
#: src/features/admin/components/admin-page.tsx:42
msgid "Failed to start badge recalculation"
msgstr "Failed to start badge recalculation"
#: src/features/teams/components/team-form/index.tsx:105
msgid "Failed to update team"
msgstr "Failed to update team"
@@ -1322,6 +1338,11 @@ msgstr "Last name must be 2-20 characters long and contain only letters"
msgid "Last name must be 3-20 characters long and contain only letters"
msgstr "Last name must be 3-20 characters long and contain only letters"
#. placeholder {0}: migrationStatus.result.totalBadgesEarned
#: src/features/admin/components/admin-page.tsx:74
msgid "Last recalculation: {0, plural, one {# badge earned} other {# badges earned}}"
msgstr "Last recalculation: {0, plural, one {# badge earned} other {# badges earned}}"
#: src/features/settings/components/color-scheme-picker.tsx:43
msgid "Light"
msgstr "Light"
@@ -1410,7 +1431,7 @@ msgid "Manage Team Songs/Logos"
msgstr "Manage Team Songs/Logos"
#: src/app/routes/_authed/admin/tournaments/index.tsx:17
#: src/features/admin/components/admin-page.tsx:31
#: src/features/admin/components/admin-page.tsx:50
msgid "Manage Tournaments"
msgstr "Manage Tournaments"
@@ -1489,7 +1510,7 @@ msgstr "Matchup details"
msgid "Me"
msgstr "Me"
#: src/features/admin/components/admin-page.tsx:41
#: src/features/admin/components/admin-page.tsx:60
msgid "Migrate Badge Progress"
msgstr "Migrate Badge Progress"
@@ -1729,7 +1750,7 @@ msgstr "Once enrolled, you can view other free agents and their phone number in
msgid "One time code"
msgstr "One time code"
#: src/features/admin/components/admin-page.tsx:52
#: src/features/admin/components/admin-page.tsx:95
msgid "Open Pocketbase"
msgstr "Open Pocketbase"
@@ -1927,6 +1948,12 @@ msgstr "Re-roll"
msgid "Reactions"
msgstr "Reactions"
#. placeholder {0}: migrationStatus.playersProcessed
#. placeholder {1}: migrationStatus.totalPlayers
#: src/features/admin/components/admin-page.tsx:67
msgid "Recalculating badges in the background ({0}/{1})"
msgstr "Recalculating badges in the background ({0}/{1})"
#: src/features/tournaments/components/started-tournament/sections/recent-results.tsx:34
msgid "Recently finished"
msgstr "Recently finished"