281 E5MessageBox.warning(self, |
281 E5MessageBox.warning(self, |
282 self.trUtf8("Apply Guard Definitions"), |
282 self.trUtf8("Apply Guard Definitions"), |
283 self.trUtf8("""<p>The defined guards could not be""" |
283 self.trUtf8("""<p>The defined guards could not be""" |
284 """ applied.</p><p>Reason: {0}</p>""")\ |
284 """ applied.</p><p>Reason: {0}</p>""")\ |
285 .format(error)) |
285 .format(error)) |
286 |
|
287 else: |
286 else: |
288 E5MessageBox.warning(self, |
287 E5MessageBox.warning(self, |
289 self.trUtf8("Apply Guard Definitions"), |
288 self.trUtf8("Apply Guard Definitions"), |
290 self.trUtf8("""The Mercurial process did not finish in time.""")) |
289 self.trUtf8("""The Mercurial process did not finish in time.""")) |