X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Feditapplication.php;h=760b1d284e19eea9d4f044ed430952b59d88654f;hb=035081a803b005b8a2410c6936eac4027fda493c;hp=5d23627f1d11e1df5d825030f51b7b2dd35dc521;hpb=5ca29ab0de22b5d8167af5adb320d6acdda807b7;p=quix0rs-gnu-social.git diff --git a/actions/editapplication.php b/actions/editapplication.php index 5d23627f1d..760b1d284e 100644 --- a/actions/editapplication.php +++ b/actions/editapplication.php @@ -116,9 +116,11 @@ class EditApplicationAction extends OwnerDesignAction && empty($_POST) && ($_SERVER['CONTENT_LENGTH'] > 0) ) { - // TRANS: Client exception. %s is CONTENT_LENGTH (in bytes). - $msg = _('The server was unable to handle that much POST ' . - 'data (%s bytes) due to its current configuration.'); + // TRANS: Client error displayed when the number of bytes in a POST request exceeds a limit. + // TRANS: %s is the number of bytes of the CONTENT_LENGTH. + $msg = _m('The server was unable to handle that much POST data (%s byte) due to its current configuration.', + 'The server was unable to handle that much POST data (%s bytes) due to its current configuration.', + intval($_SERVER['CONTENT_LENGTH'])); $this->clientException(sprintf($msg, $_SERVER['CONTENT_LENGTH'])); return; } @@ -183,7 +185,7 @@ class EditApplicationAction extends OwnerDesignAction return; } elseif (mb_strlen($name) > 255) { // TRANS: Validation error shown when providing too long a name in the "Edit application" form. - $this->showForm(_('Name is too long (max 255 characters).')); + $this->showForm(_('Name is too long (maximum 255 characters).')); return; } else if ($this->nameExists($name)) { // TRANS: Validation error shown when providing a name for an application that already exists in the "Edit application" form.