summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-08-10 18:10:07 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-11 08:21:25 -0700
commit7d9c71c9475e765b5f087d532ddf3e0debe4eab0 (patch)
treeac33c512b84994760175345f30696eeb8ab8bafa
parent10beb33ea66577ba3210eaed40dbab509e4f5dbd (diff)
downloadsubsurface-7d9c71c9475e765b5f087d532ddf3e0debe4eab0.tar.gz
Fix typo on HTML export
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--save-html.c2
-rw-r--r--theme/list_lib.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/save-html.c b/save-html.c
index 150ee3cee..02d131e71 100644
--- a/save-html.c
+++ b/save-html.c
@@ -338,7 +338,7 @@ void export_translation(const char *file_name){
write_attribute(b, "Number", translate("gettextFromC", "Number"));
write_attribute(b, "Date", translate("gettextFromC", "Date"));
write_attribute(b, "Time", translate("gettextFromC", "Time"));
- write_attribute(b, "Locaiton", translate("gettextFromC", "Locaiton"));
+ write_attribute(b, "Location", translate("gettextFromC", "Location"));
write_attribute(b, "Air_Temp", translate("gettextFromC", "Air Temp"));
write_attribute(b, "Water_Temp", translate("gettextFromC", "Water Temp"));
write_attribute(b, "dives", translate("gettextFromC", "dives"));
diff --git a/theme/list_lib.js b/theme/list_lib.js
index 8c2faca92..348765bff 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -208,7 +208,7 @@ function getExpanded(dive)
{
var res = '<table><tr><td class="words">' + translate.Date + ': </td><td>' + dive.date +
'</td><td class="words">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + translate.Time + ': </td><td>' + dive.time +
- '</td><td class="words">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + translate.Locaiton + ': </td><td>' + '<a onclick=\"Search_list_Modules(\'' + dive.location + '\', {location:true, divemaster:false, buddy:false, notes:false, tags:false,})\">' + dive.location + '</a>' +
+ '</td><td class="words">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + translate.Location + ': </td><td>' + '<a onclick=\"Search_list_Modules(\'' + dive.location + '\', {location:true, divemaster:false, buddy:false, notes:false, tags:false,})\">' + dive.location + '</a>' +
'</td></tr></table><table><tr><td class="words">' + translate.Rating + ':</td><td>' + putRating(dive.rating) +
'</td><td class="words">&nbsp;&nbsp;&nbsp;' + translate.Visibility + ':</td><td>' + putRating(dive.visibility) +
'</td></tr></table>' +
@@ -898,7 +898,7 @@ function get_dive_HTML(dive)
{
var res = '<h2 class="det_hed">' + translate.Dive_information + '</h2><table><tr><td class="words">' + translate.Date + ': </td><td>' + dive.date +
'</td><td class="words">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + translate.Time + ': </td><td>' + dive.time +
- '</td><td class="words">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + translate.Locaiton + ': </td><td>' + '<a onclick=\"Search_list_Modules(\'' + dive.location + '\', {location:true, divemaster:false, buddy:false, notes:false, tags:false,})\">' + dive.location + '</a>' +
+ '</td><td class="words">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' + translate.Location + ': </td><td>' + '<a onclick=\"Search_list_Modules(\'' + dive.location + '\', {location:true, divemaster:false, buddy:false, notes:false, tags:false,})\">' + dive.location + '</a>' +
'</td></tr></table><table><tr><td class="words">' + translate.Rating + ':</td><td>' + putRating(dive.rating) +
'</td><td class="words">&nbsp;&nbsp;&nbsp;' + translate.Visibility + ':</td><td>' + putRating(dive.visibility) +
'</td></tr></table>' +
@@ -1231,7 +1231,7 @@ function translate_page()
document.getElementById("number_header").innerHTML = translate.Number;
document.getElementById("date_header").innerHTML = translate.Date;
document.getElementById("time_header").innerHTML = translate.Time;
- document.getElementById("location_header").innerHTML = translate.Locaiton;
+ document.getElementById("location_header").innerHTML = translate.Location;
document.getElementById("air_temp_header").innerHTML = translate.Air_Temp;
document.getElementById("water_temp_header").innerHTML = translate.Water_Temp;
document.getElementById("adv_srch_sp").innerHTML = translate.Advanced_Search;