client/options/code notes/automatic read-only size: specify the measurement unit inside of the input field

This commit is contained in:
Adorian Doran 2025-03-20 17:48:40 +02:00
parent 65ee564518
commit 4f3bc20bac
3 changed files with 8 additions and 3 deletions

View File

@ -10,7 +10,10 @@ const TPL = `
<div class="form-group">
<label for="auto-readonly-size-code">${t("code_auto_read_only_size.label")}</label>
<input id="auto-readonly-size-code" class="auto-readonly-size-code form-control options-number-input" type="number" min="0">
<div class="input-group">
<input id="auto-readonly-size-code" class="auto-readonly-size-code form-control options-number-input" type="number" min="0">
<span class="input-group-text">${t("code_auto_read_only_size.unit")}</span>
</div>
</div>
</div>`;

View File

@ -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"

View File

@ -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",