Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15401334
D16293.id39183.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16293.id39183.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D16293: Slightly simplify some Paste modular transactions
Attached
Detach File
Event Timeline
Log In to Comment