From 7d9c71c9475e765b5f087d532ddf3e0debe4eab0 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 10 Aug 2014 18:10:07 +0300 Subject: Fix typo on HTML export Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- save-html.c | 2 +- theme/list_lib.js | 6 +++--- 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 = '
' + translate.Date + ': ' + dive.date + '     ' + translate.Time + ': ' + dive.time + - '     ' + translate.Locaiton + ': ' + '' + dive.location + '' + + '     ' + translate.Location + ': ' + '' + dive.location + '' + '
' + translate.Rating + ':' + putRating(dive.rating) + '   ' + translate.Visibility + ':' + putRating(dive.visibility) + '
' + @@ -898,7 +898,7 @@ function get_dive_HTML(dive) { var res = '

' + translate.Dive_information + '

' + translate.Date + ': ' + dive.date + '     ' + translate.Time + ': ' + dive.time + - '     ' + translate.Locaiton + ': ' + '' + dive.location + '' + + '     ' + translate.Location + ': ' + '' + dive.location + '' + '
' + translate.Rating + ':' + putRating(dive.rating) + '   ' + translate.Visibility + ':' + putRating(dive.visibility) + '
' + @@ -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; -- cgit v1.2.3-70-g09d2