Merge pull request #2898 from HB9HIL/day_with_qso_translation

Day with QSO translation
This commit is contained in:
Peter Goodhall 2024-01-01 13:54:44 +00:00 committed by GitHub
commit 1f50391351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 292 additions and 18 deletions

View File

@ -15,7 +15,7 @@ class Dayswithqso extends CI_Controller {
{
$this->load->model('dayswithqso_model');
// Render Page
$data['page_title'] = "Number of days with QSOs each year";
$data['page_title'] = lang('statistics_days_with_qso');
$data['result'] = $this->dayswithqso_model->getDaysWithQso();
$data['streaks'] = $this->dayswithqso_model->getLongestStreak();

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'Град';
$lang['general_word_total'] = 'Общо';
$lang['general_word_year'] = 'Година';
$lang['general_word_month'] = 'Месец';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = '城市';
$lang['general_word_total'] = '总计';
$lang['general_word_year'] = '年';
$lang['general_word_month'] = '月';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "颜色";
$lang['general_word_light'] = "浅色/激光";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "和波段";
$lang['statistics_timeline'] = "时间线";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'Město';
$lang['general_word_total'] = 'Celkem';
$lang['general_word_year'] = 'Rok';
$lang['general_word_month'] = 'Měsíc';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'By';
$lang['general_word_total'] = 'Totaal';
$lang['general_word_year'] = 'Jaar';
$lang['general_word_month'] = 'Maand';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'City';
$lang['general_word_total'] = 'Total';
$lang['general_word_year'] = 'Year';
$lang['general_word_month'] = 'Month';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'City';
$lang['general_word_total'] = 'Yhteensä';
$lang['general_word_year'] = 'Vuosi';
$lang['general_word_month'] = 'Kuukausi';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = "Ville";
$lang['general_word_total'] = "Total";
$lang['general_word_year'] = "Année";
$lang['general_word_month'] = "Mois";
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Couleurs";
$lang['general_word_light'] = "Lumière/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "et bandes";
$lang['statistics_timeline'] = "Chronologie";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'Stadt';
$lang['general_word_total'] = 'Gesamt';
$lang['general_word_year'] = 'Jahr';
$lang['general_word_month'] = 'Monat';
$lang['general_word_day'] = "Tag";
$lang['general_word_days'] = "Tage";
$lang['general_word_colors'] = "Farben";
$lang['general_word_light'] = "Licht/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "und Band";
$lang['statistics_timeline'] = "Zeitleiste";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Anzahl der Tage mit QSOs pro Jahr";
$lang['statistics_days_with_qso_short'] = "Tage mit QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Längste Serie mit QSOs im Logbuch";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "Es werden maximal die 10 längsten Serien angezeigt!";
$lang['statistics_dwq_streak_continuous_days'] = "Serie (fortlaufende Tage mit QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Aktuelle Serie mit QSOs im Logbuch";
$lang['statistics_dwq_current_streak_continuous_days'] = "Aktuelle Serie (fortlaufende Tage mit QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "Wenn Sie heute ein QSO machen, können Sie Ihre Serie verlängern... Andernfalls wird Ihre aktuelle Serie unterbrochen!";
$lang['statistics_dwq_no_current_streak'] = "Keine aktuelle Serie gefunden!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'City';
$lang['general_word_total'] = 'Σύνολο';
$lang['general_word_year'] = 'Ετος';
$lang['general_word_month'] = 'Μήνας';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'City';
$lang['general_word_total'] = 'Totale';
$lang['general_word_year'] = 'Anno';
$lang['general_word_month'] = 'Mese';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'City';
$lang['general_word_total'] = 'Suma';
$lang['general_word_year'] = 'Rok';
$lang['general_word_month'] = 'Miesiąc';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'City';
$lang['general_word_total'] = 'Всего';
$lang['general_word_year'] = 'Год';
$lang['general_word_month'] = 'Месяц';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Цвета";
$lang['general_word_light'] = "Свет/лазер";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "и диапазоне";
$lang['statistics_timeline'] = "Лента времени";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'City';
$lang['general_word_total'] = 'Total';
$lang['general_word_year'] = 'Año';
$lang['general_word_month'] = 'Mes';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_country'] = 'Land';
$lang['general_word_city'] = 'City';
$lang['general_word_total'] = 'Totalt';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_year'] = 'I år';
$lang['general_word_month'] = 'Denna månad';

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -48,6 +48,8 @@ $lang['general_word_city'] = 'City';
$lang['general_word_total'] = 'Toplam';
$lang['general_word_year'] = 'Yıl';
$lang['general_word_month'] = 'Ay';
$lang['general_word_day'] = "Day";
$lang['general_word_days'] = "Days";
$lang['general_word_colors'] = "Colors";
$lang['general_word_light'] = "Light/Laser";

View File

@ -42,3 +42,19 @@ $lang['statistics_distances_and_band'] = "and band";
$lang['statistics_timeline'] = "Timeline";
/*
*
* Days with QSO
*
*/
$lang['statistics_days_with_qso'] = "Number of days with QSOs each year";
$lang['statistics_days_with_qso_short'] = "Days with QSOs";
$lang['statistics_dwq_longest_streak_in_log'] = "Longest streak with QSOs in the log";
$lang['statistics_dwq_longest_streak_in_log_hint'] = "A maximum of the 10 longest streaks are shown!";
$lang['statistics_dwq_streak_continuous_days'] = "Streak (continuous days with QSOs)";
$lang['statistics_dwq_current_streak_in_log'] = "Current streak with QSOs in the log";
$lang['statistics_dwq_current_streak_continuous_days'] = "Current streak (continuous days with QSOs)";
$lang['statistics_dwq_make_qso_to_extend_streak'] = "If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!";
$lang['statistics_dwq_no_current_streak'] = "No current streak found!";

View File

@ -1,3 +1,7 @@
<script>
var lang_days_with_qso_short = "<?php echo lang('statistics_days_with_qso_short'); ?>";
</script>
<div class="container">
<br>
@ -9,7 +13,7 @@
echo '<div id="diffDays" class="table-responsive"><table class="qsotable table table-sm table-bordered table-hover table-striped table-condensed">';
echo '<tr>';
echo '<th style=\'text-align: center\'>Year</th>';
echo '<th style=\'text-align: center\'>' . lang('general_word_year') . '</th>';
foreach ($result as $master) {
echo '<td style=\'text-align: center\'>' . $master->Year . '</td>';
@ -18,7 +22,7 @@
echo '</tr>';
echo '<tr>';
echo '<th style=\'text-align: center\'>Days</th>';
echo '<th style=\'text-align: center\'>' . lang('general_word_days') . '</th>';
foreach ($result as $master) {
echo '<td style=\'text-align: center\'>' . $master->Days . '</td>';
@ -30,8 +34,8 @@
}
?>
<canvas id="myChartDiff" width="400" height="150"></canvas>
<h2>Longest streak with QSOs in the log</h2>
<p>A maximum of the 10 longest streaks are shown!</p>
<h2><?php echo lang('statistics_dwq_longest_streak_in_log'); ?></h2>
<p><?php echo lang('statistics_dwq_longest_streak_in_log_hint'); ?></p>
<?php
// Get Date format
@ -49,9 +53,9 @@
echo '<div id="streaks" class="table-responsive"><table class="qsotable table table-sm table-bordered table-hover table-striped table-condensed">';
echo '<tr>';
echo '<th style=\'text-align: center\'>Streak (continuous days with QSOs)</th>';
echo '<th style=\'text-align: center\'>Begin date</th>';
echo '<th style=\'text-align: center\'>End date</th>';
echo '<th style=\'text-align: center\'>' . lang('statistics_dwq_streak_continuous_days') . '</th>';
echo '<th style=\'text-align: center\'>' . lang('general_word_startdate') . '</th>';
echo '<th style=\'text-align: center\'>' . lang('general_word_enddate') . '</th>';
echo '</tr>';
foreach ($streaks as $streak) {
@ -71,15 +75,15 @@
}
?>
<h2>Current streak with QSOs in the log</h2>
<h2><?php echo lang('statistics_dwq_current_streak_in_log'); ?></h2>
<?php
if (is_array($currentstreak)) {
echo '<div id="streaks" class="table-responsive"><table class="qsotable table table-sm table-bordered table-hover table-striped table-condensed">';
echo '<tr>';
echo '<th style=\'text-align: center\'>Current streak (continuous days with QSOs)</th>';
echo '<th style=\'text-align: center\'>Begin date</th>';
echo '<th style=\'text-align: center\'>End date</th>';
echo '<th style=\'text-align: center\'>' . lang('statistics_dwq_current_streak_continuous_days') . '</th>';
echo '<th style=\'text-align: center\'>' . lang('general_word_startdate') . '</th>';
echo '<th style=\'text-align: center\'>' . lang('general_word_enddate') . '</th>';
echo '</tr>';
echo '<tr>';
@ -94,14 +98,14 @@
}
elseif (is_array($almostcurrentstreak)) {
?>
<p>If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!</p>
<div class="alert alert-warning" role="alert"><?php echo lang('statistics_dwq_make_qso_to_extend_streak'); ?></div>
<?php
echo '<div id="streaks" class="table-responsive"><table class="qsotable table table-sm table-bordered table-hover table-striped table-condensed">';
echo '<tr>';
echo '<th style=\'text-align: center\'>Current streak (continuous days with QSOs)</th>';
echo '<th style=\'text-align: center\'>Begin date</th>';
echo '<th style=\'text-align: center\'>End date</th>';
echo '<th style=\'text-align: center\'>' . lang('statistics_dwq_current_streak_continuous_days') . '</th>';
echo '<th style=\'text-align: center\'>' . lang('general_word_startdate') . '</th>';
echo '<th style=\'text-align: center\'>' . lang('general_word_enddate') . '</th>';
echo '</tr>';
echo '<tr>';
@ -115,7 +119,7 @@
echo '</table></div>';
}
else {
echo '<div class="alert alert-danger" role="alert">No current streak found!</div>';
echo '<div class="alert alert-danger" role="alert">' . lang('statistics_dwq_no_current_streak') . '</div>';
}
?>
</div>

View File

@ -15,7 +15,7 @@ $.ajax({
data: {
labels: labels,
datasets: [{
label: 'Days with QSOs',
label: lang_days_with_qso_short,
data: dataDxcc,
backgroundColor: 'rgba(54, 162, 235, 0.2)',
borderColor: 'rgba(54, 162, 235, 1)',