diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-03-22 10:22:07 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-03-22 10:22:07 +0100 |
commit | 2cd594aaede2eba27d7b193e6f37a6435357c56a (patch) | |
tree | 864841259012f3a04518f6a192440733e3216c89 /core | |
parent | 243cef1c3a7d0253ba2df8665272ac1b8490345c (diff) | |
download | nextcloud-server-2cd594aaede2eba27d7b193e6f37a6435357c56a.tar.gz nextcloud-server-2cd594aaede2eba27d7b193e6f37a6435357c56a.zip |
Make all filepicker strings translatable
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core')
-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> |