Skip to content

Commit 036153b

Browse files
Nick-HallGaryGriffin
authored andcommitted
Fix old style translation context in the Network Chart report
1 parent 2910e33 commit 036153b

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

NetworkChart/NetworkChart.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ def __init__(self, database, options, user):
130130

131131
stdoptions.run_name_format_option(self, menu)
132132

133-
self._born = self._("birth abbreviation|b.") + ' '
134-
self._died = self._("death abbreviation|d.") + ' '
135-
self._marr = self._("marriage abbreviation|m.") + ' '
133+
self._born = self._("b.", "birth abbreviation") + ' '
134+
self._died = self._("d.", "death abbreviation") + ' '
135+
self._marr = self._("m.", "marriage abbreviation") + ' '
136136
self._unk = self._('Unknown')
137137

138138
self.font_chart = menu.get_option_by_name(

NetworkChart/po/template.pot

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-02-16 15:10-0800\n"
11+
"POT-Creation-Date: 2025-09-09 18:33+0100\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -17,16 +17,27 @@ msgstr ""
1717
"Content-Type: text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
1919

20+
#: NetworkChart/NetworkChart.gpr.py:24
21+
msgid "Network Chart"
22+
msgstr ""
23+
24+
#: NetworkChart/NetworkChart.gpr.py:35
25+
msgid "Generates a family network chart."
26+
msgstr ""
27+
2028
#: NetworkChart/NetworkChart.py:133
21-
msgid "birth abbreviation|b."
29+
msgctxt "birth abbreviation"
30+
msgid "b."
2231
msgstr ""
2332

2433
#: NetworkChart/NetworkChart.py:134
25-
msgid "death abbreviation|d."
34+
msgctxt "death abbreviation"
35+
msgid "d."
2636
msgstr ""
2737

2838
#: NetworkChart/NetworkChart.py:135
29-
msgid "marriage abbreviation|m."
39+
msgctxt "marriage abbreviation"
40+
msgid "m."
3041
msgstr ""
3142

3243
#: NetworkChart/NetworkChart.py:136
@@ -256,7 +267,6 @@ msgstr ""
256267
msgid "RGB-color for Female box background."
257268
msgstr ""
258269

259-
# added:
260270
#: NetworkChart/NetworkChart.py:1026
261271
msgid "Female Background Alpha"
262272
msgstr ""
@@ -311,8 +321,8 @@ msgstr ""
311321

312322
#: NetworkChart/NetworkChart.py:1056
313323
msgid ""
314-
"RGB-color for the highlighted path between two individuals. If the graph."
315-
"inverts, reverse the order to change."
324+
"RGB-color for the highlighted path between two individuals. If the "
325+
"graph.inverts, reverse the order to change."
316326
msgstr ""
317327

318328
#: NetworkChart/NetworkChart.py:1061
@@ -570,11 +580,3 @@ msgstr ""
570580
#: NetworkChart/NetworkChart.py:1243
571581
msgid "Enable/disable confirmation of file overwrite."
572582
msgstr ""
573-
574-
#: NetworkChart/NetworkChart.gpr.py:24
575-
msgid "Network Chart"
576-
msgstr ""
577-
578-
#: NetworkChart/NetworkChart.gpr.py:35
579-
msgid "Generates a family network chart."
580-
msgstr ""

0 commit comments

Comments
 (0)