summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-11-26 15:34:37 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-11-26 15:34:37 +0100
commit1bfe958ed8c27eb391c7d7efaa74dacb34faa682 (patch)
tree467f03d58244f2d5de61c8b6527d90ce15cbdf59 /plugins
parent3b428c830d9a2b59b68f259d88873927e3154e41 (diff)
Option to disable localization of the archive folder name
Diffstat (limited to 'plugins')
-rw-r--r--plugins/archive/archive.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php
index 33e0daa31..0a298cbe3 100644
--- a/plugins/archive/archive.php
+++ b/plugins/archive/archive.php
@@ -67,9 +67,10 @@ class archive extends rcube_plugin
{
$rcmail = rcmail::get_instance();
$archive_folder = $rcmail->config->get('archive_mbox');
+ $localize_name = $rcmail->config->get('archive_localize_name', true);
// set localized name for the configured archive folder
- if ($archive_folder) {
+ if ($archive_folder && $localize_name) {
if (isset($p['list'][$archive_folder]))
$p['list'][$archive_folder]['name'] = $this->gettext('archivefolder');
else // search in subfolders