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.")
);
}
}
$this->input(
'appid',
_m('Application ID'),
- _m('ID of your Facebook application'),
+ _m('ID of your Facebook application.'),
'facebook'
);
$this->unli();
$this->input(
'secret',
_m('Secret'),
- _m('Application secret'),
+ _m('Application secret.'),
'facebook'
);
$this->unli();
*/
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.'));
}
}
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;
'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')
)
);
// 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
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;
}