forked from GNUsocial/gnu-social
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: %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(),
|
||||
common_config('site', 'name')));
|
||||
|
||||
|
@ -146,7 +146,7 @@ class AtompubmembershipfeedAction extends ApiAuthAction
|
||||
|
||||
// TRANS: Subtitle for group membership feed.
|
||||
// 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(),
|
||||
common_config('site', 'name')));
|
||||
|
||||
|
@ -150,7 +150,7 @@ class AtompubsubscriptionfeedAction extends ApiAuthAction
|
||||
|
||||
// TRANS: Subtitle for Atom subscription feed.
|
||||
// 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(),
|
||||
common_config('site', 'name')));
|
||||
|
||||
|
@ -198,8 +198,8 @@ class ActivityImporter extends QueueHandler
|
||||
} else {
|
||||
// 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.
|
||||
throw new ClientException(sprintf(_("Already know about notice %1$s and ".
|
||||
" it has a different author %2$s."),
|
||||
throw new ClientException(sprintf(_('Already know about notice %1$s and '.
|
||||
' it has a different author %2$s.'),
|
||||
$sourceUri, $uri));
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user