Index: lang/submit_po.inc =================================================================== --- lang/submit_po.inc (revision 151) +++ lang/submit_po.inc (working copy) @@ -201,4 +201,9 @@ # $_t["fr"]["Package upload successful"] = "--> Traduction française ici. <--"; # $_t["de"]["Package upload successful"] = "--> Deutsche Übersetzung hier. <--"; +$_t["en"]["Error - No file uploaded"] = "Error - No file uploaded"; +# $_t["es"]["Package upload successful"] = "--> Traducción española aquí. <--"; +# $_t["fr"]["Package upload successful"] = "--> Traduction française ici. <--"; +# $_t["de"]["Package upload successful"] = "--> Deutsche Übersetzung hier. <--"; + ?> Index: html/pkgsubmit.php =================================================================== --- html/pkgsubmit.php (revision 151) +++ html/pkgsubmit.php (working copy) @@ -67,6 +67,11 @@ # can only add/change packages in Unsupported. # + #Before processing, make sure we even have a file + # + if ($_FILES['pfile']['size'] == 0){ + $error = __("Error - No file uploaded"); + } if (!$error) { # no errors checking upload permissions, go ahead and try to process