@gramps-connect/story 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -192,6 +192,13 @@ plain functions behind it (map files, the shape model, overlay geometry)
192
192
  are `@gramps-connect/story/map-edit`. The editor also needs `terra-draw`
193
193
  and `terra-draw-maplibre-gl-adapter` (optional peer dependencies).
194
194
 
195
+ The editor's own words (and the map editor's) are in English, German,
196
+ Spanish, French or Dutch, by the browser's languages: the person editing,
197
+ not the story, so a German speaker can edit an English story in German.
198
+ `editorStringsFor(...languages)` and `mapEditorStringsFor(...languages)`
199
+ give the built-in words for other choices; pass `strings` and
200
+ `mapStrings` to use your own (Gramps Connect passes its app's language).
201
+
195
202
  The editor is built with [Mantine](https://mantine.dev) 8 (optional peer
196
203
  dependencies `@mantine/core` and `@mantine/hooks`, needed only by the
197
204
  editor): wrap it in a `MantineProvider` and load Mantine's stylesheet. The