]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix placeholder typo in public link activity 2290/head
authorJoas Schilling <coding@schilljs.com>
Wed, 23 Nov 2016 20:43:14 +0000 (21:43 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Nov 2016 20:43:14 +0000 (21:43 +0100)
https://www.transifex.com/nextcloud/nextcloud/translate/#152/files_sharing/101548786/

apps/files_sharing/lib/Activity/Providers/PublicLinks.php

index 1b15520c70d88a6cdb33d6d2307fb9ff8e920086..a1c6333a86bef5e400aacc23b39e442e9611d0e1 100644 (file)
@@ -176,7 +176,7 @@ class PublicLinks implements IProvider {
                                ->setRichSubject($this->l->t('{actor} shared {file} as public link'), $parsedParameters)
                                ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
                } else if ($event->getSubject() === self::SUBJECT_UNSHARED_LINK_BY) {
-                       $event->setParsedSubject($this->l->t('%1$s removed public link for %1$s', [
+                       $event->setParsedSubject($this->l->t('%2$s removed public link for %1$s', [
                                        $parsedParameters['file']['path'],
                                        $parsedParameters['actor']['name'],
                                ]))