i18n: split playedNbMove (fixes #4987)

pull/5036/head
Niklas Fiekas 2019-04-18 18:53:39 +02:00
parent 3e817e81c4
commit d02d8daa30
3 changed files with 10 additions and 3 deletions

View File

@ -122,7 +122,9 @@ object activity {
entryTag(
iconTag(";"),
div(
trans.activity.playedNbMoves.plural(nb, nb, subCount(povs.size)),
trans.activity.playedNbMoves.pluralSame(nb),
" ",
trans.activity.inNbCorrespondenceGames.plural(povs.size, subCount(povs.size)),
subTag(
povs.map { pov =>
frag(

View File

@ -974,6 +974,7 @@ val `solvedNbPuzzles` = new Translated("solvedNbPuzzles", Activity)
val `playedNbGames` = new Translated("playedNbGames", Activity)
val `postedNbMessages` = new Translated("postedNbMessages", Activity)
val `playedNbMoves` = new Translated("playedNbMoves", Activity)
val `inNbCorrespondenceGames` = new Translated("inNbCorrespondenceGames", Activity)
val `completedNbGames` = new Translated("completedNbGames", Activity)
val `followedNbPlayers` = new Translated("followedNbPlayers", Activity)
val `gainedNbFollowers` = new Translated("gainedNbFollowers", Activity)

View File

@ -22,8 +22,12 @@
<item quantity="other">Posted %1$s messages in %2$s</item>
</plurals>
<plurals name="playedNbMoves">
<item quantity="one">Played %1$s move in %2$s correspondence game(s)</item>
<item quantity="other">Played %1$s moves in %2$s correspondence game(s)</item>
<item quantity="one">Played %1$s move</item>
<item quantity="other">Played %1$s moves</item>
</plurals>
<plurals name="inNbCorrespondenceGames">
<item quantity="one">in %1$s correspondence game</item>
<item quantity="other">in %1$s correspondence games</item>
</plurals>
<plurals name="completedNbGames">
<item quantity="one">Completed %s correspondence game</item>