]> source.dussan.org Git - nextcloud-server.git/commitdiff
add i18n for cancel button
authorJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 12 Nov 2012 09:49:40 +0000 (10:49 +0100)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 12 Nov 2012 09:52:28 +0000 (10:52 +0100)
apps/files/js/files.js

index e54d4d7b74fd43ea709bb55030c30f5000ae8b17..982351c589ebf4fea5f6d1e8e8e10d3d3af955ec 100644 (file)
@@ -219,8 +219,11 @@ $(document).ready(function() {
                                        $( '#uploadsize-message' ).dialog({
                                                modal: true,
                                                buttons: {
-                                                       Close: function() {
-                                                               $( this ).dialog( 'close' );
+                                                       Close: {
+                                                               text:t('files', 'Close'),
+                                                               click:function() {
+                                                                       $( this ).dialog( 'close' );
+                                                               }
                                                        }
                                                }
                                        });