mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-36: Migrate guacLogin and guacNotification to TranslatableMessage.
This commit is contained in:
@@ -38,7 +38,7 @@ angular.module('index').controller('indexController', ['$scope', '$injector',
|
||||
* The message to display to the user as instructions for the login
|
||||
* process.
|
||||
*
|
||||
* @type String
|
||||
* @type TranslatableMessage
|
||||
*/
|
||||
$scope.loginHelpText = null;
|
||||
|
||||
@@ -160,7 +160,7 @@ angular.module('index').controller('indexController', ['$scope', '$injector',
|
||||
$scope.$on('guacInsufficientCredentials', function loginInsufficient(event, parameters, error) {
|
||||
$scope.page.title = 'APP.NAME';
|
||||
$scope.page.bodyClassName = '';
|
||||
$scope.loginHelpText = error.message;
|
||||
$scope.loginHelpText = error.translatableMessage;
|
||||
$scope.acceptedCredentials = parameters;
|
||||
$scope.expectedCredentials = error.expected;
|
||||
});
|
||||
|
Reference in New Issue
Block a user