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