bootstrap-wysihtml5 icon indicating copy to clipboard operation
bootstrap-wysihtml5 copied to clipboard

Unable to render an i18n translation

Open serser opened this issue 10 years ago • 1 comments

Done as doc, but it posts an error:

bootstrap-wysihtml5.zh-CN.js:5 
Uncaught TypeError: Cannot set property 'zh-CN' of undefined

The error lines are:

(function($){
    $.fn.wysihtml5.locale["zh-CN"] = {
        font_styles: {
        normal: "正文",
        h1: "标题 1",
        h2: "标题 2",
        h3: "标题 3"
        },

serser avatar Feb 16 '15 15:02 serser

Hey @serser please take a look at this issue #322 It may help you with the error you get.

germanio avatar Dec 05 '16 13:12 germanio