Am Di, den 01.06.2004, 17:40 Uhr -0400 schrieb Rodney Dawes: > On Mar , 2004-06-01 at 23:27 +0200, Christian Neumair wrote: > > During the i18n fixes I've written for Evo during the last few hours > > I've seen that there are many locations where we need to display the > > translated name of the following folders: > > Inbox, Outbox, Drafts, Sent, Trash (virtual), Junk (virtual). The > > problem is that the name of the camel folder associated with them is > > always untranslated for good reasons: the full_name/name struct members > > seem to represent the folder path on the storage to the folder. Now, in > > my opinion we've got two possibilities to resolve this issue: > > We can either add a char *localized_name to the struct, and let it be > > NULL for non-stock folders or do strcmp for all stock folders in many > > locations (folder properties, bar above the folder treeview etc.). > > To me, the matter seems to be more reasonable. > > Comments, suggestions? > > Why don't we just gettext () all folder names? It will Just Work then, > and we don't have to add a strcmp () for every special folder ther is, > or that may get added in the future. And for folders that aren't > translated, you just end up with the string you passed in, anyway.
Because we've got a huge message catalog and a folder could incidentially match another message that isn't folder-related. regs, Chris _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers
