From fd95f45d95c449f4f873ddaf8a9254bcd2bb0599 Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Thu, 16 Jan 2025 22:11:45 +0100 Subject: [PATCH] style: improve colors and labels --- frontend/messages/en.json | 3 ++- frontend/src/lib/components/Forms/ModelForm/FolderForm.svelte | 2 +- .../src/routes/(app)/(internal)/[model=urlmodel]/+page.svelte | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 6f684c634..6b7da58dd 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -1088,5 +1088,6 @@ "implementationScore": "Implementation score", "useDocumentationScore": "Use documentation score", "useDocumentationScoreHelpText": "A second score (the documentation score) will be available for scoring the requirements.", - "importFolder": "Import domain" + "importFolder": "Import domain", + "importFolderHelpText": "Import a domain from a JSON or ZIP file" } diff --git a/frontend/src/lib/components/Forms/ModelForm/FolderForm.svelte b/frontend/src/lib/components/Forms/ModelForm/FolderForm.svelte index 1a2fc48fc..30119c198 100644 --- a/frontend/src/lib/components/Forms/ModelForm/FolderForm.svelte +++ b/frontend/src/lib/components/Forms/ModelForm/FolderForm.svelte @@ -23,5 +23,5 @@ bind:cachedValue={formDataCache['name']} data-focusindex="0" /> - + {/if} diff --git a/frontend/src/routes/(app)/(internal)/[model=urlmodel]/+page.svelte b/frontend/src/routes/(app)/(internal)/[model=urlmodel]/+page.svelte index 1d8e46783..f3a8ec84d 100644 --- a/frontend/src/routes/(app)/(internal)/[model=urlmodel]/+page.svelte +++ b/frontend/src/routes/(app)/(internal)/[model=urlmodel]/+page.svelte @@ -65,7 +65,7 @@ type: 'component', component: modalComponent, // Data - title: safeTranslate('add-' + data.model.localName) + title: safeTranslate('importFolder') }; if (checkConstraints(data.createForm.constraints, data.model.foreignKeys).length > 0) { modalComponent = { @@ -157,7 +157,7 @@ {/if} {#if URLModel === 'folders'}