mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix typo on HTML export
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
10beb33ea6
commit
7d9c71c947
2 changed files with 4 additions and 4 deletions
|
@ -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"));
|
||||
|
|
|
@ -208,7 +208,7 @@ function getExpanded(dive)
|
|||
{
|
||||
var res = '<table><tr><td class="words">' + translate.Date + ': </td><td>' + dive.date +
|
||||
'</td><td class="words"> ' + translate.Time + ': </td><td>' + dive.time +
|
||||
'</td><td class="words"> ' + 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"> ' + 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"> ' + 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"> ' + translate.Time + ': </td><td>' + dive.time +
|
||||
'</td><td class="words"> ' + 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"> ' + 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"> ' + 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;
|
||||
|
|
Loading…
Add table
Reference in a new issue