Fix easy rule problem when using a non-English language, take 2.

This commit is contained in:
jim-p 2016-02-02 10:28:19 -05:00
parent b69a106aa2
commit 7e506f87e2

View File

@ -353,7 +353,8 @@ function easyrule_pass_rule_add($int, $proto, $srchost, $dsthost, $dstport, $ipp
pconfig_to_address($filterent['source'], $srchost, $srcmask);
pconfig_to_address($filterent['destination'], $dsthost, $dstmask, '', $dstport, $dstport);
$filterent['created'] = make_config_revision_entry(null, gettext("Easy Rule"));
/* Do not translate this, it's considered a username which cannot contain international characters */
$filterent['created'] = make_config_revision_entry(null, "Easy Rule");
$a_filter[] = $filterent;
write_config($filterent['descr']);