@mjml-agent-editor/editor 0.1.16 → 0.2.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
@@ -138,10 +138,14 @@ building in another language overrides rather than forks:
138
138
  >
139
139
  ```
140
140
 
141
- Overrides are shallow-merged, so anything omitted stays English. `toolLabels` is the one
142
- exception and merges key by key — renaming one step would otherwise silently drop the other
143
- eight. `DEFAULT_LABELS` and the `EditorLabels` type are exported if you want to see the full
144
- list or build a complete translation.
141
+ Overrides are shallow-merged, so anything omitted stays English. The maps keyed by an id
142
+ are the exception and merge key by key, so translating one entry keeps the others:
143
+ `toolLabels` (by agent tool), `blockLabels` (by block id, e.g. `mj-2-columns`),
144
+ `elementNames` (by MJML tag) and `inspectorLabels` (the Settings tab's field and option
145
+ names, and help as `<key>.help`). `DEFAULT_LABELS` and the `EditorLabels` type are exported
146
+ if you want to see the full list or build a complete translation; for `inspectorLabels` the
147
+ keys in `DEFAULT_LABELS.inspectorLabels` are the whole set. Font and brand names (Arial,
148
+ Facebook) are shown as they are and have no key.
145
149
 
146
150
  New keys arrive with new features, including in 0.1.x releases. They always have English
147
151
  defaults, so a host passing `Partial<EditorLabels>` picks them up untouched; a host that