Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

status: proper way to i18n wrap checkboxes

Changeset e07e20da1735

Parent 8ec656a1114a

by Steve Borho

Changes to one file · Browse files at e07e20da1735 Showing diff from parent 8ec656a1114a Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​status.py Stacked
 
450
451
452
453
 
454
455
 
456
457
458
 
459
460
461
 
450
451
452
 
453
454
 
455
456
457
 
458
459
460
461
@@ -450,12 +450,12 @@
    self._show_checks = {}   row, col = 0, 0 - checks = ('modified', 'added', 'removed') + checks = (_('modified'), _('added'), _('removed'))   if self.count_revs() <= 1: - checks += ('deleted', 'unknown', 'clean', 'ignored') + checks += (_('deleted'), _('unknown'), _('clean'), _('ignored'))     for ctype in checks: - check = gtk.CheckButton('_' + _(ctype)) + check = gtk.CheckButton('_' + ctype)   check.connect('toggled', self._show_toggle, ctype)   table.attach(check, col, col+1, row, row+1)   self._show_checks[ctype] = check