From 9dbea53980ab99e3c828a109ffb751cc3fb3d491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Prod=27homme?= Date: Mon, 7 Oct 2024 10:21:02 +0200 Subject: [PATCH] =?UTF-8?q?Replace=20the=20default=20=E2=80=9Cno=20data?= =?UTF-8?q?=E2=80=9D=20widget=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/widget/no-data/index.tsx | 2 +- frontend/translations/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/widget/no-data/index.tsx b/frontend/src/components/widget/no-data/index.tsx index 67c83474..088e7bbb 100644 --- a/frontend/src/components/widget/no-data/index.tsx +++ b/frontend/src/components/widget/no-data/index.tsx @@ -17,7 +17,7 @@ const NoData: FCWithMessages = ({

{error && message} - {!error && t('data-not-available')} + {!error && t('no-data-available')}

); diff --git a/frontend/translations/en.json b/frontend/translations/en.json index 62477651..d3a5d068 100644 --- a/frontend/translations/en.json +++ b/frontend/translations/en.json @@ -333,7 +333,7 @@ "widget": { "updated-on": "Updated on {date}", "loading-data": "Loading data...", - "data-not-available": "Data not available" + "no-data-available": "No data available" }, "chart-conservation": { "30x30-target": "30x30 Target",