[Tickets #7759] Re: DIMP not always showing translated labels

bugs at horde.org bugs at horde.org
Mon Dec 8 11:37:21 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7759
------------------------------------------------------------------------------
  Ticket             | 7759
  Updated By         | thomas at gelf.net
  Summary            | DIMP not always showing translated labels
  Queue              | DIMP
  Version            | 1.1
  Type               | Enhancement
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             | Michael Slusarz, Jan Schneider
------------------------------------------------------------------------------


thomas at gelf.net (2008-12-08 06:37) wrote:

Thank you for your feedback! Please note that right now every folder  
as two related properties:
- mbox name (not translated, attribute "l", example: "INBOX_MeinOrdner"
- label (missing hierarchy information, just "MeinOrdner" in the above  
example)
DIMP is currently using mbox as a header, there has been a _-to__ and  
/-to-_ on serverside, transformation back is afair happening in JS.

What I'm doing in my patch is

- check wheter given folder is a special folder, if so: use label  
instead of mbox
- otherwise find out if folder is a subfolder, if so check whether the  
root folder is a special folder and if so: use label instead of mbox  
for root folder name, concatenate parts once again

I agree that providing correct label as an attribute on serverside  
would be the correct and more elegant method, but that would require  
one additional attribute (label is required for tree display, mbox for  
communication with the server, ListMessages etc) as there is no such  
attribute right now.

The patch I've attached is "mixing" given information in label and  
mbox and I agree that it is a really opportunistic attempt of solving  
this problem - however IMO it has been the least intrusive one.

Cheers,
Thomas





More information about the bugs mailing list