* 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:
parent
d04df1c3c8
commit
58211b2f79
@ -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>
|
2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
* src/ViewManager.py: use import image
|
* src/ViewManager.py: use import image
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ import Errors
|
|||||||
import Config
|
import Config
|
||||||
import const
|
import const
|
||||||
import gen.utils
|
import gen.utils
|
||||||
|
from TransUtils import sgettext as _s
|
||||||
|
|
||||||
from Editors import EditPerson
|
from Editors import EditPerson
|
||||||
from Filters import SearchBar
|
from Filters import SearchBar
|
||||||
@ -148,7 +149,7 @@ class PersonView(PageView.PersonNavView):
|
|||||||
self.all_action.add_actions([
|
self.all_action.add_actions([
|
||||||
('OpenAllNodes', None, _("Expand all nodes"), None, None,
|
('OpenAllNodes', None, _("Expand all nodes"), None, None,
|
||||||
self.open_all_nodes),
|
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),
|
_("Edit the selected person"), self.edit),
|
||||||
('CloseAllNodes', None, _("Collapse all nodes"), None, None,
|
('CloseAllNodes', None, _("Collapse all nodes"), None, None,
|
||||||
self.close_all_nodes),
|
self.close_all_nodes),
|
||||||
|
@ -51,6 +51,7 @@ import Bookmarks
|
|||||||
import Errors
|
import Errors
|
||||||
from Filters import SearchBar
|
from Filters import SearchBar
|
||||||
import Utils
|
import Utils
|
||||||
|
from TransUtils import sgettext as _s
|
||||||
import const
|
import const
|
||||||
|
|
||||||
NAVIGATION_NONE = -1
|
NAVIGATION_NONE = -1
|
||||||
@ -930,7 +931,7 @@ class ListView(BookMarkView):
|
|||||||
|
|
||||||
self._add_action_group(self.edit_action)
|
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",
|
accel="<control>Return",
|
||||||
tip=self.EDIT_MSG,
|
tip=self.EDIT_MSG,
|
||||||
callback=self.edit)
|
callback=self.edit)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user