From ddc0c4b4650d5f066f7b982a85d3904ccad8329e Mon Sep 17 00:00:00 2001
From: Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
Date: Fri, 21 Mar 2025 09:25:28 +0100
Subject: [PATCH] Fix typos found by codespell
---
cmake/FindPCSC.cmake | 2 +-
docs/topics/DatabaseOperations.adoc | 2 +-
share/translations/keepassxc_en.ts | 6 +++---
src/gui/Application.cpp | 2 +-
src/gui/dbsettings/DatabaseSettingsWidgetGeneral.ui | 4 ++--
src/gui/wizard/ImportWizardPageSelect.ui | 2 +-
src/quickunlock/TouchID.mm | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/cmake/FindPCSC.cmake b/cmake/FindPCSC.cmake
index d37b269df..c43487700 100644
--- a/cmake/FindPCSC.cmake
+++ b/cmake/FindPCSC.cmake
@@ -24,7 +24,7 @@ if(NOT PCSC_FOUND)
# Additional search paths for Windows if not running in Visual Studio environment
if (WIN32)
- # Resolve the ambiguity of using two names for one architechture
+ # Resolve the ambiguity of using two names for one architecture
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "x64")
set(ARCH_DIR "x64")
else()
diff --git a/docs/topics/DatabaseOperations.adoc b/docs/topics/DatabaseOperations.adoc
index b49d7378f..ccd264b52 100644
--- a/docs/topics/DatabaseOperations.adoc
+++ b/docs/topics/DatabaseOperations.adoc
@@ -375,7 +375,7 @@ image::database_settings.png[]
* *Database name:* This is the default identifier for your database and is shown in the tab bar and title bar (when active). You can change this name as desired.
* *Database description:* Provide some meaningful description for your database.
* *Default username:* Provide a default username for all new entries that you create in this database.
- * *Public Databse Metadata:* Here you can set a public (unencrypted) name, icon, and color for your database. This is used on the database unlock screen to help distinguish multiple databases from each other.
+ * *Public Database Metadata:* Here you can set a public (unencrypted) name, icon, and color for your database. This is used on the database unlock screen to help distinguish multiple databases from each other.
* *Max history items:* This is the maximum number of history items that are stored for each entry. When you set this to 0, no history will be saved. Set this value to a low value to prevent the database from getting too large (we recommend no more than 10).
* *Max. history size:* When the history of an entry gets above this size, it is truncated. For example, this happens when entries have large attachments. Set this value small to prevent the database from getting too large (we recommend 6 MiB).
* *Use recycle bin:* Select this check-box if you want deleted entries to move to the recycle bin instead of being permanently removed. The recycle bin will be created if it does not already exist after your first deletion. To delete entries permanently, you must empty the recycle bin manually.
diff --git a/share/translations/keepassxc_en.ts b/share/translations/keepassxc_en.ts
index 301d888ff..26076731e 100644
--- a/share/translations/keepassxc_en.ts
+++ b/share/translations/keepassxc_en.ts
@@ -2242,7 +2242,7 @@ removed from the database.
- Publically visible display name used on the unlock dialog
+ Publicly visible display name used on the unlock dialog
@@ -2254,7 +2254,7 @@ removed from the database.
- Publically visible color used on the unlock dialog
+ Publicly visible color used on the unlock dialog
@@ -4810,7 +4810,7 @@ get DatabaseOnRemote.kdbx {TEMP_DATABASE}
exit
---
{TEMP_DATABASE} is used as placeholder to store the database in a temporary location
-The command has to exit. In case of `sftp` as last commend `exit` has to be sent
+The command has to exit. In case of `sftp` as last command `exit` has to be sent
diff --git a/src/gui/Application.cpp b/src/gui/Application.cpp
index 01553ad91..a533172bd 100644
--- a/src/gui/Application.cpp
+++ b/src/gui/Application.cpp
@@ -113,7 +113,7 @@ Application::Application(int& argc, char** argv)
.toUtf8()
.constData();
- // forceably reset the lock file
+ // forcibly reset the lock file
m_lockFile->removeStaleLockFile();
m_lockFile->tryLock();
// start the listen server
diff --git a/src/gui/dbsettings/DatabaseSettingsWidgetGeneral.ui b/src/gui/dbsettings/DatabaseSettingsWidgetGeneral.ui
index 324ae6d3d..1dc9fda79 100644
--- a/src/gui/dbsettings/DatabaseSettingsWidgetGeneral.ui
+++ b/src/gui/dbsettings/DatabaseSettingsWidgetGeneral.ui
@@ -125,7 +125,7 @@
- Publically visible display name used on the unlock dialog
+ Publicly visible display name used on the unlock dialogDatabase public display name
@@ -150,7 +150,7 @@
- Publically visible color used on the unlock dialog
+ Publicly visible color used on the unlock dialogDatabase public display color chooser
diff --git a/src/gui/wizard/ImportWizardPageSelect.ui b/src/gui/wizard/ImportWizardPageSelect.ui
index ca37fec71..72ce621c8 100644
--- a/src/gui/wizard/ImportWizardPageSelect.ui
+++ b/src/gui/wizard/ImportWizardPageSelect.ui
@@ -292,7 +292,7 @@ get DatabaseOnRemote.kdbx {TEMP_DATABASE}
exit
---
{TEMP_DATABASE} is used as placeholder to store the database in a temporary location
-The command has to exit. In case of `sftp` as last commend `exit` has to be sent
+The command has to exit. In case of `sftp` as last command `exit` has to be sent
diff --git a/src/quickunlock/TouchID.mm b/src/quickunlock/TouchID.mm
index 6368d7e6b..f7ea18014 100644
--- a/src/quickunlock/TouchID.mm
+++ b/src/quickunlock/TouchID.mm
@@ -139,7 +139,7 @@ bool TouchID::setKey(const QUuid& dbUuid, const QByteArray& passwordKey, const b
// At least on a Hackintosh the enrolled-check does not work, there LAErrorBiometryNotAvailable gets returned instead of
// LAErrorBiometryNotEnrolled.
//
- // Thats kinda unfortunate, because now you cannot know for sure if TouchID hardware is either temporarily unavailable or not present
+ // That's kinda unfortunate, because now you cannot know for sure if TouchID hardware is either temporarily unavailable or not present
// at all, because LAErrorBiometryNotAvailable is used for both cases.
//
// So to make quick unlock fallbacks possible on these machines you have to try to save the key a second time without this flag, if the