Fix gettext domain for messages in plugins "_()" to "_m()".

Some other i18n and L10n updates, too.

i18n/L10n review not complete.
This commit is contained in:
Siebrand Mazeland
2011-03-30 22:30:23 +02:00
parent 0ac0925309
commit 14456cbbb2
67 changed files with 264 additions and 251 deletions

View File

@@ -71,7 +71,8 @@ class UserLimitPlugin extends Plugin
$cnt = $cls->count();
if ($cnt >= $this->maxUsers) {
$msg = sprintf(_('Cannot register; maximum number of users (%d) reached.'),
// @todo FIXME: i18n issue. Needs plural.
$msg = sprintf(_m('Cannot register; maximum number of users (%d) reached.'),
$this->maxUsers);
throw new ClientException($msg);