ecinc-cloud-wappaio 9.0.164 → 9.0.166

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 CHANGED
@@ -184,6 +184,9 @@ if (typeof window !== 'undefined' && window.Vue) {
184
184
  }
185
185
  }
186
186
  }
187
+
188
+ window.$t = window.Vue.prototype.$t
189
+ window.$tx = window.Vue.prototype.$tx
187
190
  }, 0)
188
191
  }
189
192
 
package/lang/index.js CHANGED
@@ -1,21 +1,31 @@
1
1
  import { getLanguage, generateTitle, getPageTitle, commonMessages, $tx } from '../../../common/lang/index'
2
+ import wappsMessages from '../../../ecwapp/lang/index'
3
+ import wplatMessages from '../../../ecwplat/lang/index'
2
4
  import wplusMessages from '../../../ecwplus/lang/index'
3
5
 
4
6
  const messages = {}
5
7
  messages.en = {
6
8
  ...commonMessages.en,
9
+ ...wappsMessages.en,
10
+ ...wplatMessages.en,
7
11
  ...wplusMessages.en
8
12
  }
9
13
  messages.zhCN = {
10
14
  ...commonMessages.zhCN,
15
+ ...wappsMessages.zhCN,
16
+ ...wplatMessages.zhCN,
11
17
  ...wplusMessages.zhCN
12
18
  }
13
19
  messages.es = {
14
20
  ...commonMessages.es,
21
+ ...wappsMessages.es,
22
+ ...wplatMessages.es,
15
23
  ...wplusMessages.es
16
24
  }
17
25
  messages.ja = {
18
26
  ...commonMessages.ja,
27
+ ...wappsMessages.en,
28
+ ...wplatMessages.ja,
19
29
  ...wplusMessages.ja
20
30
  }
21
31