summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-11-23 17:53:21 +0100
committerGitHub <noreply@github.com>2016-11-23 17:53:21 +0100
commit59db9fada283575a8dd759f2d68d933934136d90 (patch)
treee7c0aeac2e347c3846cdb82194e6e034acf3f417 /apps
parent5473475fa70b1bcf4d5e904d2dd978f08c79155c (diff)
parent14f01dbe33876a700c9146033926138b92669107 (diff)
downloadnextcloud-server-59db9fada283575a8dd759f2d68d933934136d90.tar.gz
nextcloud-server-59db9fada283575a8dd759f2d68d933934136d90.zip
Merge pull request #2281 from nextcloud/fix-translation
Fix language typo
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/Activity/Providers/Groups.php6
-rw-r--r--apps/files_sharing/lib/Activity/Providers/Users.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/lib/Activity/Providers/Groups.php b/apps/files_sharing/lib/Activity/Providers/Groups.php
index 50b3df785e5..c42cc1bb59b 100644
--- a/apps/files_sharing/lib/Activity/Providers/Groups.php
+++ b/apps/files_sharing/lib/Activity/Providers/Groups.php
@@ -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'],
]))
diff --git a/apps/files_sharing/lib/Activity/Providers/Users.php b/apps/files_sharing/lib/Activity/Providers/Users.php
index 915dbcf225a..c85452aec06 100644
--- a/apps/files_sharing/lib/Activity/Providers/Users.php
+++ b/apps/files_sharing/lib/Activity/Providers/Users.php
@@ -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'],
]))