Do not translate tooltips of mailboxes in mail tree, in order to be able

to check the actual name of the mailbox via tooltip value.
This commit is contained in:
Hadi Nategh 2017-09-07 16:42:05 +02:00
parent 2bbe5f4862
commit f16ca103ab

View File

@ -405,7 +405,7 @@ class mail_tree
elseif (($key = array_search($data['folderarray']['MAILBOX'], $definedFolders, true)) !== false) elseif (($key = array_search($data['folderarray']['MAILBOX'], $definedFolders, true)) !== false)
{ {
$data[Tree::LABEL] = lang($key); $data[Tree::LABEL] = lang($key);
$data[Tree::TOOLTIP] = lang($key); $data[Tree::TOOLTIP] = $key;
//User defined folders icons //User defined folders icons
$data[Tree::IMAGE_LEAF] = $data[Tree::IMAGE_LEAF] =
$data[Tree::IMAGE_FOLDER_OPEN] = $data[Tree::IMAGE_FOLDER_OPEN] =