From a6b1d01f6e0aab8b9c6f8c64830447e7e6effa04 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Fri, 17 Oct 2025 10:41:52 +0200 Subject: [PATCH] altered some texts --- frontend/src/Components/LineEditor.svelte | 2 +- frontend/src/Components/MarkdownEditor.svelte | 3 ++- frontend/src/Components/MultilineEditor.svelte | 2 +- frontend/src/routes/contact/ExtraField.svelte | 4 ++-- translations/src/main/resources/de.json | 6 ++++-- translations/src/main/resources/en.json | 7 +++++-- 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/frontend/src/Components/LineEditor.svelte b/frontend/src/Components/LineEditor.svelte index 6c1462c..8d91272 100644 --- a/frontend/src/Components/LineEditor.svelte +++ b/frontend/src/Components/LineEditor.svelte @@ -8,7 +8,7 @@ href = '#', onclick = evt => { evt.preventDefault(); startEdit(); return false }, onSet = newVal => {return true;}, - title = t('long_click_to_edit'), + title = t('click_to_edit'), type = 'div', value = $bindable(null) } = $props(); diff --git a/frontend/src/Components/MarkdownEditor.svelte b/frontend/src/Components/MarkdownEditor.svelte index 0a5aae9..a26b699 100644 --- a/frontend/src/Components/MarkdownEditor.svelte +++ b/frontend/src/Components/MarkdownEditor.svelte @@ -124,9 +124,10 @@ + {t('markdown_supported')} {/if} - {@html target(editValue.rendered)} + {@html target(editValue.rendered)} \ No newline at end of file diff --git a/frontend/src/Components/MultilineEditor.svelte b/frontend/src/Components/MultilineEditor.svelte index 27d3316..ed55435 100644 --- a/frontend/src/Components/MultilineEditor.svelte +++ b/frontend/src/Components/MultilineEditor.svelte @@ -85,7 +85,7 @@ {:else} {#if value} - + {#each value.split("\n") as line} {line}
{/each} diff --git a/frontend/src/routes/contact/ExtraField.svelte b/frontend/src/routes/contact/ExtraField.svelte index f011dff..88b9a83 100644 --- a/frontend/src/routes/contact/ExtraField.svelte +++ b/frontend/src/routes/contact/ExtraField.svelte @@ -17,9 +17,9 @@ {#if field}
{#if field.value.includes('\\n')} - + {:else} - + {/if}
{/if} \ No newline at end of file diff --git a/translations/src/main/resources/de.json b/translations/src/main/resources/de.json index fcb2894..2539c76 100644 --- a/translations/src/main/resources/de.json +++ b/translations/src/main/resources/de.json @@ -18,6 +18,7 @@ "cancel": "abbrechen", "choose_type": "Typ wählen", + "click_to_edit": "Anklicken zum Bearbeiten", "client_id": "Client-ID", "client_secret": "Client-Geheimnis", "close_settings": "Einstellungen schließen", @@ -135,15 +136,16 @@ "login_services": "Login-Services", "logout": "Abmelden", "logout_user": "{user} abmelden", - "long_click_to_edit": "lang klicken zum Bearbeiten", "markdown_code": "Markdown-Code", + "markdown_supported": "Markdown & Plantuml nutzbar!", "MANAGE_LOGIN_SERVICES": "Login-Services verwalten", "member": "Mitarbeiter", "members": "Mitarbeiter", "message": "Nachricht", "messages": "Benachrichtigungen", "miscellaneous_settings": "sonstige Einstellungen", + "mismatch": "ungleich", "model": "Modell", "models": "Modelle", "module": { @@ -164,7 +166,6 @@ "user": "Benutzer", "wiki": "Wiki" }, - "mismatch": "ungleich", "month": "Monat", "must_not_be_empty": "darf nicht leer sein", @@ -212,6 +213,7 @@ "region": "Bundesland", "repeat_new_password": "Wiederholung", "results": "Ergebnisse", + "right_click_to_edit": "Rechts-Klick zum Bearbeiten", "save": "speichern", "saved": "gespeichert", diff --git a/translations/src/main/resources/en.json b/translations/src/main/resources/en.json index 7dee2c5..8628bf4 100644 --- a/translations/src/main/resources/en.json +++ b/translations/src/main/resources/en.json @@ -18,6 +18,7 @@ "cancel": "cancel", "choose_type": "choose type", + "click_to_edit": "click to edit", "client_id": "client ID", "client_secret": "client secret", "close_settings": "close settings", @@ -38,6 +39,7 @@ "contained_tax": "contained tax", "content": "content", "context": "context", + "count_of_occurrences": "{count} occurrences", "country": "country", "COURT": "local court", "CUSTOMER-NUMBER": "customer number", @@ -134,15 +136,16 @@ "login_services": "login service", "logout": "logout", "logout_user": "logout {user}", - "long_click_to_edit": "click long to edit", "markdown_code": "Markdown-Code", + "markdown_supported": "Markdown & Plantuml supported!", "MANAGE_LOGIN_SERVICES": "manage login services", "member": "member", "members": "members", "message": "message", "messages": "messages", "miscellaneous_settings": "miscellaneous settings", + "mismatch": "mismatch", "model": "model", "models": "models", "module": { @@ -163,7 +166,6 @@ "user": "Users", "wiki": "wiki" }, - "mismatch": "mismatch", "month": "month", "must_not_be_empty": "must not be empty", @@ -211,6 +213,7 @@ "region": "region", "repeat_new_password": "repeat new password", "results": "results", + "right_click_to_edit": "right click to edit", "save": "save", "saved": "saved",