- Timestamp:
- 05/30/09 17:10:16 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LogicMail/src/org/logicprobe/LogicMail/LogicMail.java
r405 r446 36 36 37 37 import net.rim.blackberry.api.homescreen.HomeScreen; 38 import net.rim.device.api.i18n.Locale; 38 39 import net.rim.device.api.notification.NotificationsConstants; 39 40 import net.rim.device.api.notification.NotificationsManager; … … 84 85 // Load the configuration 85 86 MailSettings.getInstance().loadSettings(); 86 87 // Set the language, if configured 88 String languageCode = 89 MailSettings.getInstance().getGlobalConfig().getLanguageCode(); 90 if(languageCode != null) { 91 try { 92 Locale.setDefault(Locale.get(languageCode)); 93 } catch (Exception e) { } 94 } 95 87 96 // Log application startup information 88 97 if(EventLogger.getMinimumLevel() >= EventLogger.INFORMATION) {
Note: See TracChangeset
for help on using the changeset viewer.
