Ticket #336: 0001-added-translation-tags-to-html5-wwarning.patch

File 0001-added-translation-tags-to-html5-wwarning.patch, 1.3 KB (added by Karen Rustad, 12 years ago)

0001-added-translation-tags-to-html5-wwarning.patch

  • mediagoblin/templates/mediagoblin/media_displays/video.html

    From f2dfb4a81c0f49a45151c6f262b07a0e55816def Mon Sep 17 00:00:00 2001
    From: Karen Rustad <karen.rustad@gmail.com>
    Date: Thu, 22 Dec 2011 15:45:20 -0800
    Subject: [PATCH] added translation tags to html5 wwarning
    
    ---
     .../mediagoblin/media_displays/video.html          |    8 ++++++--
     1 files changed, 6 insertions(+), 2 deletions(-)
    
    diff --git a/mediagoblin/templates/mediagoblin/media_displays/video.html b/mediagoblin/templates/mediagoblin/media_displays/video.html
    index d704603..ada50e2 100644
    a b  
    1212                   media['media_files']['webm_640']) }}"
    1313              type="video/webm; codecs=&quot;vp8, vorbis&quot;" />
    1414          <div class="no_html5">
    15             Sorry, this video will not work because your web browser does not support HTML5 video.<br/>
    16             You can get a modern web browser that can play this video at <a href="http://getfirefox.com">http://getfirefox.com</a>!
     15            {%- trans -%}Sorry, this video will not work because
     16            your web browser does not support HTML5
     17            video.{%- endtrans -%}<br/>
     18            {%- trans -%}You can get a modern web browser that
     19            can play this video at <a href="http://getfirefox.com">
     20            http://getfirefox.com</a>!{%- endtrans -%}
    1721          </div>
    1822    </video>
    1923  </div>