summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2025-04-24 23:32:54 +0100
committerGreg Roach <greg@subaqua.co.uk>2025-04-24 23:32:54 +0100
commitbe3b1663da5f147a666f3cffdabcff8ba4c6c94e (patch)
tree56ec00e60ed0b8d55251a1b54b03824b4b2ddf31
parent87ffc053bd4f1e7d58a22a22c3ae7dcf00425a05 (diff)
downloadwebtrees-be3b1663da5f147a666f3cffdabcff8ba4c6c94e.tar.gz
webtrees-be3b1663da5f147a666f3cffdabcff8ba4c6c94e.tar.bz2
webtrees-be3b1663da5f147a666f3cffdabcff8ba4c6c94e.zip
Add missing translations of Godparent and Cemetery
-rw-r--r--app/Module/IndividualFactsTabModule.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Module/IndividualFactsTabModule.php b/app/Module/IndividualFactsTabModule.php
index 01d64a492b..2c9d65342b 100644
--- a/app/Module/IndividualFactsTabModule.php
+++ b/app/Module/IndividualFactsTabModule.php
@@ -136,8 +136,8 @@ class IndividualFactsTabModule extends AbstractModule implements ModuleTabInterf
// Facts of relatives take the form 1 EVEN / 2 TYPE Event of Individual
// Ensure custom tags from there are recognised
Registry::elementFactory()->registerTags([
- 'INDI:EVEN:CEME' => new CustomElement('Cemetery'),
- 'INDI:EVEN:_GODP' => new CustomElement('Godparent'),
+ 'INDI:EVEN:CEME' => new CustomElement(I18N::translate('Cemetery')),
+ 'INDI:EVEN:_GODP' => new CustomElement(I18N::translate('Godparent')),
'INDI:EVEN:FAMC' => new XrefFamily(I18N::translate('Adoptive parents')),
'INDI:EVEN:FAMC:ADOP' => new AdoptedByWhichParent(I18N::translate('Adoption')),
]);