generaltranslation 1.1.27 → 1.1.28
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 +1 -1
package/index.js
CHANGED
|
@@ -24,14 +24,14 @@ export default class GT {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// Prompt I18N
|
|
27
|
-
|
|
27
|
+
async translatePrompt(prompt, language) {
|
|
28
28
|
return await _translatePrompt({
|
|
29
29
|
content: prompt, language: language, config: this
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
// Site I18N
|
|
34
|
-
|
|
34
|
+
async createI18N({ projectID, html, strings, defaultLanguage, userLanguage }) {
|
|
35
35
|
return await _createI18N({
|
|
36
36
|
projectID: projectID,
|
|
37
37
|
html: html,
|