mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-1120: Fix incorrect translation string names.
This commit is contained in:
@@ -59,7 +59,7 @@ angular.module('userMenu').directive('guacUserMenu', [function guacUserMenu() {
|
|||||||
* showStatus which closes the currently-shown status dialog.
|
* showStatus which closes the currently-shown status dialog.
|
||||||
*/
|
*/
|
||||||
var ACKNOWLEDGE_ACTION = {
|
var ACKNOWLEDGE_ACTION = {
|
||||||
name : "HOME.ACTION_ACKNOWLEDGE",
|
name : "USER_MENU.ACTION_ACKNOWLEDGE",
|
||||||
// Handle action
|
// Handle action
|
||||||
callback : function acknowledgeCallback() {
|
callback : function acknowledgeCallback() {
|
||||||
$scope.showStatus(false);
|
$scope.showStatus(false);
|
||||||
@@ -236,8 +236,8 @@ angular.module('userMenu').directive('guacUserMenu', [function guacUserMenu() {
|
|||||||
if ($scope.newPasswordMatch !== $scope.newPassword) {
|
if ($scope.newPasswordMatch !== $scope.newPassword) {
|
||||||
$scope.showStatus({
|
$scope.showStatus({
|
||||||
className : 'error',
|
className : 'error',
|
||||||
title : 'HOME.DIALOG_HEADER_ERROR',
|
title : 'USER_MENU.DIALOG_HEADER_ERROR',
|
||||||
text : 'HOME.ERROR_PASSWORD_MISMATCH',
|
text : 'USER_MENU.ERROR_PASSWORD_MISMATCH',
|
||||||
actions : [ ACKNOWLEDGE_ACTION ]
|
actions : [ ACKNOWLEDGE_ACTION ]
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
@@ -247,8 +247,8 @@ angular.module('userMenu').directive('guacUserMenu', [function guacUserMenu() {
|
|||||||
if (!$scope.newPassword) {
|
if (!$scope.newPassword) {
|
||||||
$scope.showStatus({
|
$scope.showStatus({
|
||||||
className : 'error',
|
className : 'error',
|
||||||
title : 'HOME.DIALOG_HEADER_ERROR',
|
title : 'USER_MENU.DIALOG_HEADER_ERROR',
|
||||||
text : 'HOME.ERROR_PASSWORD_BLANK',
|
text : 'USER_MENU.ERROR_PASSWORD_BLANK',
|
||||||
actions : [ ACKNOWLEDGE_ACTION ]
|
actions : [ ACKNOWLEDGE_ACTION ]
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
@@ -263,7 +263,7 @@ angular.module('userMenu').directive('guacUserMenu', [function guacUserMenu() {
|
|||||||
|
|
||||||
// Indicate that the password has been changed
|
// Indicate that the password has been changed
|
||||||
$scope.showStatus({
|
$scope.showStatus({
|
||||||
text : 'HOME.PASSWORD_CHANGED',
|
text : 'USER_MENU.PASSWORD_CHANGED',
|
||||||
actions : [ ACKNOWLEDGE_ACTION ]
|
actions : [ ACKNOWLEDGE_ACTION ]
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
@@ -272,7 +272,7 @@ angular.module('userMenu').directive('guacUserMenu', [function guacUserMenu() {
|
|||||||
.error(function passwordUpdateFailed(error) {
|
.error(function passwordUpdateFailed(error) {
|
||||||
$scope.showStatus({
|
$scope.showStatus({
|
||||||
className : 'error',
|
className : 'error',
|
||||||
title : 'HOME.DIALOG_HEADER_ERROR',
|
title : 'USER_MENU.DIALOG_HEADER_ERROR',
|
||||||
'text' : error.message,
|
'text' : error.message,
|
||||||
actions : [ ACKNOWLEDGE_ACTION ]
|
actions : [ ACKNOWLEDGE_ACTION ]
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user