mirror of
https://github.com/jsmorabito/obsidian-commander.git
synced 2026-07-22 06:40:31 +00:00
Adds an optional defaultValue prop to SliderComponent; when set, a small reset icon (matching the existing "reset to default" pattern used for advanced-toolbar icons) appears next to the value and resets it back to that default on click. Wired up for the General tab's "custom spacing" slider using DEFAULT_SETTINGS.spacing so it stays in sync if the default ever changes. MacroBuilder's per-item Delay slider is unaffected (no defaultValue passed, so no button shows - there's no persistent default for a one-off macro action value). Adds the new "Restore default" string to locale/en.json plus the ten other filled locale files (untranslated, English placeholder) so the locale completeness test suite still passes. |
||
|---|---|---|
| .. | ||
| ar.json | ||
| cz.json | ||
| da.json | ||
| de.json | ||
| en-gb.json | ||
| en.json | ||
| es.json | ||
| fr.json | ||
| hi.json | ||
| hr.json | ||
| id.json | ||
| it.json | ||
| ja.json | ||
| ko.json | ||
| nl.json | ||
| no.json | ||
| pl.json | ||
| pt-br.json | ||
| pt.json | ||
| ro.json | ||
| ru.json | ||
| sv.json | ||
| tr.json | ||
| vi.json | ||
| zh-cn.json | ||
| zh-tw.json | ||