summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-12-13 21:42:02 +0000
committerfisharebest <fisharebest@gmail.com>2010-12-13 21:42:02 +0000
commit67c2d836736a2e91f74139d002ff418b8a3b1878 (patch)
treed9a4c79eff9a1b74b6485c650dbdc3f8b7c45369
parentd5dbc48906dcac7949861e19f867b0563f09b1ba (diff)
downloadwebtrees-67c2d836736a2e91f74139d002ff418b8a3b1878.tar.gz
webtrees-67c2d836736a2e91f74139d002ff418b8a3b1878.tar.bz2
webtrees-67c2d836736a2e91f74139d002ff418b8a3b1878.zip
_DEAT_FATH event is now called _DEAT_PARE
-rw-r--r--help_text.php246
-rw-r--r--includes/functions/functions_print.php4
2 files changed, 2 insertions, 248 deletions
diff --git a/help_text.php b/help_text.php
index 80e69257e4..a684b2a440 100644
--- a/help_text.php
+++ b/help_text.php
@@ -806,21 +806,6 @@ case 'WWW':
$text='';
break;
-case '_ADOP_CHIL':
- $title=translate_fact('_ADOP_CHIL');
- $text='';
- break;
-
-case '_ADOP_GCHI':
- $title=translate_fact('_ADOP_GCHI');
- $text='';
- break;
-
-case '_ADOP_SIBL':
- $title=translate_fact('_ADOP_SIBL');
- $text='';
- break;
-
case '_ADPF':
$title=translate_fact('_ADPF');
$text='';
@@ -837,176 +822,26 @@ case '_AKAN':
$text='';
break;
-case '_BAPM_CHIL':
- $title=translate_fact('_BAPM_CHIL');
- $text='';
- break;
-
-case '_BAPM_GCHI':
- $title=translate_fact('_BAPM_GCHI');
- $text='';
- break;
-
-case '_BAPM_SIBL':
- $title=translate_fact('_BAPM_SIBL');
- $text='';
- break;
-
case '_BIBL':
$title=translate_fact('_BIBL');
$text='';
break;
-case '_BIRT_CHIL':
- $title=translate_fact('_BIRT_CHIL');
- $text='';
- break;
-
-case '_BIRT_GCHI':
- $title=translate_fact('_BIRT_GCHI');
- $text='';
- break;
-
-case '_BIRT_SIBL':
- $title=translate_fact('_BIRT_SIBL');
- $text='';
- break;
-
case '_BRTM':
$title=translate_fact('_BRTM');
$text='';
break;
-case '_BURI_CHIL':
- $title=translate_fact('_BURI_CHIL');
- $text='';
- break;
-
-case '_BURI_FATH':
- $title=translate_fact('_BURI_FATH');
- $text='';
- break;
-
-case '_BURI_GCHI':
- $title=translate_fact('_BURI_GCHI');
- $text='';
- break;
-
-case '_BURI_GPAR':
- $title=translate_fact('_BURI_GPAR');
- $text='';
- break;
-
-case '_BURI_MOTH':
- $title=translate_fact('_BURI_MOTH');
- $text='';
- break;
-
-case '_BURI_SIBL':
- $title=translate_fact('_BURI_SIBL');
- $text='';
- break;
-
-case '_BURI_SPOU':
- $title=translate_fact('_BURI_SPOU');
- $text='';
- break;
-
-case '_CHR_CHIL':
- $title=translate_fact('_CHR_CHIL');
- $text='';
- break;
-
-case '_CHR_GCHI':
- $title=translate_fact('_CHR_GCHI');
- $text='';
- break;
-
-case '_CHR_SIBL':
- $title=translate_fact('_CHR_SIBL');
- $text='';
- break;
-
case '_COML':
$title=translate_fact('_COML');
$text='';
break;
-case '_CREM_CHIL':
- $title=translate_fact('_CREM_CHIL');
- $text='';
- break;
-
-case '_CREM_FATH':
- $title=translate_fact('_CREM_FATH');
- $text='';
- break;
-
-case '_CREM_GCHI':
- $title=translate_fact('_CREM_GCHI');
- $text='';
- break;
-
-case '_CREM_GPAR':
- $title=translate_fact('_CREM_GPAR');
- $text='';
- break;
-
-case '_CREM_MOTH':
- $title=translate_fact('_CREM_MOTH');
- $text='';
- break;
-
-case '_CREM_SIBL':
- $title=translate_fact('_CREM_SIBL');
- $text='';
- break;
-
-case '_CREM_SPOU':
- $title=translate_fact('_CREM_SPOU');
- $text='';
- break;
-
case '_DBID':
$title=translate_fact('_DBID');
$text='';
break;
-case '_DEAT_CHIL':
- $title=translate_fact('_DEAT_CHIL');
- $text='';
- break;
-
-case '_DEAT_FATH':
- $title=translate_fact('_DEAT_FATH');
- $text='';
- break;
-
-case '_DEAT_GCHI':
- $title=translate_fact('_DEAT_GCHI');
- $text='';
- break;
-
-case '_DEAT_GPAR':
- $title=translate_fact('_DEAT_GPAR');
- $text='';
- break;
-
-case '_DEAT_MOTH':
- $title=translate_fact('_DEAT_MOTH');
- $text='';
- break;
-
-case '_DEAT_SIBL':
- $title=translate_fact('_DEAT_SIBL');
- $text='';
- break;
-
-case '_DEAT_SPOU':
- $title=translate_fact('_DEAT_SPOU');
- $text='';
- break;
-
case '_DEG':
$title=translate_fact('_DEG');
$text='';
@@ -1137,36 +972,6 @@ case '_INTE':
$text='';
break;
-case '_MARB_CHIL':
- $title=translate_fact('_MARB_CHIL');
- $text='';
- break;
-
-case '_MARB_FAMC':
- $title=translate_fact('_MARB_FAMC');
- $text='';
- break;
-
-case '_MARB_FATH':
- $title=translate_fact('_MARB_FATH');
- $text='';
- break;
-
-case '_MARB_GCHI':
- $title=translate_fact('_MARB_GCHI');
- $text='';
- break;
-
-case '_MARB_MOTH':
- $title=translate_fact('_MARB_MOTH');
- $text='';
- break;
-
-case '_MARB_SIBL':
- $title=translate_fact('_MARB_SIBL');
- $text='';
- break;
-
case '_MARI':
$title=translate_fact('_MARI');
$text='';
@@ -1177,41 +982,6 @@ case '_MARNM':
$text=i18n::translate('Enter the married name for this person, using the same formatting rules that apply to the Name field. This field is optional.<br /><br />For example, if Mary Jane Brown married John White, you might enter (without the quotation marks, of course)<ul><li>American usage:&nbsp;&nbsp;"Mary Jane Brown /White/"</li><li>European usage:&nbsp;&nbsp;"Mary Jane /White/"</li><li>Alternate European usage:&nbsp;&nbsp;"Mary Jane /White-Brown/" or "Mary Jane /Brown-White/"</li></ul>You should do this only if Mary Brown began calling herself by the new name after marrying John White. In some places, Quebec (Canada) for example, it\'s illegal for names to be changed in this way.<br /><br />Men sometimes change their name after marriage, most often using the hyphenated form but occasionally taking the wife\'s surname.');
break;
-case '_MARNM_SURN':
- $title=translate_fact('_MARNM_SURN');
- $text='';
- break;
-
-case '_MARR_CHIL':
- $title=translate_fact('_MARR_CHIL');
- $text='';
- break;
-
-case '_MARR_FAMC':
- $title=translate_fact('_MARR_FAMC');
- $text='';
- break;
-
-case '_MARR_FATH':
- $title=translate_fact('_MARR_FATH');
- $text='';
- break;
-
-case '_MARR_GCHI':
- $title=translate_fact('_MARR_GCHI');
- $text='';
- break;
-
-case '_MARR_MOTH':
- $title=translate_fact('_MARR_MOTH');
- $text='';
- break;
-
-case '_MARR_SIBL':
- $title=translate_fact('_MARR_SIBL');
- $text='';
- break;
-
case '_MBON':
$title=translate_fact('_MBON');
$text='';
@@ -1352,22 +1122,6 @@ case '_YART':
$text='';
break;
-case '__BRTM_CHIL':
- $title=translate_fact('__BRTM_CHIL');
- $text='';
- break;
-
-case '__BRTM_GCHI':
- $title=translate_fact('__BRTM_GCHI');
- $text='';
- break;
-
-case '__BRTM_SIBL':
- $title=translate_fact('__BRTM_SIBL');
- $text='';
- break;
-
-
//////////////////////////////////////////////////////////////////////////////
// This section contains an entry for every configuration item
//////////////////////////////////////////////////////////////////////////////
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php
index c86af7375a..7da6ccb775 100644
--- a/includes/functions/functions_print.php
+++ b/includes/functions/functions_print.php
@@ -1463,7 +1463,7 @@ function format_parents_age($pid, $birth_date=null) {
// Highlight mothers who die in childbirth or shortly afterwards
if ($deatdate->isOK() && $deatdate->MinJD()<$birth_date->MinJD()+90) {
$class='parentdeath';
- $title=translate_fact('_DEAT_MOTH');
+ $title=translate_fact('_DEAT_PARE', $parent);
} else {
$title=i18n::translate('Mother\'s age');
}
@@ -1472,7 +1472,7 @@ function format_parents_age($pid, $birth_date=null) {
// Highlight fathers who die before the birth
if ($deatdate->isOK() && $deatdate->MinJD()<$birth_date->MinJD()) {
$class='parentdeath';
- $title=translate_fact('_DEAT_FATH');
+ $title=translate_fact('_DEAT_PARE', $parent);
} else {
$title=i18n::translate('Father\'s age');
}