👋
@@ -142,4 +147,4 @@ export default {
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/components/Login.vue b/src/components/Login.vue
index ae6e548..07ea475 100644
--- a/src/components/Login.vue
+++ b/src/components/Login.vue
@@ -61,8 +61,8 @@
>
- {{ $t("profile.select_language") }}
+
+ {{ $t("profile.set_language") }}
+ {{ $t("profile.language_description") }}
+
+
{{ $t("menu.ok") }}{{ $t("menu.done") }}
@@ -36,20 +41,10 @@
diff --git a/src/components/languageMixin.js b/src/components/languageMixin.js
new file mode 100644
index 0000000..cf1c65e
--- /dev/null
+++ b/src/components/languageMixin.js
@@ -0,0 +1,21 @@
+export default {
+ data() {
+ return {
+ languages: [],
+ activeLang:null,
+ }
+ },
+ methods: {
+ getLanguages() {
+ return this.languages;
+ }
+ },
+ mounted() {
+ for (const locale of Object.keys(this.$i18n.messages)) {
+ this.languages.push({
+ text: this.$i18n.messages[locale].language_display_name || locale,
+ value: locale,
+ });
+ }
+ }
+}
\ No newline at end of file