mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
core&ui: upgrade deps version
This commit is contained in:
1 parent
f2582344b9
commit
dca4f46a2b
6 files changed
+16
-14
No files matched your search
@@ -3,7 +3,7 @@ import loadExternalModule from 'vj/utils/loadModule';
|
||||
let loaded;
|
||||
const loaders = {
|
||||
i18n: async () => {
|
||||
const { setLocaleData } = await import('vj/components/monaco/nls');
|
||||
const { setLocaleData } = await import('./nls');
|
||||
let resource;
|
||||
const lang = UserContext.viewLang;
|
||||
if (lang === 'zh') {
|
||||
|
||||
@@ -14,6 +14,8 @@ function format(message, args) {
|
||||
return result;
|
||||
}
|
||||
|
||||
export const getConfiguredDefaultLocale = () => 'zh';
|
||||
|
||||
let CURRENT_LOCALE_DATA = {};
|
||||
|
||||
function find(path, message) {
|
||||
|
||||
Reference in new issue
Block a user