summaryrefslogtreecommitdiff
path: root/help_text.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-10-05 13:56:48 +0100
committerGreg Roach <fisharebest@gmail.com>2014-10-05 13:56:48 +0100
commit478e4aeec46fe090c0bed8427f3d64b8884f2dac (patch)
tree8c553992637875c501e356481874f88a497b156b /help_text.php
parent272bf121fe47426a4da98441bb462b16b703ab4e (diff)
downloadwebtrees-478e4aeec46fe090c0bed8427f3d64b8884f2dac.tar.gz
webtrees-478e4aeec46fe090c0bed8427f3d64b8884f2dac.tar.bz2
webtrees-478e4aeec46fe090c0bed8427f3d64b8884f2dac.zip
Split tree preference getter/setter into two separate functions
Diffstat (limited to 'help_text.php')
-rw-r--r--help_text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/help_text.php b/help_text.php
index 0aae054dc9..30c50d5bfc 100644
--- a/help_text.php
+++ b/help_text.php
@@ -568,7 +568,7 @@ case 'HIDE_LIVE_PEOPLE':
$title=WT_I18N::translate('Privacy options');
$text=WT_I18N::translate('This option will enable all privacy settings and hide the details of living individuals, as defined or modified on the Privacy tab of each GEDCOM’s configuration page.');
$text .= '<p>';
- $text .= WT_I18N::plural('Note: “living” is defined (if no death or burial is known) as ending %d year after birth or estimated birth.','Note: “living” is defined (if no death or burial is known) as ending %d years after birth or estimated birth.', get_gedcom_setting(WT_GED_ID, 'MAX_ALIVE_AGE'), get_gedcom_setting(WT_GED_ID, 'MAX_ALIVE_AGE'));
+ $text .= WT_I18N::plural('Note: “living” is defined (if no death or burial is known) as ending %d year after birth or estimated birth.','Note: “living” is defined (if no death or burial is known) as ending %d years after birth or estimated birth.', $WT_TREE->getPreference('MAX_ALIVE_AGE'), $WT_TREE->getPreference('MAX_ALIVE_AGE'));
$text .= ' ';
$text .= WT_I18N::translate('The length of time after birth can be set on the “Privacy” tab option “Age at which to assume an individual is dead”.');
$text .= '</p>';