Make translatable debuger tools

This commit is contained in:
vantu5z 2016-07-11 14:55:26 +03:00
parent 16a862fe56
commit 1bb2dfc1cd
2 changed files with 18 additions and 17 deletions

View File

@ -32,12 +32,12 @@ MODULE_VERSION="5.0"
register(TOOL, register(TOOL,
id = 'test_for_date_parser_and_displayer', id = 'test_for_date_parser_and_displayer',
name = "Check Localized Date Displayer and Parser", name = _("Check Localized Date Displayer and Parser"),
description = ("This test tool will create many people showing all" description = _("This test tool will create many people showing all"
" different date variants as birth. The death date is" " different date variants as birth. The death date is"
" created by parsing the result of the date displayer for" " created by parsing the result of the date displayer for"
" the birth date. This way you can ensure that dates" " the birth date. This way you can ensure that dates"
" printed can be parsed back in correctly."), " printed can be parsed back in correctly."),
version = '1.0', version = '1.0',
gramps_target_version = MODULE_VERSION, gramps_target_version = MODULE_VERSION,
status = UNSTABLE, status = UNSTABLE,
@ -58,9 +58,9 @@ tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
register(TOOL, register(TOOL,
id = 'dgenstats', id = 'dgenstats',
name = "Dump Gender Statistics", name = _("Dump Gender Statistics"),
description = ("Will dump the statistics for the gender guessing " description = _("Will dump the statistics for the gender guessing "
"from the first name."), "from the first name."),
version = '1.0', version = '1.0',
gramps_target_version = MODULE_VERSION, gramps_target_version = MODULE_VERSION,
status = STABLE, status = STABLE,
@ -81,10 +81,10 @@ tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
register(TOOL, register(TOOL,
id = 'testcasegenerator', id = 'testcasegenerator',
name = "Generate Testcases for Persons and Families", name = _("Generate Testcases for Persons and Families"),
description = ("The testcase generator will generate some persons " description = _("The testcase generator will generate some persons "
"and families that have broken links in the database " "and families that have broken links in the database "
"or data that is in conflict to a relation."), "or data that is in conflict to a relation."),
version = '1.0', version = '1.0',
gramps_target_version = MODULE_VERSION, gramps_target_version = MODULE_VERSION,
status = UNSTABLE, status = UNSTABLE,
@ -105,10 +105,10 @@ tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
register(TOOL, register(TOOL,
id = 'populatesources', id = 'populatesources',
name = "Populate Sources and Citations", name = _("Populate Sources and Citations"),
description = ("This tool generates sources and citations for each source in " description = _("This tool generates sources and citations for each source in "
"order to populate the database for testing with significant " "order to populate the database for testing with significant "
"numbers of sources and citations"), "numbers of sources and citations."),
version = '1.0', version = '1.0',
gramps_target_version = MODULE_VERSION, gramps_target_version = MODULE_VERSION,
status = UNSTABLE, status = UNSTABLE,

View File

@ -710,6 +710,7 @@ gramps/plugins/tool/reorderids.py
gramps/plugins/tool/sortevents.py gramps/plugins/tool/sortevents.py
gramps/plugins/tool/testcasegenerator.py gramps/plugins/tool/testcasegenerator.py
gramps/plugins/tool/tools.gpr.py gramps/plugins/tool/tools.gpr.py
gramps/plugins/tool/toolsdebug.gpr.py
gramps/plugins/tool/verify.glade gramps/plugins/tool/verify.glade
gramps/plugins/tool/verify.py gramps/plugins/tool/verify.py
gramps/plugins/view/citationlistview.py gramps/plugins/view/citationlistview.py