Skip to content

Commit

Permalink
Fix l10n issues on dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Sep 20, 2012
1 parent f46752e commit 5eb748e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions fjord/analytics/templates/analytics/dashboard.html
Expand Up @@ -11,9 +11,9 @@
{% macro feedback_block(feedback) -%}
<li class="opinion">
{% if feedback.happy %}
<span class="sprite happy">Happy</span>
<span class="sprite happy">{{ _('Happy') }}</span>
{% else %}
<span class="sprite sad">Sad</span>
<span class="sprite sad">{{ _('Sad') }}</span>
{% endif %}
<p>
{{ feedback.description }}
Expand Down Expand Up @@ -64,7 +64,7 @@ <h3>{{ filter_set.display }}</h3>
</div>

<div class="block feedback">
<h2>Latest Feedback</h2>
<h2>{{ _('Latest Feedback') }}</h2>
<ul>
{% for opinion in opinions %}
{{ feedback_block(opinion) }}
Expand All @@ -74,12 +74,12 @@ <h2>Latest Feedback</h2>
<div class="pager">
{% if next_page %}
<a class="older" href="{{ request.get_full_path()|urlparams(page=next_page) }}">
Older Messages
{{ _('Older Messages') }}
</a>
{% endif %}
{% if prev_page %}
<a class="newer" href="{{ request.get_full_path()|urlparams(page=prev_page) }}">
Newer Messages
{{ _('Newer Messages') }}
</a>
{% endif %}
</div>
Expand All @@ -88,8 +88,8 @@ <h2>Latest Feedback</h2>

<div class="col">
<div class="block count">
<h3>Current search</h3>
<p><strong>{{ opinion_count }}</strong> messages.</p>
<h3>{{ _('Messages') }}</h3>
<p><strong>{{ opinion_count }}</strong></p>
</div>
</div>

Expand Down

0 comments on commit 5eb748e

Please sign in to comment.