chore(badges/content): use translations

This commit is contained in:
Elian Doran 2026-02-15 13:23:36 +02:00
parent 43ebbfc321
commit 33ea2de231
No known key found for this signature in database
2 changed files with 7 additions and 6 deletions

View File

@ -2310,6 +2310,7 @@
"menu_run_frontend_startup": "When the desktop frontend starts up",
"menu_run_mobile_startup": "When the mobile frontend starts up",
"menu_change_to_widget": "Change to widget",
"menu_change_to_frontend_script": "Change to frontend script"
"menu_change_to_frontend_script": "Change to frontend script",
"menu_theme_base": "Theme base"
}
}

View File

@ -68,15 +68,15 @@ const typeMappings: Record<ActiveContentInfo["type"], {
{
type: "combobox",
bindToLabel: "appThemeBase",
label: "Theme base",
label: t("active_content_badges.menu_theme_base"),
icon: "bx bx-layer",
dropStart: true,
options: [
{ label: "Legacy", value: "" },
{ label: t("theme.auto_theme"), value: "" },
{ type: "separator" },
{ label: "Trilium (Auto)", value: "next" },
{ label: "Trilium (Light)", value: "next-light" },
{ label: "Trilium (Dark)", value: "next-dark" }
{ label: t("theme.triliumnext"), value: "next" },
{ label: t("theme.triliumnext-light"), value: "next-light" },
{ label: t("theme.triliumnext-dark"), value: "next-dark" }
]
}
]