From 65ee564518e1c988fc4c11b7ecabc86ea51c6777 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Thu, 20 Mar 2025 17:45:22 +0200 Subject: [PATCH] client/options/text notes/automatic read-only size: specify the measurement unit inside of the input field --- .../options/text_notes/text_auto_read_only_size.ts | 5 ++++- src/public/translations/en/translation.json | 3 ++- src/public/translations/ro/translation.json | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/public/app/widgets/type_widgets/options/text_notes/text_auto_read_only_size.ts b/src/public/app/widgets/type_widgets/options/text_notes/text_auto_read_only_size.ts index 7bcd5773f..d719d688d 100644 --- a/src/public/app/widgets/type_widgets/options/text_notes/text_auto_read_only_size.ts +++ b/src/public/app/widgets/type_widgets/options/text_notes/text_auto_read_only_size.ts @@ -10,7 +10,10 @@ const TPL = `
- +
+ + ${t("text_auto_read_only_size.unit")} +
`; diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index 72e4eba89..03201876b 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1231,7 +1231,8 @@ "text_auto_read_only_size": { "title": "Automatic Read-Only Size", "description": "Automatic read-only note size is the size after which notes will be displayed in a read-only mode (for performance reasons).", - "label": "Automatic read-only size (text notes)" + "label": "Automatic read-only size (text notes)", + "unit": "characters" }, "i18n": { "title": "Localization", diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json index 0638b9080..a7ca9f86b 100644 --- a/src/public/translations/ro/translation.json +++ b/src/public/translations/ro/translation.json @@ -1228,7 +1228,8 @@ "text_auto_read_only_size": { "description": "Marchează pragul în care o notiță de o anumită dimensiune va fi afișată în mod de citire (pentru motive de performanță).", "label": "Pragul de dimensiune pentru setarea modului de citire automat (la notițe text)", - "title": "Pragul de mod de citire automat" + "title": "Pragul de mod de citire automat", + "unit": "caractere" }, "theme": { "auto_theme": "Temă auto (se adaptează la schema de culori a sistemului)",