]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
"Notice posted" message in Ajax title for NewnoticeAction
[quix0rs-gnu-social.git] / actions / newnotice.php
index a01b41453e9528fe59067e3c611d483c7ca53bfd..81438502fa67639d4ba28a9934ff22bae960dcd0 100644 (file)
@@ -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');
     }