From 6a88f3e7f4d163cd184b88755740cca2add25e98 Mon Sep 17 00:00:00 2001 From: Pavan Gangireddy Date: Sat, 28 May 2022 14:58:31 +0530 Subject: [PATCH 1/3] Update spelling from useLoadiing to useLoading --- hooks/useFetch.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hooks/useFetch.js b/hooks/useFetch.js index 029f6219..5b824d1b 100644 --- a/hooks/useFetch.js +++ b/hooks/useFetch.js @@ -5,14 +5,14 @@ import useApi from './useApi'; export default function useFetch(url, options = {}, update = []) { const [response, setResponse] = useState(); const [error, setError] = useState(); - const [loading, setLoadiing] = useState(false); + const [loading, setLoading] = useState(false); const [count, setCount] = useState(0); const { get } = useApi(); const { params = {}, headers = {}, disabled, delay = 0, interval, onDataLoad } = options; async function loadData(params) { try { - setLoadiing(true); + setLoading(true); setError(null); const time = performance.now(); @@ -32,7 +32,7 @@ export default function useFetch(url, options = {}, update = []) { console.error(e); setError(e); } finally { - setLoadiing(false); + setLoading(false); } } From 4726e8464d8154851784f7b7a52182ffb48305ac Mon Sep 17 00:00:00 2001 From: MagicLike Date: Tue, 31 May 2022 14:13:40 +0200 Subject: [PATCH 2/3] Update de-DE.json Corrected a few translations --- lang/de-DE.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/de-DE.json b/lang/de-DE.json index 1e232411..50832c21 100644 --- a/lang/de-DE.json +++ b/lang/de-DE.json @@ -51,7 +51,7 @@ "label.settings": "Einstellungen", "label.share-url": "Freigabe-URL", "label.single-day": "Ein Tag", - "label.theme": "Theme", + "label.theme": "Thema", "label.this-month": "Diesen Monat", "label.this-week": "Diese Woche", "label.this-year": "Dieses Jahr", @@ -92,7 +92,7 @@ "metrics.countries": "Länder", "metrics.device.desktop": "Desktop", "metrics.device.laptop": "Laptop", - "metrics.device.mobile": "Mobiltelefon", + "metrics.device.mobile": "Handy", "metrics.device.tablet": "Tablet", "metrics.devices": "Geräte", "metrics.events": "Ereignisse", From ff8e8a37c8f1c3e94b460202e43ce80f83d13e8c Mon Sep 17 00:00:00 2001 From: zx900930 Date: Wed, 1 Jun 2022 14:10:16 +0200 Subject: [PATCH 3/3] Fix missing Dashboard translation --- components/pages/Dashboard.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/pages/Dashboard.js b/components/pages/Dashboard.js index 4ac7f85d..31931086 100644 --- a/components/pages/Dashboard.js +++ b/components/pages/Dashboard.js @@ -32,7 +32,9 @@ export default function Dashboard() { return ( -
Dashboard
+
+ +