Opened 17 years ago
Closed 17 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 17 years ago by
Milestone: | FCKeditor 2.6.3 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Version: | FCKeditor 2.6.3 Beta → FCKeditor 2.3.2 |
dup of #909