From 7ad01cdb524bf8cb7bab0aef7b2a373204373dfb Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 15 Jul 2003 19:17:17 +0000 Subject: [PATCH] * src/plugins/WritePkg.py: Enable "..." in the menu item. * src/plugins/WriteCD.py: Likewise. * src/plugins/WriteGedcom.py: Likewise. svn: r1884 --- ChangeLog | 3 +++ src/plugins/WriteCD.py | 7 ++++--- src/plugins/WriteGedcom.py | 7 +++---- src/plugins/WritePkg.py | 3 ++- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 707007f67..208515c4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ * src/plugins/ReadNative.py: Likewise. * src/plugins/ReadGedcom.py: Likewise. * src/Report.py: Put "Style" label in singular form (was plural). + * src/plugins/WritePkg.py: Enable "..." in the menu item. + * src/plugins/WriteCD.py: Likewise. + * src/plugins/WriteGedcom.py: Likewise. 2003-07-14 Donald Peterson * src/docgen/LaTeXDoc.py: Regress UNICODE support to be only a diff --git a/src/plugins/WriteCD.py b/src/plugins/WriteCD.py index 3d80888e9..92e0b754a 100644 --- a/src/plugins/WriteCD.py +++ b/src/plugins/WriteCD.py @@ -52,6 +52,8 @@ import ImgManip from intl import gettext as _ +_title_string = _("Export to CD") + #------------------------------------------------------------------------- # # writeData @@ -90,8 +92,7 @@ class PackageWriter: self.top = gtk.glade.XML(glade_file,"packageExport") Utils.set_titles(self.top.get_widget('packageExport'), - self.top.get_widget('title'), - _('Export to CD')) + self.top.get_widget('title'),_title_string) self.top.signal_autoconnect(dic) self.top.get_widget("packageExport").show() @@ -265,4 +266,4 @@ class PackageWriter: #------------------------------------------------------------------------- from Plugins import register_export -register_export(writeData,_("Export to CD (nautilus)")) +register_export(writeData, "%s (nautilus)..." % _title_string ) diff --git a/src/plugins/WriteGedcom.py b/src/plugins/WriteGedcom.py index 4850f9e8b..4dbde6570 100644 --- a/src/plugins/WriteGedcom.py +++ b/src/plugins/WriteGedcom.py @@ -59,6 +59,8 @@ import ansel_utf8 from intl import gettext as _ from QuestionDialog import ErrorDialog +_title_string = _("Export to GEDCOM") + def keep_utf8(s): return s @@ -1143,7 +1145,4 @@ class GedcomWriter: #------------------------------------------------------------------------- from Plugins import register_export -register_export(writeData,_("Export to GEDCOM")) - - - +register_export(writeData, "%s..." % _title_string ) diff --git a/src/plugins/WritePkg.py b/src/plugins/WritePkg.py index 02e3b67bd..23452f53f 100644 --- a/src/plugins/WritePkg.py +++ b/src/plugins/WritePkg.py @@ -49,6 +49,7 @@ from QuestionDialog import MissingMediaDialog from intl import gettext as _ +_title_string = _("Export to GRAMPS package") #------------------------------------------------------------------------- # # writeData @@ -194,4 +195,4 @@ class PackageWriter: #------------------------------------------------------------------------- from Plugins import register_export -register_export(writeData,_("Export to GRAMPS package")) +register_export(writeData, "%s..." % _title_string )