summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2012-11-12 10:49:40 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-11-12 10:52:28 +0100
commitbbef5b377e2b90f0b7b54278228abb931cd6431f (patch)
tree189671be6672104143c687e24ed7fc47ad0fa470 /apps/files
parent09d6d843f77d397dfc90931354d3860bd7098f3e (diff)
downloadnextcloud-server-bbef5b377e2b90f0b7b54278228abb931cd6431f.tar.gz
nextcloud-server-bbef5b377e2b90f0b7b54278228abb931cd6431f.zip
add i18n for cancel button
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/files.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index e54d4d7b74f..982351c589e 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -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' );
+ }
}
}
});