Fix spelling in strings

This commit is contained in:
Daniele Forsi 2023-07-23 16:44:42 +02:00
parent 8a38af480f
commit 34aca019e2
24 changed files with 32 additions and 32 deletions

View File

@ -112,9 +112,9 @@ const QString ADSBDemodGUI::m_emergencyStatus[] = {
};
const QString ADSBDemodGUI::m_flightStatuses[] = {
QStringLiteral("Airbourne"),
QStringLiteral("Airborne"),
QStringLiteral("On-ground"),
QStringLiteral("Alert, airboune"),
QStringLiteral("Alert, airborne"),
QStringLiteral("Alert, on-ground"),
QStringLiteral("Alert, SPI"),
QStringLiteral("SPI"),
@ -1107,7 +1107,7 @@ void ADSBDemodGUI::handleADSB(
else
{
// Ignore if not from a known aircraft, as its likely not to be a valid packet
//qDebug() << "Skiping Mode-S from unknown aircraft - DF " << df << " ICAO " << Qt::hex << icao;
//qDebug() << "Skipping Mode-S from unknown aircraft - DF " << df << " ICAO " << Qt::hex << icao;
return;
}
}

View File

@ -192,7 +192,7 @@ static const char *dabLanguageCode[] =
"Vietnamese",
"Uzbek",
"Urdu",
"Ukranian",
"Ukrainian",
"Thai",
"Telugu",
"Tatar",

View File

@ -485,7 +485,7 @@ bool DATVideoRender::renderStream()
if (sws_init_context(m_swsCtx, nullptr, nullptr) < 0)
{
qDebug() << "DATVideoRender::renderStream cannont init video data converter";
qDebug() << "DATVideoRender::renderStream cannot init video data converter";
m_swsCtx = nullptr;
av_packet_unref(&packet);
return false;
@ -499,7 +499,7 @@ bool DATVideoRender::renderStream()
if (av_image_alloc(m_decodedData, m_decodedLineSize, m_frame->width, m_frame->height, AV_PIX_FMT_RGB24, 1) < 0)
{
qDebug() << "DATVideoRender::renderStream cannont init video image buffer";
qDebug() << "DATVideoRender::renderStream cannot init video image buffer";
sws_freeContext(m_swsCtx);
m_swsCtx = nullptr;
av_packet_unref(&packet);

View File

@ -409,7 +409,7 @@ void NavtexDemodSink::receiveBit(bool bit)
}
if (m_consecutiveErrors >= 5)
{
//qDebug() << "Too many consequtive errors";
//qDebug() << "Too many consecutive errors";
init();
}
}

View File

@ -4465,7 +4465,7 @@ void RadioAstronomyGUI::plotRefLine(FFTMeasurement *fft)
double lineFreqMHz = ui->spectrumLineFrequency->value();
double lineFreq = lineFreqMHz * 1e6;
QString refFrame[] = {"Topocentric", "Barycentric", "LSR"};
m_fftDopplerAxis->setTitleText(QString("%1 radial velocity (km/s - +ve receeding)").arg(refFrame[m_settings.m_refFrame]));
m_fftDopplerAxis->setTitleText(QString("%1 radial velocity (km/s - +ve receding)").arg(refFrame[m_settings.m_refFrame]));
m_fftHlineSeries->setName(QString("%1 line").arg(ui->spectrumLine->currentText()));
m_fftHlineSeries->append(0.0f, -200.0f); // For dB
m_fftHlineSeries->append(0.0f, 10000.0f); // For temp can be >1e6?

View File

@ -760,7 +760,7 @@ void SatelliteTrackerWorker::applyDeviceAOSSettings(const QString& name)
SatelliteTrackerSettings::SatelliteDeviceSettings *devSettings = m_deviceSettingsList->at(i);
if (devSettings->m_startOnAOS)
{
qDebug() << "SatelliteTrackerWorker::aos: starting acqusition";
qDebug() << "SatelliteTrackerWorker::aos: starting acquisition";
ChannelWebAPIUtils::run(devSettings->m_deviceSetIndex);
}
}

View File

@ -770,7 +770,7 @@ bool VORLocalizerGUI::handleMessage(const Message& message)
}
else
{
qDebug() << "VORLocalizerGUI::handleMessage: Got MsgReportRadial for non-existant subChannelId " << subChannelId;
qDebug() << "VORLocalizerGUI::handleMessage: Got MsgReportRadial for non-existent subChannelId " << subChannelId;
}
return true;
@ -820,7 +820,7 @@ bool VORLocalizerGUI::handleMessage(const Message& message)
}
else
{
qDebug() << "VORLocalizerGUI::handleMessage: Got MsgReportIdent for non-existant subChannelId " << subChannelId;
qDebug() << "VORLocalizerGUI::handleMessage: Got MsgReportIdent for non-existent subChannelId " << subChannelId;
}
return true;

View File

