Numbered format specifiers

This commit is contained in:
Zach Copley 2010-01-28 01:39:18 +00:00
parent f296f04abd
commit 5182cc686d
1 changed files with 3 additions and 2 deletions

View File

@ -303,8 +303,9 @@ class ApiOauthAuthorizeAction extends ApiOauthAction
$access = ($this->app->access_type & Oauth_application::$writeAccess) ?
'access and update' : 'access';
$msg = _("The application <strong>%s</strong> by <strong>%s</strong> would like " .
"the ability to <strong>%s</strong> your account data.");
$msg = _('The application <strong>%1$s</strong> by ' .
'<strong>%2$s</strong> would like the ability ' .
'to <strong>%3$s</strong> your account data.');
$this->raw(sprintf($msg,
$this->app->name,