From 4f4c3e552bf504efac261064ead1fe54b556bc98 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Sun, 17 Jun 2018 12:49:50 -0400 Subject: [PATCH] Rename Forward Destinations chart to Queries Answered By Destination Also updated translations. Signed-off-by: Mcat12 --- public/i18n/en/dashboard.json | 3 ++- public/i18n/es/dashboard.json | 4 +++- public/i18n/nl/common.json | 15 --------------- public/i18n/nl/dashboard.json | 17 ----------------- public/i18n/nl/footer.json | 5 ----- public/i18n/nl/lists.json | 12 ------------ public/i18n/nl/location.json | 10 ---------- public/i18n/nl/login.json | 7 ------- public/i18n/nl/query-log.json | 6 ------ src/components/ForwardDestinationsChart.js | 2 +- 10 files changed, 6 insertions(+), 75 deletions(-) delete mode 100644 public/i18n/nl/common.json delete mode 100644 public/i18n/nl/dashboard.json delete mode 100644 public/i18n/nl/footer.json delete mode 100644 public/i18n/nl/lists.json delete mode 100644 public/i18n/nl/location.json delete mode 100644 public/i18n/nl/login.json delete mode 100644 public/i18n/nl/query-log.json diff --git a/public/i18n/en/dashboard.json b/public/i18n/en/dashboard.json index 12d768d..31be4b0 100644 --- a/public/i18n/en/dashboard.json +++ b/public/i18n/en/dashboard.json @@ -18,5 +18,6 @@ "Client activity from {{from}} to {{to}}": "Client activity from {{from}} to {{to}}", "{{percent}}% of {{total}}": "{{percent}}% of {{total}}", "No Clients Found": "No Clients Found", - "No Domains Found": "No Domains Found" + "No Domains Found": "No Domains Found", + "Queries Answered By Destination": "Queries Answered By Destination" } \ No newline at end of file diff --git a/public/i18n/es/dashboard.json b/public/i18n/es/dashboard.json index 9df6258..a8fa408 100644 --- a/public/i18n/es/dashboard.json +++ b/public/i18n/es/dashboard.json @@ -16,5 +16,7 @@ "Total Queries": "Peticiones totales", "Blocked Queries": "Bloqueadas", "Client activity from {{from}} to {{to}}": "Actividad del cliente {{from}} a {{to}}", - "{{percent}}% of {{total}}": "{{percent}}% de {{total}}" + "{{percent}}% of {{total}}": "{{percent}}% de {{total}}", + "No Clients Found": "No se han encontrado clientes", + "No Domains Found": "No se han encontrado Dominios" } \ No newline at end of file diff --git a/public/i18n/nl/common.json b/public/i18n/nl/common.json deleted file mode 100644 index 156c19b..0000000 --- a/public/i18n/nl/common.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "Status": "toestand", - "Donate": "schenken", - "Domain": "Domein", - "Hits": "Hits", - "Frequency": "Frequentie", - "Client": "Cliënt", - "Requests": "verzoeken", - "Add": "Toevoegen", - "Time": "Tijd", - "Type": "Type", - "Action": "Actie", - "Enabled": "Activeren", - "Disabled": "Deactiveren" -} \ No newline at end of file diff --git a/public/i18n/nl/dashboard.json b/public/i18n/nl/dashboard.json deleted file mode 100644 index 1f78b42..0000000 --- a/public/i18n/nl/dashboard.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "Domains On Blocklist": "Domeinen op blacklist", - "Query Types": "Query Types", - "Forward Destinations": "forward bestemmingen", - "Top Permitted Domains": "Top Domeinen", - "Top Blocked Domains": "Top Adverteerders", - "Top Clients": "Top Cliënten", - "Total Queries ({{count}} clients)": "", - "Total Queries ({{count}} clients)_plural": "", - "Queries Blocked": "Geblokkeerde querys", - "Percent Blocked": "Procent geblokkeerd", - "Queries Over Last 24 Hours": "Queries over de laatste 24 uur", - "Queries Answered By": "Querys beantword door", - "Queries from {{from}} to {{to}}": "Querys van naar", - "Total Queries": "Totaal aantal querys", - "Blocked Queries": "Geblokkeerde querys" -} \ No newline at end of file diff --git a/public/i18n/nl/footer.json b/public/i18n/nl/footer.json deleted file mode 100644 index 4aace06..0000000 --- a/public/i18n/nl/footer.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if you found this useful": "Als u dit nuttig vond", - "Core Version": "Pi-hole Version", - "Web Version": "Web Interface Version" -} \ No newline at end of file diff --git a/public/i18n/nl/lists.json b/public/i18n/nl/lists.json deleted file mode 100644 index 3c08a11..0000000 --- a/public/i18n/nl/lists.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "Adding {{domain}}...": "Het toevoegen aan de", - "Successfully added {{domain}}": "Toegevoegd aan de lijst", - "Failed to add {{domain}}": "Verzuimde", - "Note: Whitelisting a subdomain of a wildcard blocked domain is not possible.": "Opgelet: Het whitelisten van een subdomein of wildcard van een geblokkeerd domein is niet mogelijk.", - "Note: Only the domain and subdomains of the blocked domain will be blocked.": "Opgelost: Alleen het domein en subdomein van het domein zullen worden geblokkeerd.", - "Add a domain (example.com or sub.example.com)": "Voeg domein toe (example.com of sub.example.com)", - "{{domain}} is already added": "is reeds toegevoegd", - "Failed to remove {{domain}}": "Mislukt om te verwijderen", - "There are no domains in this list": "Er zijn geen domeinen in deze lijst", - "Input a regular expression": "Voer een reguliere expressie in" -} \ No newline at end of file diff --git a/public/i18n/nl/location.json b/public/i18n/nl/location.json deleted file mode 100644 index b08650a..0000000 --- a/public/i18n/nl/location.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Query Log": "Query Log", - "Whitelist": "whitelist", - "Blacklist": "blacklist", - "Dashboard": "Dashboard", - "Exact": "Exact", - "Login": "Login", - "Logout": "Uitloggen", - "Regex": "Reguliere expressie" -} \ No newline at end of file diff --git a/public/i18n/nl/login.json b/public/i18n/nl/login.json deleted file mode 100644 index a23880a..0000000 --- a/public/i18n/nl/login.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Password": "Wachtwoord", - "Sign in to start your session": "Log in om uw sessie te starten", - "Log in": "Log in", - "Forgot Password": "Wachtwoord vergeten", - "Wrong Password!": "Foutief wachtwoord!" -} \ No newline at end of file diff --git a/public/i18n/nl/query-log.json b/public/i18n/nl/query-log.json deleted file mode 100644 index 96f561c..0000000 --- a/public/i18n/nl/query-log.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Blocked": "Geblokkeerd", - "Allowed (forwarded)": "Toegestaan (doorgestuurd)", - "Blocked (regex)": "Geblokkeerd (reguliere expressie)", - "Blocked (blacklist)": "Geblokkeerd (blacklist)" -} \ No newline at end of file diff --git a/src/components/ForwardDestinationsChart.js b/src/components/ForwardDestinationsChart.js index 11641c5..34b623f 100644 --- a/src/components/ForwardDestinationsChart.js +++ b/src/components/ForwardDestinationsChart.js @@ -94,7 +94,7 @@ class ForwardDestinationsChart extends Component { tooltips: { enabled: true, callbacks: { - title: () => t("Queries Answered By"), + title: () => t("Queries Answered By Destination"), label: (tooltipItems, data) => { const dataset = data.datasets[tooltipItems.datasetIndex]; const label = data.labels[tooltipItems.index];