From 7cc38e0bebb30f12b1c643ea96a038453be185e1 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 31 Oct 2005 18:41:00 -0500 Subject: [PATCH] Added Finnish, Romanian and Chinese translation --- program/steps/settings/save_prefs.inc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc index 1322aca..16d7f23 100644 --- a/program/steps/settings/save_prefs.inc +++ b/program/steps/settings/save_prefs.inc @@ -32,7 +32,10 @@ $a_user_prefs['prettydate'] = isset($_POST['_pretty_date']) ? TRUE : FALSE; if (isset($_POST['_language'])) + { $sess_user_lang = $_SESSION['user_lang'] = $_POST['_language']; + rcmail_set_locale($sess_user_lang); + } $DB->query("UPDATE ".get_table_name('users')." -- Gitblit v1.9.1