Opened 11 years ago

Closed 11 years ago

#2421 closed New Feature (duplicate)

FCKlang for alerts in FCKeditor dialogs

Reported by: nunziocastaldi Owned by:
Priority: Normal Milestone:
Component: UI : Language Version: FCKeditor 2.3.2
Keywords: Cc:

Description

according to me, It would be nice to set FCKlang for alerts in the following dialogs, available at the moment only in English language:

FCKeditor\editor\dialog\fck_image\fck_image.js FCKeditor\editor\dialog\fck_link\fck_link.js FCKeditor\editor\dialog\fck_flash\fck_flash.js

######################

i.e.:

switch ( errorNumber ) {

case 0 : No errors

alert( FCKLang.UploadFileOk ) ; break ;

case 1 : Custom error

alert( customMsg ) ; return ;

case 101 : Custom warning

alert( customMsg ) ; break ;

case 201 :

alert( FCKLang.UploadFileRenamed + '"' + fileName + '"' ) ; break ;

case 202 :

alert( FCKLang.UploadInvalidType ) ; return ;

case 203 :

alert( FCKLang.UploadSecurityError ) ; return ;

case 500 :

alert( FCKLang.UploadConnectorDisabled ) ; break ;

default :

alert( FCKLang.UploadDefaultError + errorNumber ) ; return ;

}

thx and hi from Italy

Change History (1)

comment:1 Changed 11 years ago by Alfonso Martínez de Lizarrondo

Milestone: FCKeditor 2.6.3
Resolution: duplicate
Status: newclosed
Version: FCKeditor 2.6.3 BetaFCKeditor 2.3.2

dup of #909

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy