mirror of
https://github.com/zadam/trilium.git
synced 2026-02-20 04:34:38 +01:00
chore(badges/content): use translations
This commit is contained in:
parent
43ebbfc321
commit
33ea2de231
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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" }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user