From ea22c537e9881cdab2b18d6102a4a36660e6ed04 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Wed, 14 Feb 2024 01:21:49 +0100 Subject: [PATCH 1/3] timeplotter lang --- application/language/bulgarian/statistics_lang.php | 11 +++++++++++ .../language/chinese_simplified/statistics_lang.php | 11 +++++++++++ application/language/czech/statistics_lang.php | 11 +++++++++++ application/language/dutch/statistics_lang.php | 11 +++++++++++ application/language/english/statistics_lang.php | 11 +++++++++++ application/language/finnish/statistics_lang.php | 11 +++++++++++ application/language/french/statistics_lang.php | 11 +++++++++++ application/language/german/statistics_lang.php | 11 +++++++++++ application/language/greek/statistics_lang.php | 11 +++++++++++ application/language/italian/statistics_lang.php | 11 +++++++++++ application/language/polish/statistics_lang.php | 11 +++++++++++ application/language/russian/statistics_lang.php | 11 +++++++++++ application/language/spanish/statistics_lang.php | 11 +++++++++++ application/language/swedish/statistics_lang.php | 11 +++++++++++ application/language/turkish/statistics_lang.php | 11 +++++++++++ 15 files changed, 165 insertions(+) diff --git a/application/language/bulgarian/statistics_lang.php b/application/language/bulgarian/statistics_lang.php index d83be79c1..d1d01e481 100644 --- a/application/language/bulgarian/statistics_lang.php +++ b/application/language/bulgarian/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/chinese_simplified/statistics_lang.php b/application/language/chinese_simplified/statistics_lang.php index 607a3256c..e7a0ae29b 100644 --- a/application/language/chinese_simplified/statistics_lang.php +++ b/application/language/chinese_simplified/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/czech/statistics_lang.php b/application/language/czech/statistics_lang.php index 8ec5bce3b..89380ed37 100644 --- a/application/language/czech/statistics_lang.php +++ b/application/language/czech/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/dutch/statistics_lang.php b/application/language/dutch/statistics_lang.php index 1251eb082..1c3c74cd5 100644 --- a/application/language/dutch/statistics_lang.php +++ b/application/language/dutch/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/english/statistics_lang.php b/application/language/english/statistics_lang.php index a861bd426..71fc86987 100644 --- a/application/language/english/statistics_lang.php +++ b/application/language/english/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/finnish/statistics_lang.php b/application/language/finnish/statistics_lang.php index 37bdd4a71..3ef3981e7 100644 --- a/application/language/finnish/statistics_lang.php +++ b/application/language/finnish/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/french/statistics_lang.php b/application/language/french/statistics_lang.php index b55004c83..fd5866a59 100644 --- a/application/language/french/statistics_lang.php +++ b/application/language/french/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/german/statistics_lang.php b/application/language/german/statistics_lang.php index ba6260892..234101d37 100644 --- a/application/language/german/statistics_lang.php +++ b/application/language/german/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Kumulierte Statistik gearbeitet $lang['statistics_accumulated_worked_iota'] = "Kumulierte Statistik gearbeiteter IOTA"; $lang['statistics_accumulated_worked_cqzone'] = "Kumulierte Statistik gearbeiteter CQ Zonen"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "Der Zeitplotter wird verwendet, um Ihr Logbuch zu analysieren und herauszufinden, zu welchen Uhrzeiten Sie bestimmte CQ-Zonen oder DXCC-Länder auf einem ausgewählten Band gearbeitet haben."; +$lang['statistics_timeplotter_contacts_plotted'] = "Kontakte wurden geplotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Uhrzeit Verteilung"; +$lang['statistics_timeplotter_number_of_qsos'] = "Anzahl QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "gearbeitete Rufzeichen (max 5)"; diff --git a/application/language/greek/statistics_lang.php b/application/language/greek/statistics_lang.php index a861bd426..71fc86987 100644 --- a/application/language/greek/statistics_lang.php +++ b/application/language/greek/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/italian/statistics_lang.php b/application/language/italian/statistics_lang.php index a861bd426..71fc86987 100644 --- a/application/language/italian/statistics_lang.php +++ b/application/language/italian/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/polish/statistics_lang.php b/application/language/polish/statistics_lang.php index a861bd426..71fc86987 100644 --- a/application/language/polish/statistics_lang.php +++ b/application/language/polish/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/russian/statistics_lang.php b/application/language/russian/statistics_lang.php index b14a00c8d..a916f3235 100644 --- a/application/language/russian/statistics_lang.php +++ b/application/language/russian/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/spanish/statistics_lang.php b/application/language/spanish/statistics_lang.php index bcb8a5649..f51970868 100644 --- a/application/language/spanish/statistics_lang.php +++ b/application/language/spanish/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/swedish/statistics_lang.php b/application/language/swedish/statistics_lang.php index 936fd6e13..448993a28 100644 --- a/application/language/swedish/statistics_lang.php +++ b/application/language/swedish/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; diff --git a/application/language/turkish/statistics_lang.php b/application/language/turkish/statistics_lang.php index a861bd426..71fc86987 100644 --- a/application/language/turkish/statistics_lang.php +++ b/application/language/turkish/statistics_lang.php @@ -69,4 +69,15 @@ $lang['statistics_accumulated_worked_states'] = "Accumulated Number of States wo $lang['statistics_accumulated_worked_iota'] = "Accumulated Number of IOTAs worked"; $lang['statistics_accumulated_worked_cqzone'] = "Accumulated Number of CQ Zones worked"; +/* +* +* Timeplotter +* +*/ + +$lang['statistics_timeplotter_description'] = "The Timeplotter is used to analyze your logbook and find out at what times you worked certain CQ zones or DXCC countries on a selected band."; +$lang['statistics_timeplotter_contacts_plotted'] = "contacts were plotted"; /* sentence starts with counter - 'XXXX contacts were plotted' */ +$lang['statistics_timeplotter_chart_header'] = "Time Distribution"; +$lang['statistics_timeplotter_number_of_qsos'] = "Number of QSOs"; +$lang['statistics_timeplotter_callsigns_worked'] = "Callsign(s) worked (max 5)"; From d1ddb2a829c9cdf29b3466cc9b3064e6722b8c23 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Wed, 14 Feb 2024 01:22:03 +0100 Subject: [PATCH 2/3] timeplotter multilanguage support --- application/views/timeplotter/index.php | 25 ++++++++++++++++--------- assets/js/sections/timeplot.js | 14 +++++++------- 2 files changed, 23 insertions(+), 16 deletions(-) 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); }); From 0f3749fdf7edd8c7d1ec1e08565b6e0de014bd8f Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Wed, 14 Feb 2024 01:23:00 +0100 Subject: [PATCH 3/3] typo --- application/views/timeline/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/timeline/index.php b/application/views/timeline/index.php index 90502a154..9164fb014 100644 --- a/application/views/timeline/index.php +++ b/application/views/timeline/index.php @@ -203,7 +203,7 @@ function write_waz_timeline($timeline_array, $custom_date_format, $bandselect, $ # '.$ci->lang->line('general_word_date').' - '.$ci->lang->line('gen_hamradio_cqzone').' + '.$ci->lang->line('gen_hamradio_cq_zone').' '.$ci->lang->line('gridsquares_show_qsos').'