2 messages in net.sourceforge.lists.courier-sqwebmail[sqwebmail] Translating the names of ...
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:[sqwebmail] Translating the names of the Sent foldersActions...
From:Pawel Tecza (p.te@net.icm.edu.pl)
Date:May 18, 2006 3:58:31 am
List:net.sourceforge.lists.courier-sqwebmail
Attachments:
folders_sent_folders.patch.gz - 2k

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 the public folders. The reason is that we don't use them and I was afraid of touching it :)

The attached patch also removes "INBOX." prefix for the names of user's folders displaying at header of Folder page. I think it's unnecessary, because you do the same thing for the Drafts, Trash and Sent folders.

BTW, what do you think about using other variable for renamed Sent folders, for example OLDSENT? In my opinion two Sent folders at main Folders page are confusing for users.

My best regards,