mirror of
https://github.com/gosticks/web.git
synced 2026-12-03 17:51:39 +00:00
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:
@@ -11,6 +11,5 @@
|
||||
"Type": "Type",
|
||||
"Action": "Action",
|
||||
"Enabled": "Enabled",
|
||||
"Disabled": "Disabled",
|
||||
"Regex": "Regex"
|
||||
"Disabled": "Disabled"
|
||||
}
|
||||
@@ -6,5 +6,6 @@
|
||||
"Exact": "Exact",
|
||||
"Wildcard": "Wildcard",
|
||||
"Login": "Login",
|
||||
"Logout": "Logout"
|
||||
"Logout": "Logout",
|
||||
"Regex": "Regex"
|
||||
}
|
||||
+1
-1
@@ -158,4 +158,4 @@ class Login extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
export default translate(["common", "login"])(Login);
|
||||
export default translate(["login", "location"])(Login);
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user