Skip to content

Commit 437b582

Browse files
committed
Fix a whole lot more spelling mistakes
1 parent eac78fe commit 437b582

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+108
-108
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
# Currently, GitHub-hosted runners for public repos specify 4 cores, except macOS 14+
1010
# See https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/
1111
# about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
12-
CMAKE_BUILD_PARALLEL_LEVEL: 4 # Default only; overridden where appriopriate, such as on macOS 14+ below.
12+
CMAKE_BUILD_PARALLEL_LEVEL: 4 # Default only; overridden where appropriate, such as on macOS 14+ below.
1313
QT_FORCE_STDERR_LOGGING: 1 # Make sure Qt logs errors (during Workflow runs) to console. Especially for Windows.
1414

1515
jobs:

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ endif()
9393
# Optional test coverage reporting (off by default, and only supported for some compilers).
9494
set(SUPPORTED_COVERAGE_COMPILER_IDS "AppleClang" "Clang" "GNU")
9595
if (CMAKE_CXX_COMPILER_ID IN_LIST SUPPORTED_COVERAGE_COMPILER_IDS)
96-
message(VERBOSE "Coverage reporting suported for compiler ${CMAKE_CXX_COMPILER_ID}")
96+
message(VERBOSE "Coverage reporting supported for compiler ${CMAKE_CXX_COMPILER_ID}")
9797
option(ENABLE_COVERAGE "Enable test coverage reporting" OFF)
9898
else()
99-
message(VERBOSE "Coverage reporting not suported for compiler: ${CMAKE_CXX_COMPILER_ID}")
99+
message(VERBOSE "Coverage reporting not supported for compiler: ${CMAKE_CXX_COMPILER_ID}")
100100
set(ENABLE_COVERAGE OFF)
101101
endif()
102102
if (ENABLE_COVERAGE)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Options:
158158
the set-torch command supported modes are On and Off.
159159
--new-name <name> Give the desired new name for the set-name command.
160160
--output <format> Set the format for output. Supported formats are:
161-
CSV, JSON and Text. All are case insenstitve. The
161+
CSV, JSON and Text. All are case insensitive. The
162162
default is Text.
163163
--range <range> Set the desired measurement range. Pokit devices
164164
support specific ranges, such as 0 to 300mV. Specify

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
## Reporting a Vulnerability
1111

12-
Please report security vulnerabilties via email to [email protected].
12+
Please report security vulnerabilities via email to [email protected].
1313

1414
Thanks!

