From: David Date: Fri, 25 Apr 2014 04:29:03 +0000 (+0200) Subject: Now more friendly error message. Will tomorrow add a german translation. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=741aab091601ce268df44bb32b87cd9a81804192;p=friendica.git Now more friendly error message. Will tomorrow add a german translation. David --- diff --git a/mod/wall_attach.php b/mod/wall_attach.php index ad391856f0..646a776a4a 100644 --- a/mod/wall_attach.php +++ b/mod/wall_attach.php @@ -72,7 +72,7 @@ function wall_attach_post(&$a) { */ if($filesize <=0) { - notice(t('$filesize <= 0; upload refused') . EOL); + notice(t('Sorry, maybe your upload is bigger than the PHP configuration allows') . EOL .(t('Or - did you try to upload an empty file?')) . EOL); @unlink($src); killme(); }