* i18n/L10n updates.

* add FIXMEs for bad i18n.
* add translator hints.
This commit is contained in:
Siebrand Mazeland
2010-09-19 00:06:21 +02:00
parent 06272668ec
commit 02299d5bd7
4 changed files with 11 additions and 11 deletions

View File

@@ -121,12 +121,15 @@ class FBConnectSettingsAction extends ConnectSettingsAction
if (!$user->password) {
$this->elementStart('p', array('class' => 'form_guide'));
// @todo FIXME: Bad i18n. Patchwork message in three parts.
// TRANS: Followed by a link containing text "set a password".
$this->text(_m('Disconnecting your Faceboook ' .
'would make it impossible to log in! Please '));
$this->element('a',
array('href' => common_local_url('passwordsettings')),
// TRANS: Preceded by "Please " and followed by " first."
_m('set a password'));
// TRANS: Preceded by "Please set a password".
$this->text(_m(' first.'));
$this->elementEnd('p');
} else {

View File

@@ -219,22 +219,22 @@ class FacebookAction extends Action
function showInstructions()
{
$this->elementStart('div', array('class' => 'facebook_guide'));
$this->elementStart('dl', array('class' => 'system_notice'));
$this->element('dt', null, 'Page Notice');
$loginmsg_part1 = _m('To use the %s Facebook Application you need to login ' .
'with your username and password. Don\'t have a username yet? ');
'with your username and password. Don\'t have a username yet?');
$loginmsg_part2 = _m(' a new account.');
$this->elementStart('dd');
$this->elementStart('p');
$this->text(sprintf($loginmsg_part1, common_config('site', 'name')));
// @todo FIXME: Bad i18n. Patchwork message in two parts.
$this->element('a',
array('href' => common_local_url('register')), _m('Register'));
$this->text($loginmsg_part2);
$this->text( " " . $loginmsg_part2);
$this->elementEnd('p');
$this->elementEnd('dd');