1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00

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[] = { const QString ADSBDemodGUI::m_flightStatuses[] = {
QStringLiteral("Airbourne"), QStringLiteral("Airborne"),
QStringLiteral("On-ground"), QStringLiteral("On-ground"),
QStringLiteral("Alert, airboune"), QStringLiteral("Alert, airborne"),
QStringLiteral("Alert, on-ground"), QStringLiteral("Alert, on-ground"),
QStringLiteral("Alert, SPI"), QStringLiteral("Alert, SPI"),
QStringLiteral("SPI"), QStringLiteral("SPI"),
@ -1107,7 +1107,7 @@ void ADSBDemodGUI::handleADSB(
else else
{ {
// Ignore if not from a known aircraft, as its likely not to be a valid packet // 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; return;
} }
} }

View File

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

View File

@ -485,7 +485,7 @@ bool DATVideoRender::renderStream()
if (sws_init_context(m_swsCtx, nullptr, nullptr) < 0) 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; m_swsCtx = nullptr;
av_packet_unref(&packet); av_packet_unref(&packet);
return false; 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) 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); sws_freeContext(m_swsCtx);
m_swsCtx = nullptr; m_swsCtx = nullptr;
av_packet_unref(&packet); av_packet_unref(&packet);

View File

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

View File

@ -4465,7 +4465,7 @@ void RadioAstronomyGUI::plotRefLine(FFTMeasurement *fft)
double lineFreqMHz = ui->spectrumLineFrequency->value(); double lineFreqMHz = ui->spectrumLineFrequency->value();
double lineFreq = lineFreqMHz * 1e6; double lineFreq = lineFreqMHz * 1e6;
QString refFrame[] = {"Topocentric", "Barycentric", "LSR"}; 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->setName(QString("%1 line").arg(ui->spectrumLine->currentText()));
m_fftHlineSeries->append(0.0f, -200.0f); // For dB m_fftHlineSeries->append(0.0f, -200.0f); // For dB
m_fftHlineSeries->append(0.0f, 10000.0f); // For temp can be >1e6? 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); SatelliteTrackerSettings::SatelliteDeviceSettings *devSettings = m_deviceSettingsList->at(i);
if (devSettings->m_startOnAOS) if (devSettings->m_startOnAOS)
{ {
qDebug() << "SatelliteTrackerWorker::aos: starting acqusition"; qDebug() << "SatelliteTrackerWorker::aos: starting acquisition";
ChannelWebAPIUtils::run(devSettings->m_deviceSetIndex); ChannelWebAPIUtils::run(devSettings->m_deviceSetIndex);
} }
} }

View File

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

View File

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

View File

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

View File

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

View File

@ -369,7 +369,7 @@ bool BladeRF2Input::start()
if (needsStart) 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(); int nbChannels = bladerf2InputThread->getNbChannels();

View File

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

View File

@ -562,7 +562,7 @@ bool SoapySDRInput::start()
if (needsStart) if (needsStart)
{ {
qDebug("SoapySDRInput::start: (re)sart buddy thread"); qDebug("SoapySDRInput::start: (re)start buddy thread");
soapySDRInputThread->setSampleRate(m_settings.m_devSampleRate); soapySDRInputThread->setSampleRate(m_settings.m_devSampleRate);
soapySDRInputThread->startWork(); 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_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_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_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_ILLEGALPARAMETERS, "Illegal parameters type passed to the transmitter" },
{ ERR_RTP_UDPV4TRANS_INVALIDADDRESSTYPE, "Specified address type isn't compatible with this 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" }, { 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_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_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_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_ILLEGALPARAMETERS, "Illegal parameters type passed to the transmitter" },
{ ERR_RTP_UDPV6TRANS_INVALIDADDRESSTYPE, "Specified address type isn't compatible with this 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" }, { 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) 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; 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) 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_vWriteHead[stream] = m_vReadHead[stream] + m_midPoint < m_size ?
m_vReadHead[stream] + m_midPoint : 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) 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; 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) if (i >= 0)
{ {
qDebug("DataFifoStore::deleteElement: delte element at %d", i); qDebug("DataFifoStore::deleteElement: delete element at %d", i);
delete m_dataFifos[i]; delete m_dataFifos[i];
m_dataFifos.removeAt(i); m_dataFifos.removeAt(i);
} }

View File

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

View File

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

View File

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

View File

@ -2788,7 +2788,7 @@ int WebAPIAdapter::devicesetChannelSettingsGet(
} }
else 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; return 404;
} }
@ -2800,7 +2800,7 @@ int WebAPIAdapter::devicesetChannelSettingsGet(
} }
else 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; return 404;
} }
} }

View File

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

View File

@ -231,7 +231,7 @@ void MainBench::testFT8(const QString& wavFile, const QString& argsStr)
if (msgMap.size() != 15) 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; return;
} }

View File

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