diff --git a/gramps/cli/arghandler.py b/gramps/cli/arghandler.py index 6c6ca0501..1f67f640c 100644 --- a/gramps/cli/arghandler.py +++ b/gramps/cli/arghandler.py @@ -218,7 +218,7 @@ class ArgHandler(object): if not self.check_db(db_path, self.force_unlock): sys.exit(0) if create: - self.__error( _("Error: Family tree '%s' already exists.\n" + self.__error( _("Error: Family Tree '%s' already exists.\n" "The '-C' option cannot be used.") % value) sys.exit(0) return db_path @@ -227,7 +227,7 @@ class ArgHandler(object): db_path, title = self.dbman.create_new_db_cli(title=value) return db_path else: - self.__error( _('Error: Input family tree "%s" does not exist.\n' + self.__error( _('Error: Input Family Tree "%s" does not exist.\n' "If GEDCOM, Gramps-xml or grdb, use the -i option " "to import into a family tree instead.") % value) sys.exit(0) @@ -402,7 +402,7 @@ class ArgHandler(object): """ if self.list: - print(_('List of known family trees in your database path\n')) + print(_('List of known Family Trees in your database path\n')) for name, dirname in sorted(self.dbman.family_tree_list(), key=lambda pair: pair[0].lower()): @@ -415,10 +415,10 @@ class ArgHandler(object): print(_('Gramps Family Trees:')) summary_list = self.dbman.family_tree_summary() for summary in sorted(summary_list, - key=lambda sum: sum["Family tree"].lower()): - print(_("Family Tree \"%s\":") % summary["Family tree"]) + key=lambda sum: sum[_("Family Tree")].lower()): + print(_("Family Tree \"%s\":") % summary[_("Family Tree")]) for item in sorted(summary): - if item != "Family tree": + if item != "Family Tree": print(" %s: %s" % (item, summary[item])) sys.exit(0) @@ -427,15 +427,15 @@ class ArgHandler(object): summary_list = self.dbman.family_tree_summary() print(_("Family Tree"), end="") for key in sorted(summary_list[0]): - if key != "Family tree": + if key != "Family Tree": print("\t ", end="") print(key, end="") print() for summary in sorted(summary_list, - key=lambda sum: sum[_("Family tree")].lower()): - print('"%s"' % summary["Family tree"], end="") + key=lambda sum: sum[_("Family Tree")].lower()): + print('"%s"' % summary[_("Family Tree")], end="") for item in sorted(summary): - if item != _("Family tree"): + if item != _("Family Tree"): print("\t ", end="") print('"%s"' % summary[item], end="") print() @@ -492,7 +492,7 @@ class ArgHandler(object): try: self.sm.open_activate(self.imp_db_path) - msg = _("Created empty family tree successfully") + msg = _("Created empty Family Tree successfully") print(msg, file=sys.stderr) except: print(_("Error opening the file."), file=sys.stderr) diff --git a/gramps/cli/argparser.py b/gramps/cli/argparser.py index c684039be..579cf717b 100644 --- a/gramps/cli/argparser.py +++ b/gramps/cli/argparser.py @@ -63,18 +63,18 @@ Help options --usage Display brief usage message Application options - -O, --open=FAMILY_TREE Open family tree - -C, --create=FAMILY_TREE Create on open if new family tree + -O, --open=FAMILY_TREE Open Family Tree + -C, --create=FAMILY_TREE Create on open if new Family Tree -i, --import=FILENAME Import file -e, --export=FILENAME Export file - -f, --format=FORMAT Specify family tree format + -f, --format=FORMAT Specify Family Tree format -a, --action=ACTION Specify action -p, --options=OPTIONS_STRING Specify options -d, --debug=LOGGER_NAME Enable debug logs -l List Family Trees -L List Family Trees in Detail -t List Family Trees, tab delimited - -u, --force-unlock Force unlock of family tree + -u, --force-unlock Force unlock of Family Tree -s, --show Show config settings -c, --config=[config.setting[:value]] Set config setting(s) and start Gramps -v, --version Show versions @@ -112,7 +112,7 @@ Use the name=timeline,show=all to find out about all available options for the t To find out details of a particular option, use show=option_name , e.g. name=timeline,show=off string. To learn about available report names, use name=show string. -9. To convert a family tree on the fly to a .gramps xml file: +9. To convert a Family Tree on the fly to a .gramps xml file: gramps -O 'Family Tree 1' -e output.gramps -f gramps-xml 10. To generate a web site into an other locale (in german): diff --git a/gramps/cli/clidbman.py b/gramps/cli/clidbman.py index c9bc4df4e..e1a3fbfae 100644 --- a/gramps/cli/clidbman.py +++ b/gramps/cli/clidbman.py @@ -218,9 +218,9 @@ class CLIDbManager(object): retval[_("Bsddb version")] = bsddb_version retval[_("Schema version")] = schema_version if sys.version_info[0] < 3: - retval[_("Family tree")] = name.encode(glocale.getfilesystemencoding()) + retval[_("Family Tree")] = name.encode(glocale.getfilesystemencoding()) else: - retval[_("Family tree")] = name + retval[_("Family Tree")] = name retval[_("Path")] = dirpath retval[_("Last accessed")] = time.strftime('%x %X', time.localtime(tval)) @@ -412,7 +412,7 @@ class CLIDbManager(object): name_file.write(new_text) name_file.close() except (OSError, IOError) as msg: - CLIDbManager.ERROR(_("Could not rename family tree"), + CLIDbManager.ERROR(_("Could not rename Family Tree"), str(msg)) return None, None return old_text, new_text diff --git a/gramps/gen/db/exceptions.py b/gramps/gen/db/exceptions.py index be1f2bc7e..78f49e0c9 100644 --- a/gramps/gen/db/exceptions.py +++ b/gramps/gen/db/exceptions.py @@ -81,7 +81,7 @@ class DbVersionError(Exception): def __str__(self): return _("The schema version is not supported by this version of " "Gramps.\n\n" - "This Family tree is schema version %(tree_vers)s, and this " + "This Family Tree is schema version %(tree_vers)s, and this " "version of Gramps supports versions %(min_vers)s to " "%(max_vers)s\n\n" "Please upgrade to the corresponding version or use " @@ -102,14 +102,14 @@ class BsddbDowngradeError(Exception): def __str__(self): return _('Gramps stores its data in a Berkeley Database. ' - 'The family tree you try to load was created with version ' + 'The Family Tree you try to load was created with version ' '%(env_version)s of the Berkeley DB. However, the Gramps ' 'version in use right now employs version %(bdb_version)s ' 'of the Berkeley DB. So you are trying to load data created ' 'in a newer format into an older program; this is bound to ' 'fail. The right approach in this case is to use XML export ' - 'and import. So try to open the family tree on that computer ' - 'with that software that created the family tree, export it ' + 'and import. So try to open the Family Tree on that computer ' + 'with that software that created the Family Tree, export it ' 'to XML and load that XML into the version of Gramps you ' 'intend to use.') % {'env_version': self.env_version, 'bdb_version': self.bdb_version} diff --git a/gramps/gen/relationship.py b/gramps/gen/relationship.py index 88e432d8b..d3dd5f6e8 100644 --- a/gramps/gen/relationship.py +++ b/gramps/gen/relationship.py @@ -859,7 +859,7 @@ class RelationshipCalculator(object): del common[index] #check for extra messages if self.__maxDepthReached : - self.__msg += [_('Family tree reaches back more than the maximum ' + self.__msg += [_('Family Tree reaches back more than the maximum ' '%d generations searched.\nIt is possible that ' 'relationships have been missed') % (self.__max_depth)] diff --git a/gramps/gui/configure.py b/gramps/gui/configure.py index 292711353..9fd14b937 100644 --- a/gramps/gui/configure.py +++ b/gramps/gui/configure.py @@ -481,7 +481,7 @@ class GrampsPreferences(ConfigureDialog): table.set_col_spacings(6) table.set_row_spacings(6) self.add_text(table, _('Enter your information so people can contact you when you' - ' distribute your family tree'), 0, line_wrap=False) + ' distribute your Family Tree'), 0, line_wrap=False) self.add_entry(table, _('Name'), 1, 'researcher.researcher-name') self.add_entry(table, _('Address'), 2, 'researcher.researcher-addr') self.add_entry(table, _('Locality'), 3, 'researcher.researcher-locality') @@ -1287,7 +1287,7 @@ class GrampsPreferences(ConfigureDialog): # _('Family Tree Database path'), # 0, 'behavior.database-path') self.add_checkbox(table, - _('Automatically load last family tree'), + _('Automatically load last Family Tree'), 1, 'behavior.autoload') return _('Family Tree'), table diff --git a/gramps/gui/dbman.py b/gramps/gui/dbman.py index f73d47503..6c14985bd 100644 --- a/gramps/gui/dbman.py +++ b/gramps/gui/dbman.py @@ -279,7 +279,7 @@ class DbManager(CLIDbManager): render.connect('edited', self.__change_name) render.connect('editing-canceled', self.__stop_edit) render.connect('editing-started', self.__start_edit) - self.column = Gtk.TreeViewColumn(_('Family tree name'), render, + self.column = Gtk.TreeViewColumn(_('Family Tree name'), render, text=NAME_COL) self.column.set_sort_column_id(NAME_COL) self.column.set_sort_indicator(True) @@ -550,9 +550,9 @@ class DbManager(CLIDbManager): if len(path.get_indices()) == 1: QuestionDialog( - _("Remove the '%s' family tree?") % self.data_to_delete[0], - _("Removing this family tree will permanently destroy the data."), - _("Remove family tree"), + _("Remove the '%s' Family Tree?") % self.data_to_delete[0], + _("Removing this Family Tree will permanently destroy the data."), + _("Remove Family Tree"), self.__really_delete_db) else: rev = self.data_to_delete[0] @@ -593,7 +593,7 @@ class DbManager(CLIDbManager): os.unlink(os.path.join(top, filename)) os.rmdir(self.data_to_delete[1]) except (IOError, OSError) as msg: - DbManager.ERROR(_("Could not delete family tree"), + DbManager.ERROR(_("Could not delete Family Tree"), str(msg)) # rebuild the display self.__populate() @@ -646,26 +646,26 @@ class DbManager(CLIDbManager): #First ask user if he is really sure :-) yes_no = QuestionDialog2( - _("Repair family tree?"), + _("Repair Family Tree?"), _( -"If you click Proceed, Gramps will attempt to recover your family tree" +"If you click Proceed, Gramps will attempt to recover your Family Tree" " from the last good backup. There are several ways this can cause unwanted" -" effects, so backup the family tree first.\n" -"The Family tree you have selected is stored in %s.\n\n" +" effects, so backup the Family Tree first.\n" +"The Family Tree you have selected is stored in %s.\n\n" "Before doing a repair, verify that the Family Tree can really no longer be " " opened, as the database back-end can recover from some errors automatically.\n\n" "Details: Repairing a Family Tree actually uses the last backup of" " the Family Tree, which Gramps stored on last use. If you have worked for" " several hours/days without closing Gramps, then all this information will" -" be lost! If the repair fails, then the original family tree will be lost" +" be lost! If the repair fails, then the original Family Tree will be lost" " forever, hence a backup is needed. If the repair fails, or too much" -" information is lost, you can fix the original family tree manually." +" information is lost, you can fix the original Family Tree manually." " For details, see the webpage\n" "http://gramps-project.org/wiki/index.php?title=Recover_corrupted_family_tree\n" -"Before doing a repair, try to open the family tree in the normal manner." +"Before doing a repair, try to open the Family Tree in the normal manner." " Several errors that trigger the repair button can be fixed automatically." " If this is the case, you can disable the repair button by removing the" -" file need_recover in the family tree directory." +" file need_recover in the Family Tree directory." ) % dirname, _("Proceed, I have taken a backup"), _("Stop")) @@ -731,7 +731,7 @@ class DbManager(CLIDbManager): try: self._create_new_db() except (OSError, IOError) as msg: - DbManager.ERROR(_("Could not create family tree"), + DbManager.ERROR(_("Could not create Family Tree"), str(msg)) self.new.set_sensitive(True) diff --git a/gramps/gui/grampsgui.py b/gramps/gui/grampsgui.py index 82720afc6..09d3a6204 100644 --- a/gramps/gui/grampsgui.py +++ b/gramps/gui/grampsgui.py @@ -362,8 +362,8 @@ def __startgramps(errors, argparser): LOG.error(_( "\nGramps failed to start. Please report a bug about this.\n" "This could be because of an error in a (third party) View on startup.\n" - "To use another view, don't load a family tree, change view, and then load" - " your family tree.\n" + "To use another view, don't load a Family Tree, change view, and then load" + " your Family Tree.\n" "You can also change manually the startup view in the gramps.ini file \n" "by changing the last-view parameter.\n" ), exc_info=True) diff --git a/gramps/gui/plug/export/_exportassistant.py b/gramps/gui/plug/export/_exportassistant.py index 92e283a41..af48f3174 100644 --- a/gramps/gui/plug/export/_exportassistant.py +++ b/gramps/gui/plug/export/_exportassistant.py @@ -597,7 +597,7 @@ class ExportAssistant(Gtk.Assistant, ManagedWindow) : except: #an error not catched in the export_function itself success = False - log.error(_("Error exporting your family tree"), exc_info=True) + log.error(_("Error exporting your Family Tree"), exc_info=True) return success def pre_save(self,page): diff --git a/gramps/plugins/gramplet/gramplet.gpr.py b/gramps/plugins/gramplet/gramplet.gpr.py index af7e8b67c..93dfb47c3 100644 --- a/gramps/plugins/gramplet/gramplet.gpr.py +++ b/gramps/plugins/gramplet/gramplet.gpr.py @@ -231,7 +231,7 @@ register(GRAMPLET, register(GRAMPLET, id="Statistics", name=_("Statistics"), - description = _("Gramplet showing summary data of the family tree"), + description = _("Gramplet showing summary data of the Family Tree"), status = STABLE, fname="statsgramplet.py", height=230, diff --git a/gramps/plugins/gramplet/welcomegramplet.py b/gramps/plugins/gramplet/welcomegramplet.py index 47807662d..73657794a 100644 --- a/gramps/plugins/gramplet/welcomegramplet.py +++ b/gramps/plugins/gramplet/welcomegramplet.py @@ -127,7 +127,7 @@ class WelcomeGramplet(Gramplet): 'The first thing you must do is to create a new Family Tree. To ' 'create a new Family Tree (sometimes called \'database\') select ' '"Family Trees" from the menu, pick "Manage Family Trees", press ' - '"New" and name your family tree. For more details, please read the ' + '"New" and name your Family Tree. For more details, please read the ' 'information at the links above\n\n') welcome += boldst(_('Dashboard View')) + '\n\n' + _( 'You are currently reading from the "Dashboard" view, where you can' diff --git a/gramps/plugins/importer/import.gpr.py b/gramps/plugins/importer/import.gpr.py index 9af0b3cca..48d3d52ab 100644 --- a/gramps/plugins/importer/import.gpr.py +++ b/gramps/plugins/importer/import.gpr.py @@ -87,7 +87,7 @@ plg = newplugin() plg.id = 'im_gpkg' 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.)') + 'Family Tree together with the media object files.)') plg.version = '1.0' plg.gramps_target_version = '4.0' plg.status = STABLE @@ -106,7 +106,7 @@ plg = newplugin() plg.id = 'im_gramps' plg.name = _('Gramps XML Family Tree') plg.description = _('The Gramps XML format is a text ' - 'version of a family tree. It is ' + 'version of a Family Tree. It is ' 'read-write compatible with the ' 'present Gramps database format.') plg.version = '1.0' diff --git a/gramps/plugins/importer/importgpkg.py b/gramps/plugins/importer/importgpkg.py index 43d816cf8..6e250a5ef 100644 --- a/gramps/plugins/importer/importgpkg.py +++ b/gramps/plugins/importer/importgpkg.py @@ -106,7 +106,7 @@ def impData(database, name, user): database.set_mediapath(tmpdir_path) user.warn( _("Base path for relative media set"), - _("The base media path of this family tree has been set to " + _("The base media path of this Family Tree has been set to " "%s. Consider taking a simpler path. You can change this " "in the Preferences, while moving your media files to the " "new position, and using the media manager tool, option " @@ -116,7 +116,7 @@ def impData(database, name, user): else: user.warn( _("Cannot set base media path"), - _("The family tree you imported into already has a base media " + _("The Family Tree you imported into already has a base media " "path: %(orig_path)s. The imported media objects however " "are relative from the path %(path)s. You can change the " "media path in the Preferences or you can convert the " diff --git a/gramps/plugins/importer/importgrdb.py b/gramps/plugins/importer/importgrdb.py index a62983fbb..c000194ed 100644 --- a/gramps/plugins/importer/importgrdb.py +++ b/gramps/plugins/importer/importgrdb.py @@ -61,7 +61,7 @@ def importData(database, filename, user): "You should use an old copy of Gramps at " "version 3.0.x and import your database into " "that version. You should then export a copy " - "of your data to Gramps XML (family tree). " + "of your data to Gramps XML (Family Tree). " "Then you should upgrade to the latest " "version of Gramps (for example this version), " "create a new empty database and import the " diff --git a/gramps/plugins/importer/importxml.py b/gramps/plugins/importer/importxml.py index d5eb7d388..67f666f95 100644 --- a/gramps/plugins/importer/importxml.py +++ b/gramps/plugins/importer/importxml.py @@ -954,7 +954,7 @@ class GrampsParser(UpdateCallback): elif not oldpath == self.mediapath: self.user.notify_error(_("Could not change media path"), _("The opened file has media path %s, which conflicts with" - " the media path of the family tree you import into. " + " the media path of the Family Tree you import into. " "The original media path has been retained. Copy the " "files to a correct directory or change the media " "path in the Preferences." @@ -1667,7 +1667,7 @@ class GrampsParser(UpdateCallback): if self.db.has_name_group_key(key) : present = self.db.get_name_group_mapping(key) if not value == present: - msg = _('Your family tree groups name "%(key)s" together' + msg = _('Your Family Tree groups name "%(key)s" together' ' with "%(parent)s", did not change this grouping to "%(value)s".') % { 'key' : key, 'parent' : present, 'value' : value } self.user.warn(_("Gramps ignored namemap value"), msg) diff --git a/gramps/plugins/textreport/descendreport.py b/gramps/plugins/textreport/descendreport.py index 87af64e2e..956a5acb8 100644 --- a/gramps/plugins/textreport/descendreport.py +++ b/gramps/plugins/textreport/descendreport.py @@ -425,7 +425,7 @@ class DescendantOptions(MenuReportOptions): menu.add_option(category_name, "divs", divs) dups = BooleanOption(_('Show duplicate trees'), True) - dups.set_help(_("Whether to show duplicate family trees in the report.")) + dups.set_help(_("Whether to show duplicate Family Trees in the report.")) menu.add_option(category_name, "dups", dups) def make_default_style(self, default_style): diff --git a/gramps/plugins/tool/check.py b/gramps/plugins/tool/check.py index 5c522220a..1dc69f8c5 100644 --- a/gramps/plugins/tool/check.py +++ b/gramps/plugins/tool/check.py @@ -149,11 +149,11 @@ class Check(tool.BatchTool): if self.db.__class__.__name__ == 'DbBsddb': if cross_table_duplicates(self.db): Report(uistate, _( - "Your family tree contains cross table duplicate handles.\n " + "Your Family Tree contains cross table duplicate handles.\n " "This is bad and can be fixed by making a backup of your\n" - "family tree and importing that backup in an empty family\n" - "tree. The rest of the checking is skipped, the Check and\n" - "Repair tool should be run anew on this new family tree."), + "Family Tree and importing that backup in an empty Family\n" + "Tree. The rest of the checking is skipped, the Check and\n" + "Repair tool should be run anew on this new Family Tree."), cli) return with DbTxn(_("Check Integrity"), self.db, batch=True) as trans: diff --git a/gramps/plugins/tool/patchnames.glade b/gramps/plugins/tool/patchnames.glade index 486dd739d..512cdefe1 100644 --- a/gramps/plugins/tool/patchnames.glade +++ b/gramps/plugins/tool/patchnames.glade @@ -140,7 +140,7 @@ False 0 10 - Below is a list of the nicknames, titles, prefixes and compound surnames that Gramps can extract from the family tree. + Below is a list of the nicknames, titles, prefixes and compound surnames that Gramps can extract from the Family Tree. If you accept the changes, Gramps will modify the entries that have been selected. Compound surnames are shown as lists of [prefix, surname, connector]. diff --git a/gramps/plugins/view/view.gpr.py b/gramps/plugins/view/view.gpr.py index 06b680bae..b993c911e 100644 --- a/gramps/plugins/view/view.gpr.py +++ b/gramps/plugins/view/view.gpr.py @@ -1,4 +1,4 @@ -# encoding:utf-8 +# # # Gramps - a GTK+/GNOME based genealogy program # @@ -169,7 +169,7 @@ stock_icon = 'gramps-fanchartdesc', register(VIEW, id = 'personview', name = _("Grouped People"), -description = _("The view showing all people in the family tree grouped per" +description = _("The view showing all people in the Family Tree grouped per" " family name"), version = '1.0', gramps_target_version = '4.0', @@ -186,7 +186,7 @@ stock_icon = 'gramps-tree-group', register(VIEW, id = 'personlistview', name = _("People"), -description = _("The view showing all people in the family tree" +description = _("The view showing all people in the Family Tree" " in a flat list"), version = '1.0', gramps_target_version = '4.0', @@ -203,7 +203,7 @@ stock_icon = 'gramps-tree-list', register(VIEW, id = 'placelistview', name = _("Places"), -description = _("The view showing all the places of the family tree"), +description = _("The view showing all the places of the Family Tree"), version = '1.0', gramps_target_version = '4.0', status = STABLE,