X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnewnotice.php;h=81438502fa67639d4ba28a9934ff22bae960dcd0;hb=eb955fe6294fc4f256001bb8324ff73c2b9cd362;hp=a01b41453e9528fe59067e3c611d483c7ca53bfd;hpb=60016b0a8fd43ff2ed0944bf5fa0757fd4116d85;p=quix0rs-gnu-social.git diff --git a/actions/newnotice.php b/actions/newnotice.php index a01b41453e..81438502fa 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -58,6 +58,10 @@ class NewnoticeAction extends FormAction */ function title() { + if ($this->getInfo() && $this->stored instanceof Notice) { + // TRANS: Page title after sending a notice. + return _('Notice posted'); + } // TRANS: Page title for sending a new notice. return _m('TITLE','New notice'); }