From ee8bb9705731075b0d00c5b9330ea4168866dcb1 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Thu, 5 Jan 2017 02:18:31 +0100 Subject: [PATCH] front: use ng-pluralize --- frontend/static/index.html | 6 +++--- frontend/static/views/theme.html | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/static/index.html b/frontend/static/index.html index 01de3f90..84c638b4 100644 --- a/frontend/static/index.html +++ b/frontend/static/index.html @@ -83,8 +83,8 @@
- {{ teams[my.team_id].rank }}e sur {{ teams_count }} – - {{ my.score }} points + {{ teams[my.team_id].rank }} sur {{ teams_count }} – +
@@ -97,7 +97,7 @@
diff --git a/frontend/static/views/theme.html b/frontend/static/views/theme.html index ebaf8c8c..792cf571 100644 --- a/frontend/static/views/theme.html +++ b/frontend/static/views/theme.html @@ -8,8 +8,8 @@

    -
  • Gain : {{ themes[current_theme].exercices[current_exercice].gain }} points +50% happy hour +50% first blood
  • -
  • Résolu par : {{ themes[current_theme].exercices[current_exercice].solved }} équipes
  • +
  • Gain : +50% happy hour +50% first blood
  • +
  • Résolu par : .
@@ -37,7 +37,7 @@

{{ hint.title }}

-

Cet indice vous coûtera {{ hint.cost }}% des points de l'exercice

+

Débloquer cet indice vous coûtera .

@@ -47,7 +47,7 @@
Soumettre une solution
@@ -69,7 +69,7 @@
Challenge réussi !
- Vous êtes la {{ my.exercices[current_exercice].solved_number }}e équipe à avoir résolu ce challenge à {{ my.exercices[current_exercice].solved_time | date:"mediumTime" }}. Vous avez marqué {{ themes[current_theme].exercices[current_exercice].gain }} points ! + Vous êtes la {{ my.exercices[current_exercice].solved_number }} équipe à avoir résolu ce challenge à {{ my.exercices[current_exercice].solved_time | date:"mediumTime" }}. Vous avez marqué !