generaltranslation 7.1.3 → 7.1.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/CHANGELOG.md +6 -0
- package/dist/types-dir/enqueueFiles.d.ts +2 -2
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# generaltranslation
|
2
2
|
|
3
|
+
## 7.1.4
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#495](https://github.com/generaltranslation/gt/pull/495) [`a7eca74`](https://github.com/generaltranslation/gt/commit/a7eca74677356b392c7c1a431f664c8e28adbf0c) Thanks [@brian-lou](https://github.com/brian-lou)! - Add support for translating arbitrary JSON files (all strings). Add support for partially translating JSON files via jsonSchema config setting. Add support for composite JSON files (where there is a single JSON containing data for all translated languages). Add support for preset jsonSchemas.
|
8
|
+
|
3
9
|
## 7.1.3
|
4
10
|
|
5
11
|
### Patch Changes
|
@@ -19,12 +19,12 @@ export type Updates = ({
|
|
19
19
|
* @param fileFormat - The format of the file (JSON, MDX, MD, etc.)
|
20
20
|
* @param dataFormat - The format of the data within the file
|
21
21
|
*/
|
22
|
-
export
|
22
|
+
export type FileToTranslate = {
|
23
23
|
content: string;
|
24
24
|
fileName: string;
|
25
25
|
fileFormat: FileFormat;
|
26
26
|
dataFormat?: DataFormat;
|
27
|
-
}
|
27
|
+
};
|
28
28
|
export type EnqueueFilesOptions = {
|
29
29
|
publish: boolean;
|
30
30
|
description?: string;
|
package/dist/types.d.ts
CHANGED
@@ -194,12 +194,12 @@ type Updates = ({
|
|
194
194
|
* @param fileFormat - The format of the file (JSON, MDX, MD, etc.)
|
195
195
|
* @param dataFormat - The format of the data within the file
|
196
196
|
*/
|
197
|
-
|
197
|
+
type FileToTranslate = {
|
198
198
|
content: string;
|
199
199
|
fileName: string;
|
200
200
|
fileFormat: FileFormat;
|
201
201
|
dataFormat?: DataFormat;
|
202
|
-
}
|
202
|
+
};
|
203
203
|
type EnqueueFilesOptions = {
|
204
204
|
publish: boolean;
|
205
205
|
description?: string;
|