Page MenuHomePhabricator

D16293.id39183.diff
No OneTemporary

D16293.id39183.diff

diff --git a/src/applications/paste/xaction/PhabricatorPasteLanguageTransaction.php b/src/applications/paste/xaction/PhabricatorPasteLanguageTransaction.php
--- a/src/applications/paste/xaction/PhabricatorPasteLanguageTransaction.php
+++ b/src/applications/paste/xaction/PhabricatorPasteLanguageTransaction.php
@@ -17,8 +17,8 @@
return pht(
"%s updated the paste's language from %s to %s.",
$this->renderAuthor(),
- $this->renderValue($this->getOldValue()),
- $this->renderValue($this->getNewValue()));
+ $this->renderOldValue(),
+ $this->renderNewValue());
}
public function getTitleForFeed() {
@@ -26,8 +26,8 @@
'%s updated the language for %s from %s to %s.',
$this->renderAuthor(),
$this->renderObject(),
- $this->renderValue($this->getOldValue()),
- $this->renderValue($this->getNewValue()));
+ $this->renderOldValue(),
+ $this->renderNewValue());
}
}
diff --git a/src/applications/paste/xaction/PhabricatorPasteTitleTransaction.php b/src/applications/paste/xaction/PhabricatorPasteTitleTransaction.php
--- a/src/applications/paste/xaction/PhabricatorPasteTitleTransaction.php
+++ b/src/applications/paste/xaction/PhabricatorPasteTitleTransaction.php
@@ -15,19 +15,19 @@
public function getTitle() {
return pht(
- '%s updated the paste\'s title from "%s" to "%s".',
+ '%s changed the title of this paste from %s to %s.',
$this->renderAuthor(),
- $this->getOldValue(),
- $this->getNewValue());
+ $this->renderOldValue(),
+ $this->renderNewValue());
}
public function getTitleForFeed() {
return pht(
- '%s updated the title for %s from "%s" to "%s".',
+ '%s updated the title for %s from %s to %s.',
$this->renderAuthor(),
$this->renderObject(),
- $this->getOldValue(),
- $this->getNewValue());
+ $this->renderOldValue(),
+ $this->renderNewValue());
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 18, 5:05 PM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7710149
Default Alt Text
D16293.id39183.diff (1 KB)

Event Timeline