@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Simplify some transaction translations

Summary: Ref T8700, I don't believe we need to be specific here about the object, since it displays on the object.

Test Plan: Change policy a few times on a task, see new translation

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T8700

Differential Revision: https://secure.phabricator.com/D13913

+3 -6
+3 -6
src/applications/transactions/storage/PhabricatorApplicationTransaction.php
··· 642 642 $this->renderHandleLink($author_phid)); 643 643 case PhabricatorTransactions::TYPE_VIEW_POLICY: 644 644 return pht( 645 - '%s changed the visibility of this %s from "%s" to "%s".', 645 + '%s changed the visibility from "%s" to "%s".', 646 646 $this->renderHandleLink($author_phid), 647 - $this->getApplicationObjectTypeName(), 648 647 $this->renderPolicyName($old, 'old'), 649 648 $this->renderPolicyName($new, 'new')); 650 649 case PhabricatorTransactions::TYPE_EDIT_POLICY: 651 650 return pht( 652 - '%s changed the edit policy of this %s from "%s" to "%s".', 651 + '%s changed the edit policy from "%s" to "%s".', 653 652 $this->renderHandleLink($author_phid), 654 - $this->getApplicationObjectTypeName(), 655 653 $this->renderPolicyName($old, 'old'), 656 654 $this->renderPolicyName($new, 'new')); 657 655 case PhabricatorTransactions::TYPE_JOIN_POLICY: 658 656 return pht( 659 - '%s changed the join policy of this %s from "%s" to "%s".', 657 + '%s changed the join policy from "%s" to "%s".', 660 658 $this->renderHandleLink($author_phid), 661 - $this->getApplicationObjectTypeName(), 662 659 $this->renderPolicyName($old, 'old'), 663 660 $this->renderPolicyName($new, 'new')); 664 661 case PhabricatorTransactions::TYPE_SPACE: