Fix gettext call added wrong

This commit is contained in:
Renato Botelho 2010-08-10 13:21:53 -03:00
parent 6c74ac2363
commit 01b8a2ff8e

View File

@ -317,7 +317,7 @@ if ($_GET['act'] == "add") {
break;
}
$newifname = 'opt' . $i;
$descr = sprintf(gettext("OPT '%s'"),$i);
$descr = "OPT" . $i;
$config['interfaces'][$newifname] = array();
$config['interfaces'][$newifname]['descr'] = $descr;
}