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.