summaryrefslogtreecommitdiff
path: root/app/Module/FamilyNavigatorModule.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-03-02 15:07:39 +0000
committerGreg Roach <fisharebest@gmail.com>2015-03-02 15:56:12 +0000
commit764a01d9433bb50d2ecbce7851cba4793c7674e2 (patch)
treed8abbd128e40a112ca737a20ec60ff8827d2a06b /app/Module/FamilyNavigatorModule.php
parent8c2e82270a639a3acf607b432e54721116dae723 (diff)
downloadwebtrees-764a01d9433bb50d2ecbce7851cba4793c7674e2.tar.gz
webtrees-764a01d9433bb50d2ecbce7851cba4793c7674e2.tar.bz2
webtrees-764a01d9433bb50d2ecbce7851cba4793c7674e2.zip
PSR-1
Diffstat (limited to 'app/Module/FamilyNavigatorModule.php')
-rw-r--r--app/Module/FamilyNavigatorModule.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Module/FamilyNavigatorModule.php b/app/Module/FamilyNavigatorModule.php
index ffd751f7fc..697c688531 100644
--- a/app/Module/FamilyNavigatorModule.php
+++ b/app/Module/FamilyNavigatorModule.php
@@ -207,13 +207,13 @@ class FamilyNavigatorModule extends Module implements ModuleSidebarInterface {
}
if ($stepParents) {
$relationship = $father instanceof Individual ?
- I18N::translate_c("father’s wife", "step-mother") : I18N::translate_c("mother’s husband", "step-father");
+ I18N::translateContext("father’s wife", "step-mother") : I18N::translateContext("mother’s husband", "step-father");
$html .= sprintf(self::TTL, $relationship) . $stepParents;
}
}
}
if (!($father instanceof Individual || $mother instanceof Individual)) {
- $html .= sprintf(self::MSG, I18N::translate_c('unknown family', 'unknown'));
+ $html .= sprintf(self::MSG, I18N::translateContext('unknown family', 'unknown'));
}
return $html;
}