auto-translate-json-library 1.3.3 → 1.3.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/README.MD CHANGED
@@ -7,7 +7,7 @@ Auto Translate JSON
7
7
  It opens posibility to use Auto Taransation JSON
8
8
  not just in vs code but as a library and command line interface
9
9
 
10
- # Use as library
10
+ ## Use as library
11
11
 
12
12
  ```shell
13
13
  npm i auto-translate-json-library
@@ -28,7 +28,7 @@ await translate(pivotTranslation, config) ;
28
28
  // translation for example fr.json in same folder as pivotTranslation should contain the translations
29
29
  ```
30
30
 
31
- # Use as command line tool
31
+ ## Use as command line tool
32
32
 
33
33
  first install it
34
34
 
@@ -50,9 +50,9 @@ npm run build
50
50
  node .\build\src\index.js --pivotTranslation=./tests/translations/en.json
51
51
  ```
52
52
 
53
- ```
54
- # CLI PARAMETERS
53
+ ## CLI PARAMETERS
55
54
 
55
+ ``` config
56
56
  mode,
57
57
  file or folder,
58
58
  default is file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-translate-json-library",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Automatically translates JSON language files to other languages using Google Translate,AWS,Azure,DeepL or OpenAI",
5
5
  "main": "./build/src/index.js",
6
6
  "bin": {
@@ -18,7 +18,7 @@ function displayHelp() {
18
18
  console.log("Options:");
19
19
  console.log(" --help, -h Display this help message");
20
20
  console.log(" --mode, -m <mode> Specify the translation mode:file or folder");
21
- console.log(" --engine, -e <engine> Specify the translation engine:aws,azure,google,deepl or openai");
21
+ console.log(" --engine, -e <engine> Specify the translation engine:aws,azure,google,deepLPro,deepLFree or openai");
22
22
  console.log(" --sourceLocale, -s <locale> Specify the source locale");
23
23
  console.log(" --keepTranslations, --no-keepTranslations Keep or retranslate existing translations");
24
24
  console.log(" --keepExtraTranslations, --no-keepExtraTranslations Keep or remove extra translations");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-translate-json-library",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Automatically translates JSON language files to other languages using Google Translate,AWS,Azure,DeepL or OpenAI",
5
5
  "main": "./build/src/index.js",
6
6
  "bin": {