From d25e812bbd9e50e2cafa1e64341a37d7e793eaa8 Mon Sep 17 00:00:00 2001 From: Rafael Lucas Date: Fri, 23 Jul 2010 15:06:52 -0300 Subject: Corrections gettext calls on services_captiveportal_vouchers_edit.php --- usr/local/www/services_captiveportal_vouchers_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/services_captiveportal_vouchers_edit.php b/usr/local/www/services_captiveportal_vouchers_edit.php index 7381f90..932837e 100644 --- a/usr/local/www/services_captiveportal_vouchers_edit.php +++ b/usr/local/www/services_captiveportal_vouchers_edit.php @@ -77,7 +77,7 @@ if ($_POST) { /* input validation */ $reqdfields = explode(" ", "number count minutes"); - $reqdfieldsn = array(gettext("Number"),getext("Count"),gettext("minutes")); + $reqdfieldsn = array(gettext("Number"),gettext("Count"),gettext("minutes")); do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); @@ -116,7 +116,7 @@ if ($_POST) { $rollent['active'] = array(); voucher_write_used_db($rollent['number'], $rollent['used']); voucher_write_active_db($rollent['number'], array()); // create empty DB - voucher_log(LOG_INFO, "All {$rollent['count']} vouchers from Roll {$rollent['number']} marked unused"); + voucher_log(LOG_INFO,printf(gettext("All %s vouchers from Roll %s marked unused"), $rollent['count'], $rollent['number'])); } else { // existing roll has been modified but without changing the count // read active and used DB from ramdisk and store it in XML config -- cgit v1.1