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

@@ -614,7 +614,7 @@ function generateMenu(vm) {
let menuOptions = {
isMain: false,
icon: "fa-splotch",
title: window.$gz.translation.get("Widget"),
title: vm.$ay.t("Widget"),
helpUrl: "form-widget",
formData: {
ayaType: window.$gz.type.Widget,
@@ -626,7 +626,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",
@@ -636,7 +636,7 @@ function generateMenu(vm) {
if (vm.rights.delete && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({
title: window.$gz.translation.get("Delete"),
title: vm.$ay.t("Delete"),
icon: "fa-trash-alt",
surface: true,
key: FORM_KEY + ":delete",
@@ -647,7 +647,7 @@ function generateMenu(vm) {
//STUB REPORTS
//Report not Print, print is a further option
menuOptions.menuItems.push({
title: window.$gz.translation.get("Report"),
title: vm.$ay.t("Report"),
icon: "fa-file-alt",
key: FORM_KEY + ":report",
vm: vm
@@ -662,7 +662,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