diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php index 1a61fb34b..0e5b85545 100644 --- a/application/controllers/Awards.php +++ b/application/controllers/Awards.php @@ -531,23 +531,23 @@ class Awards extends CI_Controller { // Render Page $data['page_title'] = __("Log View")." - " . $type; - $data['filter'] = (($type != $band) ? $type : '')." ".$searchphrase.__("and band")." ".$band; + $data['filter'] = (($type != $band) ? $type : '')." ".$searchphrase.__(" and band ").$band; if ($band == 'SAT') { if ($sat != 'All' && $sat != null) { - $data['filter'] .= " " . __("and satellite")." ".$sat; + $data['filter'] .= __(" and satellite ").$sat; } if ($orbit != 'All' && $orbit != null) { - $data['filter'] .= " " . __("and orbit type")." ".$orbit; + $data['filter'] .= __(" and orbit type ").$orbit; } } if ($propagation != '' && $propagation != null) { - $data['filter'] .= " " . __("and propagation")." ".$propagation; + $data['filter'] .= __(" and propagation ").$propagation; } if ($mode != null && strtolower($mode) != 'all') { - $data['filter'] .= " " . __("and mode")." ".strtoupper($mode); + $data['filter'] .= __(" and mode ").strtoupper($mode); } if (!empty($qsltype)) { - $data['filter'] .= " " . __("and")." ".implode('/', $qsltype); + $data['filter'] .= __(" and ").implode('/', $qsltype); } $data['ispopup'] = true; $this->load->view('awards/details', $data); @@ -984,7 +984,7 @@ class Awards extends CI_Controller { public function gridmaster($dxcc) { $dxcc = $this->security->xss_clean($dxcc); - $data['page_title'] = __("Awards")." - ".strtoupper($dxcc)." Gridmaster"; + $data['page_title'] = __("Awards - ").strtoupper($dxcc)." Gridmaster"; $this->load->model('bands'); $this->load->model('gridmap_model'); @@ -1239,7 +1239,7 @@ class Awards extends CI_Controller { $data['type'] = $type; // Render page - $data['page_title'] = __("Awards - SIG") . " - ".$type; + $data['page_title'] = __("Awards - SIG - ") . $type; $this->load->view('interface_assets/header', $data); $this->load->view('awards/sig/qso_list'); $this->load->view('interface_assets/footer'); diff --git a/application/controllers/Callstats.php b/application/controllers/Callstats.php index ad33531bd..b813a60d1 100644 --- a/application/controllers/Callstats.php +++ b/application/controllers/Callstats.php @@ -98,23 +98,23 @@ class Callstats extends CI_Controller // Render Page $data['page_title'] = __("Log View"); - $data['filter'] = " ".$searchphrase.__("and band")." ".$band; + $data['filter'] = $searchphrase.__(" and band ").$band; if ($band == 'SAT') { if ($sat != 'All' && $sat != null) { - $data['filter'] .= " " . __("and sat")." ".$sat; + $data['filter'] .= __(" and sat ").$sat; } if ($orbit != 'All' && $orbit != null) { - $data['filter'] .= " " . __("and orbit type")." ".$orbit; + $data['filter'] .= __(" and orbit type ").$orbit; } } if ($propagation != '' && $propagation != null) { - $data['filter'] .= " " . __("and propagation")." ".$propagation; + $data['filter'] .= __(" and propagation ").$propagation; } if ($mode != null && strtolower($mode) != 'all') { - $data['filter'] .= " " . __("and mode")." ".$mode; + $data['filter'] .= __(" and mode ").$mode; } if (!empty($qsltype)) { - $data['filter'] .= " " . __("and")." ".implode('/', $qsltype); + $data['filter'] .= __(" and ").implode('/', $qsltype); } $this->load->view('awards/details', $data); } diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index 387f04fb6..be067fa9a 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -482,7 +482,7 @@ class eqsl extends CI_Controller { } } $data['eqsl_results'] = $eqsl_results; - $data['eqsl_stats'] = __("Successfully downloaded:") . " " . $i . " / "__("Errors") . ": " . count($eqsl_results); + $data['eqsl_stats'] = __("Successfully downloaded: ") . $i . __(" / Errors: ") . count($eqsl_results); $data['page_title'] = "eQSL Download Information"; $this->load->view('interface_assets/header', $data); diff --git a/application/controllers/Options.php b/application/controllers/Options.php index cef95bc43..0c3d1fca1 100644 --- a/application/controllers/Options.php +++ b/application/controllers/Options.php @@ -141,7 +141,7 @@ class Options extends CI_Controller { } else { $hon_url_update = $this->optionslib->update('hon_url', $this->input->post('hon_url'), 'yes'); if($hon_url_update == TRUE) { - $this->session->set_flashdata('success', __("Hams-Of-Note URL changed to").": ".$this->input->post('hon_url',true)); + $this->session->set_flashdata('success', __("Hams-Of-Note URL changed to ").$this->input->post('hon_url',true)); } redirect('/options/hon'); } @@ -177,17 +177,17 @@ class Options extends CI_Controller { } else { $dxcluster_decont_update = $this->optionslib->update('dxcluster_decont', $this->input->post('dxcluster_decont'), 'yes'); if($dxcluster_decont_update == TRUE) { - $this->session->set_flashdata('success', __("de continent changed to").": ".$this->input->post('dxcluster_decont')); + $this->session->set_flashdata('success', __("de continent changed to ").$this->input->post('dxcluster_decont')); } $dxcluster_maxage_update = $this->optionslib->update('dxcluster_maxage', $this->input->post('dxcluster_maxage'), 'yes'); if($dxcluster_maxage_update == TRUE) { - $this->session->set_flashdata('success', __("Maximum age of spots changed to").": ".$this->input->post('dxcluster_maxage')); + $this->session->set_flashdata('success', __("Maximum age of spots changed to ").$this->input->post('dxcluster_maxage')); } $dxcache_url_update = $this->optionslib->update('dxcache_url', $this->input->post('dxcache_url'), 'yes'); if($dxcache_url_update == TRUE) { - $this->session->set_flashdata('success', __("DXCluster Cache URL changed to").": ".$this->input->post('dxcache_url')); + $this->session->set_flashdata('success', __("DXCluster Cache URL changed to ").$this->input->post('dxcache_url')); } redirect('/options/dxcluster'); } @@ -229,7 +229,7 @@ class Options extends CI_Controller { // If theme update is complete set a flashsession with a success note if($radioTimeout_update == TRUE) { - $this->session->set_flashdata('success', __("Radio Timeout Warning changed to").": ".$this->input->post('radioTimeout').' seconds'); + $this->session->set_flashdata('success', __("Radio Timeout Warning changed to ").$this->input->post('radioTimeout').' seconds'); } // Redirect back to /appearance diff --git a/application/controllers/Station.php b/application/controllers/Station.php index 78cc80b2a..75b68c1c9 100644 --- a/application/controllers/Station.php +++ b/application/controllers/Station.php @@ -80,7 +80,7 @@ class Station extends CI_Controller $this->load->model('stations'); if ($this->stations->check_station_is_accessible($id)) { $data = $this->load_station_for_editing($id); - $data['page_title'] = __("Edit Station Location") . ": " . $data['my_station_profile']->station_profile_name; + $data['page_title'] = __("Edit Station Location: ") . $data['my_station_profile']->station_profile_name; $this->form_validation->set_rules('dxcc', 'DXCC', 'required'); $this->form_validation->set_rules('gridsquare', 'Locator', 'callback_check_locator'); diff --git a/application/controllers/Stationsetup.php b/application/controllers/Stationsetup.php index 197494138..30378ebe2 100644 --- a/application/controllers/Stationsetup.php +++ b/application/controllers/Stationsetup.php @@ -302,7 +302,7 @@ class Stationsetup extends CI_Controller { private function lblnk2html($public_slug, $logbook_name, $id) { $htmret = ' '; if($public_slug != '') { - $htmret .= ''; + $htmret .= ''; $htmret .= ' '; $htmret .= ' '; } diff --git a/application/controllers/Update.php b/application/controllers/Update.php index fcab3ac50..f1a24d501 100644 --- a/application/controllers/Update.php +++ b/application/controllers/Update.php @@ -65,7 +65,7 @@ class Update extends CI_Controller { if ($count % $batch_size === 0) { $this->db->insert_batch('dxcc_entities', $a_data); $a_data = []; // Clear batch data - $this->update_status(__("Preparing DXCC-Entries") . ": " . $count); + $this->update_status(__("Preparing DXCC-Entries: ") . $count); } } @@ -130,7 +130,7 @@ class Update extends CI_Controller { if ($count % $batch_size === 0) { $this->db->insert_batch('dxcc_exceptions', $a_data); $a_data = []; // Clear batch data - $this->update_status(__("Preparing DXCC Exceptions") . ": " . $count); + $this->update_status(__("Preparing DXCC Exceptions: ") . $count); } } @@ -181,7 +181,7 @@ class Update extends CI_Controller { if ($count % $batch_size === 0) { $this->db->insert_batch('dxcc_prefixes', $a_data); $a_data = []; // Clear the batch array - $this->update_status(__("Preparing DXCC Prefixes") . ": " . $count); + $this->update_status(__("Preparing DXCC Prefixes: ") . $count); } } @@ -370,9 +370,9 @@ class Update extends CI_Controller { unlink($lockfilename); if($this->session->userdata('user_type') == '99') { if (substr($result, 0, 4) == 'DONE') { - $this->session->set_flashdata('success', __("SCP Update complete. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('success', __("SCP Update complete. Result: ") . "'" . $result . "'"); } else { - $this->session->set_flashdata('error', __("SCP Update failed. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('error', __("SCP Update failed. Result: ") . "'" . $result . "'"); } redirect('debug'); } else { @@ -409,9 +409,9 @@ class Update extends CI_Controller { unlink($lockfilename); if($this->session->userdata('user_type') == '99') { if (substr($result, 0, 7) == 'Records') { - $this->session->set_flashdata('success', __("LoTW Users Update complete. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('success', __("LoTW Users Update complete. Result: ") . "'" . $result . "'"); } else { - $this->session->set_flashdata('error', __("LoTW Users Update failed. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('error', __("LoTW Users Update failed. Result: ") . "'" . $result . "'"); } redirect('debug'); } else { @@ -446,9 +446,9 @@ class Update extends CI_Controller { unlink($lockfilename); if($this->session->userdata('user_type') == '99') { if (substr($result, 0, 4) == 'DONE') { - $this->session->set_flashdata('success', __("DOK Update complete. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('success', __("DOK Update complete. Result: ") . "'" . $result . "'"); } else { - $this->session->set_flashdata('error', __("DOK Update failed. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('error', __("DOK Update failed. Result: ") . "'" . $result . "'"); } redirect('debug'); } else { @@ -481,9 +481,9 @@ class Update extends CI_Controller { unlink($lockfilename); if($this->session->userdata('user_type') == '99') { if (substr($result, 0, 4) == 'DONE') { - $this->session->set_flashdata('success', __("SOTA Update complete. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('success', __("SOTA Update complete. Result: ") . "'" . $result . "'"); } else { - $this->session->set_flashdata('error', __("SOTA Update failed. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('error', __("SOTA Update failed. Result: ") . "'" . $result . "'"); } redirect('debug'); } else { @@ -516,9 +516,9 @@ class Update extends CI_Controller { unlink($lockfilename); if($this->session->userdata('user_type') == '99') { if (substr($result, 0, 4) == 'DONE') { - $this->session->set_flashdata('success', __("WWFF Update complete. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('success', __("WWFF Update complete. Result: ") . "'" . $result . "'"); } else { - $this->session->set_flashdata('error', __("WWFF Update failed. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('error', __("WWFF Update failed. Result: ") . "'" . $result . "'"); } redirect('debug'); } else { @@ -552,9 +552,9 @@ class Update extends CI_Controller { unlink($lockfilename); if($this->session->userdata('user_type') == '99') { if (substr($result, 0, 4) == 'DONE') { - $this->session->set_flashdata('success', __("HAMqsl Update complete. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('success', __("HAMqsl Update complete. Result: ") . "'" . $result . "'"); } else { - $this->session->set_flashdata('error', __("HAMqsl Update failed. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('error', __("HAMqsl Update failed. Result: ") . "'" . $result . "'"); } $this->load->model('cron_model'); @@ -587,9 +587,9 @@ class Update extends CI_Controller { unlink($lockfilename); if($this->session->userdata('user_type') == '99') { if (substr($result, 0, 4) == 'DONE') { - $this->session->set_flashdata('success', __("POTA Update complete. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('success', __("POTA Update complete. Result: ") . "'" . $result . "'"); } else { - $this->session->set_flashdata('error', __("POTA Update failed. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('error', __("POTA Update failed. Result: ") . "'" . $result . "'"); } redirect('debug'); } else { @@ -618,9 +618,9 @@ class Update extends CI_Controller { unlink($lockfilename); if($this->session->userdata('user_type') == '99') { if (substr($result, 0, 4) == 'This') { - $this->session->set_flashdata('success', __("TLE Update complete. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('success', __("TLE Update complete. Result: ") . "'" . $result . "'"); } else { - $this->session->set_flashdata('error', __("TLE Update failed. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('error', __("TLE Update failed. Result: ") . "'" . $result . "'"); } redirect($returnpath); } else { @@ -715,9 +715,9 @@ class Update extends CI_Controller { if($this->session->userdata('user_type') == '99') { if (substr($result, 0, 4) == 'DONE') { - $this->session->set_flashdata('success', __("VUCC Grid file update complete. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('success', __("VUCC Grid file update complete. Result: ") . "'" . $result . "'"); } else { - $this->session->set_flashdata('error', __("VUCC Grid file update failed. Result") . ": '" . $result . "'"); + $this->session->set_flashdata('error', __("VUCC Grid file update failed. Result: ") . "'" . $result . "'"); } diff --git a/application/models/Hrdlog_model.php b/application/models/Hrdlog_model.php index 3d392ebe2..5b7f9d8ee 100644 --- a/application/models/Hrdlog_model.php +++ b/application/models/Hrdlog_model.php @@ -19,10 +19,10 @@ class Hrdlog_model extends CI_Model { $hrdlog_code = $station->hrdlog_code; $u_result = $this->mass_upload_qsos($station->station_id, $hrdlog_username, $hrdlog_code); if ($u_result['count'] > 0) { - $msg = __("HRDlog: QSOs have been uploaded to hrdlog.net for the station callsign").": ".$station->station_callsign." (ID: ".$station->station_id.")"; + $msg = __("HRDlog: QSOs have been uploaded to hrdlog.net for the station callsign: ").$station->station_callsign." (ID: ".$station->station_id.")"; echo $msg; } else { - $msg = __("HRDlog: No QSOs found to upload for the station callsign").": ".$station->station_callsign." (ID: ".$station->station_id.")"; + $msg = __("HRDlog: No QSOs found to upload for the station callsign: ").$station->station_callsign." (ID: ".$station->station_id.")"; echo $msg; } log_message('debug', $msg); diff --git a/application/views/adif/import.php b/application/views/adif/import.php index 1a0f548b2..93b778f1e 100644 --- a/application/views/adif/import.php +++ b/application/views/adif/import.php @@ -71,7 +71,7 @@
= __("Important") ?> = __("Log Files must have the file type *.adi") ?>
-= __("Warning") ?> = __("Maximum file upload size is")." " ?>B.
+= __("Warning") ?> = __("Maximum file upload size is ") ?>B.