@lingui/format-po-gettext 6.0.0-next.2 → 6.0.0-next.4
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/dist/po-gettext.mjs +3 -1
- package/package.json +11 -14
package/dist/po-gettext.mjs
CHANGED
|
@@ -3414,7 +3414,9 @@ function mergeDuplicatePluralEntries(items, options) {
|
|
|
3414
3414
|
}),
|
|
3415
3415
|
ctxPrefix
|
|
3416
3416
|
);
|
|
3417
|
-
mergedItem.references =
|
|
3417
|
+
mergedItem.references = [
|
|
3418
|
+
...new Set(duplicateItems.flatMap((item) => item.references))
|
|
3419
|
+
];
|
|
3418
3420
|
mergedItems.push(mergedItem);
|
|
3419
3421
|
}
|
|
3420
3422
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/format-po-gettext",
|
|
3
|
-
"version": "6.0.0-next.
|
|
4
|
-
"description": "Gettext PO
|
|
3
|
+
"version": "6.0.0-next.4",
|
|
4
|
+
"description": "Gettext PO formatter for Lingui message catalogs using gettext-style plural rules",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"license": "MIT",
|
|
@@ -9,18 +9,15 @@
|
|
|
9
9
|
".": "./dist/po-gettext.mjs"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
|
-
"
|
|
13
|
-
"lingui-formatter",
|
|
14
|
-
"lingui-format",
|
|
12
|
+
"lingui",
|
|
15
13
|
"gettext",
|
|
16
14
|
"po",
|
|
17
15
|
"pot",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"i9n",
|
|
16
|
+
"plural-rules",
|
|
17
|
+
"catalog-format",
|
|
18
|
+
"i18n",
|
|
22
19
|
"translation",
|
|
23
|
-
"
|
|
20
|
+
"lingui-format"
|
|
24
21
|
],
|
|
25
22
|
"scripts": {
|
|
26
23
|
"build": "unbuild",
|
|
@@ -44,9 +41,9 @@
|
|
|
44
41
|
"dist/"
|
|
45
42
|
],
|
|
46
43
|
"dependencies": {
|
|
47
|
-
"@lingui/conf": "6.0.0-next.
|
|
48
|
-
"@lingui/format-po": "6.0.0-next.
|
|
49
|
-
"@lingui/message-utils": "6.0.0-next.
|
|
44
|
+
"@lingui/conf": "6.0.0-next.4",
|
|
45
|
+
"@lingui/format-po": "6.0.0-next.4",
|
|
46
|
+
"@lingui/message-utils": "6.0.0-next.4",
|
|
50
47
|
"@messageformat/parser": "^5.0.0",
|
|
51
48
|
"pofile": "^1.1.4"
|
|
52
49
|
},
|
|
@@ -58,5 +55,5 @@
|
|
|
58
55
|
"unbuild": {
|
|
59
56
|
"declaration": "node16"
|
|
60
57
|
},
|
|
61
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "e8ab674fdc9d6373c8a20bb6061ac836661ea22e"
|
|
62
59
|
}
|