From 4f3bc20bac38756283347f376ed7c74e31a3acff Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Thu, 20 Mar 2025 17:48:40 +0200 Subject: [PATCH] client/options/code notes/automatic read-only size: specify the measurement unit inside of the input field --- .../options/code_notes/code_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/code_notes/code_auto_read_only_size.ts b/src/public/app/widgets/type_widgets/options/code_notes/code_auto_read_only_size.ts index 584fd23f0..a80fd11dd 100644 --- a/src/public/app/widgets/type_widgets/options/code_notes/code_auto_read_only_size.ts +++ b/src/public/app/widgets/type_widgets/options/code_notes/code_auto_read_only_size.ts @@ -10,7 +10,10 @@ const TPL = `
- +
+ + ${t("code_auto_read_only_size.unit")} +
`; diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index 03201876b..5a6de3836 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1129,7 +1129,8 @@ "code_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 (code notes)" + "label": "Automatic read-only size (code notes)", + "unit": "characters" }, "code-editor-options": { "title": "Editor" diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json index a7ca9f86b..719a87031 100644 --- a/src/public/translations/ro/translation.json +++ b/src/public/translations/ro/translation.json @@ -353,7 +353,8 @@ "code_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 de cod)", - "title": "Pragul de mod de citire automat" + "title": "Pragul de mod de citire automat", + "unit": "caractere" }, "code_buttons": { "execute_button_title": "Execută scriptul",