* 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:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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), 
 | 
			
		||||
 
 | 
			
		||||
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user