Merge pull request #368 from butonic/i18n_of_cancel_button

add i18n for close button in the max upload size reached dialog
This commit is contained in:
Lukas Reschke 2012-11-12 06:36:51 -08:00
commit 89f2d4ba07
1 changed files with 5 additions and 2 deletions

View File

@ -219,10 +219,13 @@ $(document).ready(function() {
$( '#uploadsize-message' ).dialog({ $( '#uploadsize-message' ).dialog({
modal: true, modal: true,
buttons: { buttons: {
Close: function() { Close: {
text:t('files', 'Close'),
click:function() {
$( this ).dialog( 'close' ); $( this ).dialog( 'close' );
} }
} }
}
}); });
}else{ }else{
var date=new Date(); var date=new Date();