Opened 5 years ago

Closed 5 years ago

#1484707 closed Bugs (fixed)

localization not possible, when imap foldername contains spaces

Reported by: roundcube Owned by: thomasb
Priority: 5 Milestone: 0.1-stable
Component: Client Scripts Version: 0.1-rc2
Severity: minor Keywords: localization folder imap labels
Cc: Stiwi

Description

As my server is used by apple-mail.app users only, i set roundcube to use apple mails default imap folder structure:

INBOX
Sent Messages
Junk
Deleted Messages
Drafts

Unfortunately those folders are no longer localized then.

looking at the "labels" localization file, turns out, that foldernames are localized like so:
$blathefoldername?

i expect, that this breaks, when thefoldername contains a space.
possible workaround: define in config $thetrashfolder="Deleted Messages" and apply localization on $trashfolder, rather than it's content directly.

Change History (2)

comment:1 Changed 5 years ago by thomasb

  • Owner set to thomasb
  • Severity changed from normal to minor
  • Status changed from new to assigned

The localization of the folder names could be improved by comparing the name with $CONFIG['sent_mbox'] etc.

comment:2 Changed 5 years ago by thomasb

  • Milestone set to 0.1-stable
  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [cb3badb7].
Just make sure you correctly configure $CONFIG['***_mbox']

Note: See TracTickets for help on using tickets.