#2421: FCKlang for alerts in FCKeditor dialogs
----------------------------+-----------------------------------------------
Reporter: nunziocastaldi | Owner:
Type: New Feature | Status: new
Priority: Normal | Milestone: FCKeditor 2.6.3
Component: UI : Language | Version: FCKeditor 2.6.3 Beta
Keywords: |
----------------------------+-----------------------------------------------
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
--
Ticket URL: <http://dev.fckeditor.net/ticket/2421>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac