diff --git a/modules/notifications.js b/modules/notifications.js index 17fa85f..07c07d2 100644 --- a/modules/notifications.js +++ b/modules/notifications.js @@ -327,6 +327,10 @@ define([ notificationService.warn(cultureService.localize('w20.core.notifications.route.error', [cultureService.displayName(current.$$route), reason])); }]); + eventService.on('w20.culture.culture-changed', ['CultureService', function (cultureService) { + $.jGrowl.defaults.closerTemplate = '
' + cultureService.localize('w20.core.notifications.closeall') + '
'; + }]); + eventService.on('w20.security.authenticated', ['CultureService', 'AuthenticationService', 'NotificationService', '$args', function (cultureService, authenticationService, notificationService, $args) { notificationService.notify(cultureService.localize('w20.core.notifications.login.authenticated', [$args[0].id])); }]);