mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-17 06:30:50 +01:00
fixed translation in action button
This commit is contained in:
@ -5,16 +5,18 @@ import en from './en.json'
|
||||
export const usePasswordsActionMenuStore = defineStore(
|
||||
'passwordsActionMenuStore',
|
||||
() => {
|
||||
const { t } = useI18n({
|
||||
const { t } =
|
||||
useI18n()
|
||||
/* {
|
||||
messages: {
|
||||
de: { passwordActionMenu: de },
|
||||
en: { passwordActionMenu: en },
|
||||
},
|
||||
})
|
||||
} */
|
||||
|
||||
const menu = computed<IActionMenuItem[]>(() => [
|
||||
{
|
||||
label: t('passwordActionMenu.group.create'),
|
||||
label: 'passwordActionMenu.group.create',
|
||||
icon: 'mdi:folder-plus-outline',
|
||||
to: {
|
||||
name: 'passwordGroupCreate',
|
||||
@ -28,7 +30,7 @@ export const usePasswordsActionMenuStore = defineStore(
|
||||
},
|
||||
},
|
||||
{
|
||||
label: t('passwordActionMenu.entry.create'),
|
||||
label: 'passwordActionMenu.entry.create',
|
||||
icon: 'mdi:key-plus',
|
||||
to: {
|
||||
name: 'passwordItemCreate',
|
||||
|
||||
Reference in New Issue
Block a user