diff --git a/ChangeLog b/ChangeLog index b216cc53d..6ab35e63c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-22 Raphael Ackermann + * src/PageView.py: import sgettext instead of gettext + * src/DataViews.py: rename Family List View to Families View + 2008-01-24 Peter landgren * src/plugin/rel_sv.py: Works also for kinship report now. diff --git a/src/DataViews/FamilyList.py b/src/DataViews/FamilyList.py index 5473c4574..4b570a2cb 100644 --- a/src/DataViews/FamilyList.py +++ b/src/DataViews/FamilyList.py @@ -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): ''' 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, diff --git a/src/PageView.py b/src/PageView.py index 1d04f976d..21b8e5cac 100644 --- a/src/PageView.py +++ b/src/PageView.py @@ -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