refactor(enrollment): drop count header, keep player-count warnings

This commit is contained in:
2026-08-26 19:12:33 -07:00
parent 4106c3c846
commit f13e5b752a
8 changed files with 70 additions and 105 deletions
+10 -13
View File
@@ -59,7 +59,7 @@ msgstr "{0, plural, one {# player} other {# players}}"
#. placeholder {0}: enrolledTeams.length
#. placeholder {0}: group.teams.length
#. placeholder {0}: orderedTeams.length
#: src/features/tournaments/components/enrollment/team-section.tsx:243
#: src/features/tournaments/components/enrollment/team-section.tsx:240
#: src/features/tournaments/components/group-preview.tsx:27
#: src/features/tournaments/components/seed-tournament.tsx:116
#: src/features/tournaments/components/setup-group-stage.tsx:224
@@ -87,9 +87,7 @@ msgid "{0, plural, one {# wildcard} other {# wildcards}}"
msgstr "{0, plural, one {# wildcard} other {# wildcards}}"
#. placeholder {0}: freeAgents.length
#. placeholder {0}: props.count
#: src/app/routes/_authed/admin/tournaments/$id/assign-partners.tsx:124
#: src/features/tournaments/components/enrollment/enrollment-stats.tsx:22
msgid "{0, plural, one {player enrolled} other {players enrolled}}"
msgstr "{0, plural, one {player enrolled} other {players enrolled}}"
@@ -441,7 +439,7 @@ msgstr "Add FLXN to your home screen for a smoother experience"
msgid "Add Player"
msgstr "Add Player"
#: src/features/tournaments/components/enrollment/team-section.tsx:213
#: src/features/tournaments/components/enrollment/team-section.tsx:210
msgid "Add Team"
msgstr "Add Team"
@@ -680,7 +678,7 @@ msgid "Cannot create groups"
msgstr "Cannot create groups"
#: src/app/routes/_authed/admin/tournaments/$id/assign-partners.tsx:136
#: src/features/tournaments/components/enrollment/enrollment-stats.tsx:41
#: src/features/tournaments/components/enrollment/enrollment-warnings.tsx:21
msgid "Cannot create teams with an odd number of players. Please have one player unenroll."
msgstr "Cannot create teams with an odd number of players. Please have one player unenroll."
@@ -953,7 +951,7 @@ msgstr "Earlier regional formats aren't supported in the app and order of matche
#. placeholder {0}: team.name
#: src/features/teams/components/manage-teams.tsx:35
#: src/features/tournaments/components/enrollment/team-section.tsx:96
#: src/features/tournaments/components/enrollment/team-section.tsx:95
msgid "Edit {0}"
msgstr "Edit {0}"
@@ -976,7 +974,7 @@ msgid "Edit Rules"
msgstr "Edit Rules"
#: src/features/teams/components/manage-teams.tsx:35
#: src/features/tournaments/components/enrollment/team-section.tsx:96
#: src/features/tournaments/components/enrollment/team-section.tsx:95
msgid "Edit Team"
msgstr "Edit Team"
@@ -1042,8 +1040,7 @@ msgstr "Enrolled"
msgid "Enrolled Players"
msgstr "Enrolled Players"
#: src/features/tournaments/components/enrollment/enrollment-stats.tsx:28
#: src/features/tournaments/components/enrollment/team-section.tsx:240
#: src/features/tournaments/components/enrollment/team-section.tsx:237
#: src/features/tournaments/components/started-tournament/sections/nav-grid.tsx:126
#: src/features/tournaments/components/upcoming-tournament/team-list-button.tsx:31
msgid "Enrolled Teams"
@@ -1537,7 +1534,7 @@ msgstr "Manage"
msgid "Manage {name}"
msgstr "Manage {name}"
#: src/features/tournaments/components/enrollment/team-section.tsx:234
#: src/features/tournaments/components/enrollment/team-section.tsx:231
msgid "Manage Team Songs/Logos"
msgstr "Manage Team Songs/Logos"
@@ -1657,7 +1654,7 @@ msgid "Name updated successfully!"
msgstr "Name updated successfully!"
#: src/app/routes/_authed/admin/tournaments/$id/assign-partners.tsx:130
#: src/features/tournaments/components/enrollment/enrollment-stats.tsx:35
#: src/features/tournaments/components/enrollment/enrollment-warnings.tsx:15
msgid "Need at least 2 players to create teams"
msgstr "Need at least 2 players to create teams"
@@ -1810,7 +1807,7 @@ msgstr "No teams assigned"
msgid "No Teams Enrolled"
msgstr "No Teams Enrolled"
#: src/features/tournaments/components/enrollment/team-section.tsx:253
#: src/features/tournaments/components/enrollment/team-section.tsx:250
msgid "No teams enrolled yet"
msgstr "No teams enrolled yet"
@@ -2208,7 +2205,7 @@ msgstr "Search for players to enroll..."
msgid "Search for songs..."
msgstr "Search for songs..."
#: src/features/tournaments/components/enrollment/team-section.tsx:216
#: src/features/tournaments/components/enrollment/team-section.tsx:213
msgid "Search for teams to enroll..."
msgstr "Search for teams to enroll..."