diff options
author | jim-p <jimp@pfsense.org> | 2016-01-29 08:18:59 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-01-29 08:19:21 -0500 |
commit | 1c0083d004e4aeaad0c22f63df393f40243e4dd4 (patch) | |
tree | 3b49db37a75591afc30b1bcc2f21e3b9602779a0 /src | |
parent | 1cd1435e8594c06bee8c4ac61edce9cec86af137 (diff) | |
download | pfsense-1c0083d004e4aeaad0c22f63df393f40243e4dd4.zip pfsense-1c0083d004e4aeaad0c22f63df393f40243e4dd4.tar.gz |
Fix easy rule problem when using a non-English language.
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 4dc70b2..8597e7b 100644 --- a/src/etc/inc/easyrule.inc +++ b/src/etc/inc/easyrule.inc @@ -142,7 +142,8 @@ function easyrule_block_rule_create($int = 'wan', $ipproto = "inet") { $filterent['source']['address'] = $blockaliasname . strtoupper($int); $filterent['destination']['any'] = ''; $filterent['descr'] = gettext("Easy Rule: Blocked from Firewall Log View"); - $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"); array_splice($a_filter, 0, 0, array($filterent)); |