Ticket #7569: 7569_2.patch
File 7569_2.patch, 2.0 KB (added by , 14 years ago) |
---|
-
_source/plugins/image/dialogs/image.js
158 158 else 159 159 ratioButton.addClass( 'cke_btn_unlocked' ); 160 160 161 var lang = dialog._.editor.lang.image, 162 label = lang[ dialog.lockRatio ? 'unlockRatio' : 'lockRatio' ]; 161 ratioButton.setAttribute( 'aria-checked', dialog.lockRatio ); 163 162 164 ratioButton.setAttribute( 'title', label );165 ratioButton.getFirst().setText( label );166 167 163 return dialog.lockRatio; 168 164 }; 169 165 … … 793 789 } 794 790 }, 795 791 html : '<div>'+ 796 '<a href="javascript:void(0)" tabindex="-1" title="' + editor.lang.image. unlockRatio+797 '" class="cke_btn_locked" id="' + btnLockSizesId + '" role=" button"><span class="cke_label">' + editor.lang.image.unlockRatio+ '</span></a>' +792 '<a href="javascript:void(0)" tabindex="-1" title="' + editor.lang.image.lockSizes + 793 '" class="cke_btn_locked" id="' + btnLockSizesId + '" role="checkbox"><span class="cke_label">' + editor.lang.image.lockSizes + '</span></a>' + 798 794 '<a href="javascript:void(0)" tabindex="-1" title="' + editor.lang.image.resetSize + 799 795 '" class="cke_btn_reset" id="' + btnResetSizeId + '" role="button"><span class="cke_label">' + editor.lang.image.resetSize + '</span></a>'+ 800 796 '</div>' -
_source/lang/en.js
412 412 btnUpload : 'Send it to the Server', 413 413 upload : 'Upload', 414 414 alt : 'Alternative Text', 415 lockRatio : 'Lock Ratio', 416 unlockRatio : 'Unlock Ratio', 415 lockSizes : 'Lock Sizes', 417 416 resetSize : 'Reset Size', 418 417 border : 'Border', 419 418 hSpace : 'HSpace',