diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index cb20feac5e..c5479736f3 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -2297,7 +2297,12 @@ "note_paths_one": "{{count}} path", "note_paths_other": "{{count}} paths", "note_paths_title": "Note paths", - "code_note_switcher": "Change language mode" + "code_note_switcher": "Change language mode", + "tab_width": "Tab Width: {{width}}", + "tab_width_title": "Change tab width", + "tab_width_spaces": "{{count}} spaces", + "tab_width_per_note": "Set for this note", + "tab_width_use_default": "Use default ({{width}})" }, "attributes_panel": { "title": "Note Attributes" diff --git a/apps/client/src/widgets/layout/StatusBar.tsx b/apps/client/src/widgets/layout/StatusBar.tsx index 16f7ad1123..10c2997f85 100644 --- a/apps/client/src/widgets/layout/StatusBar.tsx +++ b/apps/client/src/widgets/layout/StatusBar.tsx @@ -20,7 +20,7 @@ import { formatDateTime } from "../../utils/formatters"; import { BacklinksList, useBacklinkCount } from "../FloatingButtonsDefinitions"; import Dropdown, { DropdownProps } from "../react/Dropdown"; import { FormDropdownDivider, FormListItem } from "../react/FormList"; -import { useActiveNoteContext, useLegacyImperativeHandlers, useNoteLabel, useNoteProperty, useStaticTooltip, useTriliumEvent, useTriliumEvents } from "../react/hooks"; +import { useActiveNoteContext, useLegacyImperativeHandlers, useNoteLabel, useNoteLabelInt, useNoteProperty, useStaticTooltip, useTriliumEvent, useTriliumEvents, useTriliumOption } from "../react/hooks"; import Icon from "../react/Icon"; import LinkButton from "../react/LinkButton"; import { ParentComponent } from "../react/react_utils"; @@ -69,6 +69,7 @@ export default function StatusBar() {