Skip to content

Commit 3326f5a

Browse files
committed
fix: fix translations for userMenySettingsButton
1 parent 3a5ff9c commit 3326f5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adminforth/spa/src/components/UserMenuSettingsButton.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
w-full select-none "
88
@click="showDropdown = !showDropdown"
99
>
10-
<span>Settings</span>
10+
<span>{{ $t('Settings') }}</span>
1111
<IconCaretDownSolid class="h-5 w-5 text-lightPrimary dark:text-gray-400 opacity-50 transition duration-150 ease-in"
1212
:class="{ 'transform rotate-180': showDropdown }"
1313
/>
@@ -40,9 +40,11 @@ import { computed, ref, onMounted, watch } from 'vue';
4040
import { useCoreStore } from '@/stores/core';
4141
import { getIcon } from '@/utils';
4242
import { useRouter } from 'vue-router';
43+
import { useI18n } from 'vue-i18n';
4344
4445
const router = useRouter();
4546
const coreStore = useCoreStore();
47+
const { t } = useI18n();
4648
4749
const showDropdown = ref(false);
4850
const props = defineProps(['meta', 'resource']);

0 commit comments

Comments
 (0)