Update main templat editor to use a localised notification

This commit is contained in:
Warren Buckley
2017-01-19 15:14:46 +00:00
parent 1defc1e0e4
commit 3b54db9b49

View File

@@ -33,7 +33,13 @@
rebindCallback: function (orignal, saved) {}
}).then(function (saved) {
notificationsService.success("Template saved");
localizationService.localize("speechBubbles_templateSavedHeader").then(function (headerValue) {
localizationService.localize("speechBubbles_templateSavedText").then(function(msgValue) {
notificationsService.success(headerValue, msgValue);
});
});
vm.page.saveButtonState = "success";
vm.template = saved;