Skip to content

Commit

Permalink
Decline singular form of guest in viewers
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Oct 8, 2024
1 parent 50fc29e commit e1376bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/components/viewers.twig
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
{% if guestsCount > 0 %}
<p>
<small class="text-muted">
+{{ guestsCount }} niezalogowanych online
+{{ guestsCount }}
{{ declination(guestsCount, ['niezalogowany', 'niezalogowanych', 'niezalogowanych']) }}
online
</small>
</p>
{% endif %}
Expand Down

0 comments on commit e1376bf

Please sign in to comment.