2 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] Translating the names...
FromSent OnAttachments
Pawel TeczaMay 18, 2006 3:58 am.gz
Sam VarshavchikMay 20, 2006 3:05 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] Translating the names of the Sent foldersActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:May 20, 2006 3:05:11 pm
List:net.sourceforge.lists.courier-sqwebmail

Pawel Tecza writes:

Hello Sam!

I've noticed that the Sqwebmail uses the SENT variable (from a .html templates) only when it translates a name of Sent folder at main Folders page. It doesn't do it with:

- a name of renamed Sent folders at main Folders page (>>> Sent), - the names of renamed Sent folders at header of other Folders or Folder pages, - the names of renamed Sent folders at select lists, for example "Rename to:" (Folders page), ", or move to:" (Folder page) and "Save in:" (Edit Mail Filters page).

I've corrected it improving list_folder_xlate() function (folder.c file) and using it in the places where you use list_folder() function. My patch is probably incomplete, because I haven't done it for

Yes, and you're trying to do too many things at once.

This type of an issue should be handled in several, smaller patches.

Furthermore, I don't think list_folder_xlate needs to be changed. Only the last component of the folder's path is displayed by this function, hence it only needs to know about INBOX.Sent. For the renamed sent folders, their last component is already i18n-ed.