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) -%} {% macro feedback_block(feedback) -%}
<li class="opinion"> <li class="opinion">
{% if feedback.happy %} {% if feedback.happy %}
<span class="sprite happy">Happy</span> <span class="sprite happy">{{ _('Happy') }}</span>
{% else %} {% else %}
<span class="sprite sad">Sad</span> <span class="sprite sad">{{ _('Sad') }}</span>
{% endif %} {% endif %}
<p> <p>
{{ feedback.description }} {{ feedback.description }}
Expand Down Expand Up @@ -64,7 +64,7 @@ <h3>{{ filter_set.display }}</h3>
</div> </div>


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


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


Expand Down

0 comments on commit 5eb748e

Please sign in to comment.