@lingui/format-po 6.6.0 → 6.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 +7 -6
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -4,20 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
# @lingui/format-po
|
|
6
6
|
|
|
7
|
-
>
|
|
7
|
+
> Reads and writes Lingui message catalogs as gettext PO files with ICU plurals, the default catalog format
|
|
8
8
|
|
|
9
|
-
`@lingui/format-po` is part of [
|
|
9
|
+
`@lingui/format-po` is part of [Lingui][documentation]. Lingui is a lightweight, open-source internationalization (i18n) library for JavaScript and TypeScript. It brings compile-time macros and a CLI for message extraction to React, React Native, Vue, SolidJS, Astro, Svelte, and Node.js.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
PO is the default and recommended catalog format: it is readable, almost every translation tool supports it, and it carries comments, source locations and context for translators. The formatter ships with `@lingui/cli`, so install this package only to pass options.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
See the [catalog formats reference][reference].
|
|
14
16
|
|
|
15
17
|
## License
|
|
16
18
|
|
|
17
|
-
This package is licensed under [MIT][license] license.
|
|
19
|
+
This package is licensed under the [MIT][license] license.
|
|
18
20
|
|
|
19
21
|
[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
|
|
20
|
-
[linguijs]: https://github.com/lingui/js-lingui
|
|
21
22
|
[documentation]: https://lingui.dev
|
|
22
23
|
[reference]: https://lingui.dev/ref/catalog-formats#po
|
|
23
24
|
[package]: https://www.npmjs.com/package/@lingui/format-po
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/format-po",
|
|
3
|
-
"version": "6.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "6.7.0",
|
|
4
|
+
"description": "Reads and writes Lingui message catalogs as gettext PO files with ICU plurals, the default catalog format",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"dist/"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lingui/conf": "6.
|
|
46
|
-
"@lingui/message-utils": "6.
|
|
45
|
+
"@lingui/conf": "6.7.0",
|
|
46
|
+
"@lingui/message-utils": "6.7.0",
|
|
47
47
|
"pofile-ts": "^4.0.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"unbuild": {
|
|
55
55
|
"declaration": "node16"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "a2d4b6d42e052fed1d432050b20cc56cfdacfe98"
|
|
58
58
|
}
|