Ticket #4412: 4412.patch

File 4412.patch, 3.3 KB (added by WebSpellChecker.net, 14 years ago)
  • _source/lang/en.js

     
    659659                ignoreAll               : 'Ignore All',
    660660                addWord                 : 'Add Word',
    661661                emptyDic                : 'Dictionary name should not be empty.',
     662               
    662663                optionsTab              : 'Options',
     664                allCaps                 : 'Ignore All-Caps Words',
     665                ignoreDomainNames : 'Ignore Domain Names',
     666                mixedCase               : 'Ignore Words with Mixed Case',
     667                mixedWithDigits : 'Ignore Words with Numbers',
     668               
    663669                languagesTab    : 'Languages',
     670               
    664671                dictionariesTab : 'Dictionaries',
     672                dic_field_name  : 'Dictionary name',
     673                dic_create              : 'Create',
     674                dic_restore             : 'Restore',
     675                dic_delete              : 'Delete',
     676                dic_rename              : 'Rename',
     677                dic_info                : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type it\'s name and click the Restore button.',
     678               
    665679                aboutTab                : 'About'
    666680        },
    667681
  • _source/plugins/scayt/dialogs/options.js

     
    101101                                                        html :  '<form name="dictionarybar"><div class="inner_dictionary" style="text-align:left; white-space:normal; width:320px; overflow: hidden;">' +
    102102                                                                        '       <div style="margin:5px auto; width:80%;white-space:normal; overflow:hidden;" id="dic_message"> </div>' +
    103103                                                                        '       <div style="margin:5px auto; width:80%;white-space:normal;"> ' +
    104                                                                         '       <span class="cke_dialog_ui_labeled_label" >Dictionary name</span><br>'+
     104                                                                        '       <span class="cke_dialog_ui_labeled_label" id="dic_field_name" ></span><br>'+
    105105                                                                        '               <span class="cke_dialog_ui_labeled_content" >'+
    106106                                                                        '                       <div class="cke_dialog_ui_input_text">'+
    107107                                                                        '                               <input id="dic_name" type="text" class="cke_dialog_ui_input_text"/>'+
     
    218218                        for ( i in buttons )
    219219                        {
    220220                                var button = buttons[ i ];
    221                                 doc.getById( button ).setHtml( '<span class="cke_dialog_ui_button">' + captions[ 'button_' + button]  +'</span>' );
     221                                doc.getById( button ).setHtml( '<span class="cke_dialog_ui_button">'
     222                                                                                                + editor.lang.scayt[button] || captions[ 'button_' + button] 
     223                                                                                                +'</span>' );
    222224                        }
    223                         doc.getById( 'dic_info' ).setHtml( captions[ 'dic_info' ] );
     225                        doc.getById( 'dic_info' ).setHtml( editor.lang.scayt['dic_info'] || captions[ 'dic_info' ] );
     226                        doc.getById( 'dic_field_name' ).setHtml( editor.lang.scayt['dic_field_name'] || captions[ 'dic_field_name' ] || "User Dictionary Name" );
    224227                }
    225228
    226229
     
    236239                                   && 'undefined' != typeof captions[ label ]
    237240                                   && 'undefined' != typeof dialog.options[labels[ i ]] )
    238241                                {
    239                                         labelElement.setHtml( captions[ label ] );
     242                                        labelElement.setHtml( editor.lang.scayt[labels[ i ]] || captions[ label ] );
    240243                                        var labelParent = labelElement.getParent();
    241244                                        labelParent.$.style.display = "block";
    242245                                }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy