From 34aca019e2a3d82b631d9dabf9a4004977da93dc Mon Sep 17 00:00:00 2001 From: Daniele Forsi Date: Sun, 23 Jul 2023 16:44:42 +0200 Subject: [PATCH] Fix spelling in strings --- plugins/channelrx/demodadsb/adsbdemodgui.cpp | 6 +++--- plugins/channelrx/demoddab/dabdemodsink.cpp | 2 +- plugins/channelrx/demoddatv/datvideorender.cpp | 4 ++-- plugins/channelrx/demodnavtex/navtexdemodsink.cpp | 2 +- plugins/channelrx/radioastronomy/radioastronomygui.cpp | 2 +- plugins/feature/satellitetracker/satellitetrackerworker.cpp | 2 +- plugins/feature/vorlocalizer/vorlocalizergui.cpp | 4 ++-- plugins/samplesink/soapysdroutput/soapysdroutput.cpp | 2 +- .../aaroniartsainput/aaroniartsainputworker.cpp | 4 ++-- plugins/samplesource/airspy/airspyinput.cpp | 2 +- plugins/samplesource/bladerf2input/bladerf2input.cpp | 2 +- plugins/samplesource/sdrplayv3/sdrplayv3input.cpp | 2 +- plugins/samplesource/soapysdrinput/soapysdrinput.cpp | 2 +- qrtplib/rtperrors.cpp | 4 ++-- sdrbase/dsp/samplemofifo.cpp | 4 ++-- sdrbase/dsp/samplesourcefifo.cpp | 2 +- sdrbase/pipes/datafifostore.cpp | 2 +- sdrbase/pipes/messagequeuestore.cpp | 2 +- sdrbase/util/aprs.cpp | 2 +- sdrbase/util/ourairportsdb.cpp | 2 +- sdrbase/webapi/webapiadapter.cpp | 4 ++-- sdrbench/mainbench.cpp | 2 +- sdrbench/test_ft8.cpp | 2 +- sdrgui/gui/glspectrumgui.cpp | 2 +- 24 files changed, 32 insertions(+), 32 deletions(-) diff --git a/plugins/channelrx/demodadsb/adsbdemodgui.cpp b/plugins/channelrx/demodadsb/adsbdemodgui.cpp index fd898e6d0..30a8b904b 100644 --- a/plugins/channelrx/demodadsb/adsbdemodgui.cpp +++ b/plugins/channelrx/demodadsb/adsbdemodgui.cpp @@ -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; } } diff --git a/plugins/channelrx/demoddab/dabdemodsink.cpp b/plugins/channelrx/demoddab/dabdemodsink.cpp index b4a6ffd97..526cfa2f8 100644 --- a/plugins/channelrx/demoddab/dabdemodsink.cpp +++ b/plugins/channelrx/demoddab/dabdemodsink.cpp @@ -192,7 +192,7 @@ static const char *dabLanguageCode[] = "Vietnamese", "Uzbek", "Urdu", - "Ukranian", + "Ukrainian", "Thai", "Telugu", "Tatar", diff --git a/plugins/channelrx/demoddatv/datvideorender.cpp b/plugins/channelrx/demoddatv/datvideorender.cpp index 8718307c1..12895b912 100644 --- a/plugins/channelrx/demoddatv/datvideorender.cpp +++ b/plugins/channelrx/demoddatv/datvideorender.cpp @@ -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); diff --git a/plugins/channelrx/demodnavtex/navtexdemodsink.cpp b/plugins/channelrx/demodnavtex/navtexdemodsink.cpp index 1d86d759a..eac89e944 100644 --- a/plugins/channelrx/demodnavtex/navtexdemodsink.cpp +++ b/plugins/channelrx/demodnavtex/navtexdemodsink.cpp @@ -409,7 +409,7 @@ void NavtexDemodSink::receiveBit(bool bit) } if (m_consecutiveErrors >= 5) { - //qDebug() << "Too many consequtive errors"; + //qDebug() << "Too many consecutive errors"; init(); } } diff --git a/plugins/channelrx/radioastronomy/radioastronomygui.cpp b/plugins/channelrx/radioastronomy/radioastronomygui.cpp index 83ad6ccce..4880e4a28 100644 --- a/plugins/channelrx/radioastronomy/radioastronomygui.cpp +++ b/plugins/channelrx/radioastronomy/radioastronomygui.cpp @@ -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? diff --git a/plugins/feature/satellitetracker/satellitetrackerworker.cpp b/plugins/feature/satellitetracker/satellitetrackerworker.cpp index 2380c7649..5a05cebd3 100644 --- a/plugins/feature/satellitetracker/satellitetrackerworker.cpp +++ b/plugins/feature/satellitetracker/satellitetrackerworker.cpp @@ -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); } } diff --git a/plugins/feature/vorlocalizer/vorlocalizergui.cpp b/plugins/feature/vorlocalizer/vorlocalizergui.cpp index d8361c857..fa501d43a 100644 --- a/plugins/feature/vorlocalizer/vorlocalizergui.cpp +++ b/plugins/feature/vorlocalizer/vorlocalizergui.cpp @@ -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; diff --git a/plugins/samplesink/soapysdroutput/soapysdroutput.cpp b/plugins/samplesink/soapysdroutput/soapysdroutput.cpp index 5804c4ed1..806ff17ab 100644 --- a/plugins/samplesink/soapysdroutput/soapysdroutput.cpp +++ b/plugins/samplesink/soapysdroutput/soapysdroutput.cpp @@ -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(); } diff --git a/plugins/samplesource/aaroniartsainput/aaroniartsainputworker.cpp b/plugins/samplesource/aaroniartsainput/aaroniartsainputworker.cpp index 31a849eae..fd308e722 100644 --- a/plugins/samplesource/aaroniartsainput/aaroniartsainputworker.cpp +++ b/plugins/samplesource/aaroniartsainput/aaroniartsainputworker.cpp @@ -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 == "") { diff --git a/plugins/samplesource/airspy/airspyinput.cpp b/plugins/samplesource/airspy/airspyinput.cpp index cb2a52b17..23e3e2a7c 100644 --- a/plugins/samplesource/airspy/airspyinput.cpp +++ b/plugins/samplesource/airspy/airspyinput.cpp @@ -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); diff --git a/plugins/samplesource/bladerf2input/bladerf2input.cpp b/plugins/samplesource/bladerf2input/bladerf2input.cpp index fd25ffcd0..bf3cafedc 100644 --- a/plugins/samplesource/bladerf2input/bladerf2input.cpp +++ b/plugins/samplesource/bladerf2input/bladerf2input.cpp @@ -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(); diff --git a/plugins/samplesource/sdrplayv3/sdrplayv3input.cpp b/plugins/samplesource/sdrplayv3/sdrplayv3input.cpp index dbe382fd2..68989bced 100644 --- a/plugins/samplesource/sdrplayv3/sdrplayv3input.cpp +++ b/plugins/samplesource/sdrplayv3/sdrplayv3input.cpp @@ -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 { diff --git a/plugins/samplesource/soapysdrinput/soapysdrinput.cpp b/plugins/samplesource/soapysdrinput/soapysdrinput.cpp index d18141952..91eaa718e 100644 --- a/plugins/samplesource/soapysdrinput/soapysdrinput.cpp +++ b/plugins/samplesource/soapysdrinput/soapysdrinput.cpp @@ -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(); } diff --git a/qrtplib/rtperrors.cpp b/qrtplib/rtperrors.cpp index cef5c4df9..83463e278 100644 --- a/qrtplib/rtperrors.cpp +++ b/qrtplib/rtperrors.cpp @@ -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" }, diff --git a/sdrbase/dsp/samplemofifo.cpp b/sdrbase/dsp/samplemofifo.cpp index a4bed8568..299495edd 100644 --- a/sdrbase/dsp/samplemofifo.cpp +++ b/sdrbase/dsp/samplemofifo.cpp @@ -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; } diff --git a/sdrbase/dsp/samplesourcefifo.cpp b/sdrbase/dsp/samplesourcefifo.cpp index 98147e37b..784e50e09 100644 --- a/sdrbase/dsp/samplesourcefifo.cpp +++ b/sdrbase/dsp/samplesourcefifo.cpp @@ -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; } diff --git a/sdrbase/pipes/datafifostore.cpp b/sdrbase/pipes/datafifostore.cpp index 68139fc88..9217a0b7c 100644 --- a/sdrbase/pipes/datafifostore.cpp +++ b/sdrbase/pipes/datafifostore.cpp @@ -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); } diff --git a/sdrbase/pipes/messagequeuestore.cpp b/sdrbase/pipes/messagequeuestore.cpp index 0fea3f60c..7a029a2ca 100644 --- a/sdrbase/pipes/messagequeuestore.cpp +++ b/sdrbase/pipes/messagequeuestore.cpp @@ -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); } diff --git a/sdrbase/util/aprs.cpp b/sdrbase/util/aprs.cpp index d1191733d..ca5c93274 100644 --- a/sdrbase/util/aprs.cpp +++ b/sdrbase/util/aprs.cpp @@ -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; diff --git a/sdrbase/util/ourairportsdb.cpp b/sdrbase/util/ourairportsdb.cpp index cd993e83f..6ebf3db8e 100644 --- a/sdrbase/util/ourairportsdb.cpp +++ b/sdrbase/util/ourairportsdb.cpp @@ -372,7 +372,7 @@ bool OurAirportsDB::readFrequenciesDB(const QString &filename, QHash= 0) typeCol = idx; - idx = colNames.indexOf("descrption"); + idx = colNames.indexOf("description"); if (idx >= 0) descriptionCol = idx; idx = colNames.indexOf("frequency_mhz"); diff --git a/sdrbase/webapi/webapiadapter.cpp b/sdrbase/webapi/webapiadapter.cpp index df865087c..a74ea56ff 100644 --- a/sdrbase/webapi/webapiadapter.cpp +++ b/sdrbase/webapi/webapiadapter.cpp @@ -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; } } diff --git a/sdrbench/mainbench.cpp b/sdrbench/mainbench.cpp index 2de52a416..b853da52a 100644 --- a/sdrbench/mainbench.cpp +++ b/sdrbench/mainbench.cpp @@ -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(); diff --git a/sdrbench/test_ft8.cpp b/sdrbench/test_ft8.cpp index f70c11bd5..385b33134 100644 --- a/sdrbench/test_ft8.cpp +++ b/sdrbench/test_ft8.cpp @@ -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; } diff --git a/sdrgui/gui/glspectrumgui.cpp b/sdrgui/gui/glspectrumgui.cpp index 81d94ac21..b5e43661e 100644 --- a/sdrgui/gui/glspectrumgui.cpp +++ b/sdrgui/gui/glspectrumgui.cpp @@ -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);