| 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 }}) |
|
ire
2017/10/04 22:09:35
NIT: I'm not 100% sure about building the `to_og_l
juliandoucette
2017/10/05 12:11:12
Funny you should say... https://issues.adblockplus
|
| <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> |