From f2fa49b1fe6f47d659b09a71371c4032236ba317 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 28 Jun 2010 22:24:41 -0600 Subject: [PATCH] Request #9084: HTML compose editor uses Horde language for UI --- imp/docs/CHANGES | 2 ++ imp/lib/Ui/Compose.php | 3 +++ 2 files changed, 5 insertions(+) diff --git a/imp/docs/CHANGES b/imp/docs/CHANGES index 165026059..81cd2b571 100644 --- a/imp/docs/CHANGES +++ b/imp/docs/CHANGES @@ -2,6 +2,8 @@ v5.0-git -------- +[mms] HTML compose editor uses Horde language for UI (Request #9084; + leandro.damascena@gmail.com). [mms] Add config option to disable multipart/related conversions (Request #9099). [mms] Sentmail SQL driver now supports split read/write operation. diff --git a/imp/lib/Ui/Compose.php b/imp/lib/Ui/Compose.php index c96fe15a1..79d15a447 100644 --- a/imp/lib/Ui/Compose.php +++ b/imp/lib/Ui/Compose.php @@ -169,6 +169,9 @@ class IMP_Ui_Compose /* Convert HTML entities. */ 'entities: false', + /* Set language to Horde language. */ + 'language: "' . Horde_String::lower($GLOBALS['language']) . '"', + /* Default display font. This is NOT the font used to send * the message, however. */ 'contentsCss: "body { font-family: Arial; font-size: 12px; }"', -- 2.11.0