Dotclear


Ignore:
Timestamp:
08/29/14 11:11:18 (11 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Add translation for ckeditor
Closes #1982

Location:
plugins/dcCKEditor/js/ckeditor-plugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCKEditor/js/ckeditor-plugins/dclink/plugin.js

    r2738 r2743  
    1212 
    1313               editor.ui.addButton('dcLink', { 
    14                     label: 'Link', 
     14                    label: dotclear.msg.link_title, 
    1515                    command: 'dcLinkCommand', 
    1616                    toolbar: 'insert' 
    1717               }); 
    18                 
     18 
    1919               editor.on('doubleclick',function(e) { 
    2020                    var element = CKEDITOR.plugins.link.getSelectedLink(editor) || e.data.element; 
    2121                    if (!element.isReadOnly()) { 
    22                          if (element.is('a')  
     22                         if (element.is('a') 
    2323                             && !element.hasClass('media-link') // link to original media @see js/popup_media.js 
    2424                             && !element.hasClass('post')) {    // link to an entry @see js/popup_posts.js 
     
    3939                              $.toolbarPopup(popup_url); 
    4040                              return false; 
    41                          }  
     41                         } 
    4242                    } 
    4343               }); 
  • plugins/dcCKEditor/js/ckeditor-plugins/entrylink/plugin.js

    r2738 r2743  
    1212 
    1313               editor.ui.addButton('EntryLink', { 
    14                     label: 'Entry Link Selection', 
     14                    label: dotclear.msg.post_link_title, 
    1515                    command: 'entryLinkCommand', 
    1616                    toolbar: 'insert' 
    1717               }); 
    18                 
     18 
    1919               editor.on('doubleclick',function(e) { 
    2020                    var element = CKEDITOR.plugins.link.getSelectedLink( editor ) || e.data.element; 
    2121                    if (!element.isReadOnly()) { 
    22                          if (element.is('a')  
     22                         if (element.is('a') 
    2323                             && !element.hasClass('media-link') 
    2424                             && element.hasClass('post')) { // link to original media @see js/popup_media.js 
     
    2727                              $.toolbarPopup('popup_posts.php?popup=1&editor='+editor.name); 
    2828                              return false; 
    29                          }  
     29                         } 
    3030                    } 
    3131               }); 
  • plugins/dcCKEditor/js/ckeditor-plugins/media/plugin.js

    r2738 r2743  
    88                    } 
    99               }); 
    10                 
     10 
    1111               editor.ui.addButton('Media', { 
    12                     label: 'Media Selection', 
     12                    label: dotclear.msg.img_select_title, 
    1313                    command: 'mediaCommand', 
    1414                    toolbar: 'insert' 
    1515               }); 
    16                 
     16 
    1717               editor.on('doubleclick',function(e) { 
    1818                    var element = CKEDITOR.plugins.link.getSelectedLink(editor) || e.data.element; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map