Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-07-31 15:25:24 +0300
committerAndras Timar <andras.timar@collabora.com>2020-07-31 15:27:12 +0300
commit4bf49045dbab3b6dddd86780097d0fc1fc0ddfc2 (patch)
tree4e94438b6735a1065c9134722cb3d01811345f6c /src
parent4620c80acfe4fd8ad83a92757f06cc31d07750b2 (diff)
make 'Remove user' label localizable
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'src')
-rw-r--r--src/view/FilesAppIntegration.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/FilesAppIntegration.js b/src/view/FilesAppIntegration.js
index 22cfd86d..045ec10a 100644
--- a/src/view/FilesAppIntegration.js
+++ b/src/view/FilesAppIntegration.js
@@ -257,7 +257,7 @@ export default {
const isFileOwner = !isPublic && this.getFileModel() && typeof this.getFileModel().get('shareOwner') === 'undefined'
const canEdit = this.getFileModel() && !!(this.getFileModel().get('permissions') & OC.PERMISSION_UPDATE)
if (isFileOwner && canEdit && !view.IsCurrentView) {
- var removeButton = $('<div class="icon-close" title="Remove user"/>')
+ var removeButton = $('<div class="icon-close" title="' + t('richdocuments', 'Remove user') + '"/>')
removeButton.click(() => {
this.sendPostMessage('Action_RemoveView', { ViewId: view.ViewId })
})