Translations added to menu, Translation files renamed

Added:
Translations added to menu - The currently available file for
translation are now available in the settings menu (however some are
still missing a lot of strings)

Refactored:
Translation files renamed - Changed the french and chinese YAML file's
names according to the ElectronJS locales guide. (assuming french is
french-French)
This commit is contained in:
Luca 2020-08-20 21:20:07 +02:00
parent 1ce5ff63ef
commit c3d483a6c6
4 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ fs.readdir('.', (err, dir) => {
})
// List of locales approved for use
const activeLocales = ['en-US', 'de-DE', 'pt-PT']
const activeLocales = ['en-US', 'de-DE', 'pt-PT', 'fi', 'fr-FR', 'ja', 'pt-BR', 'vi', 'zh-CN', 'zh-TW']
const messages = {}
// Take active locales and load respective YAML file