From 35c70ce3191df99b4c2ec7c4e22e958f094b0116 Mon Sep 17 00:00:00 2001 From: R-Lawton Date: Wed, 23 Oct 2024 14:40:00 +0100 Subject: [PATCH] linter and i18n Signed-off-by: R-Lawton --- locales/en/plugin__kuadrant-console-plugin.json | 4 +++- src/components/KuadrantOverviewPage.tsx | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/locales/en/plugin__kuadrant-console-plugin.json b/locales/en/plugin__kuadrant-console-plugin.json index 459ecc9..cf1fe8d 100644 --- a/locales/en/plugin__kuadrant-console-plugin.json +++ b/locales/en/plugin__kuadrant-console-plugin.json @@ -109,5 +109,7 @@ "Visit the blog": "Visit the blog", "Weight": "Weight", "YAML View": "YAML View", - "You can view and create HTTPRoutes": "You can view and create HTTPRoutes" + "You can view and create HTTPRoutes": "You can view and create HTTPRoutes", + "Create Gateway": "Create Gateway", + "Create HTTPRoute":"Create HTTPRoute" } \ No newline at end of file diff --git a/src/components/KuadrantOverviewPage.tsx b/src/components/KuadrantOverviewPage.tsx index 8a3ce57..31fa334 100644 --- a/src/components/KuadrantOverviewPage.tsx +++ b/src/components/KuadrantOverviewPage.tsx @@ -68,11 +68,9 @@ const KuadrantOverviewPage: React.FC = () => { sessionStorage.getItem('hideGettingStarted') === 'true', ); const onToggleClick = () => { - console.log("Hello toggle click",!isCreateOpen) setIsCreateOpen(!isCreateOpen); }; - React.useEffect(() => { if (ns && ns !== activeNamespace) { setActiveNamespace(ns); @@ -391,7 +389,7 @@ const KuadrantOverviewPage: React.FC = () => { - {t('Gateways test')} + {t('Gateways')}