Ticket #4412: 4412.patch
File 4412.patch, 3.3 KB (added by , 14 years ago) |
---|
-
_source/lang/en.js
659 659 ignoreAll : 'Ignore All', 660 660 addWord : 'Add Word', 661 661 emptyDic : 'Dictionary name should not be empty.', 662 662 663 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 663 669 languagesTab : 'Languages', 670 664 671 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 665 679 aboutTab : 'About' 666 680 }, 667 681 -
_source/plugins/scayt/dialogs/options.js
101 101 html : '<form name="dictionarybar"><div class="inner_dictionary" style="text-align:left; white-space:normal; width:320px; overflow: hidden;">' + 102 102 ' <div style="margin:5px auto; width:80%;white-space:normal; overflow:hidden;" id="dic_message"> </div>' + 103 103 ' <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>'+ 105 105 ' <span class="cke_dialog_ui_labeled_content" >'+ 106 106 ' <div class="cke_dialog_ui_input_text">'+ 107 107 ' <input id="dic_name" type="text" class="cke_dialog_ui_input_text"/>'+ … … 218 218 for ( i in buttons ) 219 219 { 220 220 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>' ); 222 224 } 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" ); 224 227 } 225 228 226 229 … … 236 239 && 'undefined' != typeof captions[ label ] 237 240 && 'undefined' != typeof dialog.options[labels[ i ]] ) 238 241 { 239 labelElement.setHtml( captions[ label ] );242 labelElement.setHtml( editor.lang.scayt[labels[ i ]] || captions[ label ] ); 240 243 var labelParent = labelElement.getParent(); 241 244 labelParent.$.style.display = "block"; 242 245 }