summaryrefslogtreecommitdiff
path: root/actions/designadminpanel.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-25 13:14:33 -0700
committerBrion Vibber <brion@pobox.com>2010-10-25 13:14:33 -0700
commitb483a0549f115b2d5f2cfb3d447e6cc5c4f469f3 (patch)
treef63f4f3e93bad7611f4b5651171fc5122ec65455 /actions/designadminpanel.php
parent3b6f738ab73b7f77dd09ac21dd9446876776fc04 (diff)
parentca489631db840e33757a71a7e4cb56b187c182d3 (diff)
Merge branch '1.0.x' into schema-x
Conflicts: plugins/CacheLog/locale/nb/LC_MESSAGES/CacheLog.po
Diffstat (limited to 'actions/designadminpanel.php')
-rw-r--r--actions/designadminpanel.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/actions/designadminpanel.php b/actions/designadminpanel.php
index 199be43ea..321a8ee5e 100644
--- a/actions/designadminpanel.php
+++ b/actions/designadminpanel.php
@@ -120,8 +120,11 @@ class DesignadminpanelAction extends AdminPanelAction
&& empty($_POST)
&& ($_SERVER['CONTENT_LENGTH'] > 0)
) {
- $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;
}