Index: templates/default.tmpl |
=================================================================== |
--- a/templates/default.tmpl |
+++ b/templates/default.tmpl |
@@ -93,24 +93,24 @@ |
{% else %} |
<li class="install-link first">{{"index"|linkify}}{{get_string("installation", "menu")}} <span class="sprite install-link-icon"></span></a></li> |
{% endif %} |
{% for name in ["about", "features", "bugs", "contribute"] %} |
{{pageitem(name)}} |
{% endfor %} |
<li id="language"> |
<div id="current-language"> |
- {{ config.get("langnames", locale) }} ({{ locale | upper }}) |
+ {{ config.get("langnames", locale) }} ({{ locale | to_og_locale | to_og_location }}) |
<span id="language-arrow" class="sprite"></span> |
</div> |
<ul id="language-selector"> |
{% for available_locale in available_locales %} |
<li class="language-entry"> |
{{ page | linkify(available_locale) }} |
- {{ config.get("langnames", available_locale) }} ({{ available_locale | upper }}) |
+ {{ config.get("langnames", available_locale) }} ({{ available_locale | to_og_locale | to_og_location }}) |
</a> |
</li> |
{% endfor %} |
</ul> |
</li> |
</ul> |
<a href="#" id="hamburger"></a> |
</nav> |