Skip to content

Commit

Permalink
fix: default language
Browse files Browse the repository at this point in the history
  • Loading branch information
teaSummer committed Jun 25, 2024
1 parent 3201f13 commit 4c8da33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (history.scrollRestoration) {
// 国际化 (internationalization)
const i18n = function(callback = () => {}) {
al.setLangProp(['locales/zh-CN.yml','locales/en.yml'], function() {
al.load('en', al.mode.HTML, callback);
al.load(void 0, al.mode.HTML, callback);
}, {url: true, yaml: true});
}

Expand Down

0 comments on commit 4c8da33

Please sign in to comment.