200 else: |
200 else: |
201 E5MessageBox.warning( |
201 E5MessageBox.warning( |
202 self, |
202 self, |
203 self.tr("Error populating list of dictionaries"), |
203 self.tr("Error populating list of dictionaries"), |
204 self.tr( |
204 self.tr( |
205 """<p>Could not download the dictionaries list file""" |
205 """<p>Could not download the dictionaries list""" |
206 """ from {0}.</p><p>Error: {1}</p>""" |
206 """ from {0}.</p><p>Error: {1}</p>""" |
207 ).format(url, self.tr("Computer is offline."))) |
207 ).format(url, self.tr("Computer is offline."))) |
208 |
208 |
209 def __listFileDownloaded(self): |
209 def __listFileDownloaded(self): |
210 """ |
210 """ |
388 else: |
388 else: |
389 self.__installationFinished() |
389 self.__installationFinished() |
390 else: |
390 else: |
391 E5MessageBox.warning( |
391 E5MessageBox.warning( |
392 self, |
392 self, |
393 self.tr("Error downloading dictionary"), |
393 self.tr("Error downloading dictionary file"), |
394 self.tr( |
394 self.tr( |
395 """<p>Could not download the requested dictionary file""" |
395 """<p>Could not download the requested dictionary file""" |
396 """ from {0}.</p><p>Error: {1}</p>""" |
396 """ from {0}.</p><p>Error: {1}</p>""" |
397 ).format(url, self.tr("Computer is offline."))) |
397 ).format(url, self.tr("Computer is offline."))) |
398 |
398 |