inlang-plugin-rich-icu 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -27,14 +27,14 @@ as a dependency. Add it to your `project.inlang/settings.json`:
27
27
  Catalogs are JSON maps of `key → ICU string`, one file per locale:
28
28
 
29
29
  ```json
30
- { "resumeCount": "{count, plural, one {Vous avez <strong># CV</strong>.} other {Vous avez <strong># CV</strong>.}}" }
30
+ { "messageCount": "{count, plural, one {Vous avez <strong># nouveau message</strong>.} other {Vous avez <strong># nouveaux messages</strong>.}}" }
31
31
  ```
32
32
 
33
33
  ## Render (Paraglide + React)
34
34
 
35
35
  ```tsx
36
36
  <ParaglideMessage
37
- message={m.resumeCount}
37
+ message={m.messageCount}
38
38
  inputs={{ count }}
39
39
  markup={{ strong: ({ children }) => <strong>{children}</strong> }}
40
40
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inlang-plugin-rich-icu",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "inlang storage plugin: inline ICU MessageFormat with rich-text markup tags preserved as first-class inlang markup parts.",
5
5
  "type": "module",
6
6
  "exports": {