mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Add support of Catalan locale
This commit is contained in:
parent
afc4f269bc
commit
7989b89591
2 changed files with 2 additions and 1 deletions
2
app.js
2
app.js
|
@ -113,7 +113,7 @@ app.use(helmet.hsts({
|
|||
}))
|
||||
|
||||
i18n.configure({
|
||||
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo'],
|
||||
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo'],
|
||||
cookie: 'locale',
|
||||
directory: path.join(__dirname, '/locales')
|
||||
})
|
||||
|
|
|
@ -135,6 +135,7 @@
|
|||
<option value="de">Deutsch</option>
|
||||
<option value="ja">日本語</option>
|
||||
<option value="es">Español</option>
|
||||
<option value="ca">Català</option>
|
||||
<option value="el">Ελληνικά</option>
|
||||
<option value="pt">Português</option>
|
||||
<option value="it">italiano</option>
|
||||
|
|
Loading…
Reference in a new issue