Skip to content

Commit d8071c7

Browse files
authored
Add Catalan to the language selector + update README (#1524)
1 parent d17bd40 commit d8071c7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ See [docs.joinmbin.org](https://docs.joinmbin.org)
327327
Following languages are currently supported/translated:
328328

329329
- Bulgarian
330+
- Catalan
330331
- Chinese
331332
- Danish
332333
- Dutch

templates/layout/_sidebar.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
{% set current = app.request.cookies.get('mbin_lang') ?? header_accept_language ?? kbin_default_lang() %}
161161
<li>
162162
<select data-action="mbin#changeLang">
163-
{% for code in ['bg', 'da', 'de', 'el', 'en', 'eo', 'es', 'fil', 'fr', 'gl', 'it', 'ja', 'nl', 'pl', 'pt', 'pt_BR', 'ru', 'tr', 'uk', 'zh_TW'] %}
163+
{% for code in ['bg', 'ca', 'da', 'de', 'el', 'en', 'eo', 'es', 'fil', 'fr', 'gl', 'it', 'ja', 'nl', 'pl', 'pt', 'pt_BR', 'ru', 'tr', 'uk', 'zh_TW'] %}
164164
<option value="{{ code }}" {{ code is same as current ? 'selected' : '' }}>{{ code|language_name(code) }}</option>
165165
{% endfor %}
166166
</select>

0 commit comments

Comments
 (0)