summaryrefslogtreecommitdiff
path: root/modules/googlemap/googlemap.php
diff options
context:
space:
mode:
authorŁukasz Wilenski <wooc@gazeta.pl>2010-04-25 14:34:03 +0000
committerŁukasz Wilenski <wooc@gazeta.pl>2010-04-25 14:34:03 +0000
commit886b39fc4acb2e4bdac975b992c5a47022b4800b (patch)
tree4ff7acdd666d2fd3da8421638017872447b909c5 /modules/googlemap/googlemap.php
parentd7606a2ca77385140ee298aea3d25e9cc1a82d6a (diff)
downloadwebtrees-886b39fc4acb2e4bdac975b992c5a47022b4800b.tar.gz
webtrees-886b39fc4acb2e4bdac975b992c5a47022b4800b.tar.bz2
webtrees-886b39fc4acb2e4bdac975b992c5a47022b4800b.zip
translations (googlemap is not displayed - why?)
Diffstat (limited to 'modules/googlemap/googlemap.php')
-rw-r--r--modules/googlemap/googlemap.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/googlemap/googlemap.php b/modules/googlemap/googlemap.php
index c795d844ee..e0b1d900a8 100644
--- a/modules/googlemap/googlemap.php
+++ b/modules/googlemap/googlemap.php
@@ -531,12 +531,12 @@ function build_indiv_map($indifacts, $famids) {
if ($fact == "EVEN" || $fact=="FACT") {
$eventrec = get_sub_record(1, "2 TYPE", $factrec);
if (preg_match("/\d TYPE (.*)/", $eventrec, $match3)) {
- $markers[$i]["fact"]=i18n::translate($match3[1]);
+ $markers[$i]["fact"]=translate_fact($match3[1]);
} else {
- $markers[$i]["fact"]=i18n::translate($fact);
+ $markers[$i]["fact"]=translate_fact($fact);
}
} else {
- $markers[$i]["fact"]=i18n::translate($fact);
+ $markers[$i]["fact"]=translate_fact($fact);
}
if (!empty($fact_data) && $fact_data!='Y')
$markers[$i]["info"] = $fact_data;
@@ -567,12 +567,12 @@ function build_indiv_map($indifacts, $famids) {
if ($fact == "EVEN" || $fact=="FACT") {
$eventrec = get_sub_record(1, "2 TYPE", $factrec);
if (preg_match("/\d TYPE (.*)/", $eventrec, $match3)) {
- $markers[$i]["fact"]=i18n::translate($match3[1]);
+ $markers[$i]["fact"]=translate_fact($match3[1]);
} else {
- $markers[$i]["fact"]=i18n::translate($fact);
+ $markers[$i]["fact"]=translate_fact($fact);
}
} else {
- $markers[$i]["fact"]=i18n::translate($fact);
+ $markers[$i]["fact"]=translate_fact($fact);
}
if (!empty($fact_data) && $fact_data!='Y')
$markers[$i]["info"] = $fact_data;