Use the localization service for user facing strings.
This commit is contained in:
1 parent
e4e3f9cc63
commit
f22b67ad0a
4 files changed
+94
-57
No files matched your search
@@ -9,8 +9,9 @@ import { handleError, handleValidationError } from './controllerUtils.js';
|
||||
const SERVICE_NAME = "NotificationController";
|
||||
|
||||
class NotificationController {
|
||||
constructor(notificationService) {
|
||||
constructor(notificationService, stringService) {
|
||||
this.notificationService = notificationService;
|
||||
this.stringService = stringService;
|
||||
this.triggerNotification = this.triggerNotification.bind(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user