From 0a06f31be3f881328a474cbd8ef5d945fac6e0d7 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 15 Oct 2020 13:48:11 +0200 Subject: [PATCH] Add missing labels to some owner actions --- www/common/drive-ui.js | 8 ++++++-- www/common/inner/access.js | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 3604bf7b0..dca106066 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4372,10 +4372,14 @@ Messages.fm_deletedFolder = "Deleted folder"; // XXX } // if folder does not contains SF else { + Messages.fm_shareFolderPassword = "Add a password to this folder? (optional)"; // XXX var convertContent = h('div', [ h('p', Messages.convertFolderToSF_confirm), - h('label', {for: 'cp-upload-password'}, Messages.creation_passwordValue), - UI.passwordInput({id: 'cp-upload-password'}), + h('label', {for: 'cp-upload-password'}, Messages.fm_shareFolderPassword), + UI.passwordInput({ + id: 'cp-upload-password', + placeholder: Messages.creation_passwordValue + }), h('span', { style: 'display:flex;align-items:center;justify-content:space-between' }, [ diff --git a/www/common/inner/access.js b/www/common/inner/access.js index fde29f8fe..3b28344f7 100644 --- a/www/common/inner/access.js +++ b/www/common/inner/access.js @@ -937,7 +937,10 @@ define([ }); }); $d.append(h('br')); + Messages.access_destroyPad = "Destroy permanently this document or folder"; // XXX $d.append(h('div', [ + h('label', Messages.access_destroyPad), + h('br'), deleteOwned, spinner.spinner ]));