L10n/i18n updates.

This commit is contained in:
Siebrand Mazeland 2011-04-01 22:32:56 +02:00
parent 6c9554ddb2
commit ade7172a25
3 changed files with 9 additions and 9 deletions

View File

@ -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.'));
}
}

View File

@ -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

View File

@ -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;
}