🔥 📝 Fixed #148 Add English language support.

This commit is contained in:
elkan1788
2025-01-29 21:29:33 +08:00
parent ee7ce903ff
commit 5190eb1920
44 changed files with 1701 additions and 59 deletions

View File

@@ -49,15 +49,15 @@
}
.flag-icon-zh-cn {
background-image: url("/imgs/flags/zh-CN.png");
background-image: url("/imgs/flags/zh-cn.svg");
}
.flag-icon-en-us {
background-image: url("/imgs/flags/en-US.png");
background-image: url("/imgs/flags/en-us.svg");
}
.flag-icon-fr-fr {
background-image: url("/imgs/flags/fr-FR.png");
background-image: url("/imgs/flags/fr-fr.svg");
}
}

View File

@@ -1,9 +0,0 @@
/* Google translate plugin */
NexT.plugins.others.translate = function() {
const element = '#gtranslate';
if (!NexT.utils.checkDOMExist(element)) return;
NexT.utils.lazyLoadComponent(element, function() {
window.translateelement_styles='/css/google-translate.min.css';
NexT.utils.getScript('/js/3rd/google-translate.min.js');
});
}