Ticket #7966: 7966_3.patch
File 7966_3.patch, 4.5 KB (added by , 13 years ago) |
---|
-
_source/lang/en.js
121 121 alignBottom : 'Bottom', 122 122 invalidHeight : 'Height must be a number.', 123 123 invalidWidth : 'Width must be a number.', 124 invalidCssLength : ' Specified value must be a valid CSS length unit.',125 invalidHtmlLength : ' Specified value must be either a number in pixels or a percentage value.',124 invalidCssLength : 'Value specified for the "%1" field must be a positive number with or without a valid CSS measurement unit (px, %, in, cm, mm, em, ex, pt, or pc).', 125 invalidHtmlLength : 'Value specified for the "%1" field must be a positive number with or without a valid HTML measurement unit (px or %).', 126 126 127 127 // Put the voice-only part of the label in the span. 128 128 unavailable : '%1<span class="cke_accessibility">, unavailable</span>' -
_source/plugins/flash/dialogs/flash.js
369 369 id : 'width', 370 370 style : 'width:95px', 371 371 label : editor.lang.common.width, 372 validate : CKEDITOR.dialog.validate.htmlLength( editor.lang.common.invalidHtmlLength ),372 validate : CKEDITOR.dialog.validate.htmlLength( editor.lang.common.invalidHtmlLength.replace( '%1', editor.lang.common.width ) ), 373 373 setup : function( objectNode, embedNode, paramMap, fakeImage ) 374 374 { 375 375 loadValue.apply( this, arguments ); … … 387 387 id : 'height', 388 388 style : 'width:95px', 389 389 label : editor.lang.common.height, 390 validate : CKEDITOR.dialog.validate.htmlLength( editor.lang.common.invalidHtmlLength ),390 validate : CKEDITOR.dialog.validate.htmlLength( editor.lang.common.invalidHtmlLength.replace( '%1', editor.lang.common.height ) ), 391 391 setup : function( objectNode, embedNode, paramMap, fakeImage ) 392 392 { 393 393 loadValue.apply( this, arguments ); -
_source/plugins/iframe/dialogs/iframe.js
152 152 style : 'width:100%', 153 153 labelLayout : 'vertical', 154 154 label : commonLang.width, 155 validate : CKEDITOR.dialog.validate. cssLength( editor.lang.common.invalidCssLength),155 validate : CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.width ) ), 156 156 getValue : defaultToPixel, 157 157 setup : function( iframeNode, fakeImage ) 158 158 { … … 178 178 style : 'width:100%', 179 179 labelLayout : 'vertical', 180 180 label : commonLang.height, 181 validate : CKEDITOR.dialog.validate. cssLength( editor.lang.common.invalidCssLength),181 validate : CKEDITOR.dialog.validate.htmlLength( commonLang.invalidHtmlLength.replace( '%1', commonLang.height ) ), 182 182 getValue : defaultToPixel, 183 183 setup : function( iframeNode, fakeImage ) 184 184 { -
_source/plugins/table/dialogs/table.js
411 411 label : editor.lang.common.width, 412 412 'default' : 500, 413 413 getValue : defaultToPixel, 414 validate : CKEDITOR.dialog.validate.cssLength( editor.lang.common.invalidCssLength ),414 validate : CKEDITOR.dialog.validate.cssLength( editor.lang.common.invalidCssLength.replace( '%1', editor.lang.common.width ) ), 415 415 onChange : function() 416 416 { 417 417 var styles = this.getDialog().getContentElement( 'advanced', 'advStyles' ); … … 438 438 label : editor.lang.common.height, 439 439 'default' : '', 440 440 getValue : defaultToPixel, 441 validate : CKEDITOR.dialog.validate.cssLength( editor.lang.common.invalidCssLength ),441 validate : CKEDITOR.dialog.validate.cssLength( editor.lang.common.invalidCssLength.replace( '%1', editor.lang.common.height ) ), 442 442 onChange : function() 443 443 { 444 444 var styles = this.getDialog().getContentElement( 'advanced', 'advStyles' );