Skip to content

Commit 2d98503

Browse files
committed
New Type Cleanup Tool
1 parent 72f63a0 commit 2d98503

File tree

3 files changed

+497
-0
lines changed

3 files changed

+497
-0
lines changed

TypeCleanup/po/template.pot

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the PACKAGE package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: PACKAGE VERSION\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2019-12-24 11:34-0600\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <[email protected]>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=CHARSET\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#: TypeCleanup/type_cleanup.gpr.py:29
21+
msgid "Type Cleanup"
22+
msgstr ""
23+
24+
#: TypeCleanup/type_cleanup.gpr.py:30
25+
msgid "Clean up (remove) custom types"
26+
msgstr ""
27+
28+
#: TypeCleanup/type_cleanup.py:90
29+
msgid "Event Attributes"
30+
msgstr ""
31+
32+
#: TypeCleanup/type_cleanup.py:91
33+
msgid "Family Attributes"
34+
msgstr ""
35+
36+
#: TypeCleanup/type_cleanup.py:92
37+
msgid "Media Attributes"
38+
msgstr ""
39+
40+
#: TypeCleanup/type_cleanup.py:93
41+
msgid "Person Attributes"
42+
msgstr ""
43+
44+
#: TypeCleanup/type_cleanup.py:95
45+
msgid "Event Roles"
46+
msgstr ""
47+
48+
#: TypeCleanup/type_cleanup.py:96
49+
msgid "Event Types"
50+
msgstr ""
51+
52+
#: TypeCleanup/type_cleanup.py:97
53+
msgid "Family Relation Types"
54+
msgstr ""
55+
56+
#: TypeCleanup/type_cleanup.py:98
57+
msgid "Child reference Types"
58+
msgstr ""
59+
60+
#: TypeCleanup/type_cleanup.py:99
61+
msgid "Name Origin Types"
62+
msgstr ""
63+
64+
#: TypeCleanup/type_cleanup.py:100
65+
msgid "Name Types"
66+
msgstr ""
67+
68+
#: TypeCleanup/type_cleanup.py:101
69+
msgid "Note Types"
70+
msgstr ""
71+
72+
#: TypeCleanup/type_cleanup.py:102
73+
msgid "Place Types"
74+
msgstr ""
75+
76+
#: TypeCleanup/type_cleanup.py:103
77+
msgid "Repository Types"
78+
msgstr ""
79+
80+
#: TypeCleanup/type_cleanup.py:104
81+
msgid "Source Attributes"
82+
msgstr ""
83+
84+
#: TypeCleanup/type_cleanup.py:105
85+
msgid "Source Media Types"
86+
msgstr ""
87+
88+
#: TypeCleanup/type_cleanup.py:106
89+
msgid "URL Types"
90+
msgstr ""
91+
92+
#: TypeCleanup/type_cleanup.py:118
93+
msgid "Types Cleanup Tool"
94+
msgstr ""
95+
96+
#: TypeCleanup/type_cleanup.py:145
97+
msgid "Remove"
98+
msgstr ""
99+
100+
#: TypeCleanup/type_cleanup.py:146
101+
msgid "Remove the selected type"
102+
msgstr ""
103+
104+
#: TypeCleanup/type_cleanup.py:150
105+
msgid "Close"
106+
msgstr ""
107+
108+
#: TypeCleanup/type_cleanup.py:151
109+
msgid "Close the Type Cleanup Tool"
110+
msgstr ""
111+
112+
#: TypeCleanup/type_cleanup.py:155
113+
msgid "Types"
114+
msgstr ""
115+
116+
#: TypeCleanup/type_cleanup.py:172
117+
msgid "Type"
118+
msgstr ""
119+
120+
#: TypeCleanup/type_cleanup.py:179
121+
msgid "References"
122+
msgstr ""
123+
124+
#: TypeCleanup/type_cleanup.py:196
125+
msgid "Type Cleanup Tool"
126+
msgstr ""
127+
128+
#: TypeCleanup/type_cleanup.py:218
129+
msgid "Reading database..."
130+
msgstr ""
131+
132+
#: TypeCleanup/type_cleanup.py:288
133+
msgid ""
134+
"Removing this custom type will eliminate it from the type selection drop "
135+
"down lists. However, it will not remove it from the referenced items in the "
136+
"database."
137+
msgstr ""
138+
139+
#: TypeCleanup/type_cleanup.py:291
140+
msgid "_Remove"
141+
msgstr ""
142+
143+
#: TypeCleanup/type_cleanup.py:291
144+
msgid "_Stop"
145+
msgstr ""

TypeCleanup/type_cleanup.gpr.py

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#
2+
# Gramps - a GTK+/GNOME based genealogy program
3+
#
4+
# Copyright (C) 2016 Paul Culley
5+
#
6+
# This program is free software; you can redistribute it and/or modify
7+
# it under the terms of the GNU General Public License as published by
8+
# the Free Software Foundation; either version 2 of the License, or
9+
# (at your option) any later version.
10+
#
11+
# This program is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU General Public License for more details.
15+
#
16+
# You should have received a copy of the GNU General Public License
17+
# along with this program; if not, write to the Free Software
18+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19+
#
20+
21+
#------------------------------------------------------------------------
22+
#
23+
# Type Cleanup tool
24+
#
25+
#------------------------------------------------------------------------
26+
27+
register(TOOL,
28+
id = 'typecleanup',
29+
name = _("Type Cleanup"),
30+
description = _("Clean up (remove) custom types"),
31+
version = '1.0.1',
32+
gramps_target_version = '5.1',
33+
status = STABLE,
34+
fname = 'type_cleanup.py',
35+
authors = ["Paul Culley"],
36+
authors_email = ["[email protected]"],
37+
category = TOOL_UTILS,
38+
toolclass = 'TypeCleanup',
39+
optionclass = 'TypeCleanupOptions',
40+
tool_modes = [TOOL_MODE_GUI]
41+
)

0 commit comments

Comments
 (0)