From 1c0083d004e4aeaad0c22f63df393f40243e4dd4 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 29 Jan 2016 08:18:59 -0500 Subject: [PATCH] Fix easy rule problem when using a non-English language. --- 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 4dc70b2eda..8597e7b427 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));