From 5590642a1df005663a1d7b3e48e5004591c017b3 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sun, 16 Aug 2015 17:47:58 -0700 Subject: [PATCH] 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 --- .../storage/PhabricatorApplicationTransaction.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php index c7be284ecd..e33049dcc7 100644 --- a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php +++ b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php @@ -642,23 +642,20 @@ abstract class PhabricatorApplicationTransaction $this->renderHandleLink($author_phid)); case PhabricatorTransactions::TYPE_VIEW_POLICY: return pht( - '%s changed the visibility of this %s from "%s" to "%s".', + '%s changed the visibility from "%s" to "%s".', $this->renderHandleLink($author_phid), - $this->getApplicationObjectTypeName(), $this->renderPolicyName($old, 'old'), $this->renderPolicyName($new, 'new')); case PhabricatorTransactions::TYPE_EDIT_POLICY: return pht( - '%s changed the edit policy of this %s from "%s" to "%s".', + '%s changed the edit policy from "%s" to "%s".', $this->renderHandleLink($author_phid), - $this->getApplicationObjectTypeName(), $this->renderPolicyName($old, 'old'), $this->renderPolicyName($new, 'new')); case PhabricatorTransactions::TYPE_JOIN_POLICY: return pht( - '%s changed the join policy of this %s from "%s" to "%s".', + '%s changed the join policy from "%s" to "%s".', $this->renderHandleLink($author_phid), - $this->getApplicationObjectTypeName(), $this->renderPolicyName($old, 'old'), $this->renderPolicyName($new, 'new')); case PhabricatorTransactions::TYPE_SPACE: -- 2.51.2