]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix language typo 2281/head
authorJoas Schilling <coding@schilljs.com>
Wed, 23 Nov 2016 15:52:20 +0000 (16:52 +0100)
committerJoas Schilling <coding@schilljs.com>
Wed, 23 Nov 2016 15:55:49 +0000 (16:55 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/files_sharing/lib/Activity/Providers/Groups.php
apps/files_sharing/lib/Activity/Providers/Users.php

index 50b3df785e56bfd93f740d5bc9c24730506d0fbb..c42cc1bb59bf28f471763989c344d451eb121b7d 100644 (file)
@@ -110,17 +110,17 @@ class Groups implements IProvider {
                                ])
                                ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
                } else if ($event->getSubject() === self::SUBJECT_RESHARED_GROUP_BY) {
-                       $event->setParsedSubject($this->l->t('%2$s shared with %1$s by', [
+                       $event->setParsedSubject($this->l->t('%2$s shared with group %1$s', [
                                        $parsedParameters['group']['name'],
                                        $parsedParameters['actor']['name'],
                                ]))
-                               ->setRichSubject($this->l->t('{actor} shared with {group}'), [
+                               ->setRichSubject($this->l->t('{actor} shared with group {group}'), [
                                        'group' => $parsedParameters['group'],
                                        'actor' => $parsedParameters['actor'],
                                ])
                                ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
                } else if ($event->getSubject() === self::SUBJECT_UNSHARED_GROUP_BY) {
-                       $event->setParsedSubject($this->l->t('%2$s removed share for %1$s', [
+                       $event->setParsedSubject($this->l->t('%2$s removed share for group %1$s', [
                                        $parsedParameters['group']['name'],
                                        $parsedParameters['actor']['name'],
                                ]))
index 915dbcf225a9296c7342ba75e34fbc0c6526ab25..c85452aec061365fccdc0bef687fb56e5424c48c 100644 (file)
@@ -112,7 +112,7 @@ class Users implements IProvider {
                                ])
                                ->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'actions/share.svg')));
                } else if ($event->getSubject() === self::SUBJECT_RESHARED_USER_BY) {
-                       $event->setParsedSubject($this->l->t('%2$s shared with %1$s by', [
+                       $event->setParsedSubject($this->l->t('%2$s shared with %1$s', [
                                        $parsedParameters['user']['name'],
                                        $parsedParameters['actor']['name'],
                                ]))