summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-07-30 19:25:55 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-07-30 19:25:55 +0200
commit8f8588026b9e0a2ab9b6d7b06b485379f02310bc (patch)
treedc3b9d0be6f85c9e41e674ff1817604b2b764d4f /classes/Notice.php
parente7534224802f3de009d5d29563070392c376f100 (diff)
Fixes for messages after review by Brion.
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 12467c850..3297c7a59 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1094,8 +1094,8 @@ class Notice extends Memcached_DataObject
if (!$id) {
common_log_db_error($reply, 'INSERT', __FILE__);
// TRANS: Server exception thrown when a reply cannot be saved.
- // TRANS: First arg is a notice ID, second ID is the ID of the mentioned user.
- throw new ServerException(_("Couldn't save reply for {$this->id}, {$mentioned->id}"));
+ // TRANS: %1$d is a notice ID, %2$d is the ID of the mentioned user.
+ throw new ServerException(sprintf(_("Could not save reply for %1$d, %2$d."), $this->id, $mentioned->id));
} else {
$replied[$mentioned->id] = 1;
self::blow('reply:stream:%d', $mentioned->id);