CC-1960: Internationalize Airtime / Support translations

-added i18n for plupload
This commit is contained in:
denise 2012-11-22 14:37:54 -05:00
parent 9a1a7b2e97
commit 96b87d23e0
3 changed files with 29 additions and 3 deletions

View file

@ -56,9 +56,8 @@ $(document).ready(function() {
$(window).bind('beforeunload', function(){
if(uploadProgress){
return $.i18n._("You are currently uploading files.")+"\n"+
$.i18n._("Going to another screen will cancel the upload process.")+"\n"+
$.i18n._("Are you sure you want to leave the page?");
return sprintf($.i18n._("You are currently uploading files. %sGoing to another screen will cancel the upload process. %sAre you sure you want to leave the page?"),
"\n", "\n");
}
});