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
|
@ -54,7 +54,7 @@ id: community
|
|||
|
||||
{% case page.lang %}
|
||||
{% when 'ar' or 'bg' or 'fa' or 'id' or 'nl' or 'pl' or 'tr' or 'zh_TW' %}
|
||||
<h2>{% translate nonprofit community en %}</h2>
|
||||
<h2>{% translate nonprofit %}</h2>
|
||||
{% else %}
|
||||
<h2><a name="{% translate non-profit anchor.community %}">{% translate nonprofit %}</a></h2>
|
||||
{% endcase %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue