mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Compact temporary translations migration code in templates
This commit is contained in:
parent
176d1c4ed5
commit
d45b9bbbfc
3 changed files with 5 additions and 31 deletions
|
@ -6,15 +6,7 @@ id: community
|
|||
<ul class="resources">
|
||||
<li>{% translate foundation %}</li>
|
||||
{% case page.lang %}
|
||||
{% when 'ar' %}
|
||||
{% when 'de' %}
|
||||
{% when 'es' %}
|
||||
{% when 'fa' %}
|
||||
{% when 'fr' %}
|
||||
{% when 'it' %}
|
||||
{% when 'nl' %}
|
||||
{% when 'pl' %}
|
||||
{% when 'ru' %}
|
||||
{% when 'ar' or 'de' or 'es' or 'fa' or 'fr' or 'it' or 'nl' or 'pl' or 'ru' %}
|
||||
{% else %}
|
||||
<li>{% translate wikiportal %}</li>
|
||||
{% endcase %}
|
||||
|
@ -38,11 +30,7 @@ id: community
|
|||
</ul>
|
||||
</li>
|
||||
{% case page.lang %}
|
||||
{% when 'ar' %}
|
||||
{% when 'es' %}
|
||||
{% when 'it' %}
|
||||
{% when 'nl' %}
|
||||
{% when 'ru' %}
|
||||
{% when 'ar' or 'es' or 'it' or 'nl' or 'ru' %}
|
||||
{% else %}
|
||||
<li>{% translate linkgoogle %}</li>
|
||||
{% endcase %}
|
||||
|
@ -50,12 +38,7 @@ id: community
|
|||
<li>{% translate facebook %}</li>
|
||||
<li>{% translate reddit %}</li>
|
||||
{% case page.lang %}
|
||||
{% when 'ar' %}
|
||||
{% when 'es' %}
|
||||
{% when 'fa' %}
|
||||
{% when 'it' %}
|
||||
{% when 'nl' %}
|
||||
{% when 'ru' %}
|
||||
{% when 'ar' or 'es' or 'fa' or 'it' or 'nl' or 'ru' %}
|
||||
{% else %}
|
||||
<li>{% translate linkmeetup %}</li>
|
||||
{% endcase %}
|
||||
|
|
|
@ -40,12 +40,7 @@ id: development
|
|||
{% endcase %}
|
||||
|
||||
{% case page.lang %}
|
||||
{% when 'ar' %}
|
||||
{% when 'es' %}
|
||||
{% when 'fa' %}
|
||||
{% when 'it' %}
|
||||
{% when 'nl' %}
|
||||
{% when 'ru' %}
|
||||
{% when 'ar' or 'es' or 'fa' or 'it' or 'nl' or 'ru' %}
|
||||
{% else %}
|
||||
<h2>{% translate more %}</h2>
|
||||
<ul class="devprojectlist">
|
||||
|
|
|
@ -26,11 +26,7 @@ id: support-bitcoin
|
|||
<h2><img src="/img/ico_translate.svg" alt="Icon" />{% translate translate %}</h2>
|
||||
<p>{% translate translatetxt %}</p>
|
||||
{% case page.lang %}
|
||||
{% when 'ar' %}
|
||||
{% when 'es' %}
|
||||
{% when 'it' %}
|
||||
{% when 'nl' %}
|
||||
{% when 'ru' %}
|
||||
{% when 'ar' or 'es' or 'it' or 'nl' or 'ru' %}
|
||||
{% else %}
|
||||
<p><a href="https://www.transifex.com/projects/p/bitcoin/">Bitcoin-Qt</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://code.google.com/p/bitcoin-wallet/wiki/Translating">Bitcoin Wallet (Android)</a> - <a href="http://translate.multibit.org/">Multibit</a></p>
|
||||
{% endcase %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue