diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 5657edc62..41bad53b5 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -6,6 +6,11 @@ * src/plugins/AncestorChart.py: Add prefix (AC-) to styles. * src/plugins/AncestorChart2.py: Add prefix (AC2-) to styles. + * src/MediaView.py (on_select_row): Mark translatable string; + (popup_convert_to_private): Call self.load before returning. + * src/ImageSelect.py (LocalMediaProperties.__init__, + GlobalMediaProperties.update_info): Mark translatable string. + 2004-03-08 Don Allingham * src/EditPerson.py: TreeView enhancements * src/PeopleModel.py: TreeView enhancements diff --git a/gramps2/src/ImageSelect.py b/gramps2/src/ImageSelect.py index e89368714..3cc9d2790 100644 --- a/gramps2/src/ImageSelect.py +++ b/gramps2/src/ImageSelect.py @@ -718,7 +718,7 @@ class LocalMediaProperties: self.change_dialog.get_widget("gid").set_text(self.object.get_id()) if self.object.get_local(): - self.change_dialog.get_widget("path").set_text("") + self.change_dialog.get_widget("path").set_text(_("")) else: self.change_dialog.get_widget("path").set_text(fname) @@ -965,7 +965,7 @@ class GlobalMediaProperties: def update_info(self): fname = self.object.get_path() if self.object.get_local(): - self.change_dialog.get_widget("path").set_text("") + self.change_dialog.get_widget("path").set_text(_("")) self.makelocal.set_sensitive(0) else: self.change_dialog.get_widget("path").set_text(fname) diff --git a/gramps2/src/MediaView.py b/gramps2/src/MediaView.py index d2ccd1028..0d0da6403 100644 --- a/gramps2/src/MediaView.py +++ b/gramps2/src/MediaView.py @@ -172,7 +172,7 @@ class MediaView: elif path[0] == "/": self.mpath.set_text(path) else: - self.mpath.set_text("") + self.mpath.set_text(_("")) self.mdetails.set_text(Utils.get_detail_text(mobj,0)) def on_button_press_event(self,obj,event): @@ -241,6 +241,7 @@ class MediaView: if name: self.obj.set_path(name) self.obj.setLocal(1) + self.load_media() def popup_change_description(self, obj): ImageSelect.GlobalMediaProperties(self.db,self.obj,self.load_media)