diff --git a/application/views/timeplotter/index.php b/application/views/timeplotter/index.php index 680e441ac..e613f1e81 100644 --- a/application/views/timeplotter/index.php +++ b/application/views/timeplotter/index.php @@ -1,23 +1,30 @@ +
-

-

The Timeplotter is used to analyze your logbook and find out when you have worked a certain CQ zone or DXCC on a chosen band.

+

+

- +
- +
- + '. $i .''; @@ -49,7 +56,7 @@
- +
diff --git a/assets/js/sections/timeplot.js b/assets/js/sections/timeplot.js index 4aaeef7e7..79414c972 100644 --- a/assets/js/sections/timeplot.js +++ b/assets/js/sections/timeplot.js @@ -26,7 +26,7 @@ function timeplot(form) { function plotTimeplotterChart(tmp) { $("#container").remove(); $("#info").remove(); - $("#timeplotter_div").append('

' + tmp.qsocount + ' contacts were plotted.

'); + $("#timeplotter_div").append('

' + tmp.qsocount + ' ' + lang_statistics_timeplotter_contacts_plotted + '

'); var color = ifDarkModeThemeReturn('white', 'grey'); var options = { chart: { @@ -36,7 +36,7 @@ function plotTimeplotterChart(tmp) { backgroundColor: getBodyBackground() }, title: { - text: 'Time Distribution', + text: lang_statistics_timeplotter_chart_header, style: { color: color } @@ -55,7 +55,7 @@ function plotTimeplotterChart(tmp) { }, yAxis: { title: { - text: '# QSOs', + text: lang_statistics_timeplotter_number_of_qsos, style: { color: color } @@ -72,9 +72,9 @@ function plotTimeplotterChart(tmp) { tooltip: { formatter: function () { if(this.point) { - return "Time: " + options.xAxis.categories[this.point.x] + - "
Callsign(s) worked (max 5): " + myComments[this.point.x] + - "
Number of QSOs: " + series.data[this.point.x] + ""; + return lang_general_word_time + ": " + options.xAxis.categories[this.point.x] + + "
" + lang_statistics_timeplotter_callsigns_worked + ": " + myComments[this.point.x] + + "
" + lang_statistics_timeplotter_number_of_qsos + ": " + series.data[this.point.x] + ""; } } }, @@ -94,7 +94,7 @@ function plotTimeplotterChart(tmp) { $.each(tmp.qsodata, function(){ myComments.push(this.calls); options.xAxis.categories.push(this.time); - series.name = 'Number of QSOs'; + series.name = lang_statistics_timeplotter_number_of_qsos; series.data.push(this.count); });