comparison frontends/src/quick_frontend/quick_profile_manager.py @ 1405:ff86abc12206

quick_frontends(profile manager): typo
author Goffi <goffi@goffi.org>
date Mon, 06 Apr 2015 18:13:32 +0200
parents 069ad98b360d
children 3265a2639182
comparison
equal deleted inserted replaced
1404:e4e960d285b0 1405:ff86abc12206
150 # These methods must be called by the frontend at some point 150 # These methods must be called by the frontend at some point
151 151
152 def _onConnectProfiles(self): 152 def _onConnectProfiles(self):
153 """Connect the profiles and start the main widget""" 153 """Connect the profiles and start the main widget"""
154 if self._autoconnect: 154 if self._autoconnect:
155 self.alert(_('Internal error'), _('You can connect manually and automatically at the same time')) 155 self.alert(_('Internal error'), _("You can't connect manually and automatically at the same time"))
156 return 156 return
157 self.updateConnectionParams() 157 self.updateConnectionParams()
158 profiles = self.getProfiles() 158 profiles = self.getProfiles()
159 if not profiles: 159 if not profiles:
160 self.alert(_('No profile selected'), _('You need to create and select at least one profile before connecting')) 160 self.alert(_('No profile selected'), _('You need to create and select at least one profile before connecting'))