This commit is contained in:
@@ -157,7 +157,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
lt: function(ltkey) {
|
||||
return window.$gz.locale.get(ltkey);
|
||||
return window.$gz.translation.get(ltkey);
|
||||
},
|
||||
visibleChanged: function(item) {
|
||||
//Note: stock items can't be changed so no need to take that into account
|
||||
@@ -298,7 +298,7 @@ function generateMenu(vm) {
|
||||
var menuOptions = {
|
||||
isMain: false,
|
||||
icon: "fa-sliders-h",
|
||||
title: window.$gz.locale.get("Customize"),
|
||||
title: window.$gz.translation.get("Customize"),
|
||||
helpUrl: "form-ay-customize",
|
||||
formData: {
|
||||
ayaType: window.$gz.type.FormCustom,
|
||||
@@ -309,7 +309,7 @@ function generateMenu(vm) {
|
||||
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.locale.get("Save"),
|
||||
title: window.$gz.translation.get("Save"),
|
||||
icon: "save",
|
||||
surface: true,
|
||||
key: FORM_KEY + ":save",
|
||||
@@ -320,7 +320,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.locale.get("LocalizedTextDesign"),
|
||||
title: window.$gz.translation.get("LocalizedTextDesign"),
|
||||
icon: "language",
|
||||
data: "adm-localized-text",
|
||||
key: "app:nav"
|
||||
@@ -367,7 +367,7 @@ function fetchUILocalizedText(vm) {
|
||||
"UiFieldDataTypesTrueFalse"
|
||||
];
|
||||
|
||||
return window.$gz.locale.fetch(ltKeysRequired);
|
||||
return window.$gz.translation.fetch(ltKeysRequired);
|
||||
}
|
||||
|
||||
/////////////////////////////////
|
||||
@@ -435,7 +435,7 @@ function initDataObject(vm) {
|
||||
|
||||
var objItem = {
|
||||
key: faf.fieldKey,
|
||||
title: window.$gz.locale.get(faf.ltKey),
|
||||
title: window.$gz.translation.get(faf.ltKey),
|
||||
stockRequired: !faf.hideable,
|
||||
custom: faf.isCustomField,
|
||||
required: faf.hideable === false || templateItem.required === true,
|
||||
|
||||
Reference in New Issue
Block a user