This commit is contained in:
2020-03-06 20:08:50 +00:00
parent 7318a33350
commit 17bf519cb0
79 changed files with 331 additions and 309 deletions

View File

@@ -159,7 +159,7 @@ export default {
methods: {
lt: function(ltkey) {
return window.$gz.locale.get(ltkey);
return window.$gz.translation.get(ltkey);
},
form() {
//nothing
@@ -430,8 +430,8 @@ export default {
if (!window.$gz._) {
throw "custom-fields-control: $gz._ (lodash) is required and missing";
}
if (!window.$gz.locale) {
throw "custom-fields-control: $gz.locale is required and missing";
if (!window.$gz.translation) {
throw "custom-fields-control: $gz.translation is required and missing";
}
}
},