This commit is contained in:
@@ -273,7 +273,7 @@ function generateMenu(vm) {
|
||||
let menuOptions = {
|
||||
isMain: false,
|
||||
icon: "fa-sliders-h",
|
||||
title: window.$gz.translation.get("Customize"),
|
||||
title: vm.$ay.t("Customize"),
|
||||
helpUrl: "form-ay-customize",
|
||||
formData: {
|
||||
ayaType: window.$gz.type.FormCustom,
|
||||
@@ -284,7 +284,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",
|
||||
@@ -295,7 +295,7 @@ function generateMenu(vm) {
|
||||
//Extra link to it here so people can stumble their way onto it
|
||||
//plus it's related to this form and people think Customize for the whole shebang
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.translation.get("Translation"),
|
||||
title: vm.$ay.t("Translation"),
|
||||
icon: "fa-language",
|
||||
data: "adm-translation",
|
||||
key: "app:nav"
|
||||
@@ -413,7 +413,7 @@ function initDataObject(vm) {
|
||||
|
||||
let objItem = {
|
||||
key: faf.fieldKey,
|
||||
title: window.$gz.translation.get(faf.tKey),
|
||||
title: vm.$ay.t(faf.tKey),
|
||||
stockRequired: !faf.hideable,
|
||||
custom: faf.isCustomField,
|
||||
required: faf.hideable === false || templateItem.required === true,
|
||||
|
||||
Reference in New Issue
Block a user