Merge pull request #959 from nextcloud/bugfix/840

Fix activity text
This commit is contained in:
Julius Härtl
2019-03-26 13:45:08 +01:00
committed by GitHub

View File

@@ -182,7 +182,7 @@ class ActivityManager {
if (!isset($subjectParams['before'])) { if (!isset($subjectParams['before'])) {
$subject = $ownActivity ? $this->l10n->t('You have added a description to card {card} in stack {stack} on board {board}') : $this->l10n->t('{user} has added a description to card {card} in stack {stack} on board {board}'); $subject = $ownActivity ? $this->l10n->t('You have added a description to card {card} in stack {stack} on board {board}') : $this->l10n->t('{user} has added a description to card {card} in stack {stack} on board {board}');
} else { } else {
$subject = $ownActivity ? $this->l10n->t('You have updated the description of card {card} in stack {stack} on board {board}') : $this->l10n->t('{user} has updated the description card {card} in stack {stack} on board {board}'); $subject = $ownActivity ? $this->l10n->t('You have updated the description of card {card} in stack {stack} on board {board}') : $this->l10n->t('{user} has updated the description of the card {card} in stack {stack} on board {board}');
} }
break; break;
case self::SUBJECT_CARD_UPDATE_ARCHIVE: case self::SUBJECT_CARD_UPDATE_ARCHIVE: