Skip to content

Commit

Permalink
added translation for roster export + minor code lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lung committed Jul 24, 2024
1 parent a43ace9 commit f32388e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Participant/ParticipantRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ private function mapDataToEntryParticipant(Row $row): EntryParticipant
public function getPatrolsRoster(Event $event): PatrolsRoster
{
$singlePatrolsRoster = [];

$patrolLeaders = $this->getAllPaidPatrolLeaders($event);

foreach ($patrolLeaders as $pl) {
Expand All @@ -502,7 +502,7 @@ public function getPatrolsRoster(Event $event): PatrolsRoster
$pl->patrolName ?? '',
$pl->getFullName(),
array_map(
fn(PatrolParticipant $pp): string => $pp->getFullName(),
fn (PatrolParticipant $pp): string => $pp->getFullName(),
$pl->patrolParticipants,
),
);
Expand Down
1 change: 1 addition & 0 deletions src/Templates/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ dashboard-admin:
changeNotice: "Upravit"
import-file: "Import SRS souboru pro IST"
import-submit: "Start importu"
exportPatrolsRoster: "Export průvodek patrol"
stats-admin:
stats: "Statistiky akce"
numberPatrolParticipants: "Účastníků v patrole celkem"
Expand Down
1 change: 1 addition & 0 deletions src/Templates/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ dashboard-admin:
changeNotice: "Edit"
import-file: "Import SRS for IST file"
import-submit: "Start import"
exportPatrolsRoster: "Export patrols roster"
stats-admin:
stats: "Statistics for event"
numberPatrolParticipants: "Patrol participants in total"
Expand Down
1 change: 1 addition & 0 deletions src/Templates/sk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ dashboard-admin:
changeNotice: "Upravit"
import-file: "Import SRS souboru pro IST"
import-submit: "Start importu"
exportPatrolsRoster: "Export průvodek patrol"
stats-admin:
stats: "Statistiky akce"
numberPatrolParticipants: "Účastníků v patrole celkem"
Expand Down

0 comments on commit f32388e

Please sign in to comment.