Skip to content

Commit

Permalink
fix: trophies do not appear + round result not translated
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliboy50 committed Aug 19, 2023
1 parent ac0d6f3 commit 95ad542
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions velonimo.css
Original file line number Diff line number Diff line change
Expand Up @@ -361,13 +361,13 @@ Board
background-position-x: 0;
}
.player-table.has-finished-2 .player-table-finish-position {
background-position-x: 150px;
background-position-x: -150px;
}
.player-table.has-finished-3 .player-table-finish-position {
background-position-x: 300px;
background-position-x: -300px;
}
.player-table.has-finished-4 .player-table-finish-position {
background-position-x: 450px;
background-position-x: -450px;
}
/**
END Board
Expand Down
12 changes: 7 additions & 5 deletions velonimo.game.php
Original file line number Diff line number Diff line change
Expand Up @@ -1263,11 +1263,13 @@ function stEndRound() {
}
$this->notifyAllPlayers('tableWindow', '', [
'id' => 'finalScoring',
'title' => sprintf(
clienttranslate('Results of round %s/%s'),
$currentRound,
$howManyRounds
),
'title' => [
'str' => clienttranslate('Result of round ${currentRound}/${howManyRounds}'),
'args' => [
'currentRound' => $currentRound,
'howManyRounds' => $howManyRounds,
],
],
'table' => [
$headers,
$previousPoints,
Expand Down

0 comments on commit 95ad542

Please sign in to comment.