* src/DataViews/_PersonView.py: translation: Edit object, not menu with action|_Edit

* src/PageView.py: translation: Edit object, not menu with action|_Edit
	issue #1370

2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9339
This commit is contained in:
Benny Malengier 2007-11-12 19:43:41 +00:00
parent d04df1c3c8
commit 58211b2f79
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/_PersonView.py: translation: Edit object, not menu with action|_Edit
* src/PageView.py: translation: Edit object, not menu with action|_Edit
issue #1370
2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: use import image

View File

@ -61,6 +61,7 @@ import Errors
import Config
import const
import gen.utils
from TransUtils import sgettext as _s
from Editors import EditPerson
from Filters import SearchBar
@ -148,7 +149,7 @@ class PersonView(PageView.PersonNavView):
self.all_action.add_actions([
('OpenAllNodes', None, _("Expand all nodes"), None, None,
self.open_all_nodes),
('Edit', gtk.STOCK_EDIT, _("_Edit"), "<control>Return",
('Edit', gtk.STOCK_EDIT, _s("action|_Edit"), "<control>Return",
_("Edit the selected person"), self.edit),
('CloseAllNodes', None, _("Collapse all nodes"), None, None,
self.close_all_nodes),

View File

@ -51,6 +51,7 @@ import Bookmarks
import Errors
from Filters import SearchBar
import Utils
from TransUtils import sgettext as _s
import const
NAVIGATION_NONE = -1
@ -930,7 +931,7 @@ class ListView(BookMarkView):
self._add_action_group(self.edit_action)
self._add_action('Edit', gtk.STOCK_EDIT, _("_Edit"),
self._add_action('Edit', gtk.STOCK_EDIT, _s("action|_Edit"),
accel="<control>Return",
tip=self.EDIT_MSG,
callback=self.edit)