From 0d26523da796f6dfb2e0262051f1746d29d11044 Mon Sep 17 00:00:00 2001 From: Preston Date: Mon, 28 Sep 2020 21:32:18 -0400 Subject: [PATCH] Enable English (UK) and Danish Locales. Rearrange Locales in settings --- src/renderer/main.js | 2 +- static/locales/en-US.yaml | 2 +- static/locales/en_GB.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/main.js b/src/renderer/main.js index 91ce8615..96f8d4a2 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', 'es-MX', 'fi', 'fr-FR', 'ja', 'hr', 'it', 'id', 'nl', 'ar', 'pt-BR', 'pt-PT', 'pl', 'ru', 'vi', 'zh-CN', 'zh-TW'] +const activeLocales = ['en-US', 'en_GB', 'ar', 'zh-CN', 'zh-TW', 'hr', 'da', 'nl', 'fi', 'fr-FR', 'de-DE', 'id', 'it', 'ja', 'pl', 'pt-BR', 'pt-PT', 'ru', 'es-MX', 'vi'] const messages = {} const fileLocation = isDev ? 'static/locales/' : `${__dirname}/static/locales/` diff --git a/static/locales/en-US.yaml b/static/locales/en-US.yaml index f2ba7ec9..8c7eda82 100644 --- a/static/locales/en-US.yaml +++ b/static/locales/en-US.yaml @@ -1,5 +1,5 @@ # Put the name of your locale in the same language -Locale Name: English +Locale Name: English (US) FreeTube: FreeTube # Currently on Subscriptions, Playlists, and History 'This part of the app is not ready yet. Come back later when progress has been made.': >- diff --git a/static/locales/en_GB.yaml b/static/locales/en_GB.yaml index d6adfc43..3c06bfd8 100644 --- a/static/locales/en_GB.yaml +++ b/static/locales/en_GB.yaml @@ -1,5 +1,5 @@ # Put the name of your locale in the same language -Locale Name: 'English (United Kingdom)' +Locale Name: 'English (UK)' FreeTube: 'FreeTube' # Currently on Subscriptions, Playlists, and History 'This part of the app is not ready yet. Come back later when progress has been made.': >-