First update for consistent use of Gramps. See issue 3355.

svn: r13610
This commit is contained in:
Peter Landgren
2009-11-17 20:14:53 +00:00
parent 0e87714de3
commit 33686fcf18
71 changed files with 183 additions and 183 deletions
+1 -1
View File
@@ -1157,7 +1157,7 @@ class BookReportDialog(DocReportDialog):
return _("Book Report")
def get_header(self, name):
return _("GRAMPS Book")
return _("Gramps Book")
def make_doc_menu(self, active=None):
"""Build a menu of document types that are appropriate for
+1 -1
View File
@@ -452,7 +452,7 @@ class CalendarOptions(MenuReportOptions):
text1.set_help(_("First line of text at bottom of calendar"))
menu.add_option(category_name, "text1", text1)
text2 = StringOption(_("Text Area 2"), _("Produced with GRAMPS"))
text2 = StringOption(_("Text Area 2"), _("Produced with Gramps"))
text2.set_help(_("Second line of text at bottom of calendar"))
menu.add_option(category_name, "text2", text2)
+7 -7
View File
@@ -105,8 +105,8 @@ plg.extension = "gw"
plg = newplugin()
plg.id = 'ex_gpkg'
plg.name = _('GRAM_PS package (portable XML)')
plg.description = _('GRAMPS package is an archived XML family tree together '
plg.name = _('Gram_ps package (portable XML)')
plg.description = _('Gramps package is an archived XML family tree together '
'with the media object files.')
plg.version = '1.0'
plg.status = STABLE
@@ -114,7 +114,7 @@ plg.fname = 'ExportPkg.py'
plg.ptype = EXPORT
plg.export_function = 'writeData'
plg.export_options = 'ExportOptions.WriterOptionBox'
plg.export_options_title = ('GRAMPS package export options')
plg.export_options_title = ('Gramps package export options')
plg.extension = "gpkg"
#------------------------------------------------------------------------
@@ -125,9 +125,9 @@ plg.extension = "gpkg"
plg = newplugin()
plg.id = 'ex_gramps'
plg.name = _('GRAMPS _XML family tree')
plg.description = _('GRAMPS XML export is a complete archived XML backup of a'
' GRAMPS family tree without the media object files.'
plg.name = _('Gramps _XML family tree')
plg.description = _('Gramps XML export is a complete archived XML backup of a'
' Gramps family tree without the media object files.'
' Suitable for backup purposes.')
plg.version = '1.0'
plg.status = STABLE
@@ -135,7 +135,7 @@ plg.fname = 'ExportXml.py'
plg.ptype = EXPORT
plg.export_function = 'export_data'
plg.export_options = 'ExportOptions.WriterOptionBox'
plg.export_options_title = ('GRAMPS XML export options')
plg.export_options_title = ('Gramps XML export options')
plg.extension = "gramps"
#------------------------------------------------------------------------
+7 -7
View File
@@ -32,14 +32,14 @@ from TransUtils import sgettext as _
#------------------------------------------------------------------------
def make_welcome_content(gui):
text = _(
'Welcome to GRAMPS!\n\n'
'GRAMPS is a software package designed for genealogical research.'
' Although similar to other genealogical programs, GRAMPS offers '
'Welcome to Gramps!\n\n'
'Gramps is a software package designed for genealogical research.'
' Although similar to other genealogical programs, Gramps offers '
'some unique and powerful features.\n\n'
'GRAMPS is an Open Source Software package, which means you are '
'Gramps is an Open Source Software package, which means you are '
'free to make copies and distribute it to anyone you like. It\'s '
'developed and maintained by a worldwide team of volunteers whose'
' goal is to make GRAMPS powerful, yet easy to use.\n\n'
' goal is to make Gramps powerful, yet easy to use.\n\n'
'Getting Started\n\n'
'The first thing you must do is to create a new Family Tree. To '
'create a new Family Tree (sometimes called a database) select '
@@ -51,8 +51,8 @@ def make_welcome_content(gui):
'You can right-click on the background of this page to add additional'
' gramplets and change the number of columns. You can also drag the '
'Properties button to reposition the gramplet on this page, and detach'
' the gramplet to float above GRAMPS. If you close GRAMPS with a gramplet'
' the gramplet to float above Gramps. If you close Gramps with a gramplet'
' detached, it will re-open detached the next time you start '
'GRAMPS.'
'Gramps.'
)
gui.set_text(text)
+1 -1
View File
@@ -282,7 +282,7 @@ register(GRAMPLET,
height=300,
expand=True,
gramplet = 'make_welcome_content',
gramplet_title=_("Welcome to GRAMPS!"),
gramplet_title=_("Welcome to Gramps!"),
)
register(GRAMPLET,
+3 -3
View File
@@ -1127,7 +1127,7 @@ class GrampsBSDDB(GrampsDbGrdb, UpdateCallback):
self.db_is_open = False
raise FileVersionError(
"The database version is not supported by this "
"version of GRAMPS.\nPlease upgrade to the "
"version of Gramps.\nPlease upgrade to the "
"corresponding version or use XML for porting"
"data between different database versions.")
@@ -2728,14 +2728,14 @@ def importData(database, filename, callback=None, cl=0):
print "Error: %s could not be opened.\n%s Exiting." \
% (filename,
_("The database version is not supported "
"by this version of GRAMPS.\n"\
"by this version of Gramps.\n"\
"Please upgrade to the corresponding version "
"or use XML for porting data between different "
"database versions."))
else:
ErrorDialog(_("%s could not be opened") % filename,
_("The Database version is not supported "
"by this version of GRAMPS."))
"by this version of Gramps."))
return
# If other_database contains its custom name formats,
+9 -9
View File
@@ -130,11 +130,11 @@ def importData(database, filename, callback=None, cl=0):
except ExpatError, msg:
if cl:
print "Error reading %s" % filename
print "The file is probably either corrupt or not a valid GRAMPS database."
print "The file is probably either corrupt or not a valid Gramps database."
sys.exit(1)
else:
ErrorDialog(_("Error reading %s") % filename,
_("The file is probably either corrupt or not a valid GRAMPS database."))
_("The file is probably either corrupt or not a valid Gramps database."))
return
xml_file.close()
@@ -777,7 +777,7 @@ class GrampsParser(UpdateCallback):
del self.func_map
del self.func_list
del self.p
self.db.transaction_commit(self.trans, _("GRAMPS XML import"))
self.db.transaction_commit(self.trans, _("Gramps XML import"))
self.db.enable_signals()
self.db.request_rebuild()
return self.info
@@ -2478,9 +2478,9 @@ def version_is_valid(filename, cli):
if parser.get_xmlns_version() > libgrampsxml.GRAMPS_XML_VERSION:
msg = _("The .gramps file you are importing was made by version %s of "
"GRAMPS, while you are running an older version %s. "
"Gramps, while you are running an older version %s. "
"The file will not be imported. Please upgrade to the latest "
"version of GRAMPS and try again."
"version of Gramps and try again."
) % (parser.get_gramps_version(), const.VERSION)
if cli:
print msg
@@ -2490,10 +2490,10 @@ def version_is_valid(filename, cli):
return False
if parser.get_xmlns_version() < '1.0.0':
msg = _("The .gramps file you are importing was made by version "
"%(oldgramps)s of GRAMPS, while you are running a more "
"%(oldgramps)s of Gramps, while you are running a more "
"recent version %(newgramps)s.\n\n"
"The file will not be imported. Please use an older version of"
" GRAMPS that supports version %(xmlversion)s of the xml.\nSee"
" Gramps that supports version %(xmlversion)s of the xml.\nSee"
"\n http://gramps-project.org/wiki/index.php?title=GRAMPS_XML\n "
"for more info."
) % {'oldgramps': parser.get_gramps_version(),
@@ -2508,11 +2508,11 @@ def version_is_valid(filename, cli):
return False
elif parser.get_xmlns_version() < '1.1.0':
msg = _("The .gramps file you are importing was made by version "
"%(oldgramps)s of GRAMPS, while you are running a much "
"%(oldgramps)s of Gramps, while you are running a much "
"more recent version %(newgramps)s.\n\n"
"Ensure after import everything is imported correctly. In the "
"event of problems, please submit a bug and use an older "
"version of GRAMPS in the meantime to import this file, which "
"version of Gramps in the meantime to import this file, which "
"is version %(xmlversion)s of the xml.\nSee"
"\n http://gramps-project.org/wiki/index.php?title=GRAMPS_XML\n"
"for more info."
+7 -7
View File
@@ -82,8 +82,8 @@ plg.extension = "gw"
plg = newplugin()
plg.id = 'im_gpkg'
plg.name = _('GRAMPS package (portable XML)')
plg.description = _('Import data from a GRAMPS package (an archived XML '
plg.name = _('Gramps package (portable XML)')
plg.description = _('Import data from a Gramps package (an archived XML '
'family tree together with the media object files.')
plg.version = '1.0'
plg.status = STABLE
@@ -100,11 +100,11 @@ plg.extension = "gpkg"
plg = newplugin()
plg.id = 'im_gramps'
plg.name = _('GRAMPS XML Family Tree')
plg.description = _('The GRAMPS XML format is a text '
plg.name = _('Gramps XML Family Tree')
plg.description = _('The Gramps XML format is a text '
'version of a family tree. It is '
'read-write compatible with the '
'present GRAMPS database format.')
'present Gramps database format.')
plg.version = '1.0'
plg.status = STABLE
plg.fname = 'ImportXml.py'
@@ -120,8 +120,8 @@ plg.extension = "gramps"
plg = newplugin()
plg.id = 'im_grdb'
plg.name = _('GRAMPS 2.x database')
plg.description = _('Import data from GRAMPS 2.x database files')
plg.name = _('Gramps 2.x database')
plg.description = _('Import data from Gramps 2.x database files')
plg.version = '1.0'
plg.status = STABLE
plg.fname = 'ImportGrdb.py'
+1 -1
View File
@@ -377,7 +377,7 @@
</object>
<object class="GtkDialog" id="importgedcom">
<property name="width_request">400</property>
<property name="title" translatable="yes">GRAMPS - GEDCOM Encoding</property>
<property name="title" translatable="yes">Gramps - GEDCOM Encoding</property>
<property name="window_position">center-on-parent</property>
<property name="type_hint">dialog</property>
<property name="has_separator">False</property>
+1 -1
View File
@@ -414,7 +414,7 @@ class CalendarOptions(MenuReportOptions):
text1.set_help(_("First line of text at bottom of calendar"))
menu.add_option(category_name, "text1", text1)
text2 = StringOption(_("Text Area 2"), _("Produced with GRAMPS"))
text2 = StringOption(_("Text Area 2"), _("Produced with Gramps"))
text2.set_help(_("Second line of text at bottom of calendar"))
menu.add_option(category_name, "text2", text2)
+1 -1
View File
@@ -525,7 +525,7 @@ class ExtractCity(Tool.BatchTool, ManagedWindow.ManagedWindow):
lbl.set_text(
_('Below is a list of Places with the possible data that can '
'be extracted from the place title. Select the places you '
'wish GRAMPS to convert.'))
'wish Gramps to convert.'))
self.model = gtk.ListStore(gobject.TYPE_BOOLEAN, gobject.TYPE_STRING,
gobject.TYPE_STRING, gobject.TYPE_STRING,
+8 -8
View File
@@ -88,7 +88,7 @@ class MediaMan(Tool.Tool):
except Errors.WindowActiveError:
return
self.welcome_page = self.w.add_text_page(_('GRAMPS Media Manager'),
self.welcome_page = self.w.add_text_page(_('Gramps Media Manager'),
self.get_info_text())
self.selection_page = self.w.add_page(_('Selecting operation'),
self.build_selection_page())
@@ -113,22 +113,22 @@ class MediaMan(Tool.Tool):
def get_info_text(self):
return _("This tool allows batch operations on media objects "
"stored in GRAMPS. "
"An important distinction must be made between a GRAMPS "
"stored in Gramps. "
"An important distinction must be made between a Gramps "
"media object and its file.\n\n"
"The GRAMPS media object is a collection of data about "
"The Gramps media object is a collection of data about "
"the media object file: its filename and/or path, its "
"description, its ID, notes, source references, etc. "
"These data <b>do not include the file itself</b>.\n\n"
"The files containing image, sound, video, etc, exist "
"separately on your hard drive. These files are "
"not managed by GRAMPS and are not included in the GRAMPS "
"not managed by Gramps and are not included in the Gramps "
"database. "
"The GRAMPS database only stores the path and file names.\n\n"
"The Gramps database only stores the path and file names.\n\n"
"This tool allows you to only modify the records within "
"your GRAMPS database. If you want to move or rename "
"your Gramps database. If you want to move or rename "
"the files then you need to do it on your own, outside of "
"GRAMPS. Then you can adjust the paths using this tool so "
"Gramps. Then you can adjust the paths using this tool so "
"that the media objects store the correct file locations.")
def build_selection_page(self):
+3 -3
View File
@@ -62,9 +62,9 @@ class ReorderIds(Tool.BatchTool):
db = dbstate.db
self.uistate = uistate
if uistate:
self.progress = ProgressMeter(_('Reordering GRAMPS IDs'),'')
self.progress = ProgressMeter(_('Reordering Gramps IDs'),'')
else:
print "Reordering GRAMPS IDs..."
print "Reordering Gramps IDs..."
self.trans = db.transaction_begin("", batch=True)
db.disable_signals()
@@ -156,7 +156,7 @@ class ReorderIds(Tool.BatchTool):
else:
print "Done."
db.transaction_commit(self.trans, _("Reorder GRAMPS IDs"))
db.transaction_commit(self.trans, _("Reorder Gramps IDs"))
db.enable_signals()
db.request_rebuild()
+2 -2
View File
@@ -27,8 +27,8 @@
<property name="visible">True</property>
<property name="ypad">10</property>
<property name="label" translatable="yes">Below is a list of the family names that
GRAMPS can convert to correct capitalization.
Select the names you wish GRAMPS to convert. </property>
Gramps can convert to correct capitalization.
Select the names you wish Gramps to convert. </property>
</object>
<packing>
<property name="expand">False</property>
+2 -2
View File
@@ -31,8 +31,8 @@
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="ypad">10</property>
<property name="label" translatable="yes">Below is a list of the nicknames, titles and family name prefixes that GRAMPS can extract from the
current database. If you accept the changes, GRAMPS will modify the entries
<property name="label" translatable="yes">Below is a list of the nicknames, titles and family name prefixes that Gramps can extract from the
current database. If you accept the changes, Gramps will modify the entries
that have been selected.</property>
</object>
<packing>
+3 -3
View File
@@ -53,7 +53,7 @@ if not (TOOLKIT == NOWEB):
version = '1.0',
status = STABLE,
fname = 'geoview.py',
authors = [u"The GRAMPS project"],
authors = [u"The Gramps project"],
authors_email = ["http://gramps-project.org"],
category = VIEW_GEO,
viewclass = 'GeoView',
@@ -62,11 +62,11 @@ if not (TOOLKIT == NOWEB):
register(VIEW,
id = 'htmlview',
name = _("Html View"),
description = _("A view allowing to see html pages embedded in GRAMPS"),
description = _("A view allowing to see html pages embedded in Gramps"),
version = '1.0',
status = UNSTABLE,
fname = 'htmlrenderer.py',
authors = [u"The GRAMPS project"],
authors = [u"The Gramps project"],
authors_email = ["http://gramps-project.org"],
category = VIEW_MISC,
viewclass = 'HtmlView',
+3 -3
View File
@@ -127,7 +127,7 @@ COUNTY = _("County")
COUNTRY = _("Country")
DHEAD = _("Date")
DESCRHEAD = _("Description")
GRAMPSID = _("GRAMPS ID")
GRAMPSID = _("Gramps ID")
LATITUDE = _("Latitude")
LOCATIONS = _("Alternate Locations")
LONGITUDE = _("Longitude")
@@ -3317,7 +3317,7 @@ class ContactPage(BasePage):
researcher += Html("span", r.country, id = 'country', inline = True)
if r.email:
researcher += ( Html("span", id = 'email') +
Html("a", r.email, href = 'mailto:%s?subject="from GRAMPS Web Site"'
Html("a", r.email, href = 'mailto:%s?subject="from Gramps Web Site"'
% r.email, inline = True)
)
@@ -5760,7 +5760,7 @@ class NavWebOptions(MenuReportOptions):
self.__gallery_changed()
nogid = BooleanOption(_('Suppress GRAMPS ID'), False)
nogid = BooleanOption(_('Suppress Gramps ID'), False)
nogid.set_help(_('Whether to include the Gramps ID of objects'))
menu.add_option(category_name, 'nogid', nogid)
+1 -1
View File
@@ -1220,7 +1220,7 @@ class WebCalReport(Report):
# Display date as user set in preferences
msg = _('Generated by <a href="http://gramps-project.org">'
'GRAMPS</a> on %(date)s') % {'date' : _dd.display(date.Today())}
'Gramps</a> on %(date)s') % {'date' : _dd.display(date.Today())}
p = Html('p', msg, id = 'createdate')
# add Generated by? to footer