This commit is contained in:
2020-04-04 18:31:08 +00:00
parent 43de3c8fb0
commit 374a033c3b
59 changed files with 88 additions and 93 deletions

View File

@@ -924,7 +924,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-filter",
title: window.$gz.translation.get("DataListView"),
title: vm.$ay.t("DataListView"),
helpUrl: "form-ay-data-list-view",
formData: {
ayaType: window.$gz.type.FormCustom,
@@ -935,7 +935,7 @@ function generateMenu(vm) {
if (vm.rights.change) {
menuOptions.menuItems.push({
title: window.$gz.translation.get("Save"),
title: vm.$ay.t("Save"),
icon: "fa-save",
surface: true,
key: FORM_KEY + ":save",
@@ -944,7 +944,7 @@ function generateMenu(vm) {
}
if (vm.rights.delete) {
menuOptions.menuItems.push({
title: window.$gz.translation.get("Delete"),
title: vm.$ay.t("Delete"),
icon: "fa-trash-alt",
surface: true,
key: FORM_KEY + ":delete",
@@ -953,7 +953,7 @@ function generateMenu(vm) {
}
if (vm.rights.change) {
menuOptions.menuItems.push({
title: window.$gz.translation.get("Duplicate"),
title: vm.$ay.t("Duplicate"),
icon: "fa-clone",
key: FORM_KEY + ":duplicate",
vm: vm