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 fileview, i18n: i18n related improvements to subrepo state change descriptions

As suggested by Wagner Bruna.

Changeset 764ee4d69ed7

Parent c2c2f7fdd9a9

by Angel Ezquerra

Changes to one file · Browse files at 764ee4d69ed7 Showing diff from parent c2c2f7fdd9a9 Diff from another changeset...

 
671
672
673
674
 
 
 
 
 
 
 
 
 
675
676
677
 
 
678
679
680
 
671
672
673
 
674
675
676
677
678
679
680
681
682
683
 
 
684
685
686
687
688
@@ -671,10 +671,18 @@
  self.contents = u''.join(out)   if not sactual:   sstatedesc = 'removed' - self.flabel += _(' <i>(is a %s sub-repository)</i>' % sstatedesc) + lbl = { + 'changed': _('(is a changed sub-repository)'), + 'dirty': _('(is a dirty sub-repository)'), + 'new': _('(is a new sub-repository)'), + 'removed': _('(is a removed sub-repository)'), + 'changed and dirty': _('(is a changed and dirty sub-repository)'), + 'new and dirty': _('(is a new and dirty sub-repository)') + }[sstatedesc] + self.flabel += ' <i>' + lbl + '</i>'   if sactual: - lbl = u' <a href="subrepo:%s">%s...</a>' - self.flabel += lbl % (hglib.tounicode(srepo.root), _('open')) + lbl = _(' <a href="subrepo:%s">open...</a>') + self.flabel += lbl % hglib.tounicode(srepo.root)   except (EnvironmentError, error.RepoError, util.Abort), e:   self.error = _('Error previewing subrepo: %s') % \   hglib.tounicode(str(e))