The branch "master" has been updated. The following is a summary of the commits.
from: b75e76a268ce005bd76bfc1369386506f21ac7ae f3e1f1c Ticket #9437: Tweak preferred language selection. a8b52a1 Add on-demand loading of nlsconfig data. 294ccd1 Bug #9464: Display MDN check message ----------------------------------------------------------------------- commit f3e1f1c153b3c70a21748bba366e81a1a1dfe594 Author: Michael M Slusarz <[email protected]> Date: Wed Dec 22 02:33:42 2010 -0700 Ticket #9437: Tweak preferred language selection. I *think* this should be the behavior (precedence-wise): Pre-auth -------- Prefs will most likely be unavailable or default language is empty. Language will be set based on language drop-down on login refresh (if language switching allowed) Session language is used (pre-auth session will have language set if the login screen has been reloaded) System-wide default used (nls config) Finally, browser detection. Post-auth --------- Value in user's prefs will ALWAYS control (regardless of login screen language selection) Language from login screen will be used (if language switching allowed) On initial login session is new/clean; language info unavailable here On subsequent login, this contains the session language (code will ALWAYS stop here after user is authenticated) System-wide default used (nls config) Finally, browser detection. framework/Core/lib/Horde/Registry.php | 63 +++++++++++++-------------------- 1 files changed, 25 insertions(+), 38 deletions(-) http://git.horde.org/horde-git/-/commit/f3e1f1c153b3c70a21748bba366e81a1a1dfe594 ----------------------------------------------------------------------- commit a8b52a1e09fd646ab1ac12fb10675ae92d8c140a Author: Michael M Slusarz <[email protected]> Date: Wed Dec 22 01:38:37 2010 -0700 Add on-demand loading of nlsconfig data. Move nlsconfig manipulation code inside of this new object. Cache nlsconfig info about the current language - only need to load nls.php config file now if manipulating an entire config entry. framework/Core/lib/Horde.php | 12 +- framework/Core/lib/Horde/Config.php | 2 +- framework/Core/lib/Horde/Core/Ajax/Imple/SpellChecker.php | 4 +- framework/Core/lib/Horde/Core/Prefs/Ui/Widgets.php | 4 +- framework/Core/lib/Horde/Core/Ui/Language.php | 2 +- framework/Core/lib/Horde/Help.php | 4 +- framework/Core/lib/Horde/Menu.php | 2 +- framework/Core/lib/Horde/Registry.php | 52 ++--- framework/Core/lib/Horde/Registry/Nlsconfig.php | 129 +++++++++++++ framework/Core/lib/Horde/Themes/Css.php | 2 +- framework/Core/package.xml | 2 + horde/config/prefs.php.dist | 2 +- horde/lib/Prefs/Ui.php | 6 +- horde/login.php | 2 +- horde/services/help/index.php | 2 +- horde/services/sidebar.php | 2 +- imp/compose.php | 5 +- imp/config/prefs.php.dist | 11 +- imp/lib/Prefs/Ui.php | 7 - imp/mailbox.php | 2 +- imp/message.php | 2 +- nag/lib/Task.php | 4 +- turba/data.php | 7 +- 23 files changed, 186 insertions(+), 81 deletions(-) create mode 100644 framework/Core/lib/Horde/Registry/Nlsconfig.php http://git.horde.org/horde-git/-/commit/a8b52a1e09fd646ab1ac12fb10675ae92d8c140a ----------------------------------------------------------------------- commit 294ccd1c5e9fd2e038ff70fe1b769c1701bed2ef Author: Gonçalo Queirós <[email protected]> Date: Wed Dec 22 17:12:52 2010 +0000 Bug #9464: Display MDN check message Signed-off-by: Michael M Slusarz <[email protected]> imp/lib/Ajax/Application.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) http://git.horde.org/horde-git/-/commit/294ccd1c5e9fd2e038ff70fe1b769c1701bed2ef
__ commits mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
