mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 05:23:33 +08:00
Improving user messages.
--HG-- branch : dev
This commit is contained in:
@@ -128,7 +128,12 @@ namespace Orchard.Localization.Controllers {
|
||||
return View(model);
|
||||
}
|
||||
|
||||
Services.Notifier.Information(T("Created content item translation."));
|
||||
if (existingTranslation != null) {
|
||||
Services.Notifier.Information(T("Edited content item translation."));
|
||||
}
|
||||
else {
|
||||
Services.Notifier.Information(T("Created content item translation."));
|
||||
}
|
||||
|
||||
var metadata = _contentManager.GetItemMetadata(model.Content);
|
||||
if (metadata.EditorRouteValues == null)
|
||||
|
Reference in New Issue
Block a user