Invalid message on publishing

Topics: Core, Customizing Orchard
Jul 26, 2013 at 5:11 PM

Here are steps:
  1. Open an edit page for unpublished content item at http://localhost:30320/Admin/Contents/Edit/11
    It states that this page is "Not Published | Draft | Last modified: 6 minutes ago | By admin"
  2. Press "Publish Now"
  3. Result: The "Your Page has been saved." message displayed.
    Expected result: a message about published should have been displayed. Like "Your Page has been published"
How can I change the message to be "..saved" and "..published" on the actions?

I know I can do it by putting *.po file (localization) but that does not seem to be appropriate.

The logic is in Orchard.Core.Contents.Controllers.AdminController.EditPOST(int id, string returnUrl, Action<ContentItem> conditionallyPublish)

Thank you!
Jul 26, 2013 at 9:25 PM
You could file a bug for that, but it seems quite benign and would rank pretty low in terms of priority. If you attach a patch, I think we'd take it, however.
Aug 2, 2013 at 11:47 AM
Bertrand, I've posted the issue