Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10568

Modify the trigger language when you edit a PM

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.10
    • Fix Version/s: 3.0.12-RC1
    • Labels:
      None
    • Environment:
      PHP 5.2.3, MySQL 5.1.3, Firefox 9.1

      Description

      Hello when you edit a PM you receive this trigger_error: "This message has been sent successfully."
      I think it should be nice to get rather this trigger_error "This message has been edited successfully."
      Best regards

        Issue Links

          Activity

          Hide
          bantu Andreas Fischer added a comment -

          What exactly is an "MP"?

          Show
          bantu Andreas Fischer added a comment - What exactly is an "MP"?
          Hide
          Geolim4 Geolim4 added a comment -

          Sorry private message (PM) i'm sorry it's mistake from myself

          Show
          Geolim4 Geolim4 added a comment - Sorry private message (PM) i'm sorry it's mistake from myself
          Hide
          Ger Ger added a comment -

          Proposed patch:
          OPEN includes/ucp/ucp_pm_compose.php
          FIND

          			$message = $user->lang['MESSAGE_STORED'] . '<br /><br />' . sprintf($user->lang['VIEW_PRIVATE_MESSAGE'], '<a href="' . $return_message_url . '">', '</a>');
          

          REPLACE WITH

          			$save_message = $action === 'edit' ? $user->lang['MESSAGE_EDITED'] : $user->lang['MESSAGE_STORED'];
          			$message = $save_message . '<br /><br />' . sprintf($user->lang['VIEW_PRIVATE_MESSAGE'], '<a href="' . $return_message_url . '">', '</a>');
          
          

          OPEN language/en/ucp.php
          FIND

          	'MESSAGE_DELETED'				=> 'Message successfully deleted.',
          

          ADD AFTER

          	'MESSAGE_EDITED'				=> 'Message successfully edited.',
          

          Show
          Ger Ger added a comment - Proposed patch: OPEN includes/ucp/ucp_pm_compose.php FIND $message = $user->lang['MESSAGE_STORED'] . '<br /><br />' . sprintf($user->lang['VIEW_PRIVATE_MESSAGE'], '<a href="' . $return_message_url . '">', '</a>'); REPLACE WITH $save_message = $action === 'edit' ? $user->lang['MESSAGE_EDITED'] : $user->lang['MESSAGE_STORED']; $message = $save_message . '<br /><br />' . sprintf($user->lang['VIEW_PRIVATE_MESSAGE'], '<a href="' . $return_message_url . '">', '</a>'); OPEN language/en/ucp.php FIND 'MESSAGE_DELETED' => 'Message successfully deleted.', ADD AFTER 'MESSAGE_EDITED' => 'Message successfully edited.',
          Hide
          Geolim4 Geolim4 added a comment -

          Ok Ger It work perfect !!

          Show
          Geolim4 Geolim4 added a comment - Ok Ger It work perfect !!

            People

            • Assignee:
              Oleg Oleg [X] (Inactive)
              Reporter:
              Geolim4 Geolim4
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development