Re-introduce Translation Syntax

Brings back the translation syntax to allow the content to eventually be translated.
This commit is contained in:
Cøbra 2015-10-14 17:03:43 +01:00
parent b715694e15
commit 2bd7211d32
No known key found for this signature in database
GPG key ID: 6F85594478CE4C7A
2 changed files with 6 additions and 1 deletions

View file

@ -6,7 +6,12 @@ http://opensource.org/licenses/MIT.
<div class="footermenu">
<a href="/en/alerts" class="statusmenu{% if site.STATUS == 1 %} alert{% endif %}">Network Status</a>
<a href="/{{ page.lang }}/{% translate legal url %}">{% translate menu-legal layout %}</a>
{% case page.lang %}
{% when 'id' or 'da' or 'de' or 'es' or 'fr' or 'it' or 'hu' or 'nl' or 'pl' or 'pt_BR' or 'ro' or 'sl' or 'sv' or 'tr' or 'el' or 'bg' or 'ru' or 'uk' or 'ar' or 'fa' or 'hi' or 'ko' or 'ja' or 'zh_CN' or 'zh_TW' %}
<a href="/en/privacy">Privacy Policy</a>
{% else %}
<a href="/{{ page.lang }}/{% translate privacy url %}">{% translate menu-privacy layout %}</a>
{% endcase %}
<a href="/{{ page.lang }}/{% translate press url %}">{% translate menu-press layout %}</a>
<a href="/{{ page.lang }}/{% translate about-us url %}">{% translate menu-about-us layout %}</a>
<a href="/en/blog">Blog</a>

View file

@ -841,7 +841,7 @@ en:
menu-legal: "Legal"
menu-participate: Participate
menu-press: "Press"
menu-privacy: "Privacy"
menu-privacy: "Privacy Policy"
menu-resources: Resources
menu-support-bitcoin: "Support Bitcoin"
menu-vocabulary: Vocabulary