summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-04 14:24:04 -0700
committerBrion Vibber <brion@pobox.com>2010-10-04 14:24:04 -0700
commitd6b3d7fb1a7a3dca701dfe5cf95a832b3eb055f9 (patch)
tree13c9e4094618de5d5314f553c619806772ce68f5 /classes
parent2295bbec9ea1e279316b8a45b6b05c6d71a6fc3d (diff)
Fix unescaped dollar signs in double-quoted strings due to localization updates (%1$s etc)
Diffstat (limited to 'classes')
-rw-r--r--classes/Fave.php2
-rw-r--r--classes/Notice.php2
-rw-r--r--classes/Subscription.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/classes/Fave.php b/classes/Fave.php
index 059b339cd..9922ae45c 100644
--- a/classes/Fave.php
+++ b/classes/Fave.php
@@ -148,7 +148,7 @@ class Fave extends Memcached_DataObject
$act->title = _("Favor");
// TRANS: Ntofication given when a user marks a notice as favorite.
// TRANS: %1$s is a user nickname or full name, %2$s is a notice URI.
- $act->content = sprintf(_("%1$s marked notice %2$s as a favorite."),
+ $act->content = sprintf(_('%1$s marked notice %2$s as a favorite.'),
$profile->getBestName(),
$notice->uri);
diff --git a/classes/Notice.php b/classes/Notice.php
index e268544b5..60989f9ba 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1117,7 +1117,7 @@ class Notice extends Memcached_DataObject
common_log_db_error($reply, 'INSERT', __FILE__);
// TRANS: Server exception thrown when a reply cannot be saved.
// 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));
+ 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);
diff --git a/classes/Subscription.php b/classes/Subscription.php
index b4dbd84c9..e9ad2a5a2 100644
--- a/classes/Subscription.php
+++ b/classes/Subscription.php
@@ -255,7 +255,7 @@ class Subscription extends Memcached_DataObject
$act->title = _("Follow");
// TRANS: Notification given when one person starts following another.
// TRANS: %1$s is the subscriber, %2$s is the subscribed.
- $act->content = sprintf(_("%1$s is now following %2$s."),
+ $act->content = sprintf(_('%1$s is now following %2$s.'),
$subscriber->getBestName(),
$subscribed->getBestName());