moved t function to global and misc cleanup

This commit is contained in:
2020-04-04 17:06:25 +00:00
parent 90c388ecc2
commit 43de3c8fb0
20 changed files with 242 additions and 286 deletions

View File

@@ -1,9 +1,9 @@
<template>
<v-card class="mx-auto" v-if="formState.ready">
<v-list subheader>
<v-subheader>{{ t("UserInterfaceSettings") }}</v-subheader>
<v-subheader>{{ $ay.t("UserInterfaceSettings") }}</v-subheader>
<v-list-item link to="adm-global-select-templates">
<v-list-item-title>{{ t("PickListTemplates") }}</v-list-item-title>
<v-list-item-title>{{ $ay.t("PickListTemplates") }}</v-list-item-title>
</v-list-item>
</v-list>
</v-card>
@@ -56,11 +56,6 @@ export default {
},
rights: window.$gz.role.defaultRightsObject()
};
},
methods: {
t(tKey) {
return window.$gz.translation.get(tKey);
}
}
};