Localisation notification message for saving scripts

This commit is contained in:
Warren Buckley
2017-01-19 15:05:05 +00:00
parent 04f6a01196
commit a7e626f4a7

View File

@@ -39,7 +39,12 @@
rebindCallback: function (orignal, saved) {}
}).then(function (saved) {
notificationsService.success("Script saved");
localizationService.localize("speechBubbles_scriptSavedHeader").then(function (headerValue) {
localizationService.localize("speechBubbles_scriptSavedText").then(function(msgValue) {
notificationsService.success(headerValue, msgValue);
});
});
vm.page.saveButtonState = "success";
vm.script = saved;