249 self.tr("""The PyBabel configuration file was created.""" |
249 self.tr("""The PyBabel configuration file was created.""" |
250 """ Please edit it to adjust the entries as""" |
250 """ Please edit it to adjust the entries as""" |
251 """ required.""") |
251 """ required.""") |
252 ) |
252 ) |
253 return True |
253 return True |
254 except EnvironmentError as err: |
254 except OSError as err: |
255 E5MessageBox.warning( |
255 E5MessageBox.warning( |
256 None, |
256 None, |
257 self.tr("Generate PyBabel Configuration File"), |
257 self.tr("Generate PyBabel Configuration File"), |
258 self.tr("""<p>The PyBabel Configuration File could not be""" |
258 self.tr("""<p>The PyBabel Configuration File could not be""" |
259 """ generated.</p><p>Reason: {0}</p>""") |
259 """ generated.</p><p>Reason: {0}</p>""") |