cusdis icon indicating copy to clipboard operation
cusdis copied to clipboard

Provide a simple international code.

Open anghunk opened this issue 4 years ago • 0 comments

Internationalization seems to fail occasionally, so I provide a simple internationalization code, only for Chinese.

Other languages can consider replacing the corresponding text.

<script>
  window.CUSDIS_LOCALE = {
    "powered_by": "评论由 Cusdis 提供",
    "post_comment": "发送",
    "loading": "加载中",
    "email": "邮箱地址 (可选)",
    "nickname": "昵称",
    "reply_placeholder": "回复内容...",
    "reply_btn": "回复",
    "sending": "发送中...",
    "mod_badge": "管理员",
    "content_is_required": "内容不能为空",
    "nickname_is_required": "昵称不能为空",
    "comment_has_been_sent": "评论已发送,管理员审核通过后会展示"
  }
</script>

anghunk avatar Sep 24 '21 09:09 anghunk