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

stable i18n: convert translated age into Unicode

Changeset 11b9a0468d8f

Parent abb3ee172a77

by Andrei Polushin

Changes to 2 files · Browse files at 11b9a0468d8f Showing diff from parent abb3ee172a77 Diff from another changeset...

 
155
156
157
158
 
159
160
161
 
155
156
157
 
158
159
160
161
@@ -155,7 +155,7 @@
  elif item == 'age':   date = ctx.date()   if date: - return hglib.age(date) + return hglib.age(date).decode('utf-8')   return None   elif item == 'rawbranch':   return ctx.branch() or None
 
108
109
110
111
 
112
113
114
 
108
109
110
 
111
112
113
114
@@ -108,7 +108,7 @@
  'Tags': self.gettags,   'Branch': self.getbranch,   'Filename': lambda ctx, gnode: gnode.extra[0], - 'Age': lambda ctx, gnode: hglib.age(ctx.date()), + 'Age': lambda ctx, gnode: hglib.age(ctx.date()).decode('utf-8'),   'LocalTime':lambda ctx, gnode: hglib.displaytime(ctx.date()),   'UTCTime': lambda ctx, gnode: hglib.utctime(ctx.date()),   'Changes': self.getchanges,