Minor spelling corrections

This commit is contained in:
phl0
2025-03-19 10:39:36 +01:00
parent 4b212a034d
commit 4696178af7
2 changed files with 6 additions and 6 deletions

View File

@@ -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') {

View File

@@ -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")) {