# HG changeset patch # User Paul Boddie # Date 1421103900 -3600 # Node ID b68b647bb92e0ba7ee0aa7253aa5b8f8dec7556d # Parent ee2bd0ee8f552b78ca0ee239e03a1a73c75b3768 Moved the locale setup into a common location. diff -r ee2bd0ee8f55 -r b68b647bb92e imip_manager.py --- a/imip_manager.py Mon Jan 12 23:07:33 2015 +0100 +++ b/imip_manager.py Tue Jan 13 00:05:00 2015 +0100 @@ -298,8 +298,6 @@ on the current page. """ - self.set_user_locale() - details = self._get_details(obj) # Provide a summary of the object. @@ -398,8 +396,6 @@ "Show the calendar for the current user." - self.set_user_locale() - self.new_page(title="Calendar") self.show_requests_on_page() @@ -465,6 +461,8 @@ "Select the desired action and show the result." + self.set_user_locale() + path_info = self.env.get_path_info().strip("/") if not path_info: