add some help-texts and remove the no longer applying one about range-selection

This commit is contained in:
ralf 2024-04-22 17:23:07 +02:00
parent 731a9d91af
commit e5f418fd02
4 changed files with 11 additions and 14 deletions

View File

@ -450,19 +450,6 @@ app.classes.mail = AppJS.extend(
if (smime_encrypt.getValue() == 'on') composeToolbar.checkbox('smime_encrypt', true);
}
break;
case 'mail.subscribe':
if (this.subscription_treeLastState != "")
{
var tree = this.et2.getWidgetById('foldertree');
//Saved state of tree
var state = jQuery.parseJSON(this.subscription_treeLastState);
tree.input.loadJSONObject(tree._htmlencode_node(state));
}
break;
case 'mail.folder_management':
this.egw.message(this.egw.lang('If you would like to select multiple folders in one action, you can hold ctrl key then select a folder as start range and another folder within a same level as end range, all folders in between will be selected or unselected based on their current status.'),'info','mail:folder_management');
break;
case 'mail.view':
// we need to set mail_currentlyFocused var otherwise mail
// defined actions won't work
@ -5609,6 +5596,12 @@ app.classes.mail = AppJS.extend(
const tree = etemplate2.getByApplication('mail')[0].widgetContainer.getWidgetById('tree');
const menuaction= 'mail.mail_ui.ajax_folderMgmt_delete';
if (!tree.value.length)
{
Et2Dialog.alert(this.egw.lang('You need to select some folders first (by clicking on them)!'), this.egw.lang('Delete selected folders'));
return;
}
const callbackDialog = function(_btn)
{
egw.appName='mail';

View File

@ -139,6 +139,7 @@ defines what to show as contact label for added contact into to/cc/bcc when comp
defines what to show as identity label on mail folder header common de Definiert, was im Kopf des E-Mail-Postfach angezeigt werden soll. Die Bezeichnungen beziehen sich auf die Felder im E-Mail-Konto.
delete folder mail de Ordner löschen
delete folder %1 ? mail de Ordner %1 löschen?
delete selected folders mail de Ausgewählte Ordner löschen
delete this acl mail de Zugriffsrechte löschen
deleted mail de Gelöscht
deleted %1 messages in %2 mail de Es wurden %1 Nachricht(en) in %2 gelöscht.
@ -719,6 +720,7 @@ you may add this certificate into your contact, if you trust this signature. mai
you need to enter your s/mime passphrase to send this message. mail de Sie müssen Ihr S/MIME-Passwort eingeben um diese Nachricht zu senden.
you need to install mailvelope plugin available for chrome and firefox from %1. mail de Sie müssen das Mailvelope-Plugin für Chrome oder Firefox von %1 installieren.
you need to save the message as draft first before to be able to save it into vfs mail de Sie müssen die E-Mail zuerst als Entwurf speichern, bevor Sie die Mail im EGroupware Dateimanager speichern können.
you need to select some folders first (by clicking on them)! mail de Sie müssen zuerst einige Ordner auswählen (in dem Sie diese anklicken)!
you will loose current message body, unless you save it to your clipboard! mail de Sie werden Ihren aktuellen Nachrichtentext verlieren, sofern Sie ihn nicht in der Zwischenablage speichern!
you've got new mail mail de Sie haben neue E-Mails
your remaining quota %1 is too low, you may not be able to send/receive further emails.\n although cleaning up emails in trash or junk folder might help you to get some free space back.\n if that didn't help, please ask your administrator for more quota. mail de Ihre restliche Quota %1 ist zu niedrig. damit können Sie u.U. weder Mails senden noch empfangen!<br>Bitte ggf. Papierkorb und Spam-Ordner leeren, um Platz zu schaffen.<br>Wenn das nicht ausreicht, fragen Sie bitte Ihren Administrator nach einer höheren Quota für ihr Postfach.

View File

@ -139,6 +139,7 @@ defines what to show as contact label for added contact into to/cc/bcc when comp
defines what to show as identity label on mail folder header common en Defines what to show as identity label on email folder header. The labels refer to the fields in the email account.
delete folder mail en Delete folder
delete folder %1 ? mail en DELETE folder %1?
delete selected folders mail en Delete selected folders
delete this acl mail en Delete this ACL
deleted mail en deleted
deleted %1 messages in %2 mail en Deleted %1 messages in %2.
@ -719,6 +720,7 @@ you may add this certificate into your contact, if you trust this signature. mai
you need to enter your s/mime passphrase to send this message. mail en You need to enter your S/MIME passphrase to send this message.
you need to install mailvelope plugin available for chrome and firefox from %1. mail en You need to install Mailvelope plugin available for Chrome and Firefox from %1.
you need to save the message as draft first before to be able to save it into vfs mail en You need to save the message as draft first before to be able to save it into VFS
you need to select some folders first (by clicking on them)! mail en You need to select some folders first (by clicking on them)!
you will loose current message body, unless you save it to your clipboard! mail en You will loose current message body, unless you save it to your clipboard!
you've got new mail mail en You've got new email
your remaining quota %1 is too low, you may not be able to send/receive further emails.\n although cleaning up emails in trash or junk folder might help you to get some free space back.\n if that didn't help, please ask your administrator for more quota. mail en Your remaining quota %1 is too low, you may not be able to send/receive further emails.<br>Although cleaning up emails in trash or junk folder might help you to get some free space back.<br>If that didn't help, please ask your administrator for more quota.

View File

@ -10,7 +10,7 @@
x-onselect="app.mail.folderMgmt_onSelect" onclick="app.mail.foldertree_subselect"></et2-tree>
</et2-hbox>
<et2-hbox class="dialogFooterToolbar">
<et2-button statustext="Delete" label="Delete" id="button[delete]" onclick="app.mail.folderMgmt_deleteBtn"></et2-button>
<et2-button statustext="Delete selected folders" label="Delete" id="button[delete]" onclick="app.mail.folderMgmt_deleteBtn"></et2-button>
<et2-button label="Cancel" id="button[cancel]" onclick="window.close()"></et2-button>
</et2-hbox>
</template>