diff options
author | thomascube <thomas@roundcube.net> | 2005-10-31 23:41:00 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2005-10-31 23:41:00 +0000 |
commit | 7cc38e0bebb30f12b1c643ea96a038453be185e1 (patch) | |
tree | 99b4971108de609dd0583ef6a252cd6af7eaeea3 /program/steps/settings | |
parent | 66773789e392305bba4cdf7ed8e6ae3b8380de51 (diff) |
Added Finnish, Romanian and Chinese translation
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | 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 1322acaf7..16d7f2368 100644 --- a/program/steps/settings/save_prefs.inc +++ b/program/steps/settings/save_prefs.inc @@ -32,7 +32,10 @@ $a_user_prefs['prefer_html'] = isset($_POST['_prefer_html']) ? TRUE : FALSE; $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')." |