We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 1e746da5 authored by Brion Vibber's avatar Brion Vibber

Fix "$s"s that slipped into double-quoted translatable strings' '%1$s'...

Fix "$s"s that slipped into double-quoted translatable strings' '%1$s' pattern. Switch to single-quote to fix.
parent 54f7154d
...@@ -144,7 +144,7 @@ class AtompubfavoritefeedAction extends ApiAuthAction ...@@ -144,7 +144,7 @@ class AtompubfavoritefeedAction extends ApiAuthAction
// TRANS: Subtitle for Atom favorites feed. // TRANS: Subtitle for Atom favorites feed.
// TRANS: %1$s is a user nickname, %2$s is the StatusNet sitename. // TRANS: %1$s is a user nickname, %2$s is the StatusNet sitename.
$feed->setSubtitle(sprintf(_("Notices %1$s has favorited on %2$s"), $feed->setSubtitle(sprintf(_('Notices %1$s has favorited on %2$s'),
$this->_profile->getBestName(), $this->_profile->getBestName(),
common_config('site', 'name'))); common_config('site', 'name')));
......
...@@ -146,7 +146,7 @@ class AtompubmembershipfeedAction extends ApiAuthAction ...@@ -146,7 +146,7 @@ class AtompubmembershipfeedAction extends ApiAuthAction
// TRANS: Subtitle for group membership feed. // TRANS: Subtitle for group membership feed.
// TRANS: %1$s is a username, %2$s is the StatusNet sitename. // TRANS: %1$s is a username, %2$s is the StatusNet sitename.
$feed->setSubtitle(sprintf(_("Groups %1$s is a member of on %2$s"), $feed->setSubtitle(sprintf(_('Groups %1$s is a member of on %2$s'),
$this->_profile->getBestName(), $this->_profile->getBestName(),
common_config('site', 'name'))); common_config('site', 'name')));
......
...@@ -150,7 +150,7 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction ...@@ -150,7 +150,7 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction
// TRANS: Subtitle for Atom subscription feed. // TRANS: Subtitle for Atom subscription feed.
// TRANS: %1$s is a user nickname, %s$s is the StatusNet sitename. // TRANS: %1$s is a user nickname, %s$s is the StatusNet sitename.
$feed->setSubtitle(sprintf(_("People %1$s has subscribed to on %2$s"), $feed->setSubtitle(sprintf(_("People %1\$s has subscribed to on %2\$s"),
$this->_profile->getBestName(), $this->_profile->getBestName(),
common_config('site', 'name'))); common_config('site', 'name')));
......
...@@ -198,8 +198,8 @@ class ActivityImporter extends QueueHandler ...@@ -198,8 +198,8 @@ class ActivityImporter extends QueueHandler
} else { } else {
// TRANS: Client exception thrown when trying to import a notice by another user. // TRANS: Client exception thrown when trying to import a notice by another user.
// TRANS: %1$s is the source URI of the notice, %2$s is the URI of the author. // TRANS: %1$s is the source URI of the notice, %2$s is the URI of the author.
throw new ClientException(sprintf(_("Already know about notice %1$s and ". throw new ClientException(sprintf(_('Already know about notice %1$s and '.
" it has a different author %2$s."), ' it has a different author %2$s.'),
$sourceUri, $uri)); $sourceUri, $uri));
} }
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment