Moved "Regex" from common namespace to location

Also fixed Whitelist's note about wildcards. I plan on making it
possible to whitelist a domain even if it falls under a regex, so I
don't want to change the string if I don't have to.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12
2018-06-03 22:36:57 -04:00
parent cceba15cf3
commit 3fcef9c66e
4 changed files with 5 additions and 5 deletions
+1 -2
View File
@@ -11,6 +11,5 @@
"Type": "Type",
"Action": "Action",
"Enabled": "Enabled",
"Disabled": "Disabled",
"Regex": "Regex"
"Disabled": "Disabled"
}
+2 -1
View File
@@ -6,5 +6,6 @@
"Exact": "Exact",
"Wildcard": "Wildcard",
"Login": "Login",
"Logout": "Logout"
"Logout": "Logout",
"Regex": "Regex"
}
+1 -1
View File
@@ -158,4 +158,4 @@ class Login extends Component {
}
}
export default translate(["common", "login"])(Login);
export default translate(["login", "location"])(Login);
+1 -1
View File
@@ -19,7 +19,7 @@ const Whitelist = props => {
return (
<ListPage
title={t("Whitelist")}
note={<p>{t("Note: Whitelisting a subdomain of a regex blocked domain is not possible.")}</p>}
note={<p>{t("Note: Whitelisting a subdomain of a wildcard blocked domain is not possible.")}</p>}
placeholder={t("Add a domain (example.com or sub.example.com)")}
add={api.addWhitelist}
remove={api.removeWhitelist}