Fix "$s"s that slipped into double-quoted translatable strings' '%1$s' pattern. Switch to single-quote to fix.
This commit is contained in:
parent
de7726dd00
commit
b46ce3b67d
|
@ -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
|
||||||
|
|
||||||
// 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
|
||||||
|
|
||||||
// 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
|
||||||
} 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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user