2006-10-18 Alex Roitman <shura@gramps-project.org>

* src/ViewManager.py (change_redo_label, change_redo_label):
	Translate labels.



svn: r7414
This commit is contained in:
Alex Roitman 2006-10-18 17:11:52 +00:00
parent b10f6acae4
commit 8bfea9821b
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2006-10-18 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (change_redo_label, change_redo_label):
Translate labels.
2006-10-17 Don Allingham <don@gramps-project.org> 2006-10-17 Don Allingham <don@gramps-project.org>
* src/plugins/Desbrowser.py: fix callback parameter list * src/plugins/Desbrowser.py: fix callback parameter list

View File

@ -858,7 +858,7 @@ class ViewManager:
('Undo',gtk.STOCK_UNDO,label,'<control>z',None,self.undo)]) ('Undo',gtk.STOCK_UNDO,label,'<control>z',None,self.undo)])
else: else:
self.undoactions.add_actions([ self.undoactions.add_actions([
('Undo', gtk.STOCK_UNDO, '_Undo', ('Undo', gtk.STOCK_UNDO, _('_Undo'),
'<control>z', None, self.undo)]) '<control>z', None, self.undo)])
self.undoactions.set_sensitive(False) self.undoactions.set_sensitive(False)
self.uimanager.insert_action_group(self.undoactions, 1) self.uimanager.insert_action_group(self.undoactions, 1)
@ -872,7 +872,7 @@ class ViewManager:
None, self.redo)]) None, self.redo)])
else: else:
self.redoactions.add_actions([ self.redoactions.add_actions([
('Redo', gtk.STOCK_UNDO, '_Redo', ('Redo', gtk.STOCK_UNDO, _('_Redo'),
'<shift><control>z', None, self.redo)]) '<shift><control>z', None, self.redo)])
self.redoactions.set_sensitive(False) self.redoactions.set_sensitive(False)
self.uimanager.insert_action_group(self.redoactions, 1) self.uimanager.insert_action_group(self.redoactions, 1)