Skip to content

Build your personal knowledge base with Trilium Notes

Merge branch 'develop' into Icon_improvements

SiriusXTd66c07717cb0
diff --cc src/public/app/services/note_types.js
index c04b0a9f1b,242df1a543..840237c8a0
--- a/src/public/app/services/note_types.js
+++ b/src/public/app/services/note_types.js
@@@ -3,17 -4,17 +4,17 @@@ import { t } from "./i18n.js"
async function getNoteTypeItems(command) {
const items = [
- { title: "Text", command: command, type: "text", uiIcon: "bx bx-note" },
- { title: "Code", command: command, type: "code", uiIcon: "bx bx-code" },
- { title: "Saved Search", command: command, type: "search", uiIcon: "bx bx-file-find" },
- { title: "Relation Map", command: command, type: "relationMap", uiIcon: "bx bxl-graphql" },
- { title: "Note Map", command: command, type: "noteMap", uiIcon: "bx bxl-graphql" },
- { title: "Render Note", command: command, type: "render", uiIcon: "bx bx-extension" },
- { title: "Book", command: command, type: "book", uiIcon: "bx bx-book" },
- { title: "Mermaid Diagram", command: command, type: "mermaid", uiIcon: "bx bx-selection" },
- { title: "Canvas", command: command, type: "canvas", uiIcon: "bx bx-pen" },
- { title: "Web View", command: command, type: "webView", uiIcon: "bx bx-globe-alt" },
- { title: "Mind Map", command, type: "mindMap", uiIcon: "bx bx-sitemap" }
+ { title: t("note_types.text"), command: command, type: "text", uiIcon: "bx bx-note" },
+ { title: t("note_types.code"), command: command, type: "code", uiIcon: "bx bx-code" },
+ { title: t("note_types.saved-search"), command: command, type: "search", uiIcon: "bx bx-file-find" },
+ { title: t("note_types.relation-map"), command: command, type: "relationMap", uiIcon: "bx bx-map-alt" },
- { title: t("note_types.note-map"), command: command, type: "noteMap", uiIcon: "bx bx-map-alt" },
++ { title: t("note_types.note-map"), command: command, type: "noteMap", uiIcon: "bx bxl-graphql" },
+ { title: t("note_types.render-note"), command: command, type: "render", uiIcon: "bx bx-extension" },
+ { title: t("note_types.book"), command: command, type: "book", uiIcon: "bx bx-book" },
+ { title: t("note_types.mermaid-diagram"), command: command, type: "mermaid", uiIcon: "bx bx-selection" },
+ { title: t("note_types.canvas"), command: command, type: "canvas", uiIcon: "bx bx-pen" },
+ { title: t("note_types.web-view"), command: command, type: "webView", uiIcon: "bx bx-globe-alt" },
+ { title: t("note_types.mind-map"), command, type: "mindMap", uiIcon: "bx bx-sitemap" }
];
const templateNoteIds = await server.get("search-templates");