summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-08 17:05:29 +0100
committerJoas Schilling <coding@schilljs.com>2016-11-08 17:05:29 +0100
commit1c97d1b4ed5ff4c1f0484e6575718ec092cfa274 (patch)
tree4b6cda6b75c9d18ab685297db1d87f77107a7119 /apps/sharebymail/lib
parent25bcd71d029dd301321f797710d6e628540adb04 (diff)
downloadnextcloud-server-1c97d1b4ed5ff4c1f0484e6575718ec092cfa274.tar.gz
nextcloud-server-1c97d1b4ed5ff4c1f0484e6575718ec092cfa274.zip
Fix some typos
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/sharebymail/lib')
-rw-r--r--apps/sharebymail/lib/Activity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sharebymail/lib/Activity.php b/apps/sharebymail/lib/Activity.php
index 75b1f5d7ab0..0b73d73c04c 100644
--- a/apps/sharebymail/lib/Activity.php
+++ b/apps/sharebymail/lib/Activity.php
@@ -166,7 +166,7 @@ class Activity implements IExtension {
switch ($activity['subject']) {
case self::SUBJECT_SHARED_EMAIL_BY:
// Group by file name
- return 0;
+ return 1;
case self::SUBJECT_SHARED_EMAIL_SELF:
// Group by user/group
return 1;
@@ -260,7 +260,7 @@ class Activity implements IExtension {
case self::SUBJECT_SHARED_EMAIL_SELF:
return (string) $l->t('Shared with %2$s', $params);
case self::SUBJECT_SHARED_EMAIL_BY:
- return (string) $l->t('Shared with %3$s by %2ks', $params);
+ return (string) $l->t('Shared with %3$s by %2$s', $params);
}
return false;