ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 5908


Ignore:
Timestamp:
Mar 21, 2008, 2:41:07 AM (11 years ago)
Author:
ebihara
Message:

#333:カラーピッカーやボタンなどの文言を日本語化

Location:
OpenPNE/branches/work/ebihara/prj_deco_diary/public_html/js
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ebihara/prj_deco_diary/public_html/js/pne.js

    r5907 r5908  
    3434        force_p_newlines : true,
    3535        force_br_newlines : true,
    36         inline_styles : false
     36        inline_styles : false,
     37        language : "ja"
    3738    });
    3839
  • OpenPNE/branches/work/ebihara/prj_deco_diary/public_html/js/tiny_mce/plugins/openpne/editor_plugin.js

    r5905 r5908  
    66
    77(function() {
     8        tinymce.PluginManager.requireLangPack('openpne');
    89    tinymce.create('tinymce.plugins.OpenPNEPlugin', {
    910        init : function(ed, url) {
     
    5354
    5455            // button
    55             ed.addButton('openpne_b', {title : 'Bold', image: button['openpne_b'], cmd : 'mceOpenPNE_b'});
    56             ed.addButton('openpne_u', {title : 'Underline', image: button['openpne_u'], cmd : 'mceOpenPNE_u'});
    57             ed.addButton('openpne_s', {title : 'Strikethrough', image: button['openpne_s'], cmd : 'mceOpenPNE_s'});
    58             ed.addButton('openpne_i', {title : 'Italic', image: button['openpne_i'], cmd : 'mceOpenPNE_i'});
    59             ed.addButton('openpne_large', {title : 'Large Font', image: button['openpne_large'], cmd : 'mceOpenPNE_large'});
    60             ed.addButton('openpne_small', {title : 'Small Font', image: button['openpne_small'], cmd : 'mceOpenPNE_small'});
    61             ed.addButton('openpne_color', {title : 'Font color', image: button['openpne_color'], cmd : 'mceOpenPNE_color'});
     56            ed.addButton('openpne_b', {title : '{#openpne.bold}', image: button['openpne_b'], cmd : 'mceOpenPNE_b'});
     57            ed.addButton('openpne_u', {title : '{#openpne.underline}', image: button['openpne_u'], cmd : 'mceOpenPNE_u'});
     58            ed.addButton('openpne_s', {title : '{#openpne.strikethrough}', image: button['openpne_s'], cmd : 'mceOpenPNE_s'});
     59            ed.addButton('openpne_i', {title : '{#openpne.italic}', image: button['openpne_i'], cmd : 'mceOpenPNE_i'});
     60            ed.addButton('openpne_large', {title : '{#openpne.large_font}', image: button['openpne_large'], cmd : 'mceOpenPNE_large'});
     61            ed.addButton('openpne_small', {title : '{#openpne.small_font}', image: button['openpne_small'], cmd : 'mceOpenPNE_small'});
     62            ed.addButton('openpne_color', {title : '{#openpne.font_color}', image: button['openpne_color'], cmd : 'mceOpenPNE_color'});
    6263
    6364            // event
Note: See TracChangeset for help on using the changeset viewer.