276 )) |
276 )) |
277 self.hgLogBrowserAct.triggered.connect(self._vcsLogBrowser) |
277 self.hgLogBrowserAct.triggered.connect(self._vcsLogBrowser) |
278 self.actions.append(self.hgLogBrowserAct) |
278 self.actions.append(self.hgLogBrowserAct) |
279 |
279 |
280 self.vcsDiffAct = E5Action( |
280 self.vcsDiffAct = E5Action( |
281 self.tr('Show difference'), |
281 self.tr('Show differences'), |
282 UI.PixmapCache.getIcon("vcsDiff.png"), |
282 UI.PixmapCache.getIcon("vcsDiff.png"), |
283 self.tr('Show &difference'), |
283 self.tr('Show &difference'), |
284 0, 0, self, 'mercurial_diff') |
284 0, 0, self, 'mercurial_diff') |
285 self.vcsDiffAct.setStatusTip(self.tr( |
285 self.vcsDiffAct.setStatusTip(self.tr( |
286 'Show the difference of the local project to the repository' |
286 'Show the difference of the local project to the repository' |
287 )) |
287 )) |
288 self.vcsDiffAct.setWhatsThis(self.tr( |
288 self.vcsDiffAct.setWhatsThis(self.tr( |
289 """<b>Show difference</b>""" |
289 """<b>Show differences</b>""" |
290 """<p>This shows the difference of the local project to the""" |
290 """<p>This shows the difference of the local project to the""" |
291 """ repository.</p>""" |
291 """ repository.</p>""" |
292 )) |
292 )) |
293 self.vcsDiffAct.triggered.connect(self._vcsDiff) |
293 self.vcsDiffAct.triggered.connect(self._vcsDiff) |
294 self.actions.append(self.vcsDiffAct) |
294 self.actions.append(self.vcsDiffAct) |
295 |
295 |
296 self.hgExtDiffAct = E5Action( |
296 self.hgExtDiffAct = E5Action( |
297 self.tr('Show difference (extended)'), |
297 self.tr('Show differences (extended)'), |
298 UI.PixmapCache.getIcon("vcsDiff.png"), |
298 UI.PixmapCache.getIcon("vcsDiff.png"), |
299 self.tr('Show difference (extended)'), |
299 self.tr('Show differences (extended)'), |
300 0, 0, self, 'mercurial_extendeddiff') |
300 0, 0, self, 'mercurial_extendeddiff') |
301 self.hgExtDiffAct.setStatusTip(self.tr( |
301 self.hgExtDiffAct.setStatusTip(self.tr( |
302 'Show the difference of revisions of the project to the repository' |
302 'Show the difference of revisions of the project to the repository' |
303 )) |
303 )) |
304 self.hgExtDiffAct.setWhatsThis(self.tr( |
304 self.hgExtDiffAct.setWhatsThis(self.tr( |
305 """<b>Show difference (extended)</b>""" |
305 """<b>Show differences (extended)</b>""" |
306 """<p>This shows the difference of selectable revisions of the""" |
306 """<p>This shows the difference of selectable revisions of the""" |
307 """ project.</p>""" |
307 """ project.</p>""" |
308 )) |
308 )) |
309 self.hgExtDiffAct.triggered.connect(self.__hgExtendedDiff) |
309 self.hgExtDiffAct.triggered.connect(self.__hgExtendedDiff) |
310 self.actions.append(self.hgExtDiffAct) |
310 self.actions.append(self.hgExtDiffAct) |