171 helpStr = GoogleMailHelp() |
171 helpStr = GoogleMailHelp() |
172 except ImportError: |
172 except ImportError: |
173 helpStr = self.tr( |
173 helpStr = self.tr( |
174 "<p>The Google Mail Client API is not installed." |
174 "<p>The Google Mail Client API is not installed." |
175 " Use <code>pip install --upgrade google-api-python-client" |
175 " Use <code>pip install --upgrade google-api-python-client" |
176 " oauth2client</code> to install it.</p>") |
176 " google-auth-oauthlib</code> to install it.</p>") |
177 |
177 |
178 from E5Gui.E5SimpleHelpDialog import E5SimpleHelpDialog |
178 from E5Gui.E5SimpleHelpDialog import E5SimpleHelpDialog |
179 self.__helpDialog = E5SimpleHelpDialog( |
179 self.__helpDialog = E5SimpleHelpDialog( |
180 title=self.tr("Gmail API Help"), |
180 title=self.tr("Gmail API Help"), |
181 helpStr=helpStr, parent=self) |
181 helpStr=helpStr, parent=self) |