fix puzzle rating used out of context
parent
1b4615b7fe
commit
d7fa773a0f
|
@ -27,7 +27,7 @@
|
|||
<div class="ratings">
|
||||
@lila.rating.PerfType.nonPuzzle.map { perfType =>
|
||||
<div class="@perfType.key">
|
||||
@trans.ratingX(Html(s"""<strong data-icon="${perfType.iconChar}">${me.perfs(perfType.key).map(_.intRating).getOrElse("?")}</strong> ${perfType.name}"""))
|
||||
@trans.perfRatingX(Html(s"""<strong data-icon="${perfType.iconChar}">${me.perfs(perfType.key).map(_.intRating).getOrElse("?")}</strong> ${perfType.name}"""))
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
|
|
@ -523,6 +523,7 @@ val `error.max` = new Translated("error.max")
|
|||
val `custom` = new Translated("custom")
|
||||
val `notifications` = new Translated("notifications")
|
||||
val `challenges` = new Translated("challenges")
|
||||
val `perfRatingX` = new Translated("perfRatingX")
|
||||
val `nbPlayers` = new Translated("nbPlayers")
|
||||
val `nbGames` = new Translated("nbGames")
|
||||
val `nbBookmarks` = new Translated("nbBookmarks")
|
||||
|
|
|
@ -609,4 +609,5 @@
|
|||
<string name="custom">Custom</string>
|
||||
<string name="notifications">Notifications</string>
|
||||
<string name="challenges">Challenges</string>
|
||||
<string name="perfRatingX">Rating: %s</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue