mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
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:
parent
5f2d32d134
commit
78b04ea0ee
13 changed files with 21 additions and 77 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue