diff options
-rw-r--r-- | core/js/oc-dialogs.js | 5 | ||||
-rw-r--r-- | core/templates/filepicker.html | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index c9aeaa0b336..c08b72bf183 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -235,7 +235,10 @@ var OCdialogs = { dialog_name: dialogName, title: title, emptytext: emptyText, - newtext: newText + newtext: newText, + nameCol: t('core', 'Name'), + sizeCol: t('core', 'Size'), + modifiedCol: t('core', 'Modified') }).data('path', path).data('multiselect', multiselect).data('mimetype', mimetypeFilter); if (modal === undefined) { diff --git a/core/templates/filepicker.html b/core/templates/filepicker.html index b88c8f308de..49e2baa82ec 100644 --- a/core/templates/filepicker.html +++ b/core/templates/filepicker.html @@ -23,19 +23,19 @@ <th id="headerName" class="column-name"> <div id="headerName-container"> <a class="name sort columntitle" data-sort="name"> - <span>Name</span> + <span>{nameCol}</span> <span class="sort-indicator hidden icon-triangle-n"></span> </a> </div> </th> <th id="headerSize" class="column-size"> <a class="size sort columntitle" data-sort="size"> - <span>Size</span> + <span>{sizeCol}</span> <span class="sort-indicator hidden icon-triangle-n"></span></a> </th> <th id="headerDate" class="column-mtime"> <a id="modified" class="columntitle" data-sort="mtime"> - <span>Modified</span> + <span>{modifiedCol}</span> <span class="sort-indicator hidden icon-triangle-n"></span></a> </th> </tr> |