mirror of https://github.com/status-im/codimd.git
Update to support Greek and Portuguese locales
This commit is contained in:
parent
705352db75
commit
aaf32dc4bf
2
app.js
2
app.js
|
@ -94,7 +94,7 @@ app.use(helmet.hsts({
|
||||||
}));
|
}));
|
||||||
|
|
||||||
i18n.configure({
|
i18n.configure({
|
||||||
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es'],
|
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt'],
|
||||||
cookie: 'locale',
|
cookie: 'locale',
|
||||||
directory: __dirname + '/locales'
|
directory: __dirname + '/locales'
|
||||||
});
|
});
|
||||||
|
|
|
@ -102,5 +102,3 @@
|
||||||
"Export to Snippet": "Eξαγωγή σε Snippet",
|
"Export to Snippet": "Eξαγωγή σε Snippet",
|
||||||
"Select Visibility Level": "Επιλέξτε επίπεδο ορατότητας"
|
"Select Visibility Level": "Επιλέξτε επίπεδο ορατότητας"
|
||||||
}
|
}
|
||||||
|
|
||||||
// el-GR Greek - Greece 0x0408 ELL
|
|
|
@ -152,6 +152,8 @@
|
||||||
<option value="de">Deutsch</option>
|
<option value="de">Deutsch</option>
|
||||||
<option value="ja">日本語</option>
|
<option value="ja">日本語</option>
|
||||||
<option value="es">Español</option>
|
<option value="es">Español</option>
|
||||||
|
<option value="el">Ελληνικά</option>
|
||||||
|
<option value="pt">Português</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue