diff --git a/application/controllers/Cabrillo.php b/application/controllers/Cabrillo.php index 17ca2121e..49265a1e1 100644 --- a/application/controllers/Cabrillo.php +++ b/application/controllers/Cabrillo.php @@ -231,7 +231,7 @@ class Cabrillo extends CI_Controller { //create error if more than 1 QSO is found and skip if(count($contest_qsos) != 1){ - array_push($custom_errors, "QSO " . $i . " not found or more that 1 QSOs found that match the criteria of the CBR file. Skipping as a safety measure."); + array_push($custom_errors, sprintf(__("QSO %s not found or more that 1 QSOs found that match the criteria of the CBR file. Skipping as a safety measure.", $i))); $i++; continue; } diff --git a/application/libraries/Cbr_parser.php b/application/libraries/Cbr_parser.php index e4f2e4d73..7995444b8 100755 --- a/application/libraries/Cbr_parser.php +++ b/application/libraries/Cbr_parser.php @@ -88,8 +88,7 @@ class CBR_Parser } //abort further processing if no qso lines were found, return header only - if(count($qso_lines_raw) < 1) - { + if(count($qso_lines_raw) < 1) { $result = []; $result["HEADER"] = $header; $result["QSOS"] = []; @@ -147,8 +146,7 @@ class CBR_Parser $qso_line["SENT_59"] = $line[$sent_59_pos]; //set serial if requested - if($serial_number_present) - { + if($serial_number_present) { $qso_line["SENT_SERIAL"] = $line[$sent_59_pos + 1]; } @@ -166,8 +164,7 @@ class CBR_Parser $qso_line["RCVD_59"] = $line[$rcvd_59_pos]; //set serial if requested - if($serial_number_present) - { + if($serial_number_present) { $qso_line["RCVD_SERIAL"] = $line[$rcvd_59_pos + 1]; } diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 7987b1448..20043e446 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -5451,8 +5451,7 @@ class Logbook_model extends CI_Model { $this->db->where('COL_BAND', $band); //load only for specific mode if the mode is determinate. If not, omit it. In most cases, that should be fine. Also provided by wavelog itself, so no cleaning. - if($mode != '') - { + if($mode != '') { $this->db->where('COL_MODE', $mode); } diff --git a/application/views/adif/dcl_success.php b/application/views/adif/dcl_success.php index 9763a9eed..321de6ad9 100644 --- a/application/views/adif/dcl_success.php +++ b/application/views/adif/dcl_success.php @@ -13,7 +13,7 @@
= __("DCL information for DOKs has been updated.")?>
Information = __("If you imported an ADIF file of a contest, provided by another logging software, sometimes, depending on that software, your exchanges will not be imported properly from that softwares ADIF. If you like to correct that, you can provide the Cabrillo file that this software also provides to rewrite that data in Wavelog.") ?>
-Important = __("Please use this function before changing anything about the QSOs in Wavelog, as this function uses the Contest ID, as well as date and time information from both your already imported ADIF file, as well as the CBR file you are about to upload to match the QSOs and only correct relevant data.") ?>
+= __("Information"); ?> = __("If you imported an ADIF file of a contest, provided by another logging software, sometimes, depending on that software, your exchanges will not be imported properly from that softwares ADIF. If you like to correct that, you can provide the Cabrillo file that this software also provides to rewrite that data in Wavelog.") ?>
+= __("Important"); ?> = __("Please use this function before changing anything about the QSOs in Wavelog, as this function uses the Contest ID, as well as date and time information from both your already imported ADIF file, as well as the CBR file you are about to upload to match the QSOs and only correct relevant data.") ?>