Commit 62c1d3387b29516967faba35b9236b0fc29a046c
1 parent
aa782a8f
Exists in
master
and in
1 other branch
Small fix on ranking label
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
po/gamification.pot
| @@ -142,7 +142,7 @@ msgid "All Time" | @@ -142,7 +142,7 @@ msgid "All Time" | ||
| 142 | msgstr "" | 142 | msgstr "" |
| 143 | 143 | ||
| 144 | #: plugins/gamification/views/gamification/_ranking.html.erb:4 | 144 | #: plugins/gamification/views/gamification/_ranking.html.erb:4 |
| 145 | -msgid "Your position: " | 145 | +msgid "Current position: " |
| 146 | msgstr "" | 146 | msgstr "" |
| 147 | 147 | ||
| 148 | #: plugins/gamification/views/gamification/_ranking.html.erb:7 | 148 | #: plugins/gamification/views/gamification/_ranking.html.erb:7 |
po/pt/gamification.po
| @@ -142,8 +142,8 @@ msgid "All Time" | @@ -142,8 +142,8 @@ msgid "All Time" | ||
| 142 | msgstr "Todo o Período" | 142 | msgstr "Todo o Período" |
| 143 | 143 | ||
| 144 | #: plugins/gamification/views/gamification/_ranking.html.erb:4 | 144 | #: plugins/gamification/views/gamification/_ranking.html.erb:4 |
| 145 | -msgid "Your position: " | ||
| 146 | -msgstr "Sua posição:" | 145 | +msgid "Current position: " |
| 146 | +msgstr "Posição atual:" | ||
| 147 | 147 | ||
| 148 | #: plugins/gamification/views/gamification/_ranking.html.erb:7 | 148 | #: plugins/gamification/views/gamification/_ranking.html.erb:7 |
| 149 | msgid "Not scored yet" | 149 | msgid "Not scored yet" |
views/gamification/_ranking.html.erb
| 1 | <ul class="ranking"> | 1 | <ul class="ranking"> |
| 2 | <div class="target-position"> | 2 | <div class="target-position"> |
| 3 | <% if target_ranking.present? %> | 3 | <% if target_ranking.present? %> |
| 4 | - <span><%= _('Your position: ') %></span> | 4 | + <span><%= _('Current position: ') %></span> |
| 5 | <span><%= target_ranking.gamification_position %></span> | 5 | <span><%= target_ranking.gamification_position %></span> |
| 6 | <% else %> | 6 | <% else %> |
| 7 | <%= _('Not scored yet') %> | 7 | <%= _('Not scored yet') %> |