Ticket #5599: 5599_1.patch

File 5599_1.patch, 12.1 KB (added by Tobiasz Cudnik, 9 years ago)
  • _source/plugins/specialchar/dialogs/specialchar.js

     
    229229                                '[',']','^','_','`',
    230230                                'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p',
    231231                                'q','r','s','t','u','v','w','x','y','z',
    232                                 '{','|','}','~','€(EURO SIGN)','‘(LEFT SINGLE QUOTATION MARK)','’(RIGHT SINGLE QUOTATION MARK)','“(LEFT DOUBLE QUOTATION MARK)',
    233                                 '”(RIGHT DOUBLE QUOTATION MARK)','–(EN DASH)','—(EM DASH)','¡(INVERTED EXCLAMATION MARK)','¢(CENT SIGN)','£(POUND SIGN)',
    234                                 '¤(CURRENCY SIGN)','¥(YEN SIGN)','¦(BROKEN BAR)','§(SECTION SIGN)','¨(DIAERESIS)','©(COPYRIGHT SIGN)','ª(FEMININE ORDINAL INDICATOR)',
    235                                 '«(LEFT-POINTING DOUBLE ANGLE QUOTATION MARK)','¬(NOT SIGN)','®(REGISTERED SIGN)','¯(MACRON)','°(DEGREE SIGN)','±(PLUS-MINUS SIGN)','²(SUPERSCRIPT TWO)',
    236                                 '³(SUPERSCRIPT THREE)','´(ACUTE ACCENT)','µ(MICRO SIGN)','¶(PILCROW SIGN)','·(MIDDLE DOT)','¸(CEDILLA)',
    237                                 '¹(SUPERSCRIPT ONE)','º(MASCULINE ORDINAL INDICATOR)','»(RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK)','¼(VULGAR FRACTION ONE QUARTER)','½(VULGAR FRACTION ONE HALF)','¾(VULGAR FRACTION THREE QUARTERS)',
    238                                 '¿(INVERTED QUESTION MARK)','À(LATIN CAPITAL LETTER A WITH GRAVE)','Á(LATIN CAPITAL LETTER A WITH ACUTE)','Â(LATIN CAPITAL LETTER A WITH CIRCUMFLEX)','Ã(LATIN CAPITAL LETTER A WITH TILDE)','Ä(LATIN CAPITAL LETTER A WITH DIAERESIS)',
    239                                 'Å(LATIN CAPITAL LETTER A WITH RING ABOVE)','Æ(LATIN CAPITAL LETTER AE)','Ç(LATIN CAPITAL LETTER C WITH CEDILLA)','È(LATIN CAPITAL LETTER E WITH GRAVE)','É(LATIN CAPITAL LETTER E WITH ACUTE)','Ê(LATIN CAPITAL LETTER E WITH CIRCUMFLEX)',
    240                                 'Ë(LATIN CAPITAL LETTER E WITH DIAERESIS)','Ì(LATIN CAPITAL LETTER I WITH GRAVE)','Í(LATIN CAPITAL LETTER I WITH ACUTE)','Î(LATIN CAPITAL LETTER I WITH CIRCUMFLEX)','Ï(LATIN CAPITAL LETTER I WITH DIAERESIS)','Ð(LATIN CAPITAL LETTER ETH)',
    241                                 'Ñ(LATIN CAPITAL LETTER N WITH TILDE)','Ò(LATIN CAPITAL LETTER O WITH GRAVE)','Ó(LATIN CAPITAL LETTER O WITH ACUTE)','Ô(LATIN CAPITAL LETTER O WITH CIRCUMFLEX)','Õ(LATIN CAPITAL LETTER O WITH TILDE)','Ö(LATIN CAPITAL LETTER O WITH DIAERESIS)',
    242                                 '×(MULTIPLICATION SIGN)','Ø(LATIN CAPITAL LETTER O WITH STROKE)','Ù(LATIN CAPITAL LETTER U WITH GRAVE)','Ú(LATIN CAPITAL LETTER U WITH ACUTE)','Û(LATIN CAPITAL LETTER U WITH CIRCUMFLEX)','Ü(LATIN CAPITAL LETTER U WITH DIAERESIS)',
    243                                 'Ý(LATIN CAPITAL LETTER Y WITH ACUTE)','Þ(LATIN CAPITAL LETTER THORN)','ß(LATIN SMALL LETTER SHARP S)','à(LATIN SMALL LETTER A WITH GRAVE)','á(LATIN SMALL LETTER A WITH ACUTE)','â(LATIN SMALL LETTER A WITH CIRCUMFLEX)',
    244                                 'ã(LATIN SMALL LETTER A WITH TILDE)','ä(LATIN SMALL LETTER A WITH DIAERESIS)','å(LATIN SMALL LETTER A WITH RING ABOVE)','æ(LATIN SMALL LETTER AE)','ç(LATIN SMALL LETTER C WITH CEDILLA)','è(LATIN SMALL LETTER E WITH GRAVE)',
    245                                 'é(LATIN SMALL LETTER E WITH ACUTE)','ê(LATIN SMALL LETTER E WITH CIRCUMFLEX)','ë(LATIN SMALL LETTER E WITH DIAERESIS)','ì(LATIN SMALL LETTER I WITH GRAVE)','í(LATIN SMALL LETTER I WITH ACUTE)','î(LATIN SMALL LETTER I WITH CIRCUMFLEX)',
    246                                 'ï(LATIN SMALL LETTER I WITH DIAERESIS)','ð(LATIN SMALL LETTER ETH)','ñ(LATIN SMALL LETTER N WITH TILDE)','ò(LATIN SMALL LETTER O WITH GRAVE)','ó(LATIN SMALL LETTER O WITH ACUTE)','ô(LATIN SMALL LETTER O WITH CIRCUMFLEX)',
    247                                 'õ(LATIN SMALL LETTER O WITH TILDE)','ö(LATIN SMALL LETTER O WITH DIAERESIS)',
    248                                 '÷(DIVISION SIGN)','ø(LATIN SMALL LETTER O WITH STROKE)',
    249                                 'ù(LATIN SMALL LETTER U WITH GRAVE)','ú(LATIN SMALL LETTER U WITH ACUTE)',
    250                                 'û(LATIN SMALL LETTER U WITH CIRCUMFLEX)','ü(LATIN SMALL LETTER U WITH DIAERESIS)',
    251                                 'ü(LATIN SMALL LETTER U WITH DIAERESIS)','ý(LATIN SMALL LETTER Y WITH ACUTE)','þ(LATIN SMALL LETTER THORN)','ÿ(LATIN SMALL LETTER Y WITH DIAERESIS)',
    252                                 'Œ(LATIN CAPITAL LIGATURE OE)',
    253                                 'œ(LATIN SMALL LIGATURE OE)','Ŵ(LATIN CAPITAL LETTER W WITH CIRCUMFLEX)',
    254                                 '&#374(LATIN CAPITAL LETTER Y WITH CIRCUMFLEX)','&#373(LATIN SMALL LETTER W WITH CIRCUMFLEX)',
    255                                 'ŷ(LATIN SMALL LETTER Y WITH CIRCUMFLEX)','‚(SINGLE LOW-9 QUOTATION MARK)',
    256                                 '‛(SINGLE HIGH-REVERSED-9 QUOTATION MARK)','„(DOUBLE LOW-9 QUOTATION MARK)','…(HORIZONTAL ELLIPSIS)',
    257                                 '™(TRADE MARK SIGN)','►(BLACK RIGHT-POINTING POINTER)','•(BULLET)',
    258                                 '→(RIGHTWARDS ARROW)','⇒(RIGHTWARDS DOUBLE ARROW)','⇔(LEFT RIGHT DOUBLE ARROW)','♦(BLACK DIAMOND SUIT)','≈(ALMOST EQUAL TO)'
     232                                '{','|','}','~',
     233                                ["€", lang.euro], ["‘", lang.lsquo], ["’", lang.rsquo], ["“", lang.ldquo], ["”", lang.rdquo], ["–", lang.ndash], ["—", lang.mdash], ["¡", lang.iexcl], ["¢", lang.cent], ["£", lang.pound], ["¤", lang.curren], ["¥", lang.yen], ["¦", lang.brvbar], ["§", lang.sect], ["¨", lang.uml], ["©", lang.copy], ["ª", lang.ordf], ["«", lang.laquo], ["¬", lang.not], ["®", lang.reg], ["¯", lang.macr], ["°", lang.deg], ["&", "LANG."], ["²", lang.sup2], ["³", lang.sup3], ["´", lang.acute], ["µ", lang.micro], ["¶", lang.para], ["·", lang.middot], ["¸", lang.cedil], ["¹", lang.sup1], ["º", lang.ordm], ["&", "LANG."], ["¼", lang.frac14], ["½", lang.frac12], ["¾", lang.frac34], ["¿", lang.iquest], ["À", lang.agrave], ["Á", lang.aacute], ["Â", lang.acirc], ["Ã", lang.atilde], ["Ä", lang.auml], ["Å", lang.aring], ["Æ", lang.aelig], ["Ç", lang.ccedil], ["È", lang.egrave], ["É", lang.eacute], ["Ê", lang.ecirc], ["Ë", lang.euml], ["Ì", lang.igrave], ["Í", lang.iacute], ["Î", lang.icirc], ["Ï", lang.iuml], ["Ð", lang.eth], ["Ñ", lang.ntilde], ["Ò", lang.ograve], ["Ó", lang.oacute], ["Ô", lang.ocirc], ["Õ", lang.otilde], ["Ö", lang.ouml], ["×", lang.times], ["Ø", lang.oslash], ["Ù", lang.ugrave], ["Ú", lang.uacute], ["Û", lang.ucirc], ["Ü", lang.uuml], ["Ý", lang.yacute], ["Þ", lang.thorn], ["ß", lang.szlig], ["à", lang.agrave], ["á", lang.aacute], ["â", lang.acirc], ["ã", lang.atilde], ["ä", lang.auml], ["å", lang.aring], ["æ", lang.aelig], ["ç", lang.ccedil], ["è", lang.egrave], ["é", lang.eacute], ["ê", lang.ecirc], ["ë", lang.euml], ["ì", lang.igrave], ["í", lang.iacute], ["î", lang.icirc], ["ï", lang.iuml], ["ð", lang.eth], ["ñ", lang.ntilde], ["ò", lang.ograve], ["ó", lang.oacute], ["ô", lang.ocirc], ["õ", lang.otilde], ["ö", lang.ouml], ["÷", lang.divide], ["ø", lang.oslash], ["ù", lang.ugrave], ["ú", lang.uacute], ["û", lang.ucirc], ["ü", lang.uuml], ["ü", lang.uuml], ["ý", lang.yacute], ["þ", lang.thorn], ["ÿ", lang.yuml], ["Œ", lang.oelig], ["œ", lang.oelig], ["Ŵ", lang.sign_372], ["&#374", lang.sign_374], ["&#373", lang.sign_373], ["ŷ", lang.sign_375], ["&", "LANG."], ["‛", lang.sign_8219], ["„", lang.bdquo], ["…", lang.hellip], ["™", lang.trade], ["►", lang.sign_9658], ["•", lang.bull], ["→", lang.rarr], ["⇒", lang.rarr], ["⇔", lang.harr], ["♦", lang.diams], ["≈", lang.asymp]
    259234                        ],
    260235                onLoad :  function()
    261236                {
     
    281256                                        if ( ( character = chars[ i ] ) )
    282257                                        {
    283258                                                charDesc = '';
    284                                                 character = character.replace( /\((.*?)\)/, function( match, desc )
    285                                                         {
    286                                                                 charDesc = desc;
    287                                                                 return '';
    288                                                         } );
    289 
     259                                               
     260                                                if ( character instanceof Array ) {
     261                                                        charDesc = character[ 1 ];
     262                                                        character = character[ 0 ];
     263                                                }
     264
    290265                                                // Use character in case description unavailable.
    291266                                                charDesc = charDesc || character;
    292267
  • _source/lang/en.js

     
    115115                options : 'Context Menu Options'
    116116        },
    117117
    118         // Special char dialog.
    119         specialChar             :
    120         {
    121                 toolbar         : 'Insert Special Character',
    122                 title           : 'Select Special Character',
    123                 options : 'Special Character Options'
    124         },
    125 
    126118        // Link dialog.
    127119        link :
    128120        {
     
    743735        },
    744736
    745737        toolbarCollapse : 'Collapse Toolbar',
    746         toolbarExpand   : 'Expand Toolbar'
     738        toolbarExpand   : 'Expand Toolbar',
     739       
     740        // Special char dialog.
     741        specialChar             :
     742        {
     743                toolbar         : 'Insert Special Character',
     744                title           : 'Select Special Character',
     745                options : 'Special Character Options',
     746                euro:"EURO SIGN", lsquo:"LEFT SINGLE QUOTATION MARK", rsquo:"RIGHT SINGLE QUOTATION MARK", ldquo:"LEFT DOUBLE QUOTATION MARK", rdquo:"RIGHT DOUBLE QUOTATION MARK", ndash:"EN DASH", mdash:"EM DASH", iexcl:"INVERTED EXCLAMATION MARK", cent:"CENT SIGN", pound:"POUND SIGN", curren:"CURRENCY SIGN", yen:"YEN SIGN", brvbar:"BROKEN BAR", sect:"SECTION SIGN", uml:"DIAERESIS", copy:"COPYRIGHT SIGN", ordf:"FEMININE ORDINAL INDICATOR", laquo:"LEFT-POINTING DOUBLE ANGLE QUOTATION MARK", not:"NOT SIGN", reg:"REGISTERED SIGN", macr:"MACRON", deg:"DEGREE SIGN", '':"s", sup2:"SUPERSCRIPT TWO", sup3:"SUPERSCRIPT THREE", acute:"ACUTE ACCENT", micro:"MICRO SIGN", para:"PILCROW SIGN", middot:"MIDDLE DOT", cedil:"CEDILLA", sup1:"SUPERSCRIPT ONE", ordm:"MASCULINE ORDINAL INDICATOR", frac14:"VULGAR FRACTION ONE QUARTER", frac12:"VULGAR FRACTION ONE HALF", frac34:"VULGAR FRACTION THREE QUARTERS", iquest:"INVERTED QUESTION MARK", agrave:"LATIN SMALL LETTER A WITH GRAVE", aacute:"LATIN SMALL LETTER A WITH ACUTE", acirc:"LATIN SMALL LETTER A WITH CIRCUMFLEX", atilde:"LATIN SMALL LETTER A WITH TILDE", auml:"LATIN SMALL LETTER A WITH DIAERESIS", aring:"LATIN SMALL LETTER A WITH RING ABOVE", aelig:"LATIN SMALL LETTER AE", ccedil:"LATIN SMALL LETTER C WITH CEDILLA", egrave:"LATIN SMALL LETTER E WITH GRAVE", eacute:"LATIN SMALL LETTER E WITH ACUTE", ecirc:"LATIN SMALL LETTER E WITH CIRCUMFLEX", euml:"LATIN SMALL LETTER E WITH DIAERESIS", igrave:"LATIN SMALL LETTER I WITH GRAVE", iacute:"LATIN SMALL LETTER I WITH ACUTE", icirc:"LATIN SMALL LETTER I WITH CIRCUMFLEX", iuml:"LATIN SMALL LETTER I WITH DIAERESIS", eth:"LATIN SMALL LETTER ETH", ntilde:"LATIN SMALL LETTER N WITH TILDE", ograve:"LATIN SMALL LETTER O WITH GRAVE", oacute:"LATIN SMALL LETTER O WITH ACUTE", ocirc:"LATIN SMALL LETTER O WITH CIRCUMFLEX", otilde:"LATIN SMALL LETTER O WITH TILDE", ouml:"LATIN SMALL LETTER O WITH DIAERESIS", times:"MULTIPLICATION SIGN", oslash:"LATIN SMALL LETTER O WITH STROKE", ugrave:"LATIN SMALL LETTER U WITH GRAVE", uacute:"LATIN SMALL LETTER U WITH ACUTE", ucirc:"LATIN SMALL LETTER U WITH CIRCUMFLEX", uuml:"LATIN SMALL LETTER U WITH DIAERESIS", yacute:"LATIN SMALL LETTER Y WITH ACUTE", thorn:"LATIN SMALL LETTER THORN", szlig:"LATIN SMALL LETTER SHARP S", divide:"DIVISION SIGN", yuml:"LATIN SMALL LETTER Y WITH DIAERESIS", oelig:"LATIN SMALL LIGATURE OE", sign_372:"LATIN CAPITAL LETTER W WITH CIRCUMFLEX", sign_374:"LATIN CAPITAL LETTER Y WITH CIRCUMFLEX", sign_373:"LATIN SMALL LETTER W WITH CIRCUMFLEX", sign_375:"LATIN SMALL LETTER Y WITH CIRCUMFLEX", sign_8219:"SINGLE HIGH-REVERSED-9 QUOTATION MARK", bdquo:"DOUBLE LOW-9 QUOTATION MARK", hellip:"HORIZONTAL ELLIPSIS", trade:"TRADE MARK SIGN", sign_9658:"BLACK RIGHT-POINTING POINTER", bull:"BULLET", rarr:"RIGHTWARDS DOUBLE ARROW", harr:"LEFT RIGHT DOUBLE ARROW", diams:"BLACK DIAMOND SUIT", asymp:"ALMOST EQUAL TO"
     747        }
    747748};
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy