From 28c2736134486d3166300899b72dbcd76a0aad22 Mon Sep 17 00:00:00 2001 From: Gamebrary Date: Mon, 31 Aug 2020 14:34:32 -0700 Subject: [PATCH] Allow to change language --- src/components/Settings.vue | 5 +- src/components/Settings/Language.vue | 86 ++++++++++++++++++++++ src/components/Settings/SettingsGlobal.vue | 53 ------------- 3 files changed, 89 insertions(+), 55 deletions(-) create mode 100644 src/components/Settings/Language.vue delete mode 100644 src/components/Settings/SettingsGlobal.vue diff --git a/src/components/Settings.vue b/src/components/Settings.vue index 050a5f2d..cf4eb684 100644 --- a/src/components/Settings.vue +++ b/src/components/Settings.vue @@ -16,13 +16,12 @@ + - - @@ -35,6 +34,7 @@ import AccountSettings from '@/components/Settings/AccountSettings'; import WallpaperSettings from '@/components/Settings/WallpaperSettings'; import Releases from '@/components/Settings/Releases'; import Themes from '@/components/Settings/Themes'; +import Language from '@/components/Settings/Language'; import SignOut from '@/components/Settings/SignOut'; import About from '@/components/Settings/About'; import { mapState } from 'vuex'; @@ -46,6 +46,7 @@ export default { WallpaperSettings, Releases, Themes, + Language, SignOut, About, }, diff --git a/src/components/Settings/Language.vue b/src/components/Settings/Language.vue new file mode 100644 index 00000000..e17e250e --- /dev/null +++ b/src/components/Settings/Language.vue @@ -0,0 +1,86 @@ + + + diff --git a/src/components/Settings/SettingsGlobal.vue b/src/components/Settings/SettingsGlobal.vue deleted file mode 100644 index 5839099b..00000000 --- a/src/components/Settings/SettingsGlobal.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - - -