Plugins/VcsPlugins/vcsSubversion/ProjectHelper.py

branch
Py2 comp.
changeset 3515
1b8381afe38f
parent 3484
645c12de6b0c
parent 3472
9ea593813385
child 4021
195a471c327b
equal deleted inserted replaced
3506:d85fadb263a0 3515:1b8381afe38f
126 )) 126 ))
127 self.svnLogBrowserAct.triggered.connect(self._vcsLogBrowser) 127 self.svnLogBrowserAct.triggered.connect(self._vcsLogBrowser)
128 self.actions.append(self.svnLogBrowserAct) 128 self.actions.append(self.svnLogBrowserAct)
129 129
130 self.vcsDiffAct = E5Action( 130 self.vcsDiffAct = E5Action(
131 self.tr('Show difference'), 131 self.tr('Show differences'),
132 UI.PixmapCache.getIcon("vcsDiff.png"), 132 UI.PixmapCache.getIcon("vcsDiff.png"),
133 self.tr('Show &difference'), 133 self.tr('Show &difference'),
134 0, 0, self, 'subversion_diff') 134 0, 0, self, 'subversion_diff')
135 self.vcsDiffAct.setStatusTip(self.tr( 135 self.vcsDiffAct.setStatusTip(self.tr(
136 'Show the difference of the local project to the repository' 136 'Show the difference of the local project to the repository'
137 )) 137 ))
138 self.vcsDiffAct.setWhatsThis(self.tr( 138 self.vcsDiffAct.setWhatsThis(self.tr(
139 """<b>Show difference</b>""" 139 """<b>Show differences</b>"""
140 """<p>This shows the difference of the local project to the""" 140 """<p>This shows differences of the local project to the"""
141 """ repository.</p>""" 141 """ repository.</p>"""
142 )) 142 ))
143 self.vcsDiffAct.triggered.connect(self._vcsDiff) 143 self.vcsDiffAct.triggered.connect(self._vcsDiff)
144 self.actions.append(self.vcsDiffAct) 144 self.actions.append(self.vcsDiffAct)
145 145
146 self.svnExtDiffAct = E5Action( 146 self.svnExtDiffAct = E5Action(
147 self.tr('Show difference (extended)'), 147 self.tr('Show differences (extended)'),
148 UI.PixmapCache.getIcon("vcsDiff.png"), 148 UI.PixmapCache.getIcon("vcsDiff.png"),
149 self.tr('Show difference (extended)'), 149 self.tr('Show differences (extended)'),
150 0, 0, self, 'subversion_extendeddiff') 150 0, 0, self, 'subversion_extendeddiff')
151 self.svnExtDiffAct.setStatusTip(self.tr( 151 self.svnExtDiffAct.setStatusTip(self.tr(
152 'Show the difference of revisions of the project to the repository' 152 'Show the difference of revisions of the project to the repository'
153 )) 153 ))
154 self.svnExtDiffAct.setWhatsThis(self.tr( 154 self.svnExtDiffAct.setWhatsThis(self.tr(
155 """<b>Show difference (extended)</b>""" 155 """<b>Show differences (extended)</b>"""
156 """<p>This shows the difference of selectable revisions of""" 156 """<p>This shows differences of selectable revisions of"""
157 """ the project.</p>""" 157 """ the project.</p>"""
158 )) 158 ))
159 self.svnExtDiffAct.triggered.connect(self.__svnExtendedDiff) 159 self.svnExtDiffAct.triggered.connect(self.__svnExtendedDiff)
160 self.actions.append(self.svnExtDiffAct) 160 self.actions.append(self.svnExtDiffAct)
161 161
162 self.svnUrlDiffAct = E5Action( 162 self.svnUrlDiffAct = E5Action(
163 self.tr('Show difference (URLs)'), 163 self.tr('Show differences (URLs)'),
164 UI.PixmapCache.getIcon("vcsDiff.png"), 164 UI.PixmapCache.getIcon("vcsDiff.png"),
165 self.tr('Show difference (URLs)'), 165 self.tr('Show differences (URLs)'),
166 0, 0, self, 'subversion_urldiff') 166 0, 0, self, 'subversion_urldiff')
167 self.svnUrlDiffAct.setStatusTip(self.tr( 167 self.svnUrlDiffAct.setStatusTip(self.tr(
168 'Show the difference of the project between two repository URLs' 168 'Show the difference of the project between two repository URLs'
169 )) 169 ))
170 self.svnUrlDiffAct.setWhatsThis(self.tr( 170 self.svnUrlDiffAct.setWhatsThis(self.tr(
171 """<b>Show difference (URLs)</b>""" 171 """<b>Show differences (URLs)</b>"""
172 """<p>This shows the difference of the project between""" 172 """<p>This shows differences of the project between"""
173 """ two repository URLs.</p>""" 173 """ two repository URLs.</p>"""
174 )) 174 ))
175 self.svnUrlDiffAct.triggered.connect(self.__svnUrlDiff) 175 self.svnUrlDiffAct.triggered.connect(self.__svnUrlDiff)
176 self.actions.append(self.svnUrlDiffAct) 176 self.actions.append(self.svnUrlDiffAct)
177 177

eric ide

mercurial