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
fix(geomap): explain the geoShape label in the attribute detail popup
Claude075c8258bb71
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex 8a74550a2b..83e00f172b 100644--- a/apps/client/src/translations/en/translation.json+++ b/apps/client/src/translations/en/translation.json@@ -754,6 +754,7 @@"end_time": "The time an event ends at, read against <code>#endDate</code> where there is one and <code>#startDate</code> otherwise.","recurrence": "A CalDAV <code>RRULE</code> string making the event repeat. The start is taken from <code>#startDate</code> and <code>#startTime</code>, so the rule leaves <code>DTSTART</code> out.","geolocation": "The latitude and longitude the note is placed at on a geo map.",+ "geo_shape": "A shape the note is drawn as on a geo map: the kind of shape, then the latitude and longitude of each point, e.g. <code>line:48.85,2.29 48.86,2.35</code>.","map_type": "Which note map is drawn: <code>link</code> for the relations between notes, or <code>tree</code> for the hierarchy.","map_style": "Which style a geo map is drawn in, chosen from the raster and vector styles offered in the collection properties.","map_dark_style": "Tells a geo map that the custom style given in <code>map:style</code> is a dark one, so that the marker titles are drawn light over it. The styles offered in the collection properties say so for themselves and need no such label.",diff --git a/apps/client/src/widgets/attribute_widgets/attr_help.ts b/apps/client/src/widgets/attribute_widgets/attr_help.tsindex 4a1b732475..7c7848344d 100644--- a/apps/client/src/widgets/attribute_widgets/attr_help.ts+++ b/apps/client/src/widgets/attribute_widgets/attr_help.ts@@ -173,6 +173,7 @@ export const ATTR_HELP: AttrHelpMap = {endTime: t("attribute_detail.end_time"),recurrence: t("attribute_detail.recurrence"),geolocation: t("attribute_detail.geolocation"),+ geoShape: t("attribute_detail.geo_shape"),mapType: t("attribute_detail.map_type"),"map:style": t("attribute_detail.map_style"),"map:darkStyle": t("attribute_detail.map_dark_style"),