Fix i18n issue: please number variables when using more than one to allow word order changes without unexpected results.
This commit is contained in:
parent
532a174fc0
commit
31940f9309
|
@ -303,8 +303,8 @@ 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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user