summaryrefslogtreecommitdiffstats
path: root/theme/list_lib.js
diff options
context:
space:
mode:
authorGravatar Tim Wootton <tim@tee-jay.demon.co.uk>2014-09-11 22:56:36 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-09-18 06:25:24 -0700
commit99011694853a5c19d20fe8e3c74980d958760a03 (patch)
treefd5f4a7f53b19b6634ca22f900e24a78ec8008ac /theme/list_lib.js
parent42c96998707c10a18b540dfc3471c209c68bed27 (diff)
downloadsubsurface-99011694853a5c19d20fe8e3c74980d958760a03.tar.gz
Bring save html capitalisation in line
Converted save html to use same capitalisation style as the rest of the application Changed references to equipments to equipment. Signed-off-by: Tim Wootton <tim@tee-jay.demon.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/list_lib.js')
-rw-r--r--theme/list_lib.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/theme/list_lib.js b/theme/list_lib.js
index 775d83e4b..6f32ed493 100644
--- a/theme/list_lib.js
+++ b/theme/list_lib.js
@@ -863,7 +863,7 @@ function get_cylinders_HTML(dive)
return "";
var result = "";
- result += '<h2 class="det_hed">' + translate.Dive_equipments + '</h2><table><tr><td class="words">' + translate.Type + '</td><td class="words">' + translate.Size + '</td><td class="words">' + translate.Work_Pressure + '</td><td class="words">' + translate.Start_Pressure + '</td><td class="words">' + translate.End_Pressure + '</td><td class="words">'+translate.Gas+'</td></tr>';
+ result += '<h2 class="det_hed">' + translate.Dive_equipment + '</h2><table><tr><td class="words">' + translate.Type + '</td><td class="words">' + translate.Size + '</td><td class="words">' + translate.Work_Pressure + '</td><td class="words">' + translate.Start_Pressure + '</td><td class="words">' + translate.End_Pressure + '</td><td class="words">'+translate.Gas+'</td></tr>';
for (var i in dive.Cylinders) {
result += get_cylinder_HTML(dive.Cylinders[i]);
}
@@ -1216,8 +1216,8 @@ function showDiveDetails(dive)
//draw the canvas and initialize the view
document.getElementById("diveinfo").innerHTML = get_dive_HTML(items[dive_id]);
- document.getElementById("dive_equipments").innerHTML = get_cylinders_HTML(items[dive_id]);
- document.getElementById("dive_equipments").innerHTML += get_weights_HTML(items[dive_id]);
+ document.getElementById("dive_equipment").innerHTML = get_cylinders_HTML(items[dive_id]);
+ document.getElementById("dive_equipment").innerHTML += get_weights_HTML(items[dive_id]);
document.getElementById("bookmarks").innerHTML = get_bookmarks_HTML(items[dive_id]);
document.getElementById("divestats").innerHTML = get_status_HTML(items[dive_id]);
document.getElementById("slider").innerHTML = get_dive_photos(items[dive_id]);