This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user