doc/src/internal/notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Some notes on specific features that imply minimum CMake versions:
7676
| 2.8.11 | [`target_include_directories`](https://cmake.org/cmake/help/v2.8.11/cmake.html#command:target_include_directories) |
7777
| 2.8.11 | Has `-fPIC` issues with Qt. |
7878
| 2.8.12 | [`add_compile_options`](https://cmake.org/cmake/help/v2.8.12/cmake.html#command:add_compile_options)
79-
| 2.8.12 | Has compile isssues with Qt. |
79+
| 2.8.12 | Has compile issues with Qt. |
8080
| 3.0 | `VERSION` option of the `project()` command.
8181
| 3.1 | [Qt 5.11+](https://github.com/qt/qtbase/blob/v5.11.0/src/corelib/Qt5Config.cmake.in) |
8282
| | `target_sources` command. |

src/cli/abstractcommand.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ AbstractCommand::AbstractCommand(QObject * const parent) : QObject(parent),
4747

4848
/*!
4949
* Returns a list of CLI option names required by this command. The main console appication may
50-
* use this list to output an eror (and exit) if any of the returned names are not found in the
50+
* use this list to output an error (and exit) if any of the returned names are not found in the
5151
* parsed CLI options.
5252
*
5353
* The (already parsed) \a parser may be used adjust the returned required options depending on the
@@ -141,7 +141,7 @@ template<typename R> constexpr Ratio makeRatio() { return Ratio{ R::num, R::den
141141
* const quint32 timeout = parseNumber<std::milli>(parser.value("window"), 's', 500'000);
142142
* ```
143143
*
144-
* So that an unqalified period like "300" will be assumed to be 300 milliseconds, and not 300
144+
* So that an unqualified period like "300" will be assumed to be 300 milliseconds, and not 300
145145
* microseconds, while a period like "1000" will be assume to be 1 second.
146146
*
147147
* If conversion fails for any reason, 0 is returned.
@@ -246,7 +246,7 @@ DOKIT_INSTANTIATE_TEMPLATE_FUNCTION(std::atto);
246246
*
247247
* This base implementations performs some common checks, such as ensuring that required options are
248248
* present. Derived classes should override this function to perform further processing, typically
249-
* inovking this base implementation as a first step, such as:
249+
* invoking this base implementation as a first step, such as:
250250
*
251251
* ```
252252
* QStringList CustomCommand::processOptions(const QCommandLineParser &parser)
@@ -339,7 +339,7 @@ QStringList AbstractCommand::processOptions(const QCommandLineParser &parser)
339339
* \fn virtual void AbstractCommand::deviceDiscoveryFinished() = 0
340340
*
341341
* Handles PokitDiscoveryAgent::deviceDiscoveryFinished signal. Derived classes must
342-
* implement this slot to perform whatever actions are appropraite when discovery is finished.
342+
* implement this slot to perform whatever actions are appropriate when discovery is finished.
343343
* For example, the 'scan' command would simply exit, whereas most other commands would verify that
344344
* an appropriate device was found.
345345
*/

src/cli/abstractcommand.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public slots:
4141

4242
protected:
4343
QString deviceToScanFor; ///< Device (if any) that were passed to processOptions().
44-
PokitDiscoveryAgent * discoveryAgent; ///< Agent for Pokit device descovery.
44+
PokitDiscoveryAgent * discoveryAgent; ///< Agent for Pokit device discovery.
4545
OutputFormat format { OutputFormat::Text }; ///< Selected output format.
4646
static Q_LOGGING_CATEGORY(lc, "dokit.cli.command", QtInfoMsg); ///< Logging category for UI commands.
4747

src/cli/calibratecommand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void CalibrateCommand::serviceDetailsDiscovered()
9090
{
9191
Q_ASSERT(service);
9292
DeviceCommand::serviceDetailsDiscovered(); // Just logs consistently.
93-
qCInfo(lc).noquote() << tr("Calibrating temperature at %1 degrees celcius...").arg(temperature);
93+
qCInfo(lc).noquote() << tr("Calibrating temperature at %1 degrees celsius...").arg(temperature);
9494
if (!service->calibrateTemperature(0)) {
9595
QCoreApplication::exit(EXIT_FAILURE);
9696
}

src/cli/calibratecommand.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected slots:
2525
void serviceDetailsDiscovered() override;
2626

2727
private:
28-
CalibrationService * service { nullptr }; ///< Bluetooth service this command interracts with.
28+
CalibrationService * service { nullptr }; ///< Bluetooth service this command interacts with.
2929
float temperature { std::numeric_limits<float>::quiet_NaN() }; ///< Ambient temperature from the CLI options.
3030

3131
private slots:

src/cli/devicecommand.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ void DeviceCommand::controllerError(QLowEnergyController::Error error)
296296
}
297297

298298
/*!
299-
* Handles devics disconnection events. This base implementation simply logs and exits the
299+
* Handles device disconnection events. This base implementation simply logs and exits the
300300
* application (via QCoreApplication::exit) with the current exitCodeOnDisconnect value, which is
301301
* initialise to `EXIT_FAILURE` in the constructor, but should be set to `EXIT_SUCESS` if/when
302302
* the derived command class has completed its actions and requested the disconnection (as opposed
@@ -334,7 +334,7 @@ void DeviceCommand::serviceDetailsDiscovered()
334334
}
335335

336336
/*!
337-
* Checks if \a info is the device (if any) we're looking for, and if so, create a contoller and
337+
* Checks if \a info is the device (if any) we're looking for, and if so, create a controller and
338338
* service, and begins connecting to the device.
339339
*/
340340
void DeviceCommand::deviceDiscovered(const QBluetoothDeviceInfo &info)

0 commit comments

Comments
 (0)