i18n-jsautotranslate 3.18.58 → 3.18.59

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.
@@ -24,7 +24,7 @@
24
24
  import { ref, onMounted } from 'vue';
25
25
  // 需要同时导入Select和Option组件
26
26
  import { Select as ASelect, Option as ASelectOption } from '@arco-design/web-vue';
27
- import translate from 'i18n-jsautotranslate'
27
+ //import translate from 'i18n-jsautotranslate'
28
28
 
29
29
  // 定义语言选项类型
30
30
  interface LanguageOption {
package/index.js CHANGED
@@ -14,7 +14,7 @@ var translate = {
14
14
  * 格式:major.minor.patch.date
15
15
  */
16
16
  // AUTO_VERSION_START
17
- version: '3.18.58.20250928',
17
+ version: '3.18.59.20250928',
18
18
  // AUTO_VERSION_END
19
19
  /*
20
20
  当前使用的版本,默认使用v2. 可使用 setUseVersion2();
@@ -4600,7 +4600,7 @@ var translate = {
4600
4600
  if(translate.language.map_data == null){
4601
4601
  translate.language.map_data = translate.language.generateLanguageNameObject();
4602
4602
  }
4603
- return map_data;
4603
+ return translate.language.map_data;
4604
4604
  },
4605
4605
 
4606
4606
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18n-jsautotranslate",
3
- "version": "3.18.58",
3
+ "version": "3.18.59",
4
4
  "description": "Two lines of js realize automatic html translation. No need to change the page, no language configuration file, no API key, SEO friendly!",
5
5
  "main": "index.js",
6
6
  "scripts": {