rev roundend shows converted count (#21854)

* add ConvertedCount field to role

* make objectives roundend title logic reusable

* change rev system + use GetTitle

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2023-11-27 21:43:48 +00:00
committed by GitHub
parent 94f67f86dd
commit 24476721af
4 changed files with 59 additions and 45 deletions

View File

@@ -14,14 +14,6 @@ head-rev-briefing =
Use flashes to convert people to your cause.
Kill all heads to take over the station.
head-rev-initial-name = [color=#5e9cff]{$name}[/color] was one of the Head Revolutionaries.
head-rev-initial-name-user = [color=#5e9cff]{$name}[/color] ([color=gray]{$username}[/color]) was one of the Head Revolutionaries.
head-rev-initial-count = {$initialCount ->
[one] There was one Head Revolutionary:
*[other] There were {$initialCount} Head Revolutionaries:
}
head-rev-break-mindshield = The Mindshield was destroyed!
## Rev
@@ -58,4 +50,12 @@ rev-stalemate = All of the Head Revs and Command died. It's a draw.
rev-reverse-stalemate = Both Command and Head Revs survived.
rev-headrev-count = {$initialCount ->
[one] There was one Head Revolutionary:
*[other] There were {$initialCount} Head Revolutionaries:
}
rev-headrev-player = {$title} converted {$count} {$count ->
[one] person
*[other] people
}.