diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-25 23:51:00 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-28 01:21:09 +0200 |
commit | a12474a99d0322123b1c8318dfa609d5d5392c7f (patch) | |
tree | 85e97c1475acd17cce415ff80848d518ab7e4be9 /actions/newgroup.php | |
parent | 60b66bdd6e3bbc083aec6126b8583714dc24b94d (diff) |
* i18n/L10n fixes.
* translator documentation updated.
* superfluous whitespace removed.
Diffstat (limited to 'actions/newgroup.php')
-rw-r--r-- | actions/newgroup.php | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/actions/newgroup.php b/actions/newgroup.php index ebfe9b599..295192036 100644 --- a/actions/newgroup.php +++ b/actions/newgroup.php @@ -142,7 +142,12 @@ class NewgroupAction extends Action $this->showForm(_('Full name is too long (maximum 255 characters).')); return; } else if (User_group::descriptionTooLong($description)) { - $this->showForm(sprintf(_('description is too long (max %d chars).'), User_group::maxDescription())); + // TRANS: Form validation error creating a new group because the description is too long. + // TRANS: %d is the maximum number of allowed characters. + $this->showForm(sprintf(_m('Description is too long (maximum %d character).', + 'Description is too long (maximum %d characters).', + User_group::maxDescription(), + User_group::maxDescription())); return; } else if (!is_null($location) && mb_strlen($location) > 255) { $this->showForm(_('Location is too long (maximum 255 characters).')); @@ -156,7 +161,11 @@ class NewgroupAction extends Action } if (count($aliases) > common_config('group', 'maxaliases')) { - $this->showForm(sprintf(_('Too many aliases! Maximum %d.'), + // TRANS: Client error shown when providing too many aliases during group creation. + // TRANS: %d is the maximum number of allowed aliases. + $this->showForm(sprintf(_m('Too many aliases! Maximum %d allowed.', + 'Too many aliases! Maximum %d allowed.', + common_config('group', 'maxaliases')), common_config('group', 'maxaliases'))); return; } |