From b99b762a39bf70f5680ab1ad08d9c9d5f368f947 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 22 Aug 2020 14:57:37 +0200 Subject: [PATCH] French and Russian, Brazilian portuguese, Languages in alphabetic order Added: French and Russian - Both languages are translated enough to be usable. Fixed: Brazilian portuguese - The YAML file had an underscore instead of a hyphen in its name, so it was not displayed as an optiom Refactored: Languages in alphabetic order - Rearranged the languages according to their alphabetic order, except for english, which is the standard and most used language --- src/renderer/main.js | 2 +- static/locales/{pt_BR.yaml => pt-BR.yaml} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename static/locales/{pt_BR.yaml => pt-BR.yaml} (100%) diff --git a/src/renderer/main.js b/src/renderer/main.js index dc79120d..1222c3cb 100644 --- a/src/renderer/main.js +++ b/src/renderer/main.js @@ -23,7 +23,7 @@ Vue.component('font-awesome-icon', FontAwesomeIcon) Vue.use(VueI18n) // List of locales approved for use -const activeLocales = ['en-US', 'de-DE', 'pt-PT', 'fi', 'pt-BR', 'vi', 'zh-CN', 'zh-TW'] +const activeLocales = ['en-US', 'de-DE', 'fi', 'fr-FR', 'pt-BR', 'pt-PT', 'ru', 'vi', 'zh-CN', 'zh-TW'] const messages = {} // Take active locales and load respective YAML file diff --git a/static/locales/pt_BR.yaml b/static/locales/pt-BR.yaml similarity index 100% rename from static/locales/pt_BR.yaml rename to static/locales/pt-BR.yaml