diff --git a/app/components/Account.vue b/app/components/Account.vue index 477873339..051e4c6d7 100644 --- a/app/components/Account.vue +++ b/app/components/Account.vue @@ -5,6 +5,7 @@ import { useCookie, useFetch } from 'nuxt/app'; import useConfig from '../composables/useConfig.ts'; import useDialogue from '../composables/useDialogue.ts'; +import buildLocaleList from '#shared/buildLocaleList.ts'; import { longtimeCookieSetting } from '#shared/cookieSettings.ts'; import { newDate, gravatar, PermissionAreas } from '#shared/helpers.ts'; import type { Profile } from '#shared/profile.ts'; @@ -17,6 +18,8 @@ const { $translator: translator, $setToken: setToken, $removeToken: removeToken const runtimeConfig = useRuntimeConfig(); const config = useConfig(); +const locales = buildLocaleList(config.locale); + const dialogue = useDialogue(); const { accounts, user } = storeToRefs(useMainStore()); @@ -489,11 +492,11 @@ const addBrackets = (str: string): string => { diff --git a/app/components/ProfileOverview.vue b/app/components/ProfileOverview.vue index 45ce9e5b4..1f4bfbbe2 100644 --- a/app/components/ProfileOverview.vue +++ b/app/components/ProfileOverview.vue @@ -1,64 +1,67 @@ + + - -