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 'Year | ';
+ echo '' . lang('general_word_year') . ' | ';
foreach ($result as $master) {
echo '' . $master->Year . ' | ';
@@ -18,7 +22,7 @@
echo '
';
echo '';
- echo 'Days | ';
+ echo '' . lang('general_word_days') . ' | ';
foreach ($result as $master) {
echo '' . $master->Days . ' | ';
@@ -30,8 +34,8 @@
}
?>
- Longest streak with QSOs in the log
- A maximum of the 10 longest streaks are shown!
+
+
';
echo '';
- echo 'Streak (continuous days with QSOs) | ';
- echo 'Begin date | ';
- echo 'End date | ';
+ echo '' . lang('statistics_dwq_streak_continuous_days') . ' | ';
+ echo '' . lang('general_word_startdate') . ' | ';
+ echo '' . lang('general_word_enddate') . ' | ';
echo '
';
foreach ($streaks as $streak) {
@@ -71,15 +75,15 @@
}
?>
- Current streak with QSOs in the log
+
';
echo '';
- echo 'Current streak (continuous days with QSOs) | ';
- echo 'Begin date | ';
- echo 'End date | ';
+ echo '' . lang('statistics_dwq_current_streak_continuous_days') . ' | ';
+ echo '' . lang('general_word_startdate') . ' | ';
+ echo '' . lang('general_word_enddate') . ' | ';
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!
+
';
echo '';
- echo 'Current streak (continuous days with QSOs) | ';
- echo 'Begin date | ';
- echo 'End date | ';
+ echo '' . lang('statistics_dwq_current_streak_continuous_days') . ' | ';
+ echo '' . lang('general_word_startdate') . ' | ';
+ echo '' . lang('general_word_enddate') . ' | ';
echo '
';
echo '';
@@ -115,7 +119,7 @@
echo '
';
}
else {
- echo 'No current streak found!
';
+ echo '' . lang('statistics_dwq_no_current_streak') . '
';
}
?>
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)',