forked from GNUsocial/gnu-social
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user