client/options/text 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:45:22 +02:00
parent de7b7e3d8f
commit 65ee564518
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-text">${t("text_auto_read_only_size.label")}</label>
<div class="input-group">
<input id="auto-readonly-size-text" class="auto-readonly-size-text form-control options-number-input" type="number" min="0">
<span class="input-group-text">${t("text_auto_read_only_size.unit")}</span>
</div>
</div>
</div>`;

View File

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

View File

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