Fixing gettext implementation

This commit is contained in:
Vinicius Coque 2010-04-28 17:28:10 -03:00
parent b7596b80fc
commit 39c0be7b5f

View File

@ -242,7 +242,7 @@ if (isAllowedPage("system_usermanager")) {
if (!empty($_POST['name'])) {
$ca = lookup_ca($_POST['caref']);
if (!$ca)
$input_errors[] = sprintf("Invalid internal Certificate Authority%s", "\n");
$input_errors[] = gettext("Invalid internal Certificate Authority") . "\n";
}
/* if this is an AJAX caller then handle via JSON */