Make translate.rb plugin fallback to English by default

Display English content in outdated translated templates when this doesn't cause too much issues
This commit is contained in:
Saivann 2014-06-14 17:21:01 -04:00
parent 5f2d32d134
commit 78b04ea0ee
13 changed files with 21 additions and 77 deletions

View file

@ -116,8 +116,8 @@ if(typeof(legacyIE)==='undefined'){
</div>
<div class="foundation-banner">
{% case page.lang %}
{% when 'ar' or 'bg' or 'fa' or 'id' or 'nl' or 'pl' or 'tr' or 'zh_TW' %}
<div style="direction:ltr;">{% translate sponsor layout en %} <a href="https://bitcoinfoundation.org/"><img src="/img/brand/logo_foundation.svg" alt="Foundation"> The Bitcoin Foundation</a></div>
{% when 'ar' or 'fa' %}
<div style="direction:ltr;">{% translate sponsor layout %} <a href="https://bitcoinfoundation.org/"><img src="/img/brand/logo_foundation.svg" alt="Foundation"> The Bitcoin Foundation</a></div>
{% else %}
<div>{% translate sponsor layout %} <a href="https://bitcoinfoundation.org/"><img src="/img/brand/logo_foundation.svg" alt="Foundation"> The Bitcoin Foundation</a></div>
{% endcase %}