Opened 6 years ago
Closed 5 years ago
#1484390 closed Feature Requests (fixed)
Localization of known folders names
| Reported by: | marcinkk | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.1.1 |
| Component: | User Interface | Version: | 0.1-beta2 |
| Severity: | minor | Keywords: | localized folders names |
| Cc: |
Description
Hello,
I've configured, for example:
$rcmail_config['drafts_mbox'] = 'saved-drafts';
...
$rcmail_config['default_imap_folders'] = array('INBOX', 'saved-drafts', 'sent-mail', 'spam-mail', 'mail-trash');
And after this configuration known folders like drafts, sent, junk and trash are not localized. I've added to labels.inc:
$labels['saved-drafts'] = 'Szkice'; ...
But I think it should be done better. If I can set $rcmail_config['drafts_mbox'], then the localized name of Drafts folder should be set to folder from $config['drafts_mbox']. I don't know how to do it :(
Change History (3)
comment:1 Changed 6 years ago by thomasb
- Severity changed from normal to minor
comment:2 Changed 6 years ago by thomasb
- Milestone set to 0.1.1
comment:3 Changed 5 years ago by thomasb
- Resolution set to fixed
- Status changed from new to closed
Seems to be a dupe of #1484707 which was fixed in [cb3badb7]
Note: See
TracTickets for help on using
tickets.

This is currently hard coded in program/steps/mail/func.inc, line 112
// for these mailboxes we have localized labels $special_mailboxes = array('inbox', 'sent', 'drafts', 'trash', 'junk');