From 54034c186cf9861d78743fc8fd25b9a1a9b9af95 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 18 Nov 2019 20:58:10 +0100 Subject: [PATCH] Review comments Signed-off-by: DL6ER --- public/i18n/en/location.json | 6 +++++- src/views/RegexBlacklist.tsx | 6 +++--- src/views/RegexWhitelist.tsx | 6 +++--- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/public/i18n/en/location.json b/public/i18n/en/location.json index cad4736..587ef55 100644 --- a/public/i18n/en/location.json +++ b/public/i18n/en/location.json @@ -4,10 +4,14 @@ "Blacklist": "Blacklist", "Dashboard": "Dashboard", "Exact": "Exact", + "Regex": "Regex", "Wildcard": "Wildcard", "Login": "Login", "Logout": "Logout", - "Regex": "Regex", + "Exact whitelist": "Exact whitelist", + "Exact blacklist": "Exact blacklist", + "Regex whitelist": "Regex whitelist", + "Regex blacklist": "Regex blacklist", "Settings": "Settings", "Networking": "Networking", "Versions": "Versions", diff --git a/src/views/RegexBlacklist.tsx b/src/views/RegexBlacklist.tsx index f73b8ee..e31af49 100644 --- a/src/views/RegexBlacklist.tsx +++ b/src/views/RegexBlacklist.tsx @@ -3,7 +3,7 @@ * Network-wide ad blocking via your own hardware. * * Web Interface - * Regexlist page + * RegexBlacklist page * * This file is copyright under the latest version of the EUPL. * Please see LICENSE file for your rights under this license. */ @@ -14,7 +14,7 @@ import ListPage from "../components/list/ListPage"; import api from "../util/api"; import { isValidRegex } from "../util/validate"; -const Regexlist: FunctionComponent = props => { +const RegexBlacklist: FunctionComponent = props => { const { t } = props; return ( @@ -31,4 +31,4 @@ const Regexlist: FunctionComponent = props => { ); }; -export default withTranslation(["location", "lists"])(Regexlist); +export default withTranslation(["location", "lists"])(RegexBlacklist); diff --git a/src/views/RegexWhitelist.tsx b/src/views/RegexWhitelist.tsx index ebe8bf2..34e6627 100644 --- a/src/views/RegexWhitelist.tsx +++ b/src/views/RegexWhitelist.tsx @@ -3,7 +3,7 @@ * Network-wide ad blocking via your own hardware. * * Web Interface - * Regexlist page + * RegexWhitelist page * * This file is copyright under the latest version of the EUPL. * Please see LICENSE file for your rights under this license. */ @@ -14,7 +14,7 @@ import ListPage from "../components/list/ListPage"; import api from "../util/api"; import { isValidRegex } from "../util/validate"; -const Regexlist: FunctionComponent = props => { +const RegexWhitelist: FunctionComponent = props => { const { t } = props; return ( @@ -31,4 +31,4 @@ const Regexlist: FunctionComponent = props => { ); }; -export default withTranslation(["location", "lists"])(Regexlist); +export default withTranslation(["location", "lists"])(RegexWhitelist);