diff --git a/application/views/dashboard/index.php b/application/views/dashboard/index.php
index 597172167..0aca098bd 100644
--- a/application/views/dashboard/index.php
+++ b/application/views/dashboard/index.php
@@ -1,21 +1,21 @@
'.$ctx->lang->line('gen_hamradio_mode').''; break;
- case 'RSTS': echo '
'.$ctx->lang->line('gen_hamradio_rsts').' | '; break;
- case 'RSTR': echo ''.$ctx->lang->line('gen_hamradio_rstr').' | '; break;
- case 'Country': echo ''.$ctx->lang->line('general_word_country').' | '; break;
- case 'IOTA': echo ''.$ctx->lang->line('gen_hamradio_iota').' | '; break;
- case 'SOTA': echo ''.$ctx->lang->line('gen_hamradio_sota').' | '; break;
- case 'WWFF': echo ''.$ctx->lang->line('gen_hamradio_wwff').' | '; break;
- case 'POTA': echo ''.$ctx->lang->line('gen_hamradio_pota').' | '; break;
- case 'State': echo ''.$ctx->lang->line('gen_hamradio_state').' | '; break;
- case 'Grid': echo ''.$ctx->lang->line('gen_hamradio_gridsquare').' | '; break;
- case 'Distance': echo ''.$ctx->lang->line('gen_hamradio_distance').' | '; break;
- case 'Band': echo ''.$ctx->lang->line('gen_hamradio_band').' | '; break;
- case 'Frequency': echo ''.$ctx->lang->line('gen_hamradio_frequency').' | '; break;
- case 'Operator': echo ''.$ctx->lang->line('gen_hamradio_operator').' | '; break;
- case 'Name': echo ''.$ctx->lang->line('general_word_name').' | '; break;
+ case 'Mode': echo ''.__("Mode").' | '; break;
+ case 'RSTS': echo ''.__("RSTS").' | '; break;
+ case 'RSTR': echo ''.__("RSTR").' | '; break;
+ case 'Country': echo ''.__("Country").' | '; break;
+ case 'IOTA': echo ''.__("IOTA").' | '; break;
+ case 'SOTA': echo ''.__("SOTA").' | '; break;
+ case 'WWFF': echo ''.__("WWFF").' | '; break;
+ case 'POTA': echo ''.__("POTA").' | '; break;
+ case 'State': echo ''.__("State").' | '; break;
+ case 'Grid': echo ''.__("Gridsquare").' | '; break;
+ case 'Distance': echo ''.__("Distance").' | '; break;
+ case 'Band': echo ''.__("Band").' | '; break;
+ case 'Frequency': echo ''.__("Frequency").' | '; break;
+ case 'Operator': echo ''.__("Operator").' | '; break;
+ case 'Name': echo ''.__("Name").' | '; break;
}
}
@@ -25,7 +25,7 @@ function echo_table_col($row, $name) {
case 'Mode': echo ''; echo $row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE . ' | '; break;
case 'RSTS': echo '' . $row->COL_RST_SENT; if ($row->COL_STX) { echo ' COL_CONTEST_ID:"n/a").'" class="badge text-bg-light">'; printf("%03d", $row->COL_STX); echo '';} if ($row->COL_STX_STRING) { echo ' COL_CONTEST_ID:"n/a").'" class="badge text-bg-light">' . $row->COL_STX_STRING . '';} echo ' | '; break;
case 'RSTR': echo '' . $row->COL_RST_RCVD; if ($row->COL_SRX) { echo ' COL_CONTEST_ID:"n/a").'" class="badge text-bg-light">'; printf("%03d", $row->COL_SRX); echo '';} if ($row->COL_SRX_STRING) { echo ' COL_CONTEST_ID:"n/a").'" class="badge text-bg-light">' . $row->COL_SRX_STRING . '';} echo ' | '; break;
- case 'Country': echo '' . ucwords(strtolower(($row->COL_COUNTRY))); if ($row->end != NULL) echo ' '.$ci->lang->line('gen_hamradio_deleted_dxcc').'' . ' | '; break;
+ case 'Country': echo '' . ucwords(strtolower(($row->COL_COUNTRY))); if ($row->end != NULL) echo ' '.__("Deleted DXCC").'' . ' | '; break;
case 'IOTA': echo '' . ($row->COL_IOTA) . ' | '; break;
case 'SOTA': echo '' . ($row->COL_SOTA_REF) . ' | '; break;
case 'WWFF': echo '' . ($row->COL_WWFF_REF) . ' | '; break;
@@ -54,49 +54,71 @@ function echo_table_col($row, $name) {
-
+ = __("You need to upgrade your PHP version. Minimum version is 7.4. Your version is") . ' ' . PHP_VERSION . '.';?>
optionslib->get_option('dashboard_banner') != "false") { ?>
= 1) { ?>
-
+ = sprintf(_ngettext("You have had %d QSO today", "You have had %d QSOs today", intval($todays_qsos)), intval($todays_qsos)); ?>
-
+ = __("Important"); ?> = __("You have made no QSOs today; time to turn on the radio!"); ?>
-
+ = __("Attention: you need to set an active station location."); ?>
+
+
+
+
+
+
+
+
- You have themes without defined theme mode. Please ask the admin to edit the themes.
+ = __("You have themes without defined theme mode. Please ask the admin to edit the themes."); ?>
@@ -105,13 +127,13 @@ function echo_table_col($row, $name) {
$current_date = date('Y-m-d H:i:s');
if($this->LotwCert->lotw_cert_expired($this->session->userdata('user_id'), $current_date) == true) { ?>
-
+ = __("Important"); ?> = __("At least one of your LoTW certificates is expired!"); ?>
LotwCert->lotw_cert_expiring($this->session->userdata('user_id'), $current_date) == true) { ?>
-
+ = __("Important"); ?> = __("At least one of your LoTW certificates is about to expire!"); ?>
@@ -134,17 +156,17 @@ function echo_table_col($row, $name) {
- |
+ = __("Date"); ?> |
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?>
- |
+ = __("Time"); ?> |
- |
+ = __('Callsign'); ?> |
session->userdata('user_column1')==""?'Mode':$this->session->userdata('user_column1'));
- echo_table_header_col($this, $this->session->userdata('user_column2')==""?'RSTS':$this->session->userdata('user_column2'));
- echo_table_header_col($this, $this->session->userdata('user_column3')==""?'RSTR':$this->session->userdata('user_column3'));
- echo_table_header_col($this, $this->session->userdata('user_column4')==""?'Band':$this->session->userdata('user_column4'));
+ echo_table_header_col($this->session->userdata('user_column1')==""?'Mode':$this->session->userdata('user_column1'));
+ echo_table_header_col($this->session->userdata('user_column2')==""?'RSTS':$this->session->userdata('user_column2'));
+ echo_table_header_col($this->session->userdata('user_column3')==""?'RSTR':$this->session->userdata('user_column3'));
+ echo_table_header_col($this->session->userdata('user_column4')==""?'Band':$this->session->userdata('user_column4'));
?>
@@ -200,21 +222,21 @@ function echo_table_col($row, $name) {
- | |
+ = __("QSOs Breakdown"); ?> |
- |
+ = __("Total"); ?> |
|
- |
+ = __("Year"); ?> |
|
- |
+ = __("Month"); ?> |
|
@@ -223,15 +245,15 @@ function echo_table_col($row, $name) {
- | |
+ = __("Countries Breakdown"); ?> |
- |
+ = __("Worked"); ?> |
|
- |
+ = __("Confirmed"); ?> |
/
/
@@ -240,7 +262,7 @@ function echo_table_col($row, $name) {
|
- |
+ = __("Needed"); ?> |
|
@@ -248,24 +270,24 @@ function echo_table_col($row, $name) {
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_qsl_sent != 0 || $total_qsl_rcvd != 0 || $total_qsl_requested != 0)) { ?>
- | |
- |
+ = __("QSL Cards"); ?> |
+ = __("Today"); ?> |
- |
+ = __("Sent"); ?> |
|
|
- |
+ = __("Received"); ?> |
|
|
- |
+ = __("Requested"); ?> |
|
|
@@ -275,18 +297,18 @@ function echo_table_col($row, $name) {
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === false) && ($total_lotw_sent != 0 || $total_lotw_rcvd != 0)) { ?>
- | |
- |
+ = _pgettext("Probably no translation needed as this is a name.","Logbook of the World"); ?> |
+ = __("Today"); ?> |
- |
+ = __("Sent"); ?> |
|
|
- |
+ = __("Received"); ?> |
|
|
@@ -296,18 +318,18 @@ function echo_table_col($row, $name) {
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_eqsl_sent != 0 || $total_eqsl_rcvd != 0)) { ?>
- | |
- |
+ = __("eQSL Cards"); ?> |
+ = __("Today"); ?> |
- |
+ = __("Sent"); ?> |
|
|
- |
+ = __("Received"); ?> |
|
|
@@ -318,17 +340,17 @@ function echo_table_col($row, $name) {
| QRZ.com |
- |
+ = __("Today"); ?> |
- |
+ = __("Sent"); ?> |
|
|
- |
+ = __("Received"); ?> |
|
|
@@ -343,13 +365,13 @@ function echo_table_col($row, $name) {
- |
+ = __("Worked"); ?> |
|
|
- |
+ = __("Confirmed"); ?> |
|
|
@@ -360,4 +382,4 @@ function echo_table_col($row, $name) {
-
+
\ No newline at end of file