This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user