From fcc48155ed96bbc100db483863221dc548a22c7c Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 28 Jan 2010 01:32:48 +0100 Subject: L10n updates: * app -> application * number parameters when using more than one in a message --- actions/apioauthauthorize.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'actions/apioauthauthorize.php') diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php index fa074c4e7..eebc926ee 100644 --- a/actions/apioauthauthorize.php +++ b/actions/apioauthauthorize.php @@ -167,7 +167,7 @@ class ApiOauthAuthorizeAction extends ApiOauthAction if (!$result) { common_log_db_error($appUser, 'DELETE', __FILE__); - throw new ServerException(_('DB error deleting OAuth app user.')); + throw new ServerException(_('Database error deleting OAuth application user.')); return; } } @@ -193,7 +193,7 @@ class ApiOauthAuthorizeAction extends ApiOauthAction if (!$result) { common_log_db_error($appUser, 'INSERT', __FILE__); - throw new ServerException(_('DB error inserting OAuth app user.')); + throw new ServerException(_('Database error inserting OAuth application user.')); return; } @@ -303,8 +303,8 @@ class ApiOauthAuthorizeAction extends ApiOauthAction $access = ($this->app->access_type & Oauth_application::$writeAccess) ? 'access and update' : 'access'; - $msg = _("The application %s by %s would like " . - "the ability to %s your account data."); + $msg = _("The application %1$s by %2$s would like " . + "the ability to %3$s your account data."); $this->raw(sprintf($msg, $this->app->name, -- cgit v1.2.3-54-g00ecf