summaryrefslogtreecommitdiff
path: root/includes/controllers/descendancy_ctrl.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-05-12 11:20:24 +0000
committerfisharebest <fisharebest@gmail.com>2010-05-12 11:20:24 +0000
commit848f7d448f2c5f1813a4c7b25480e705c4b3ad63 (patch)
tree04c5f899c976e6a8ec4cabd5a1cd877a07b82510 /includes/controllers/descendancy_ctrl.php
parentdb0e90386e65aabc0dca9605067fa5f7c78c64fa (diff)
downloadwebtrees-848f7d448f2c5f1813a4c7b25480e705c4b3ad63.tar.gz
webtrees-848f7d448f2c5f1813a4c7b25480e705c4b3ad63.tar.bz2
webtrees-848f7d448f2c5f1813a4c7b25480e705c4b3ad63.zip
Use translate_fact() to translate fact names
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');
}