diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index f434ffeddd..48f5707563 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -2288,5 +2288,10 @@
},
"bookmark_buttons": {
"bookmarks": "Bookmarks"
+ },
+ "active_content_badges": {
+ "type_icon_pack": "Icon pack",
+ "toggle_tooltip_enable_tooltip": "Click to enable this {{type}}.",
+ "toggle_tooltip_disable_tooltip": "Click to disable this {{type}}."
}
}
diff --git a/apps/client/src/widgets/layout/ActiveContentBadges.tsx b/apps/client/src/widgets/layout/ActiveContentBadges.tsx
index 8b0cb3744c..6f93ada5cb 100644
--- a/apps/client/src/widgets/layout/ActiveContentBadges.tsx
+++ b/apps/client/src/widgets/layout/ActiveContentBadges.tsx
@@ -3,6 +3,7 @@ import { useEffect, useState } from "preact/hooks";
import FNote from "../../entities/fnote";
import attributes from "../../services/attributes";
+import { t } from "../../services/i18n";
import { Badge } from "../react/Badge";
import FormToggle from "../react/FormToggle";
import { useNoteContext, useTriliumEvent } from "../react/hooks";
@@ -27,16 +28,17 @@ function IconPackBadge() {
);
}
function ActiveContentToggle({ note, info }: { note: FNote, info: ActiveContentInfo }) {
return info && {
const attrs = note.getOwnedAttributes()
.filter(attr => {