How to translate nicEdit


  1. Download developer version
  2. Open nicEdit.js file
  3. Go to this few lines an edit the help text, for example, the translation into Spanish would be:
 
Aroud line 252:
var nicEditorConfig = bkClass.extend({

    buttons : {

        'bold' : {name : __('Negrita'), command : 'Bold', tags : ['B','STRONG'], css : {'font-weight' : 'bold'}, key : 'b'},

        'italic' : {name : __('Cursiva'), command : 'Italic', tags : ['EM','I'], css : {'font-style' : 'italic'}, key : 'i'},

        'underline' : {name : __('Subrayado'), command : 'Underline', tags : ['U'], css : {'text-decoration' : 'underline'}, key : 'u'},

        'left' : {name : __('Alinear texto a la izquierda'), command : 'justifyleft', noActive : true},

        'center' : {name : __('Centrar texto'), command : 'justifycenter', noActive : true},

        'right' : {name : __('Alinear texto a la derecha'), command : 'justifyright', noActive : true},

        'justify' : {name : __('Justificar texto'), command : 'justifyfull', noActive : true},

        'ol' : {name : __('Insertar lista ordenada'), command : 'insertorderedlist', tags : ['OL']},

        'ul' :     {name : __('Insertar lista desordenada'), command : 'insertunorderedlist', tags : ['UL']},

        'subscript' : {name : __('SubIndice'), command : 'subscript', tags : ['SUB']},

        'superscript' : {name : __('SuperIndice'), command : 'superscript', tags : ['SUP']},

        'strikethrough' : {name : __('Tachar'), command : 'strikeThrough', css : {'text-decoration' : 'line-through'}},

        'removeformat' : {name : __('Borrar formato'), command : 'removeformat', noActive : true},

        'indent' : {name : __('Identar'), command : 'indent', noActive : true},

        'outdent' : {name : __('Eliminar identado'), command : 'outdent', noActive : true},

        'hr' : {name : __('Barra separadora'), command : 'insertHorizontalRule', noActive : true}

 
Aroud line 1046:
var nicLinkOptions = {

    buttons : {

        'link' : {name : 'Enlazar', type : 'nicLinkButton', tags : ['A']},

        'unlink' : {name : 'Eliminar enlace',  command : 'unlink', noActive : true}

    }

 
Aroud line 1120:
var nicCodeOptions = {

    buttons : {

        'xhtml' : {name : 'Visualizar HTML', type : 'nicCodeButton'}

    }

};

 
Aroud line 1131:
    addPane : function() {

        this.addForm({

            '' : {type : 'title', txt : 'Editar HTML'},

            'code' : {type : 'content', 'value' : this.ne.selectedInstance.getContent(), style : {width: '340px', height : '200px'}}

        });

    },

Please correct my English, thanks!

high power led

potty training girls

short wedding dresses