Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable fileview: remove \n from translated strings, convert status output to unicode

Changeset 6bc689498c4c

Parent cbbbff2073ff

by Steve Borho

Changes to one file · Browse files at 6bc689498c4c Showing diff from parent cbbbff2073ff Diff from another changeset...

 
586
587
588
589
590
591
 
 
 
592
593
 
594
595
 
596
597
598
599
600
 
601
602
603
 
586
587
588
 
 
 
589
590
591
592
 
593
594
 
595
596
597
598
599
 
600
601
602
603
@@ -586,18 +586,18 @@
  commands.status(_ui, srepo)   data = _ui.popbuffer()   if data: - out.append(_('File Status:\n')) - out.append(data) - out.append('\n') + out.append(_('File Status:') + u'\n') + out.append(hglib.tounicode(data)) + out.append(u'\n')   if srev == '': - out.append(_('New subrepository\n\n')) + out.append(_('New subrepository') + u'\n\n')   elif srev != sactual: - out.append(_('Revision has changed from:\n\n')) + out.append(_('Revision has changed from:') + u'\n\n')   opts = {'date':None, 'user':None, 'rev':[srev]}   _ui.pushbuffer()   commands.log(_ui, srepo, **opts)   out.append(hglib.tounicode(_ui.popbuffer())) - out.append(_('To:\n')) + out.append(_('To:') + u'\n')   opts['rev'] = [sactual]   _ui.pushbuffer()   commands.log(_ui, srepo, **opts)