L10n/i18n tweaks.

This commit is contained in:
Siebrand Mazeland 2011-04-03 15:06:52 +02:00
parent ea8b468348
commit 527151c5ef
2 changed files with 4 additions and 2 deletions

View File

@ -335,7 +335,7 @@ class QnAPlugin extends MicroAppPlugin
$form->show(); $form->show();
} }
} else { } else {
$out->text(_m('Question data is missing')); $out->text(_m('Question data is missing.'));
} }
$out->elementEnd('div'); $out->elementEnd('div');

View File

@ -109,7 +109,9 @@ class QnashowanswerAction extends ShownoticeAction
$question = $this->answer->getQuestion(); $question = $this->answer->getQuestion();
return sprintf( return sprintf(
_m('%s\'s answer to "%s"'), // TRANS: Page title.
// TRANS: %1$s is the user who answered a question, %2$s is the question.
_m('1$%s\'s answer to "%2$s"'),
$this->user->nickname, $this->user->nickname,
$question->title $question->title
); );