Make translatable some strings that weren't i18n'ed

This commit is contained in:
Laura Arjona Reina 2014-07-24 19:09:28 +02:00 committed by Christopher Allan Webber
parent 7e0c51af3e
commit 6f8ae21a87
3 changed files with 4 additions and 4 deletions

View File

@ -160,7 +160,7 @@
{% template_hook("header_dropdown_buttons") %}
{% if request.user.has_privilege('admin','moderator') %}
<p>
<span class="dropdown_title">Moderation powers:</span>
<span class="dropdown_title">{% trans %}Moderation powers:{% endtrans %}</span>
<a href="{{ request.urlgen('mediagoblin.moderation.media_panel') }}">
{%- trans %}Media processing panel{% endtrans -%}
</a>

View File

@ -99,7 +99,7 @@
{% endtrans %}
</h2>
{% endif %}
Reason for report:
{% trans %}Reason for report:{% endtrans %}
<div id="report-{{ report.id }}"
class="report_wrapper">
<div class="report_author">

View File

@ -21,13 +21,13 @@
<a type="submit" href="{{ request.urlgen('mediagoblin.notifications.subscribe_comments',
user=media.get_uploader.username,
media=media.slug_or_id)}}"
class="button_action">Subscribe to comments
class="button_action">{% trans %}Subscribe to comments{% endtrans %}
</a>
{% else %}
<a type="submit" href="{{ request.urlgen('mediagoblin.notifications.silence_comments',
user=media.get_uploader.username,
media=media.slug_or_id)}}"
class="button_action">Silence comments
class="button_action">{% trans %}Silence comments{% endtrans %}
</a>
{% endif %}
{%- endif %}