@adminforth/i18n 1.10.0 → 2.0.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/build.log +3 -2
- package/custom/BulkActionButton.vue +62 -18
- package/custom/TranslationJobViewComponent.vue +82 -0
- package/dist/custom/BulkActionButton.vue +62 -18
- package/dist/custom/TranslationJobViewComponent.vue +82 -0
- package/dist/index.js +281 -95
- package/index.ts +384 -120
- package/package.json +3 -2
- package/types.ts +14 -0
package/types.ts
CHANGED
|
@@ -74,4 +74,18 @@ export interface PluginOptions {
|
|
|
74
74
|
* key - one of the values form supportedLanguages, value -BCP47 tag
|
|
75
75
|
*/
|
|
76
76
|
translateLangAsBCP47Code?: Partial<Record<LanguageCode, Bcp47LanguageTag>>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Batch size of one translation generation request.
|
|
80
|
+
* This is an optional parameter that can be used to control the size of strings sent in a single request to the completion adapter.
|
|
81
|
+
* Default value is 30000 tokens
|
|
82
|
+
*/
|
|
83
|
+
inputTokensPerBatch?: number;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Limit of parallel translation generation requests.
|
|
87
|
+
* This is an optional parameter that can be used to control the number of concurrent requests sent to the completion adapter.
|
|
88
|
+
* Default value is 20
|
|
89
|
+
*/
|
|
90
|
+
parallelTranslationLimit?: number;
|
|
77
91
|
}
|