Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Simplified/Traditional Chinese language swich #991

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shliujing
Copy link

参考三步让你的网站支持简体繁体切换
可以在我的博客查看效果:在网站底部,增加简体/繁体的切换。

在参考的基础上,做了主题配置。
第一次提交PR,对next也不是非常熟悉。
整体配置还行,可能还css的地方重构一下,需要做是否启用的判断。

else
{
href="#";
onclick = new Function( "translatePage(); return false;");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Function constructor is a form of eval.
Too many errors. (92% scanned).

@shliujing
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants