From 1c97d1b4ed5ff4c1f0484e6575718ec092cfa274 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 8 Nov 2016 17:05:29 +0100 Subject: [PATCH] Fix some typos Signed-off-by: Joas Schilling --- apps/sharebymail/lib/Activity.php | 4 ++-- 1 file 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;