@ -529,7 +529,7 @@ bool SoapySDROutput::start()
if (needsStart)
{
qDebug("SoapySDROutput::start: (re)sart buddy thread");
qDebug("SoapySDROutput::start: (re)start buddy thread");
soapySDROutputThread->setSampleRate(m_settings.m_devSampleRate);
soapySDROutputThread->startWork();
}

View File

@ -405,13 +405,13 @@ void AaroniaRTSAInputWorker::parseConfig(QByteArray bytes)
}
else
{
qDebug() << "AaroniaRTSAInputWorker::parseConfig: document has no config obhect: " << documentObject;
qDebug() << "AaroniaRTSAInputWorker::parseConfig: document has no config object: " << documentObject;
}
}
else
{
qDebug() << "AaroniaRTSAInputWorker::parseConfig: Document is not an object: " << document;
qDebug() << "AaroniaRTSAInputWorker::parseConfig: document is not an object: " << document;
}
if (m_iqDemodName == "") {

View File

@ -137,7 +137,7 @@ bool AirspyInput::openDevice()
#endif
#ifdef LIBAIRSPY_DEFAULT_RATES
qDebug("AirspyInput::start: detault rates");
qDebug("AirspyInput::start: default rates");
m_sampleRates.clear();
m_sampleRates.push_back(10000000);
m_sampleRates.push_back(2500000);

View File

@ -369,7 +369,7 @@ bool BladeRF2Input::start()
if (needsStart)
{
qDebug("BladeRF2Input::start: enabling channel(s) and (re)sart buddy thread");
qDebug("BladeRF2Input::start: enabling channel(s) and (re)start buddy thread");
int nbChannels = bladerf2InputThread->getNbChannels();

View File

@ -115,7 +115,7 @@ bool SDRPlayV3Input::openDevice()
sdrplay_api_UnlockDeviceApi();
if ((err = sdrplay_api_GetDeviceParams(m_dev->dev, &m_devParams)) == sdrplay_api_Success)
{
qDebug() << "SDRPlayV3Input::openDevice: opened sucessfully";
qDebug() << "SDRPlayV3Input::openDevice: opened successfully";
}
else
{

View File

@ -562,7 +562,7 @@ bool SoapySDRInput::start()
if (needsStart)
{
qDebug("SoapySDRInput::start: (re)sart buddy thread");
qDebug("SoapySDRInput::start: (re)start buddy thread");
soapySDRInputThread->setSampleRate(m_settings.m_devSampleRate);
soapySDRInputThread->startWork();
}

View File

@ -126,7 +126,7 @@ static RTPErrorInfo ErrorDescriptions[] =
{ ERR_RTP_UDPV4TRANS_CANTSETRTPRECEIVEBUF, "Couldn't set the receive buffer size for the RTP socket" },
{ ERR_RTP_UDPV4TRANS_CANTSETRTPTRANSMITBUF, "Couldn't set the transmission buffer size for the RTP socket" },
{ ERR_RTP_UDPV4TRANS_COULDNTJOINMULTICASTGROUP, "Unable to join the specified multicast group" },
{ ERR_RTP_UDPV4TRANS_DIFFERENTRECEIVEMODE, "The function called doens't match the current receive mode" },
{ ERR_RTP_UDPV4TRANS_DIFFERENTRECEIVEMODE, "The function called doesn't match the current receive mode" },
{ ERR_RTP_UDPV4TRANS_ILLEGALPARAMETERS, "Illegal parameters type passed to the transmitter" },
{ ERR_RTP_UDPV4TRANS_INVALIDADDRESSTYPE, "Specified address type isn't compatible with this transmitter" },
{ ERR_RTP_UDPV4TRANS_NOLOCALIPS, "Couldn't determine the local host name since the local IP list is empty" },
@ -150,7 +150,7 @@ static RTPErrorInfo ErrorDescriptions[] =
{ ERR_RTP_UDPV6TRANS_CANTSETRTPRECEIVEBUF, "Couldn't set the receive buffer size for the RTP socket" },
{ ERR_RTP_UDPV6TRANS_CANTSETRTPTRANSMITBUF, "Couldn't set the transmission buffer size for the RTP socket" },
{ ERR_RTP_UDPV6TRANS_COULDNTJOINMULTICASTGROUP, "Unable to join the specified multicast group" },
{ ERR_RTP_UDPV6TRANS_DIFFERENTRECEIVEMODE, "The function called doens't match the current receive mode" },
{ ERR_RTP_UDPV6TRANS_DIFFERENTRECEIVEMODE, "The function called doesn't match the current receive mode" },
{ ERR_RTP_UDPV6TRANS_ILLEGALPARAMETERS, "Illegal parameters type passed to the transmitter" },
{ ERR_RTP_UDPV6TRANS_INVALIDADDRESSTYPE, "Specified address type isn't compatible with this transmitter" },
{ ERR_RTP_UDPV6TRANS_NOLOCALIPS, "Couldn't determine the local host name since the local IP list is empty" },

View File

@ -122,7 +122,7 @@ void SampleMOFifo::writeSync(
}
else if (rwDelta > m_highGuard)
{
qWarning("SampleMOFifo::write: overrrun (read too slow) dropping %d samples", m_highGuard - m_midPoint);
qWarning("SampleMOFifo::write: overrun (read too slow) dropping %d samples", m_highGuard - m_midPoint);
m_writeHead = m_readHead + m_midPoint < m_size ? m_readHead + m_midPoint : m_readHead + m_midPoint - m_size;
}
@ -200,7 +200,7 @@ void SampleMOFifo::writeAsync( //!< in place write with given amount
}
else if (rwDelta > m_highGuard)
{
qWarning("SampleMOFifo::write: overrrun on stream %u (read too slow) dropping %d samples", stream, m_highGuard - m_midPoint);
qWarning("SampleMOFifo::write: overrun on stream %u (read too slow) dropping %d samples", stream, m_highGuard - m_midPoint);
m_vWriteHead[stream] = m_vReadHead[stream] + m_midPoint < m_size ?
m_vReadHead[stream] + m_midPoint : m_vReadHead[stream] + m_midPoint - m_size;
}

View File

@ -101,7 +101,7 @@ void SampleSourceFifo::write(
}
else if (rwDelta > m_highGuard)
{
qWarning("SampleSourceFifo::write: overrrun (read too slow) dropping %d samples", m_highGuard - m_midPoint);
qWarning("SampleSourceFifo::write: overrun (read too slow) dropping %d samples", m_highGuard - m_midPoint);
m_writeHead = m_readHead + m_midPoint < m_size ? m_readHead + m_midPoint : m_readHead + m_midPoint - m_size;
}

View File

@ -40,7 +40,7 @@ void DataFifoStore::deleteElement(QObject *element)
if (i >= 0)
{
qDebug("DataFifoStore::deleteElement: delte element at %d", i);
qDebug("DataFifoStore::deleteElement: delete element at %d", i);
delete m_dataFifos[i];
m_dataFifos.removeAt(i);
}

View File

@ -40,7 +40,7 @@ void MessageQueueStore::deleteElement(QObject *element)
if (i >= 0)
{
qDebug("MessageQueueStore::deleteElement: delte element at %d", i);
qDebug("MessageQueueStore::deleteElement: delete element at %d", i);
delete m_messageQueues[i];
m_messageQueues.removeAt(i);
}

View File

@ -565,7 +565,7 @@ bool APRSPacket::parseWeather(QString& info, int& idx, bool positionLess)
case 't': // Temp
if (!parseInt(info, idx, 3, m_temp, m_hasTemp))
{
qDebug() << "Failed parseing temp: idx" << idx;
qDebug() << "Failed parsing temp: idx" << idx;
return false;
}
break;

View File

@ -372,7 +372,7 @@ bool OurAirportsDB::readFrequenciesDB(const QString &filename, QHash<int, Airpor
idx = colNames.indexOf("type");
if (idx >= 0)
typeCol = idx;
idx = colNames.indexOf("descrption");
idx = colNames.indexOf("description");
if (idx >= 0)
descriptionCol = idx;
idx = colNames.indexOf("frequency_mhz");

View File

@ -2788,7 +2788,7 @@ int WebAPIAdapter::devicesetChannelSettingsGet(
}
else
{
*error.getMessage() = QString("Ther is no channel with index %1").arg(channelIndex);
*error.getMessage() = QString("There is no channel with index %1").arg(channelIndex);
return 404;
}
@ -2800,7 +2800,7 @@ int WebAPIAdapter::devicesetChannelSettingsGet(
}
else
{
*error.getMessage() = QString("Ther is no channel with index %1").arg(channelIndex);
*error.getMessage() = QString("There is no channel with index %1").arg(channelIndex);
return 404;
}
}

View File

@ -45,7 +45,7 @@ void MainBench::run()
<< " testStr: " << m_parser.getTestStr()
<< " testType: " << (int) m_parser.getTestType()
<< " nsamples: " << m_parser.getNbSamples()
<< " repet: " << m_parser.getRepetition()
<< " repeat: " << m_parser.getRepetition()
<< " log2f: " << m_parser.getLog2Factor()
<< " file: " << m_parser.getFileName()
<< " args: " << m_parser.getArgsStr();

View File

@ -231,7 +231,7 @@ void MainBench::testFT8(const QString& wavFile, const QString& argsStr)
if (msgMap.size() != 15)
{
qDebug("MainBench::testFT8: failed: invlid size: %lu expected 15", msgMap.size());
qDebug("MainBench::testFT8: failed: invalid size: %lu expected 15", msgMap.size());
return;
}

View File

@ -79,7 +79,7 @@ GLSpectrumGUI::GLSpectrumGUI(QWidget* parent) :
QString levelStyle = QString(
"QSpinBox {background-color: rgb(79, 79, 79);}"
"QLineEdit {color: white; background-color: rgb(79, 79, 79); border: 1px solid gray; border-radius: 4px;}"
"QTooltip {color: white; background-color: balck;}"
"QTooltip {color: white; background-color: black;}"
);
ui->refLevel->setStyleSheet(levelStyle);
ui->levelRange->setStyleSheet(levelStyle);