diff --git a/src/Umbraco.Web.UI.Client/src/views/content/content.assigndomain.controller.js b/src/Umbraco.Web.UI.Client/src/views/content/content.assigndomain.controller.js
index 7d05127536..daa3ed21cb 100644
--- a/src/Umbraco.Web.UI.Client/src/views/content/content.assigndomain.controller.js
+++ b/src/Umbraco.Web.UI.Client/src/views/content/content.assigndomain.controller.js
@@ -1,7 +1,7 @@
(function () {
"use strict";
- function AssignDomainController($scope, localizationService, languageResource, contentResource, navigationService) {
+ function AssignDomainController($scope, localizationService, languageResource, contentResource, navigationService, notificationsService) {
var vm = this;
vm.closeDialog = closeDialog;
@@ -114,8 +114,10 @@
// validation is interesting. Check if response is valid
if(response.valid) {
-
vm.submitButtonState = "success";
+ localizationService.localize('speechBubbles_editCulturesAndHostnamesSaved').then(function(value) {
+ notificationsService.success(value);
+ });
closeDialog();
// show validation messages for each domain
@@ -129,6 +131,9 @@
});
});
vm.submitButtonState = "error";
+ localizationService.localize('speechBubbles_editCulturesAndHostnamesError').then(function(value) {
+ notificationsService.error(value);
+ });
}
}, function (e) {
diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/da.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
index a74c6c6243..205c7da224 100644
--- a/src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
+++ b/src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
@@ -1178,6 +1178,8 @@ Mange hilsner fra Umbraco robotten
Bruger gemt
Brugertype gemt
Brugergruppe gemt
+ Sprog og domæner gemt
+ Der opstod en fejl ved at gemme sprog og domæner
Fil ikke gemt
Filen kunne ikke gemmes. Tjek filrettighederne
Fil gemt
diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
index de5026edeb..818047dbaa 100644
--- a/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
+++ b/src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
@@ -1406,6 +1406,8 @@ To manage your website, simply open the Umbraco back office and start adding con
User Saved
User type saved
User group saved
+ Cultures and hostnames saved
+ Error saving cultures and hostnames
File not saved
file could not be saved. Please check file permissions
File saved
diff --git a/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml b/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
index e491a0a8fe..8a6c61b0db 100644
--- a/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
+++ b/src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
@@ -1411,6 +1411,8 @@ To manage your website, simply open the Umbraco back office and start adding con
User Saved
User type saved
User group saved
+ Cultures and hostnames saved
+ Error saving cultures and hostnames
File not saved
file could not be saved. Please check file permissions
File saved