Bug #9447: Translate mailbox names in search query text
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 14 Dec 2010 05:19:28 +0000 (22:19 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 14 Dec 2010 05:19:28 +0000 (22:19 -0700)
imp/lib/Search/Query.php

index 3208817..2e9e1f2 100644 (file)
@@ -233,7 +233,7 @@ class IMP_Search_Query implements Serializable
             }
             array_pop($text);
 
-            return implode(' ', $text) . ' ' . _("in") . ' [' . implode(', ', $this->mboxes) . ']';
+            return implode(' ', $text) . ' ' . _("in") . ' [' . implode(', ', array_map(array('IMP', 'displayFolder'), $this->mboxes)) . ']';
         }
     }