CC-1960: Internationalize Airtime / Support translations
-added i18n for plupload
This commit is contained in:
parent
9a1a7b2e97
commit
96b87d23e0
3 changed files with 29 additions and 3 deletions
|
@ -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");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue