L10n/i18n updates.
This commit is contained in:
parent
6c9554ddb2
commit
ade7172a25
@ -120,13 +120,13 @@ class FacebookadminpanelAction extends AdminPanelAction
|
|||||||
|
|
||||||
if (mb_strlen($values['facebook']['appid']) > 255) {
|
if (mb_strlen($values['facebook']['appid']) > 255) {
|
||||||
$this->clientError(
|
$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) {
|
if (mb_strlen($values['facebook']['secret']) > 255) {
|
||||||
$this->clientError(
|
$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(
|
$this->input(
|
||||||
'appid',
|
'appid',
|
||||||
_m('Application ID'),
|
_m('Application ID'),
|
||||||
_m('ID of your Facebook application'),
|
_m('ID of your Facebook application.'),
|
||||||
'facebook'
|
'facebook'
|
||||||
);
|
);
|
||||||
$this->unli();
|
$this->unli();
|
||||||
@ -191,7 +191,7 @@ class FacebookAdminPanelForm extends AdminForm
|
|||||||
$this->input(
|
$this->input(
|
||||||
'secret',
|
'secret',
|
||||||
_m('Secret'),
|
_m('Secret'),
|
||||||
_m('Application secret'),
|
_m('Application secret.'),
|
||||||
'facebook'
|
'facebook'
|
||||||
);
|
);
|
||||||
$this->unli();
|
$this->unli();
|
||||||
@ -207,6 +207,6 @@ class FacebookAdminPanelForm extends AdminForm
|
|||||||
*/
|
*/
|
||||||
function formActions()
|
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.'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -147,7 +147,7 @@ class FacebookfinishloginAction extends Action
|
|||||||
|
|
||||||
if (!$this->boolean('license')) {
|
if (!$this->boolean('license')) {
|
||||||
$this->showForm(
|
$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')
|
$this->trimmed('newname')
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
@ -182,7 +182,7 @@ class FacebookfinishloginAction extends Action
|
|||||||
'div', 'instructions',
|
'div', 'instructions',
|
||||||
// TRANS: %s is the site name.
|
// TRANS: %s is the site name.
|
||||||
sprintf(
|
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')
|
common_config('site', 'name')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@ -265,7 +265,7 @@ class FacebookfinishloginAction extends Action
|
|||||||
// TRANS: Field label.
|
// TRANS: Field label.
|
||||||
$this->input('newname', _m('New nickname'),
|
$this->input('newname', _m('New nickname'),
|
||||||
($this->username) ? $this->username : '',
|
($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');
|
$this->elementEnd('li');
|
||||||
|
|
||||||
// Hook point for captcha etc
|
// Hook point for captcha etc
|
||||||
|
@ -257,7 +257,7 @@ class FacebooksettingsAction extends SettingsAction {
|
|||||||
|
|
||||||
if ($result === false) {
|
if ($result === false) {
|
||||||
common_log_db_error($user, 'DELETE', __FILE__);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user