* 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

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