[utilities/krusader] /: Fix various typos
Toni Asensi Esteve
null at kde.org
Sun Oct 12 22:07:57 BST 2025
Git commit 2e58ad036587d616cd9989cb4c18273fc8da56e2 by Toni Asensi Esteve, on behalf of Kunda Ki.
Committed on 12/10/2025 at 21:07.
Pushed by asensi into branch 'master'.
Fix various typos
Found via:
`codespell -S "./po,*.appdata.xml,*.desktop,*.po,./src/3rdparty" -L als,caf,checkin,childrens,childs,commun,currentry,datas,entrys,finaly,groupin,hsi,indexin,leadin,listin,ot,pard,parms,searchin,siz,som,ue,te`
Some source changes are also included.
M +2 -2 app/ActionMan/actionproperty.h
M +2 -2 app/ActionMan/addplaceholderpopup.h
M +1 -1 app/Dialogs/krdialogs.cpp
M +1 -1 app/Dialogs/krspecialwidgets.cpp
M +1 -1 app/DiskUsage/radialMap/labels.cpp
M +1 -1 app/FileSystem/defaultfilesystem.h
M +2 -2 app/KViewer/krviewer.cpp
M +1 -1 app/Panel/krcolorcache.cpp
M +1 -1 app/Synchronizer/synchronizerfileitem.h
M +2 -2 app/UserAction/expander.h
M +2 -2 app/UserAction/kraction.cpp
M +1 -1 app/UserAction/kraction.h
M +1 -1 app/krusader.h
M +1 -1 app/paneltabbar.cpp
M +3 -1 doc/handbook/help.docbook
https://invent.kde.org/utilities/krusader/-/commit/2e58ad036587d616cd9989cb4c18273fc8da56e2
diff --git a/app/ActionMan/actionproperty.h b/app/ActionMan/actionproperty.h
index 2aa0fb4e9..475db508e 100644
--- a/app/ActionMan/actionproperty.h
+++ b/app/ActionMan/actionproperty.h
@@ -34,7 +34,7 @@ public:
* This inits the widget with the actions properties.
* If no action is provided, the last used will be taken!
* It also resets the changed() state.
- * @param action the action which should be displayd
+ * @param action the action which should be displayed
*/
void updateGUI(KrAction *action = nullptr);
@@ -127,7 +127,7 @@ protected slots:
*/
void editFile();
/**
- * (availability) removes a file-filter from the lsit
+ * (availability) removes a file-filter from the list
*/
void removeFile();
diff --git a/app/ActionMan/addplaceholderpopup.h b/app/ActionMan/addplaceholderpopup.h
index fde93028d..1df87dbc5 100644
--- a/app/ActionMan/addplaceholderpopup.h
+++ b/app/ActionMan/addplaceholderpopup.h
@@ -136,7 +136,7 @@ private slots:
};
/**
- * A Checkbox, default: checked; retuns "No" if unchecked
+ * A Checkbox, default: checked; returns "No" if unchecked
* used with default = "__yes"
*/
class ParameterYes : public ParameterBase
@@ -153,7 +153,7 @@ private:
};
/**
- * A Checkbox, default: unchecked; retuns "Yes" if checked
+ * A Checkbox, default: unchecked; returns "Yes" if checked
* used with default = "__no"
*/
class ParameterNo : public ParameterBase
diff --git a/app/Dialogs/krdialogs.cpp b/app/Dialogs/krdialogs.cpp
index c4fc2bf37..5e9f05053 100644
--- a/app/Dialogs/krdialogs.cpp
+++ b/app/Dialogs/krdialogs.cpp
@@ -170,7 +170,7 @@ KrGetDate::KrGetDate(QDate date, QWidget *parent)
connect(dateWidget, &KDatePicker::dateSelected, this, &KrGetDate::setDate);
connect(dateWidget, &KDatePicker::dateEntered, this, &KrGetDate::setDate);
- // keep the original date - incase ESC is pressed
+ // keep the original date - in case ESC is pressed
originalDate = date;
}
diff --git a/app/Dialogs/krspecialwidgets.cpp b/app/Dialogs/krspecialwidgets.cpp
index 6670081fb..02dc8c44a 100644
--- a/app/Dialogs/krspecialwidgets.cpp
+++ b/app/Dialogs/krspecialwidgets.cpp
@@ -99,7 +99,7 @@ void KrFSDisplay::paintEvent(QPaintEvent *)
paint.setFont(font);
paint.drawText(margins.left() + 10, margins.top() + 37, '(' + realName + ')');
- if (mounted) { // incase the filesystem is already mounted
+ if (mounted) { // in case the filesystem is already mounted
// second, the capacity
paint.drawText(margins.left() + 10, margins.top() + 70, i18n("Capacity: %1", KIO::convertSizeFromKiB(totalSpace)));
// third, the 2 boxes (used, free)
diff --git a/app/DiskUsage/radialMap/labels.cpp b/app/DiskUsage/radialMap/labels.cpp
index ad85bf379..e280e5548 100644
--- a/app/DiskUsage/radialMap/labels.cpp
+++ b/app/DiskUsage/radialMap/labels.cpp
@@ -212,7 +212,7 @@ void RadialMap::Widget::paintExplodedLabels(QPainter &paint) const
}
}
- // 4. determine label co-ordinates
+ // 4. determine label coordinates
int x1, y1, x2, y2, x3, tx, ty; // coords
double sinra, cosra, ra; // angles
diff --git a/app/FileSystem/defaultfilesystem.h b/app/FileSystem/defaultfilesystem.h
index 5af104af1..aadaec463 100644
--- a/app/FileSystem/defaultfilesystem.h
+++ b/app/FileSystem/defaultfilesystem.h
@@ -79,7 +79,7 @@ protected slots:
void slotAddFiles(KIO::Job *job, const KIO::UDSEntryList &entries);
/// URL redirection signal from dir lister
void slotRedirection(KIO::Job *job, const QUrl &url);
- // React to filesystem changes nofified by watcher
+ // React to filesystem changes notified by watcher
// NOTE: the path parameter can be the directory itself or files in this directory
void slotWatcherCreated(const QString &path);
void slotWatcherDirty(const QString &path);
diff --git a/app/KViewer/krviewer.cpp b/app/KViewer/krviewer.cpp
index bc38b2201..655035dc7 100644
--- a/app/KViewer/krviewer.cpp
+++ b/app/KViewer/krviewer.cpp
@@ -145,13 +145,13 @@ KrViewer::KrViewer(QWidget *parent)
tabNextAction = ac->addAction("nextTab", this, SLOT(nextTab()));
tabNextAction->setText(i18n("&Next Tab"));
shortcuts = KStandardShortcut::tabNext();
- shortcuts.append(Qt::CTRL | Qt::Key_Tab); // reenforce QTabWidget shortcut
+ shortcuts.append(Qt::CTRL | Qt::Key_Tab); // reinforce QTabWidget shortcut
ac->setDefaultShortcuts(tabNextAction, shortcuts);
tabPrevAction = ac->addAction("prevTab", this, SLOT(prevTab()));
tabPrevAction->setText(i18n("&Previous Tab"));
shortcuts = KStandardShortcut::tabPrev();
- shortcuts.append(Qt::CTRL | Qt::SHIFT | Qt::Key_Tab); // reenforce QTabWidget shortcut
+ shortcuts.append(Qt::CTRL | Qt::SHIFT | Qt::Key_Tab); // reinforce QTabWidget shortcut
ac->setDefaultShortcuts(tabPrevAction, shortcuts);
tabWidget.setTabsClosable(true);
diff --git a/app/Panel/krcolorcache.cpp b/app/Panel/krcolorcache.cpp
index fdf96fdf8..55ebc1834 100644
--- a/app/Panel/krcolorcache.cpp
+++ b/app/Panel/krcolorcache.cpp
@@ -347,7 +347,7 @@ const KrColorItemType &KrColorItemType::operator=(const KrColorItemType &src)
}
/*
-KrColorCache implementation. Contains the KrColorSettings used for teh calculation and the cache for the results.
+KrColorCache implementation. Contains the KrColorSettings used for the calculation and the cache for the results.
getColors is the only method to call. All other are taken from the previous versions.
*/
class KrColorCacheImpl
diff --git a/app/Synchronizer/synchronizerfileitem.h b/app/Synchronizer/synchronizerfileitem.h
index 505e4228e..d2806deb0 100644
--- a/app/Synchronizer/synchronizerfileitem.h
+++ b/app/Synchronizer/synchronizerfileitem.h
@@ -15,7 +15,7 @@
typedef enum {
TT_EQUALS = 0, // the files are equals -> do nothing
- TT_DIFFERS = 1, // the files are differents -> don't know what to do
+ TT_DIFFERS = 1, // the files are different -> don't know what to do
TT_COPY_TO_LEFT = 2, // the right file is newer -> copy from right to left
TT_COPY_TO_RIGHT = 3, // the left file is newer -> copy from left to right
TT_DELETE = 4, // the left file is single -> delete it
diff --git a/app/UserAction/expander.h b/app/UserAction/expander.h
index 2d7147f2c..0dbceee9e 100644
--- a/app/UserAction/expander.h
+++ b/app/UserAction/expander.h
@@ -173,7 +173,7 @@ private:
* (children are the parameter in the right order):
* - Placeholders for Krusaders panel-data (panel-indicator has to be 'a', 'o', 'r' or 'l')
* - @em Path is replaced by the panel's path
- * - @em Count is replaced by a nomber of
+ * - @em Count is replaced by a number of
* -# Either "All", "Files", "Dirs", "Selected"
* .
* - @em Filter is preplaced by the panels filter-mask (ex: "*.cpp *.h")
@@ -270,7 +270,7 @@ protected:
*
* @param stringToExpand the commandline with the placeholder
* @param useUrl true if the path's should be expanded to an URL instead of an local path
- * @return the expanded commanline for the current item
+ * @return the expanded commandline for the current item
*/
TagString expandCurrent(const QString &stringToExpand, bool useUrl);
/**
diff --git a/app/UserAction/kraction.cpp b/app/UserAction/kraction.cpp
index 43c3c2aee..13129187f 100644
--- a/app/UserAction/kraction.cpp
+++ b/app/UserAction/kraction.cpp
@@ -251,7 +251,7 @@ void KrActionProc::start(QStringList cmdLineList)
for (QStringList::Iterator it = cmdLineList.begin(); it != cmdLineList.end(); ++it) {
if (!cmd.isEmpty())
cmd += " ; "; // TODO make this separator configurable (users may want && or ||)
- // TODO: read header fom config or action-properties and place it on top of each command
+ // TODO: read header from config or action-properties and place it on top of each command
if (cmdLineList.count() > 1)
cmd += "echo --------------------------------------- ; ";
cmd += *it;
@@ -359,7 +359,7 @@ KrAction::~KrAction()
const auto widgets = associatedObjects();
for (QObject *w : widgets)
qobject_cast<QWidget *>(w)->removeAction(this);
- krUserAction->removeKrAction(this); // Importent! Else Krusader will crash when writing the actions to file
+ krUserAction->removeKrAction(this); // Important! Else Krusader will crash when writing the actions to file
}
bool KrAction::isAvailable(const QUrl ¤tURL)
diff --git a/app/UserAction/kraction.h b/app/UserAction/kraction.h
index a749085ef..1d10185f6 100644
--- a/app/UserAction/kraction.h
+++ b/app/UserAction/kraction.h
@@ -41,7 +41,7 @@ public:
~KrAction() override;
/**
- * This chekcs if the KrAction is for a specific file / location available
+ * This checks if the KrAction is for a specific file / location available
* @param currentURL Check for this file
* @return true if the KrAction if available
*/
diff --git a/app/krusader.h b/app/krusader.h
index baed10588..9e8dc1b7f 100644
--- a/app/krusader.h
+++ b/app/krusader.h
@@ -137,7 +137,7 @@ public:
static QString AppName; // the name of the application
PopularUrls *_popularUrls; // holds a sorted list of the most popular urls visited
- // the internal progress bar variales + functions
+ // the internal progress bar variables + functions
KrPleaseWaitHandler *plzWait;
void startWaiting(QString msg = "Please Wait", int count = 0, bool cancel = false);
void stopWait();
diff --git a/app/paneltabbar.cpp b/app/paneltabbar.cpp
index 88e776217..f728d79f5 100644
--- a/app/paneltabbar.cpp
+++ b/app/paneltabbar.cpp
@@ -97,7 +97,7 @@ int PanelTabBar::addPanel(ListPanel *panel, bool setCurrent, int insertIndex)
panel->setPinnedUrl(virtualPath);
const QString text = squeeze(virtualPath);
// In the help about `insertTab()` it's written that it inserts a new tab at
- // position `index`. If `index` is out of range, the new tab is appened. Returns
+ // position `index`. If `index` is out of range, the new tab is appended. Returns
// the new tab's index
insertIndex = insertTab(insertIndex, text);
diff --git a/doc/handbook/help.docbook b/doc/handbook/help.docbook
index 6a9244d1a..cc0891d49 100644
--- a/doc/handbook/help.docbook
+++ b/doc/handbook/help.docbook
@@ -15,7 +15,9 @@
hesitate to contact us; every OpenSource can use some help.
Please also check the <ulink url="https://krusader.org/get-involved/index.html">contribute</ulink> donate &URL; page on our
website for more recent information. Thanks!</para>
- <para>To get contributor account and commit changes to &krusader; by yourselves you should follow <ulink url="https://community.kde.org/Infrastructure/Get_a_Developer_Account">this tutorial</ulink>. Some useful advices on using &kde; Git can be found <ulink url="https://community.kde.org/Infrastructure/Git">here</ulink>. It is a good practice to use <ulink url="https://invent.kde.org/utilities/krusader/-/merge_requests">merge requests</ulink> for the non-trivial patches.
+ <para>To get contributor account and commit changes to &krusader; by yourselves you should follow <ulink url="https://community.kde.org/Infrastructure/Get_a_Developer_Account">this tutorial</ulink>.
+ Some useful advice on using &kde; Git can be found <ulink url="https://community.kde.org/Infrastructure/Git">here</ulink>. It is a good practice to use <ulink url="https://invent.kde.org/utilities/krusader/-/merge_requests">merge requests</ulink>
+ for the non-trivial patches.
</para>
<para>
<emphasis role="bold">Documentation</emphasis>
More information about the kde-doc-english
mailing list