summaryrefslogtreecommitdiff
path: root/includes/controllers/descendancy_ctrl.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/controllers/descendancy_ctrl.php')
-rw-r--r--includes/controllers/descendancy_ctrl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/controllers/descendancy_ctrl.php b/includes/controllers/descendancy_ctrl.php
index 2c4ea544fb..efa1cdb59e 100644
--- a/includes/controllers/descendancy_ctrl.php
+++ b/includes/controllers/descendancy_ctrl.php
@@ -308,12 +308,12 @@ function print_family_descendancy(&$person, &$family, $depth) {
$children = $family->getChildren();
print "<tr><td colspan=\"3\" class=\"details1\" >&nbsp;&nbsp;";
if ($children) {
- print i18n::translate('NCHI').": ".count($children);
+ print translate_fact('NCHI').": ".count($children);
} else {
// Distinguish between no children (NCHI 0) and no recorded
// children (no CHIL records)
if (strpos($family->getGedcomRecord(), "\n1 NCHI 0")) {
- print i18n::translate('NCHI').": ".count($children);
+ print translate_fact('NCHI').": ".count($children);
} else {
print i18n::translate('No children');
}