aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Arjona Reina <larjona99@gmail.com>2014-07-26 02:54:56 +0200
committerChristopher Allan Webber <cwebber@dustycloud.org>2014-07-29 11:00:37 -0500
commite228876efa34935b9410fd5abf0b4aa77215d829 (patch)
tree92bd907e2e0dd496418c7702a96910c1b687c327
parenta463fe06ed8087e04096627fc6f160bff45c3e0b (diff)
downloadmediagoblin-e228876efa34935b9410fd5abf0b4aa77215d829.tar.lz
mediagoblin-e228876efa34935b9410fd5abf0b4aa77215d829.tar.xz
mediagoblin-e228876efa34935b9410fd5abf0b4aa77215d829.zip
Make translatable table columns titles in media processing panel
-rw-r--r--mediagoblin/templates/mediagoblin/moderation/media_panel.html32
1 files changed, 16 insertions, 16 deletions
diff --git a/mediagoblin/templates/mediagoblin/moderation/media_panel.html b/mediagoblin/templates/mediagoblin/moderation/media_panel.html
index 3c929d4f..9b77f638 100644
--- a/mediagoblin/templates/mediagoblin/moderation/media_panel.html
+++ b/mediagoblin/templates/mediagoblin/moderation/media_panel.html
@@ -35,11 +35,11 @@
{% if processing_entries.count() %}
<table class="media_panel processing">
<tr>
- <th>ID</th>
- <th>User</th>
- <th>Title</th>
- <th>When submitted</th>
- <th>Transcoding progress</th>
+ <th>{% trans %}ID{% endtrans %}</th>
+ <th>{% trans %}User{% endtrans %}</th>
+ <th>{% trans %}Title{% endtrans %}</th>
+ <th>{% trans %}When submitted{% endtrans %}</th>
+ <th>{% trans %}Transcoding progress{% endtrans %}</th>
</tr>
{% for media_entry in processing_entries %}
<tr>
@@ -50,7 +50,7 @@
{% if media_entry.transcoding_progress %}
<td>{{ media_entry.transcoding_progress }}%</td>
{% else %}
- <td>Unknown</td>
+ <td>{% trans %}Unknown{% endtrans %}</td>
{% endif %}
</tr>
{% endfor %}
@@ -64,12 +64,12 @@
<table class="media_panel failed">
<tr>
- <th>ID</th>
- <th>User</th>
- <th>Title</th>
- <th>When submitted</th>
- <th>Reason for failure</th>
- <th>Failure metadata</th>
+ <th>{% trans %}ID{% endtrans %}</th>
+ <th>{% trans %}User{% endtrans %}</th>
+ <th>{% trans %}Title{% endtrans %}</th>
+ <th>{% trans %}When submitted{% endtrans %}</th>
+ <th>{% trans %}Reason for failure{% endtrans %}</th>
+ <th>{% trans %}Failure metadata{% endtrans %}</th>
</tr>
{% for media_entry in failed_entries %}
<tr>
@@ -95,10 +95,10 @@
<table class="media_panel processed">
<tr>
- <th>ID</th>
- <th>User</th>
- <th>Title</th>
- <th>Submitted</th>
+ <th>{% trans %}ID{% endtrans %}</th>
+ <th>{% trans %}User{% endtrans %}</th>
+ <th>{% trans %}Title{% endtrans %}</th>
+ <th>{% trans %}Submitted{% endtrans %}</th>
</tr>
{% for media_entry in processed_entries %}
<tr>