This commit is contained in:
2020-03-29 00:47:19 +00:00
parent 4e5435e0f4
commit 408ae6d07d
10 changed files with 140 additions and 35 deletions

View File

@@ -133,8 +133,8 @@ export default {
},
methods: {
t: function(ltkey) {
return window.$gz.translation.get(ltkey);
t: function(tKey) {
return window.$gz.translation.get(tKey);
},
visibleChanged: function(item) {
//Note: stock items can't be changed so no need to take that into account
@@ -330,7 +330,7 @@ function initForm(vm) {
// Ensures UI translated text is available
//
function fetchTranslatedText(vm) {
var ltKeysRequired = [
var tKeysRequired = [
"FormFieldEntryRequired",
"FormFieldVisible",
"UiFieldDataType",
@@ -344,7 +344,7 @@ function fetchTranslatedText(vm) {
"UiFieldDataTypesTrueFalse"
];
return window.$gz.translation.fetch(ltKeysRequired);
return window.$gz.translation.fetch(tKeysRequired);
}
/////////////////////////////////