Update i18n.js

This commit is contained in:
Furrium Network authored and GitHub committed 2026-08-11 10:21:10 +08:00
1 parent bc4d0d9471
commit 955c9d38d1
1 file changed
+10 -1
+10 -1
View File
@@ -393,5 +393,14 @@ function applyTranslation() {
// ============================================================
document.addEventListener('DOMContentLoaded', function() {
setTimeout(applyTranslation, 200);
setTimeout(function() {
// 先加载论坛名称
if (typeof loadForumName === 'function') {
loadForumName();
}
// 再翻译
applyTranslation();
// 显示页面
document.body.classList.add('i18n-ready');
}, 200);
});