@wordpress/babel-plugin-makepot 6.15.0 → 6.16.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/index.js +2 -2
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -85,7 +85,7 @@ const REGEXP_TRANSLATOR_COMMENT = /^\s*translators:\s*([\s\S]+)/im;
|
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* Given an argument node (or recursed node), attempts to return a string
|
|
88
|
-
*
|
|
88
|
+
* representation of that node's value.
|
|
89
89
|
*
|
|
90
90
|
* @param {Object} node AST node.
|
|
91
91
|
*
|
|
@@ -265,7 +265,7 @@ module.exports = () => {
|
|
|
265
265
|
);
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
// Attempt to
|
|
268
|
+
// Attempt to extract nplurals from header.
|
|
269
269
|
const pluralsMatch = (
|
|
270
270
|
baseData.headers[ 'plural-forms' ] || ''
|
|
271
271
|
).match( /nplurals\s*=\s*(\d+);/ );
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/babel-plugin-makepot",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.16.0",
|
|
4
4
|
"description": "WordPress Babel internationalization (i18n) plugin.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "f48b9f56629e400891abb5ae491504de475237ff"
|
|
43
43
|
}
|