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

@@ -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,