diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 5be85ffed..b0552fe3b 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -3539,8 +3539,9 @@ class Logbook_model extends CI_Model { $record['station_callsign'] = $station_profile_call; } if ((!$skipStationCheck) && ($station_id != 0) && (strtoupper($record['station_callsign']) != strtoupper($station_profile_call))) { // Check if station_call from import matches profile ONLY when submitting via GUI. - $returner['error'] = __("Wrong station callsign")." \"" . htmlentities($record['station_callsign'] ?? '') . "\" ".__("while importing QSO with "). $record['call'] ?? '' . " ".__("for")." " . $station_profile_call ?? '' . " : ".__("SKIPPED") . - "
".__("Check ")." Wavelog Wiki"." ".__("for hints about errors in ADIF files."); + $returner['error'] =sprintf(__("Wrong station callsign %s while importing QSO with %s for %s: SKIPPED") . + "
".__("Check %s for hints about errors in ADIF files."), + ''.htmlentities($record['station_callsign'] ?? '').'',($record['call'] ?? ''),''.($station_profile_call ?? '').''," Wavelog Wiki"); return ($returner); }