Skip to content

Build your personal knowledge base with Trilium Notes

chore(badges/content): use translations

Elian Doran33ea2de23105
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index d65d2b6bce..3656035497 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -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"
}
}
diff --git a/apps/client/src/widgets/layout/ActiveContentBadges.tsx b/apps/client/src/widgets/layout/ActiveContentBadges.tsx
index 162607b194..870533ba58 100644
--- a/apps/client/src/widgets/layout/ActiveContentBadges.tsx
+++ b/apps/client/src/widgets/layout/ActiveContentBadges.tsx
@@ -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" }
]
}
]