diff --git a/lib/Activity/ActivityManager.php b/lib/Activity/ActivityManager.php index 733bf4a834..80f9d92bd0 100644 --- a/lib/Activity/ActivityManager.php +++ b/lib/Activity/ActivityManager.php @@ -233,14 +233,16 @@ public function getActivityFormat($language, $subjectIdentifier, $subjectParams $subject = $ownActivity ? $l->n( - 'You have updated cell ' . $columns . ' on row {row} in table {table}', - 'You have updated cells ' . $columns . ' on row {row} in table {table}', - $count + 'You have updated cell %1$s on row {row} in table {table}', + 'You have updated cells %1$s on row {row} in table {table}', + $count, + [$columns], ) : $l->n( - '{user} has updated cell(s) ' . $columns . ' on row {row} in table {table}', - '{user} has updated cells ' . $columns . ' on row {row} in table {table}', + '{user} has updated cell %1$s on row {row} in table {table}', + '{user} has updated cells %1$s on row {row} in table {table}', $count, + [$columns], ); break; case self::SUBJECT_ROW_DELETE: