From 4696178af75f94c4a4a68124df49d835c31ead9b Mon Sep 17 00:00:00 2001 From: phl0 Date: Wed, 19 Mar 2025 10:39:36 +0100 Subject: [PATCH] Minor spelling corrections --- application/controllers/Eqsl.php | 6 +++--- application/models/Eqslmethods_model.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index b50190fab..be067fa9a 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -190,13 +190,13 @@ class eqsl extends CI_Controller { $status = $this->eqslmethods_model->uploadQso($adif, $qsl); if ($status == 'Login Error') { - log_message('error', 'eQSL Credentials-Error for '.$data['user_eqsl_name'].' Login will be disabled!'); + log_message('error', 'eQSL Credentials-Error for '.$data['user_eqsl_name'].'. Login will be disabled!'); $this->eqslmethods_model->disable_eqsl_uid($this->session->userdata('user_id')); $status=__("User/Pass wrong for eQSL"); } elseif ($status == 'Nick Error') { - log_message('error', 'eQSL Nickname-Error for User '.$data['user_eqsl_name'].' with Nickname '.($qsl['eqslqthnickname'] ?? '').' at station_profile'.($qsl['eqsl_station_id'] ?? '').' Nickname will be removed!'); + log_message('error', 'eQSL error for user '.$data['user_eqsl_name'].' with QTH Nickname '.($qsl['eqslqthnickname'] ?? '').' at station_profile '.($qsl['eqsl_station_id'] ?? '').'. eQSL QTH Nickname will be removed from station location!'); $this->eqslmethods_model->disable_eqsl_station_id($this->session->userdata('user_id'),$qsl['eqsl_station_id']); - $status=__("No such Nickname at eQSL"); + $status=sprintf(__("No such eQSL QTH Nickname: %s"), $qsl['eqslqthnickname'] ?? ''); } if($status == 'Error') { diff --git a/application/models/Eqslmethods_model.php b/application/models/Eqslmethods_model.php index 0ed596ef5..7cbf47d96 100644 --- a/application/models/Eqslmethods_model.php +++ b/application/models/Eqslmethods_model.php @@ -56,11 +56,11 @@ class Eqslmethods_model extends CI_Model { log_message('error', 'eQSL Error for '.$data['user_eqsl_name']); break; } elseif ($status == 'Nick Error') { - log_message('error', 'eQSL Nickname-Error for User '.$data['user_eqsl_name'].' with Nickname '.($qsl['eqslqthnickname'] ?? '').' at station_profile: '.($qsl['eqsl_station_id'] ?? '').' Nickname will be removed!'); + log_message('error', 'eQSL error for user '.$data['user_eqsl_name'].' with QTH Nickname '.($qsl['eqslqthnickname'] ?? '').' at station_profile '.($qsl['eqsl_station_id'] ?? '').'. eQSL QTH Nickname will be removed from station location!'); $this->disable_eqsl_station_id($userid,$qsl['eqsl_station_id']); break; } elseif ($status == 'Login Error') { - log_message('error', 'eQSL Credentials-Error (User, Pass or Nickname) for '.$data['user_eqsl_name'].' Login will be disabled!'); + log_message('error', 'eQSL credentials error (user, pass or QTH Nickname) for '.$data['user_eqsl_name'].'. Login will be disabled!'); $this->disable_eqsl_uid($userid); break; } @@ -302,7 +302,7 @@ class Eqslmethods_model extends CI_Model { $this->eqsl_mark_invalid($qsl['COL_PRIMARY_KEY']); $status = "Invalid"; } elseif (stristr($result, "No match on APP_EQSL_QTH_NICKNAME")) { - $msg = __("eQSL-Nickname doesn't exist at eQSL"); + $msg = __("QTH Nickname does not exist at eQSL"); $this->session->set_flashdata('warning', $msg); $status = "Nick Error"; } elseif (stristr($result, "Bad record: Duplicate")) {