From 2fbfcfbba7120335084930cd28d066120f9a5a66 Mon Sep 17 00:00:00 2001 From: phl0 Date: Fri, 7 Nov 2025 09:06:59 +0100 Subject: [PATCH] Revert "Remove stray whitespaces from translation strings" This reverts commit faf456563113daa1de9328f4cc9483124b0e5f6d. --- application/controllers/Awards.php | 16 +- application/controllers/Callstats.php | 12 +- application/controllers/Eqsl.php | 2 +- application/controllers/Options.php | 10 +- application/controllers/Station.php | 2 +- application/controllers/Stationsetup.php | 2 +- application/controllers/Update.php | 42 ++--- application/models/Hrdlog_model.php | 4 +- application/views/adif/import.php | 2 +- application/views/awards/wae/index.php | 2 +- application/views/bands/index.php | 2 +- application/views/clublog/export.php | 4 +- application/views/components/dxwaterfall.php | 4 +- application/views/contesting/add.php | 2 +- application/views/dcl_views/index.php | 2 +- application/views/email/oqrs_request.php | 4 +- application/views/eqsl/import.php | 2 +- application/views/interface_assets/footer.php | 152 +++++++++--------- application/views/logbookadvanced/index.php | 8 +- application/views/lotw_views/index.php | 2 +- application/views/qrz/export.php | 4 +- application/views/qso/index.php | 4 +- application/views/satellite/edit.php | 2 +- .../views/stationsetup/stationsetup.php | 4 +- application/views/view_log/qso.php | 2 +- assets/js/dxwaterfall.js | 4 +- assets/js/sections/common.js | 2 +- assets/js/sections/contestingnames.js | 2 +- assets/js/sections/logbookadvanced.js | 2 +- 29 files changed, 151 insertions(+), 151 deletions(-) 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 @@

-

B.

+

B.

diff --git a/application/views/awards/wae/index.php b/application/views/awards/wae/index.php index 4334137ec..c0c0b1edf 100644 --- a/application/views/awards/wae/index.php +++ b/application/views/awards/wae/index.php @@ -6,7 +6,7 @@ var lang_awards_info_button = ""; var lang_award_info_ln1 = ""; var lang_award_info_ln2 = ""; - var lang_award_info_ln3 = ""; + var lang_award_info_ln3 = ""; var lang_award_info_ln4 = "https://www.darc.de/en/der-club/referate/committee-dx/diplome/wae-award/"); ?>"; var lang_award_info_ln5 = ""; diff --git a/application/views/bands/index.php b/application/views/bands/index.php index 2031c556a..9b68a7388 100644 --- a/application/views/bands/index.php +++ b/application/views/bands/index.php @@ -158,7 +158,7 @@ $wwff = 0; var lang_options_bands_edit = ''; var lang_options_bands_create = ''; var lang_admin_close = ''; - var lang_options_bands_delete_warning = ''; + var lang_options_bands_delete_warning = ''; var lang_options_bands_activateall_warning = ''; var lang_options_bands_deactivateall_warning = ''; diff --git a/application/views/clublog/export.php b/application/views/clublog/export.php index 61c2413ba..8576e0ca5 100644 --- a/application/views/clublog/export.php +++ b/application/views/clublog/export.php @@ -21,7 +21,7 @@
- ".__("The next automatic Upload to Clublog will happen at").": ".$next_run_up." UTC

"; } ?> + ".__("The next automatic Upload to Clublog will happen at: ").$next_run_up." UTC

"; } ?>

- ".__("The next automatic Download from Clublog-QSLs will happen at").": ".$next_run_down."

"; } ?> + ".__("The next automatic Download from Clublog-QSLs will happen at: ").$next_run_down."

"; } ?>

diff --git a/application/views/components/dxwaterfall.php b/application/views/components/dxwaterfall.php index b70375c80..1cd77268f 100644 --- a/application/views/components/dxwaterfall.php +++ b/application/views/components/dxwaterfall.php @@ -38,7 +38,7 @@ var lang_dxwaterfall_reset_zoom = ""; var lang_dxwaterfall_zoom_in = "" + " [" + modKey + "++]"; var lang_dxwaterfall_downloading_data = ""; - var lang_dxwaterfall_comment = ""; + var lang_dxwaterfall_comment = ""; var lang_dxwaterfall_modes_label = ""; var lang_dxwaterfall_out_of_bandplan = ""; var lang_dxwaterfall_changing_frequency = ""; @@ -52,7 +52,7 @@ var lang_dxwaterfall_label_size_medium = ""; var lang_dxwaterfall_label_size_large = ""; var lang_dxwaterfall_label_size_xlarge = ""; - var lang_dxwaterfall_spotted_by = ""; + var lang_dxwaterfall_spotted_by = ""; // DX Waterfall Configuration from User Options let dxwaterfall_decont = 'optionslib->get_option('dxcluster_decont'); ?>'; diff --git a/application/views/contesting/add.php b/application/views/contesting/add.php index 9d0164024..46e7aee01 100644 --- a/application/views/contesting/add.php +++ b/application/views/contesting/add.php @@ -52,7 +52,7 @@ diff --git a/application/views/dcl_views/index.php b/application/views/dcl_views/index.php index cee9f6875..a58bbaa42 100644 --- a/application/views/dcl_views/index.php +++ b/application/views/dcl_views/index.php @@ -77,7 +77,7 @@
- ".__("The next automatic sync with DCL will happen at").": ".$next_run."

"; } ?> + ".__("The next automatic sync with DCL will happen at: ").$next_run."

"; } ?> diff --git a/application/views/email/oqrs_request.php b/application/views/email/oqrs_request.php index f459c9515..40b509691 100644 --- a/application/views/email/oqrs_request.php +++ b/application/views/email/oqrs_request.php @@ -3,7 +3,7 @@ $message['subject'] = sprintf(__("Wavelog OQRS from %s"), strtoupper($callsign)); if ($usermessage != '') { - $um_formatted = __("The user entered the following message:") . "\n\n"; + $um_formatted = __("The user entered the following message: ") . "\n\n"; $um_formatted .= "------------" . "\n"; $um_formatted .= $usermessage . "\n"; $um_formatted .= "------------" . "\n\n"; @@ -23,4 +23,4 @@ Regards, Wavelog"); -echo json_encode($message); +echo json_encode($message); \ No newline at end of file diff --git a/application/views/eqsl/import.php b/application/views/eqsl/import.php index c70e24763..88c6c9e58 100644 --- a/application/views/eqsl/import.php +++ b/application/views/eqsl/import.php @@ -25,7 +25,7 @@
- ".__("The next automatic sync with eQSL will happen at").": ".$next_run." UTC

"; } ?> + ".__("The next automatic sync with eQSL will happen at: ").$next_run." UTC

"; } ?>