From 15870bcc99fb6b8bfd549fad63569a7ee667e4cb Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Wed, 13 Mar 2024 14:54:35 +0100 Subject: [PATCH] #771 - Fix lowercased data label --- CHANGELOG.md | 1 + l10n/bundle.l10n.fr.json | 2 +- l10n/bundle.l10n.it.json | 2 +- l10n/bundle.l10n.json | 2 +- src/dashboardWebView/components/Header/Header.tsx | 3 +-- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0741c512..9fd3265c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ### 🐞 Fixes - [#768](https://github.com/estruyf/vscode-front-matter/issues/768): Update broken link to the documentation +- [#771](https://github.com/estruyf/vscode-front-matter/issues/771): Fix lowercase `data` tab label ## [10.0.2] - 2024-03-01 diff --git a/l10n/bundle.l10n.fr.json b/l10n/bundle.l10n.fr.json index 68d68d09..e7da0220 100644 --- a/l10n/bundle.l10n.fr.json +++ b/l10n/bundle.l10n.fr.json @@ -105,7 +105,7 @@ "dashboard.header.tabs.contents": "Contenus", "dashboard.header.tabs.media": "Médias", "dashboard.header.tabs.snippets": "Snippets", - "dashboard.header.tabs.data": "données", + "dashboard.header.tabs.data": "Données", "dashboard.header.tabs.taxonomies": "Taxonomies", "dashboard.header.viewSwitch.toGrid": "Afficher en grille", "dashboard.header.viewSwitch.toList": "Afficher en liste", diff --git a/l10n/bundle.l10n.it.json b/l10n/bundle.l10n.it.json index aa38a8b4..3a6946db 100644 --- a/l10n/bundle.l10n.it.json +++ b/l10n/bundle.l10n.it.json @@ -105,7 +105,7 @@ "dashboard.header.tabs.contents": "Contenuto", "dashboard.header.tabs.media": "Media", "dashboard.header.tabs.snippets": "Snippets", - "dashboard.header.tabs.data": "dati", + "dashboard.header.tabs.data": "Dati", "dashboard.header.tabs.taxonomies": "Tassonomie", "dashboard.header.viewSwitch.toGrid": "Passa alla griglia", "dashboard.header.viewSwitch.toList": "Passa all'elenco", diff --git a/l10n/bundle.l10n.json b/l10n/bundle.l10n.json index 523f8d44..6e1f2b98 100644 --- a/l10n/bundle.l10n.json +++ b/l10n/bundle.l10n.json @@ -199,7 +199,7 @@ "dashboard.header.tabs.contents": "Contents", "dashboard.header.tabs.media": "Media", "dashboard.header.tabs.snippets": "Snippets", - "dashboard.header.tabs.data": "data", + "dashboard.header.tabs.data": "Data", "dashboard.header.tabs.taxonomies": "Taxonomies", "dashboard.header.viewSwitch.toGrid": "Change to grid", diff --git a/src/dashboardWebView/components/Header/Header.tsx b/src/dashboardWebView/components/Header/Header.tsx index bf1a45e2..10705f84 100644 --- a/src/dashboardWebView/components/Header/Header.tsx +++ b/src/dashboardWebView/components/Header/Header.tsx @@ -18,8 +18,7 @@ import { ArrowTopRightOnSquareIcon, BoltIcon, PlusIcon } from '@heroicons/react/ import { HeartIcon } from '@heroicons/react/24/solid'; import { useLocation, useNavigate } from 'react-router-dom'; import { routePaths } from '../..'; -import { useEffect, useMemo } from 'react'; -import { SyncButton } from './SyncButton'; +import { useMemo } from 'react'; import { Pagination } from './Pagination'; import { GroupOption } from '../../constants/GroupOption'; import usePagination from '../../hooks/usePagination';