Add interface languages and improve themes and workspace controls for 0.1.36

This commit is contained in:
Knotty Wyvern
2026-10-15 10:55:59 -07:00
parent b066359b66
commit 68e86ab6eb
98 changed files with 5499 additions and 874 deletions
+4 -3
View File
@@ -1,3 +1,4 @@
import { tr } from '../i18n/index.ts';
import { Decoration, EditorView, WidgetType } from "@codemirror/view";
import { actionIcon } from "../ui/actionIcons";
@@ -19,14 +20,14 @@ class NoteTitle extends WidgetType {
const button = document.createElement("button");
button.type = "button";
button.className = "note-title-button";
button.setAttribute("aria-label", "Rename note");
button.setAttribute("aria-label", tr("Rename note"));
button.append(document.createTextNode(this.title), actionIcon("rename"));
button.dataset.editorTooltip = "Rename note";
button.dataset.editorTooltip = tr("Rename note");
heading.replaceChildren(button);
const input = document.createElement("input");
input.className = "note-title-input";
input.setAttribute("aria-label", "Note filename");
input.setAttribute("aria-label", tr("Note filename"));
input.autocomplete = "off";
input.spellcheck = false;
input.hidden = true;