diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 4c0c61a3..78ca1ab2 100755 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -214,7 +214,8 @@ "pihole": { "queries": "Queries", "blocked": "Blocked", - "gravity": "Gravity" + "gravity": "Gravity", + "percentage": "Percentage" }, "adguard": { "queries": "Queries", diff --git a/public/locales/it/common.json b/public/locales/it/common.json index 9aef4b6d..8fdae766 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -107,6 +107,7 @@ "pihole": { "queries": "Richieste", "blocked": "Bloccati", + "percentage": "Percentuale", "gravity": "Severità" }, "npm": { diff --git a/src/widgets/pihole/component.jsx b/src/widgets/pihole/component.jsx index 16cfa43f..d39e921f 100644 --- a/src/widgets/pihole/component.jsx +++ b/src/widgets/pihole/component.jsx @@ -20,6 +20,7 @@ export default function Component({ service }) { + ); @@ -29,6 +30,7 @@ export default function Component({ service }) { + ); diff --git a/src/widgets/pihole/widget.js b/src/widgets/pihole/widget.js index e7593810..6ecd615b 100644 --- a/src/widgets/pihole/widget.js +++ b/src/widgets/pihole/widget.js @@ -10,6 +10,7 @@ const widget = { validate: [ "dns_queries_today", "ads_blocked_today", + "ads_percentage_today", "domains_being_blocked" ] },