diff --git a/application/controllers/Dayswithqso.php b/application/controllers/Dayswithqso.php index b6b88a33..a2906cc5 100644 --- a/application/controllers/Dayswithqso.php +++ b/application/controllers/Dayswithqso.php @@ -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(); diff --git a/application/views/dayswithqso/index.php b/application/views/dayswithqso/index.php index 7bd40f60..f247e348 100644 --- a/application/views/dayswithqso/index.php +++ b/application/views/dayswithqso/index.php @@ -1,3 +1,7 @@ + +

@@ -9,7 +13,7 @@ echo '
'; echo ''; - echo ''; + echo ''; foreach ($result as $master) { echo ''; @@ -18,7 +22,7 @@ echo ''; echo ''; - echo ''; + echo ''; foreach ($result as $master) { echo ''; @@ -30,8 +34,8 @@ } ?> -

Longest streak with QSOs in the log

-

A maximum of the 10 longest streaks are shown!

+

+

Year' . lang('general_word_year') . '' . $master->Year . '
Days' . lang('general_word_days') . '' . $master->Days . '
'; echo ''; - echo ''; - echo ''; - echo ''; + echo ''; + echo ''; + echo ''; echo ''; foreach ($streaks as $streak) { @@ -71,15 +75,15 @@ } ?> -

Current streak with QSOs in the log

+

Streak (continuous days with QSOs)Begin dateEnd date' . lang('statistics_dwq_streak_continuous_days') . '' . lang('general_word_startdate') . '' . lang('general_word_enddate') . '
'; echo ''; - echo ''; - echo ''; - echo ''; + echo ''; + echo ''; + echo ''; echo ''; echo ''; @@ -94,14 +98,14 @@ } elseif (is_array($almostcurrentstreak)) { ?> -

If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!

+
Current streak (continuous days with QSOs)Begin dateEnd date' . lang('statistics_dwq_current_streak_continuous_days') . '' . lang('general_word_startdate') . '' . lang('general_word_enddate') . '
'; echo ''; - echo ''; - echo ''; - echo ''; + echo ''; + echo ''; + echo ''; echo ''; echo ''; @@ -115,7 +119,7 @@ echo '
Current streak (continuous days with QSOs)Begin dateEnd date' . lang('statistics_dwq_current_streak_continuous_days') . '' . lang('general_word_startdate') . '' . lang('general_word_enddate') . '
'; } else { - echo ''; + echo ''; } ?>
diff --git a/assets/js/sections/dayswithqso.js b/assets/js/sections/dayswithqso.js index d0c890a3..e825a069 100644 --- a/assets/js/sections/dayswithqso.js +++ b/assets/js/sections/dayswithqso.js @@ -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)',