Autoroute: fixing T-string syntax in AutoroutePartHandler and updating its text

This commit is contained in:
Lombiq 2016-03-15 19:02:51 +01:00 committed by Benedek Farkas
parent b4c782a4ad
commit ea45c4f825

View File

@ -104,7 +104,7 @@ namespace Orchard.Autoroute.Handlers {
// Is this the current home page?
if (part.ContentItem.Id == homePageId) {
_orchardServices.Notifier.Warning(T("You removed the content item that served as the site\'s home page. \nMost possibly this means that instead of the home page a \"404 Not Found\" error page will be displayed without a link to log in or access the dashboard. \n\nTo prevent this you can e.g. publish a content item that has the \"Set as home page\" checkbox ticked."));
_orchardServices.Notifier.Warning(T("You removed the content item that served as the site's home page. \nMost possibly this means that instead of the home page a \"404 Not Found\" page will be displayed. \n\nTo prevent this you can e.g. publish a content item that has the \"Set as home page\" checkbox ticked."));
}
_autorouteService.Value.RemoveAliases(part);
}