Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable filerevmodel: add Filename translation to COLUMNNAMES (fixes #453)

Changeset e2f7b799cf8f

Parent a5a1cd22af63

by Steve Borho

Changes to one file · Browse files at e2f7b799cf8f Showing diff from parent a5a1cd22af63 Diff from another changeset...

 
14
15
16
17
 
18
 
19
20
21
 
37
38
39
 
40
41
42
 
14
15
16
 
17
18
19
20
21
22
 
38
39
40
41
42
43
44
@@ -14,8 +14,9 @@
 # this program; if not, write to the Free Software Foundation, Inc.,  # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.   -from tortoisehg.hgqt.repomodel import HgRepoListModel +from tortoisehg.hgqt.repomodel import HgRepoListModel, COLUMNNAMES  from tortoisehg.hgqt.graph import Graph, filelog_grapher +from tortoisehg.hgqt.i18n import _    from PyQt4.QtCore import *   @@ -37,6 +38,7 @@
  data is a HgHLRepo instance   """   HgRepoListModel.__init__(self, repo, '', [], False, parent) + COLUMNNAMES['Filename'] = _('Filename', 'column header')   self.setFilename(filename)     def setRepo(self, repo, branch='', fromhead=None, follow=False):