ilib-tools-common 1.2.0 → 1.4.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 +16 -1
- package/docs/Resource.html +260 -279
- package/docs/Resource.js.html +5 -2
- package/docs/ResourceArray.html +488 -512
- package/docs/ResourceArray.js.html +5 -2
- package/docs/ResourcePlural.html +518 -545
- package/docs/ResourcePlural.js.html +5 -2
- package/docs/ResourceString.html +1066 -1077
- package/docs/ResourceString.js.html +5 -2
- package/docs/ResourceXliff.html +34 -30
- package/docs/ResourceXliff.js.html +5 -2
- package/docs/TranslationSet.html +157 -160
- package/docs/TranslationSet.js.html +5 -2
- package/docs/TranslationUnit.html +1132 -0
- package/docs/TranslationUnit.js.html +249 -0
- package/docs/TranslationVariant.html +363 -0
- package/docs/TranslationVariant.js.html +122 -0
- package/docs/global.html +545 -36
- package/docs/index.html +5 -2
- package/docs/scripts/collapse.js +19 -0
- package/docs/scripts/commonNav.js +28 -0
- package/docs/scripts/search.js +16 -0
- package/docs/styles/jsdoc.css +13 -2
- package/docs/styles/prettify.css +1 -0
- package/docs/utils.js.html +96 -3
- package/package.json +5 -4
- package/src/TranslationUnit.js +178 -0
- package/src/TranslationVariant.js +51 -0
- package/src/index.js +19 -2
- package/src/utils.js +91 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Common code shared between the command-line tools such as loctool and i18nlint
|
|
|
4
4
|
|
|
5
5
|
## License
|
|
6
6
|
|
|
7
|
-
Copyright © 2022, JEDLSoft
|
|
7
|
+
Copyright © 2022-2023, JEDLSoft
|
|
8
8
|
|
|
9
9
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
10
10
|
you may not use this file except in compliance with the License.
|
|
@@ -21,6 +21,21 @@ limitations under the License.
|
|
|
21
21
|
|
|
22
22
|
## Release Notes
|
|
23
23
|
|
|
24
|
+
### v1.4.0
|
|
25
|
+
|
|
26
|
+
- Added TranslationUnit and TranslationVariant classes
|
|
27
|
+
- added hashKey function to the utilities
|
|
28
|
+
- fixed missing import for makeDirs() utility function
|
|
29
|
+
|
|
30
|
+
### v1.3.0
|
|
31
|
+
|
|
32
|
+
- Added more utility functions:
|
|
33
|
+
- isEmpty - return whether or not an object is empty
|
|
34
|
+
- cleanString - removing differences that are inconsequential for translation such as leading whitespace
|
|
35
|
+
- makeDirs - create directories on disk
|
|
36
|
+
- containsActualText - test if there is text left over after HTML and entities are stripped
|
|
37
|
+
- objectMap - visitor pattern for objects
|
|
38
|
+
|
|
24
39
|
### v1.2.0
|
|
25
40
|
|
|
26
41
|
- Added formatPath and getLocaleFromPath utility function
|