Update translator documentation.

Break lines in README at or before 80 characters.
i18n fixes.
Whitespace updates.
This commit is contained in:
Siebrand Mazeland
2011-04-25 19:27:18 +02:00
parent a4c5a0a229
commit 7ad9f23b12
4 changed files with 18 additions and 12 deletions

View File

@@ -83,7 +83,8 @@ class MollomPlugin extends Plugin
);
$response = $this->mollom('mollom.checkContent', $data);
if ($response['spam'] == MOLLOM_ANALYSIS_SPAM) {
throw new ClientException(_m("Spam Detected."), 400);
// TRANS: Client exception thrown when notice content triggers the spam filter.
throw new ClientException(_m('Spam Detected.'), 400);
}
if ($response['spam'] == MOLLOM_ANALYSIS_UNSURE) {
//if unsure, let through