mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +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
|
@ -11,20 +11,12 @@ id: support-bitcoin
|
|||
<h2><img class="titleicon" src="/img/ico_network.svg" alt="Icon" />{% translate node %}</h2>
|
||||
<p>{% translate nodetxt %}</p>
|
||||
|
||||
{% case page.lang %}
|
||||
{% when 'ar' or 'bg' or 'fa' or 'id' or 'nl' or 'pl' or 'tr' or 'zh_TW' %}
|
||||
{% else %}
|
||||
<h2><img class="titleicon" src="/img/ico_mining.svg" alt="Icon" />{% translate mining %}</h2>
|
||||
<p>{% translate miningtxt %}</p>
|
||||
{% endcase %}
|
||||
|
||||
<h2><img class="titleicon" src="/img/ico_translate.svg" alt="Icon" />{% translate translate %}</h2>
|
||||
<p>{% translate translatetxt %}</p>
|
||||
{% case page.lang %}
|
||||
{% when 'ar' %}
|
||||
{% else %}
|
||||
<p><a href="https://www.transifex.com/projects/p/bitcoin/">Bitcoin Core</a> - <a href="https://www.transifex.com/projects/p/bitcoinorg/">Bitcoin.org</a> - <a href="https://en.bitcoin.it/wiki/Bitcoin.it_Wiki">Bitcoin Wiki</a> - <a href="https://www.transifex.com/projects/p/bitcoin-wallet/">Bitcoin Wallet (Android)</a> - <a href="http://translate.multibit.org/">MultiBit</a> - <a href="http://crowdin.net/project/electrum">Electrum</a> - <a href="https://github.com/hivewallet/hive-osx/wiki/I18n-guide">Hive</a></p>
|
||||
{% endcase %}
|
||||
|
||||
<h2><img class="titleicon" src="/img/ico_conf.svg" alt="Icon" />{% translate develop %}</h2>
|
||||
<p>{% translate developtxt %}</p>
|
||||
|
@ -33,7 +25,6 @@ id: support-bitcoin
|
|||
<p>{% translate donationtxt %}</p>
|
||||
|
||||
{% case page.lang %}
|
||||
{% when 'ar' or 'fa' or 'pl' or 'zh_TW' %}
|
||||
{% when 'bg' or 'id' or 'nl' or 'tr' %}
|
||||
<h2><img class="titleicon" src="/img/ico_law.svg" alt="Icon" />{% translate foundation %}</h2>
|
||||
<p>{% translate foundationtxt %}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue