From f93daf87cdd40680b699a98f103f63c231d0a4af Mon Sep 17 00:00:00 2001 From: garronej Date: Thu, 27 May 2021 05:48:24 +0200 Subject: [PATCH] Launcher: Add tooltip for 'save this configuratioin' --- .../CatalogLauncher/CatalogLauncherMainCard.tsx | 13 ++++++++----- src/app/i18n/resources.ts | 6 ++++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/app/components/pages/Catalog/CatalogLauncher/CatalogLauncherMainCard.tsx b/src/app/components/pages/Catalog/CatalogLauncher/CatalogLauncherMainCard.tsx index 4bbea82b0..864145085 100644 --- a/src/app/components/pages/Catalog/CatalogLauncher/CatalogLauncherMainCard.tsx +++ b/src/app/components/pages/Catalog/CatalogLauncher/CatalogLauncherMainCard.tsx @@ -12,7 +12,7 @@ import { useConstCallback } from "powerhooks"; import { TextField } from "app/components/designSystem/TextField"; import type { TextFieldProps } from "app/components/designSystem/TextField"; import { Tooltip } from "app/components/designSystem/Tooltip"; -import { capitalize } from "app/tools/capitalize"; +import { capitalize } from "app/tools/capitalize"; const { useClassNames } = createUseClassNames()( theme => ({ @@ -126,10 +126,12 @@ export const CatalogLauncherMainCard = memo((props: Props) => { onClick={onRequestCopyLaunchUrl} /> } - + + +
@@ -183,5 +185,6 @@ export declare namespace CatalogLauncherMainCard { launch: undefined 'friendly name': undefined; 'copy url helper text': undefined; + 'save configuration': undefined; }; } \ No newline at end of file diff --git a/src/app/i18n/resources.ts b/src/app/i18n/resources.ts index 90dcf85bf..9b2535e50 100644 --- a/src/app/i18n/resources.ts +++ b/src/app/i18n/resources.ts @@ -314,7 +314,8 @@ export const resources = id>({ "friendly name": "Friendly name", "launch": "Launch", "cancel": "Cancel", - "copy url helper text": "Copy url to restore this configuration" + "copy url helper text": "Copy url to restore this configuration", + "save configuration": "Save this configuration" } }, "fr": { @@ -534,7 +535,8 @@ export const resources = id>({ "friendly name": "Nom personalisé", "launch": "Lancer", "cancel": "Annuler", - "copy url helper text": "Copier l'URL permettant de restaurer cette configuration" + "copy url helper text": "Copier l'URL permettant de restaurer cette configuration", + "save configuration": "Enregistrer cette configuration" } /* spell-checker: enable */ }