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

@@ -188,10 +188,10 @@ export default {
},
methods: {
lt(ltKey) {
return window.$gz.locale.get(ltKey);
return window.$gz.translation.get(ltKey);
},
locale() {
return window.$gz.locale;
translation() {
return window.$gz.translation;
},
form() {
return window.$gz.form;
@@ -266,14 +266,14 @@ function generateMenu(vm) {
var menuOptions = {
isMain: true,
icon: "key",
title: window.$gz.locale.get("SetLoginPassword"),
title: window.$gz.translation.get("SetLoginPassword"),
helpUrl: "form-home-password",
menuItems: []
};
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",
@@ -305,7 +305,7 @@ function initForm(vm) {
// Ensures UI localized text is available
//
function fetchUILocalizedText(vm) {
return window.$gz.locale.fetch([
return window.$gz.translation.fetch([
"UserLogin",
"OldPassword",
"NewPassword",