]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/editapplication.php
i18n/L10n consistency updates.
[quix0rs-gnu-social.git] / actions / editapplication.php
index 5d23627f1d11e1df5d825030f51b7b2dd35dc521..d1c7a5c3d58f0e632b860d19d32820e26291b1d3 100644 (file)
@@ -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;
         }