Skip to content

关于评论框的两个问题 #135

Answered by lizheming
dyxang asked this question in Q&A
Discussion options

You must be logged in to vote
  1. 文案自定义可以通过自定义 i18n 配置来实现
    new Waline({
      lang: 'zh-CN',
      langMode: {
        sofa: '你有权保持沉默。如果你开口说话,那么你所说的每一句话都将作为呈堂证供。'
      }
    });
  2. 最新的版本里已经支持了 anonymous 参数,用于控制登录的显示,设置 anonymous: true 即可隐藏登录按钮,具体见文档 https://waline.js.org/client/basic.html#anonymous。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mister-Hope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants