From 7e506f87e28da023fc8e3334c90a01ab99cbb074 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 2 Feb 2016 10:28:19 -0500 Subject: [PATCH] Fix easy rule problem when using a non-English language, take 2. --- src/etc/inc/easyrule.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/etc/inc/easyrule.inc b/src/etc/inc/easyrule.inc index 8597e7b427..3ec6e5af88 100644 --- a/src/etc/inc/easyrule.inc +++ b/src/etc/inc/easyrule.inc @@ -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']);