@dcloudio/uni-cli-shared 2.0.2-alpha-3070820230320001 → 2.0.2-alpha-3071220230331001
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/lib/i18n.js +2 -2
- package/package.json +2 -2
package/lib/i18n.js
CHANGED
|
@@ -84,7 +84,7 @@ function resolveI18nLocale (platfrom, locales, locale) {
|
|
|
84
84
|
return locale
|
|
85
85
|
}
|
|
86
86
|
const defaultLocales = ['zh-Hans', 'zh-Hant']
|
|
87
|
-
if (platfrom === 'app' || platfrom === 'h5') {
|
|
87
|
+
if (platfrom === 'app-plus' || platfrom === 'h5') {
|
|
88
88
|
defaultLocales.unshift('en')
|
|
89
89
|
} else {
|
|
90
90
|
// 小程序
|
|
@@ -96,4 +96,4 @@ function resolveI18nLocale (platfrom, locales, locale) {
|
|
|
96
96
|
module.exports = {
|
|
97
97
|
initLocales,
|
|
98
98
|
initI18nOptions
|
|
99
|
-
}
|
|
99
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-cli-shared",
|
|
3
|
-
"version": "2.0.2-alpha-
|
|
3
|
+
"version": "2.0.2-alpha-3071220230331001",
|
|
4
4
|
"description": "uni-cli-shared",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"postcss-urlrewrite": "^0.2.2",
|
|
27
27
|
"strip-json-comments": "^2.0.1"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "7cb55f4f4d9c6e3e310110bf5a8e8eb6782dc793"
|
|
30
30
|
}
|