Commit 294e0d86 authored by Kevin Gutiérrez's avatar Kevin Gutiérrez
Browse files

Mark more texts as translatable

parent 9d769bfa
...@@ -40,10 +40,12 @@ ...@@ -40,10 +40,12 @@
{% else %} {% else %}
{% include "wagtailadmin/shared/field_as_li.html" with li_classes="label-above label-uppercase" %} {% include "wagtailadmin/shared/field_as_li.html" with li_classes="label-above label-uppercase" %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<li> <li>
<input type="submit" class="button" value="{% trans 'Save' %}" /> {% if user_can_delete %} <input type="submit" class="button" value="{% trans 'Save' %}" />
<a href="{% url 'wagtailvideos:delete' video.id %}" class="button button-secondary no">{% trans "Delete video" %}</a> {% endif %} {% if user_can_delete %}
<a href="{% url 'wagtailvideos:delete' video.id %}" class="button button-secondary no">{% trans "Delete video" %}</a>
{% endif %}
</li> </li>
</ul> </ul>
</form> </form>
...@@ -85,11 +87,15 @@ ...@@ -85,11 +87,15 @@
<ul> <ul>
{% for transcode in transcodes %} {% for transcode in transcodes %}
<li> <li>
{{ transcode.media_format }} ({{ transcode.quality }} quality) {% if transcode.processing %} <span class='processing'>{% trans "(Processing... hold tight)" %} </span>{% endif %} {% if transcode.error_message %} {% blocktrans with media_format=transcode.media_format quality=transcode.quality %}{% endblocktrans %}{{ media_format }} ({{ quality }} quality){% endblocktrans %}
<span class='transcode-error'>{% trans 'ERROR:' %}</span> {% if transcode.processing %}
<div class='transcode-error'> <span class='processing'>{% trans "(Processing... hold tight)" %} </span>
<pre> {{ transcode.error_message }}</pre> {% endif %}
</div> {% if transcode.error_message %}
<span class='transcode-error'>{% trans "ERROR:" %}</span>
<div class='transcode-error'>
<pre> {{ transcode.error_message }}</pre>
</div>
{% endif %} {% endif %}
</li> </li>
{% endfor %} {% endfor %}
...@@ -112,8 +118,8 @@ ...@@ -112,8 +118,8 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% if tracks_action_url %} {% if tracks_action_url %}
<h2 class="u-text-transform-uppercase">Tracks</h2> <h2 class="u-text-transform-uppercase">{% trans "Tracks" %}</h2>
<p>You can add/edit subtitles or accessibility captions for this video. For information about the filetype that should be used see the mozilla docs on <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API">WebVTT</a></p> <p>{% trans 'You can add/edit subtitles or accessibility captions for this video. For information about the filetype that should be used see the mozilla docs on <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API">WebVTT</a>' %}</p>
{% if video.track_listing %} {% if video.track_listing %}
<ul> <ul>
{% for track in video.track_listing.tracks.all %} {% for track in video.track_listing.tracks.all %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment