diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index f07580b..b46bd14 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -255,25 +255,25 @@ if ($uid): * limitations are exceeded. */ if (strlen($pi['pkgname']) > 64) { - $error = __("Error - Package name cannot be greater than %d characters", 64); + $error = _n("Error - Package name cannot be greater than %d character", "Error - Package name cannot be greater than %d characters", 64); break; } if (strlen($pi['url']) > 255) { - $error = __("Error - Package URL cannot be greater than %d characters", 255); + $error = _n("Error - Package URL cannot be greater than %d character", "Error - Package URL cannot be greater than %d characters", 255); break; } if (strlen($pi['pkgdesc']) > 255) { - $error = __("Error - Package description cannot be greater than %d characters", 255); + $error = __("Error - Package description cannot be greater than %d character", "Error - Package description cannot be greater than %d characters", 255); break; } foreach ($pi['license'] as $lic) { if (strlen($lic > 64)) { - $error = __("Error - Package license cannot be greater than %d characters", 64); + $error = __("Error - Package license cannot be greater than %d character", "Error - Package license cannot be greater than %d characters", 64); break; } } if (strlen($pkginfo[$key]['full-version']) > 32) { - $error = __("Error - Package version cannot be greater than %d characters", 32); + $error = __("Error - Package version cannot be greater than %d character", "Error - Package version cannot be greater than %d characters", 32); break; } diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php index 73d01a5..d869bbb 100644 --- a/web/lib/acctfuncs.inc.php +++ b/web/lib/acctfuncs.inc.php @@ -119,8 +119,8 @@ function process_account_form($TYPE,$A,$U="",$T="",$S="",$E="", if (!$error && !valid_username($U)) { $error = __("The username is invalid.") . "