feat(collections): add i18n

This commit is contained in:
Elian Doran
2025-07-09 19:37:10 +03:00
parent 736bc9c9bd
commit 9ddd1a4ae2
4 changed files with 32 additions and 15 deletions

View File

@@ -81,7 +81,7 @@ let rootCreationDate: Date | undefined;
async function getNoteTypeItems(command?: TreeCommandNames) {
const items: MenuItem<TreeCommandNames>[] = [
...getBlankNoteTypes(command),
...await getBuiltInTemplates("Collections", command, true),
...await getBuiltInTemplates(t("note_types.collections"), command, true),
...await getBuiltInTemplates(null, command, false),
...await getUserTemplates(command)
];

View File

@@ -1629,7 +1629,8 @@
"beta-feature": "Beta",
"ai-chat": "AI Chat",
"task-list": "Task List",
"new-feature": "New"
"new-feature": "New",
"collections": "Collections"
},
"protect_note": {
"toggle-on": "Protect the note",