]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice.php
Apache 2.4 mod_authz_host access example
[quix0rs-gnu-social.git] / classes / Notice.php
index 3a71e4161f762b2e8f32db60a69b177161d86e15..b6f480ed5ef2ce9a8860cd0f797bf0e04e97df5f 100644 (file)
@@ -1773,6 +1773,11 @@ class Notice extends Managed_DataObject
             if ($this->repeat_of) {
                 $repeated = Notice::getKV('id', $this->repeat_of);
                 if ($repeated instanceof Notice) {
+                    // TRANS: A repeat activity's title. %1$s is repeater's nickname
+                    //        and %2$s is the repeated user's nickname.
+                    $act->title = sprintf(_('%1$s repeated a notice by %2$s'),
+                                          $this->getProfile()->getNickname(),
+                                          $repeated->getProfile()->getNickname());
                     $act->objects[] = $repeated->asActivity($scoped);
                 }
             } else {