Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(fonts): say what the font override does, and where fonts come from
Elian Doran5251c3c094e9
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex 13c5f95d0c..184b4f84cd 100644--- a/apps/client/src/translations/en/translation.json+++ b/apps/client/src/translations/en/translation.json@@ -1809,7 +1809,7 @@"fonts": {"theme_defined": "Theme defined","fonts": "Fonts",- "custom_fonts": "Use custom fonts",+ "custom_fonts": "Use different fonts","main_font": "Interface text","font_family": "Font family","size": "Size",@@ -1821,7 +1821,7 @@"monospace_ligatures": "Programming ligatures","monospace_ligatures_description": "Renders character pairs such as != and -> as single symbols (≠, →), if the monospace font supports it. The text itself is unchanged.","size_relative_to_general": "Size is relative to the general font size",- "not_all_fonts_available": "Not all listed fonts may be available on your system",+ "custom_fonts_description": "Replaces the theme's fonts. Not all listed fonts are available on every device; a font uploaded into Trilium can be added from its own note.","apply_changes": "Reload to apply changes","generic-fonts": "Generic fonts","user-fonts": "Custom fonts",diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsxindex 2a843c8464..14f204e5b4 100644--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx@@ -459,7 +459,7 @@ function Fonts() {<OptionCardSectionname="override-theme-fonts"label={t("fonts.custom_fonts")}- description={t("fonts.not_all_fonts_available")}+ description={t("fonts.custom_fonts_description")}// The four fonts stay on show with the switch off, greyed rather than gone: what// is there to be set is the whole reason for turning it on, and a switch with// nothing under it says nothing about what it would bring.