mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
chore(react/settings): use translation for all units
This commit is contained in:
parent
cbc9fb7d08
commit
53eda46043
@ -2013,5 +2013,8 @@
|
||||
"settings_appearance": {
|
||||
"related_code_blocks": "Color scheme for code blocks in text notes",
|
||||
"related_code_notes": "Color scheme for code notes"
|
||||
},
|
||||
"units": {
|
||||
"percentage": "%"
|
||||
}
|
||||
}
|
||||
|
@ -204,7 +204,7 @@ function Font({ title, fontFamilyOption, fontSizeOption }: { title: string, font
|
||||
name="tree-font-size"
|
||||
type="number" min={50} max={200} step={10}
|
||||
currentValue={fontSize} onChange={setFontSize}
|
||||
unit="%"
|
||||
unit={t("units.percentage")}
|
||||
/>
|
||||
</Column>
|
||||
</div>
|
||||
|
@ -42,7 +42,7 @@ export default function ImageSettings() {
|
||||
<FormTextBoxWithUnit
|
||||
name="image-jpeg-quality"
|
||||
min="10" max="100" type="number"
|
||||
unit="%"
|
||||
unit={t("units.percentage")}
|
||||
currentValue={imageJpegQuality} onChange={setImageJpegQuality}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user