Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

manifestdialog: mark i18n text

Changeset 514c4e8c6649

Parent 5dfa7dadfeca

by Yuya Nishihara

Changes to one file · Browse files at 514c4e8c6649 Showing diff from parent 5dfa7dadfeca Diff from another changeset...

 
29
30
31
 
32
33
34
 
40
41
42
43
 
44
45
46
 
87
88
89
90
 
91
92
93
94
95
 
96
97
98
 
29
30
31
32
33
34
35
 
41
42
43
 
44
45
46
47
 
88
89
90
 
91
92
93
94
95
 
96
97
98
99
@@ -29,6 +29,7 @@
 from tortoisehg.util.hglib import tounicode    from tortoisehg.hgqt import qtlib +from tortoisehg.hgqt.i18n import _  from tortoisehg.hgqt.manifestmodel import ManifestModel  from tortoisehg.hgqt.lexers import get_lexer   @@ -40,7 +41,7 @@
    def __init__(self, ui, repo, noderev):   QMainWindow.__init__(self) - self.setWindowTitle('Hg manifest viewer - %s:%s' % (repo.root, noderev)) + self.setWindowTitle(_('Hg manifest viewer - %s:%s') % (repo.root, noderev))   self.resize(400, 300)     # hg repo @@ -87,12 +88,12 @@
  return     if fc.size() > self.max_file_size: - data = "file too big" + data = _("file too big")   else:   # return the whole file   data = fc.data()   if util.binary(data): - data = "binary file" + data = _("binary file")   else:   data = tounicode(data)   lexer = get_lexer(path, data, ui=self._ui)