diff options
author | jim-p <jimp@pfsense.org> | 2016-02-02 10:28:19 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-02-02 10:28:19 -0500 |
commit | 7e506f87e28da023fc8e3334c90a01ab99cbb074 (patch) | |
tree | ff37165ba544bc274f7cb515a93528e3739f8b34 /src | |
parent | b69a106aa2ee995cc1e3fb3c161fc8ffb553605b (diff) | |
download | pfsense-7e506f87e28da023fc8e3334c90a01ab99cbb074.zip pfsense-7e506f87e28da023fc8e3334c90a01ab99cbb074.tar.gz |
Fix easy rule problem when using a non-English language, take 2.
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/easyrule.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/inc/easyrule.inc b/src/etc/inc/easyrule.inc index 8597e7b..3ec6e5a 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']); |