Merge pull request #5997 from greg-finley-ck/studies
Translate studies on user profile pagepull/5998/head
commit
ad83296d49
|
@ -62,7 +62,7 @@ object header {
|
|||
splitNumber(trans.nbTournamentPoints.pluralSame(u.toints))
|
||||
),
|
||||
a(href := routes.Study.byOwnerDefault(u.username), cls := "nm-item")(
|
||||
splitNumber(s"${info.nbStudies} studies")
|
||||
splitNumber(trans.`nbStudies`.pluralSame(info.nbStudies))
|
||||
),
|
||||
a(
|
||||
cls := "nm-item",
|
||||
|
|
|
@ -775,6 +775,7 @@ val `nbDraws` = new Translated("nbDraws", Site)
|
|||
val `nbPlaying` = new Translated("nbPlaying", Site)
|
||||
val `giveNbSeconds` = new Translated("giveNbSeconds", Site)
|
||||
val `nbTournamentPoints` = new Translated("nbTournamentPoints", Site)
|
||||
val `nbStudies` = new Translated("nbStudies", Site)
|
||||
val `moreThanNbRatedGames` = new Translated("moreThanNbRatedGames", Site)
|
||||
val `moreThanNbPerfRatedGames` = new Translated("moreThanNbPerfRatedGames", Site)
|
||||
val `needNbMorePerfGames` = new Translated("needNbMorePerfGames", Site)
|
||||
|
|
|
@ -295,6 +295,10 @@
|
|||
<item quantity="one">%s tournament point</item>
|
||||
<item quantity="other">%s tournament points</item>
|
||||
</plurals>
|
||||
<plurals name="nbStudies">
|
||||
<item quantity="one">%s study</item>
|
||||
<item quantity="other">%s studies</item>
|
||||
</plurals>
|
||||
<string name="viewTournament">View tournament</string>
|
||||
<string name="backToTournament">Back to tournament</string>
|
||||
<string name="thematic">Thematic</string>
|
||||
|
|
Loading…
Reference in New Issue