From ade7172a25b959ba8663843775034fba1c828e1b Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Fri, 1 Apr 2011 22:32:56 +0200 Subject: [PATCH] L10n/i18n updates. --- plugins/FacebookBridge/actions/facebookadminpanel.php | 10 +++++----- plugins/FacebookBridge/actions/facebookfinishlogin.php | 6 +++--- plugins/FacebookBridge/actions/facebooksettings.php | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/FacebookBridge/actions/facebookadminpanel.php b/plugins/FacebookBridge/actions/facebookadminpanel.php index 61b5441848..034b58b2fa 100644 --- a/plugins/FacebookBridge/actions/facebookadminpanel.php +++ b/plugins/FacebookBridge/actions/facebookadminpanel.php @@ -120,13 +120,13 @@ class FacebookadminpanelAction extends AdminPanelAction if (mb_strlen($values['facebook']['appid']) > 255) { $this->clientError( - _m("Invalid Facebook ID. Max length is 255 characters.") + _m("Invalid Facebook ID. Maximum length is 255 characters.") ); } if (mb_strlen($values['facebook']['secret']) > 255) { $this->clientError( - _m("Invalid Facebook secret. Max length is 255 characters.") + _m("Invalid Facebook secret. Maximum length is 255 characters.") ); } } @@ -182,7 +182,7 @@ class FacebookAdminPanelForm extends AdminForm $this->input( 'appid', _m('Application ID'), - _m('ID of your Facebook application'), + _m('ID of your Facebook application.'), 'facebook' ); $this->unli(); @@ -191,7 +191,7 @@ class FacebookAdminPanelForm extends AdminForm $this->input( 'secret', _m('Secret'), - _m('Application secret'), + _m('Application secret.'), 'facebook' ); $this->unli(); @@ -207,6 +207,6 @@ class FacebookAdminPanelForm extends AdminForm */ function formActions() { - $this->out->submit('submit', _m('Save'), 'submit', null, _m('Save Facebook settings')); + $this->out->submit('submit', _m('BUTTON','Save'), 'submit', null, _m('Save Facebook settings.')); } } diff --git a/plugins/FacebookBridge/actions/facebookfinishlogin.php b/plugins/FacebookBridge/actions/facebookfinishlogin.php index 7b2f274741..f952ad2e2b 100644 --- a/plugins/FacebookBridge/actions/facebookfinishlogin.php +++ b/plugins/FacebookBridge/actions/facebookfinishlogin.php @@ -147,7 +147,7 @@ class FacebookfinishloginAction extends Action if (!$this->boolean('license')) { $this->showForm( - _m('You can\'t register if you don\'t agree to the license.'), + _m('You cannot register if you do not agree to the license.'), $this->trimmed('newname') ); return; @@ -182,7 +182,7 @@ class FacebookfinishloginAction extends Action 'div', 'instructions', // TRANS: %s is the site name. sprintf( - _m('This is the first time you\'ve logged into %s so we must connect your Facebook to a local account. You can either create a new local account, or connect with an existing local account.'), + _m('This is the first time you have logged into %s so we must connect your Facebook to a local account. You can either create a new local account, or connect with an existing local account.'), common_config('site', 'name') ) ); @@ -265,7 +265,7 @@ class FacebookfinishloginAction extends Action // TRANS: Field label. $this->input('newname', _m('New nickname'), ($this->username) ? $this->username : '', - _m('1-64 lowercase letters or numbers, no punctuation or spaces')); + _m('1-64 lowercase letters or numbers, no punctuation or spaces.')); $this->elementEnd('li'); // Hook point for captcha etc diff --git a/plugins/FacebookBridge/actions/facebooksettings.php b/plugins/FacebookBridge/actions/facebooksettings.php index 54e96ee400..7d45cc03e6 100644 --- a/plugins/FacebookBridge/actions/facebooksettings.php +++ b/plugins/FacebookBridge/actions/facebooksettings.php @@ -257,7 +257,7 @@ class FacebooksettingsAction extends SettingsAction { if ($result === false) { common_log_db_error($user, 'DELETE', __FILE__); - $this->serverError(_m('Couldn\'t delete link to Facebook.')); + $this->serverError(_m('Could not delete link to Facebook.')); return; }