From 1bb2dfc1cd2515ca5b227f8744a91a1f0462b4b6 Mon Sep 17 00:00:00 2001 From: vantu5z Date: Mon, 11 Jul 2016 14:55:26 +0300 Subject: [PATCH] Make translatable debuger tools --- gramps/plugins/tool/toolsdebug.gpr.py | 34 +++++++++++++-------------- po/POTFILES.in | 1 + 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/gramps/plugins/tool/toolsdebug.gpr.py b/gramps/plugins/tool/toolsdebug.gpr.py index e5c295c3c..66322b9ad 100644 --- a/gramps/plugins/tool/toolsdebug.gpr.py +++ b/gramps/plugins/tool/toolsdebug.gpr.py @@ -32,12 +32,12 @@ MODULE_VERSION="5.0" register(TOOL, id = 'test_for_date_parser_and_displayer', -name = "Check Localized Date Displayer and Parser", -description = ("This test tool will create many people showing all" - " different date variants as birth. The death date is" - " created by parsing the result of the date displayer for" - " the birth date. This way you can ensure that dates" - " printed can be parsed back in correctly."), +name = _("Check Localized Date Displayer and Parser"), +description = _("This test tool will create many people showing all" + " different date variants as birth. The death date is" + " created by parsing the result of the date displayer for" + " the birth date. This way you can ensure that dates" + " printed can be parsed back in correctly."), version = '1.0', gramps_target_version = MODULE_VERSION, status = UNSTABLE, @@ -58,9 +58,9 @@ tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI] register(TOOL, id = 'dgenstats', -name = "Dump Gender Statistics", -description = ("Will dump the statistics for the gender guessing " - "from the first name."), +name = _("Dump Gender Statistics"), +description = _("Will dump the statistics for the gender guessing " + "from the first name."), version = '1.0', gramps_target_version = MODULE_VERSION, status = STABLE, @@ -81,10 +81,10 @@ tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI] register(TOOL, id = 'testcasegenerator', -name = "Generate Testcases for Persons and Families", -description = ("The testcase generator will generate some persons " - "and families that have broken links in the database " - "or data that is in conflict to a relation."), +name = _("Generate Testcases for Persons and Families"), +description = _("The testcase generator will generate some persons " + "and families that have broken links in the database " + "or data that is in conflict to a relation."), version = '1.0', gramps_target_version = MODULE_VERSION, status = UNSTABLE, @@ -105,10 +105,10 @@ tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI] register(TOOL, id = 'populatesources', -name = "Populate Sources and Citations", -description = ("This tool generates sources and citations for each source in " - "order to populate the database for testing with significant " - "numbers of sources and citations"), +name = _("Populate Sources and Citations"), +description = _("This tool generates sources and citations for each source in " + "order to populate the database for testing with significant " + "numbers of sources and citations."), version = '1.0', gramps_target_version = MODULE_VERSION, status = UNSTABLE, diff --git a/po/POTFILES.in b/po/POTFILES.in index 39bca4f04..3cea07cdc 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -710,6 +710,7 @@ gramps/plugins/tool/reorderids.py gramps/plugins/tool/sortevents.py gramps/plugins/tool/testcasegenerator.py gramps/plugins/tool/tools.gpr.py +gramps/plugins/tool/toolsdebug.gpr.py gramps/plugins/tool/verify.glade gramps/plugins/tool/verify.py gramps/plugins/view/citationlistview.py