2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>

* src/PageView.py: import sgettext instead of gettext
	* src/DataViews.py: rename Family List View to Families View

svn: r9927
This commit is contained in:
Raphael Ackermann 2008-01-24 20:02:09 +00:00
parent 840ffdb85d
commit a26c5dab24
3 changed files with 10 additions and 11 deletions

View File

@ -1,3 +1,7 @@
2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/PageView.py: import sgettext instead of gettext
* src/DataViews.py: rename Family List View to Families View
2008-01-24 Peter landgren <peter.talken@telia.com>
* src/plugin/rel_sv.py: Works also for kinship report now.

View File

@ -20,12 +20,9 @@
# $Id$
"""
FamilyList View
FamilyList View.
"""
__author__ = "Don Allingham"
__revision__ = "$Revision: 9598 $"
#-------------------------------------------------------------------------
#
# gramps modules
@ -85,7 +82,7 @@ class FamilyListView(PageView.ListView):
}
PageView.ListView.__init__(
self, _('Family List'), dbstate, uistate,
self, _('Families'), dbstate, uistate,
FamilyListView.COLUMN_NAMES, len(FamilyListView.COLUMN_NAMES),
DisplayModels.FamilyModel,
signal_map, dbstate.db.get_family_bookmarks(),
@ -101,7 +98,7 @@ class FamilyListView(PageView.ListView):
import ColumnOrder
ColumnOrder.ColumnOrder(
_('Select Family List Columns'),
_('Select Family Columns'),
self.uistate,
self.dbstate.db.get_family_list_column_order(),
FamilyListView.COLUMN_NAMES,
@ -157,9 +154,7 @@ class FamilyListView(PageView.ListView):
</ui>'''
def define_actions(self):
"""
add the Forward action group to handle the Forward button
"""
"""Add the Forward action group to handle the Forward button."""
PageView.ListView.define_actions(self)
self._add_action('ColumnEdit', gtk.STOCK_PROPERTIES,

View File

@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id$
# $Id:PageView.py 9912 2008-01-22 09:17:46Z acraphae $
"""
Provide the base classes for GRAMPS' DataView classes
@ -29,7 +29,6 @@ Provide the base classes for GRAMPS' DataView classes
# python modules
#
#----------------------------------------------------------------
from gettext import gettext as _
import cPickle as pickle
#----------------------------------------------------------------
@ -52,6 +51,7 @@ import Errors
from Filters import SearchBar
import Utils
import const
from TransUtils import sgettext as _
NAVIGATION_NONE = -1
NAVIGATION_PERSON = 0