@steedos-widgets/amis-lib 6.10.1-beta.42 → 6.10.1-beta.43
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/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +2 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -1829,22 +1829,15 @@ var zh_cn = {
|
|
|
1829
1829
|
};
|
|
1830
1830
|
|
|
1831
1831
|
const resources = {
|
|
1832
|
-
"en
|
|
1832
|
+
"en": {
|
|
1833
1833
|
translation: en_us
|
|
1834
1834
|
},
|
|
1835
1835
|
"zh-CN": {
|
|
1836
1836
|
translation: zh_cn
|
|
1837
1837
|
}
|
|
1838
1838
|
};
|
|
1839
|
-
var locale = "zh-CN";
|
|
1840
|
-
if (typeof window != 'undefined') {
|
|
1841
|
-
if (window.Builder?.settings.locale == "en-us") {
|
|
1842
|
-
locale = "en-US";
|
|
1843
|
-
} else if (window.Builder?.settings.locale == "zh-cn") {
|
|
1844
|
-
locale = "zh-CN";
|
|
1845
|
-
}
|
|
1846
|
-
}
|
|
1847
1839
|
|
|
1840
|
+
var locale = window.navigator.language;
|
|
1848
1841
|
|
|
1849
1842
|
i18next
|
|
1850
1843
|
.use(initReactI18next)
|