[office/calligraplan] /: Cleanup: fix various typos

Kunda Ki null at kde.org
Sun Sep 28 18:15:32 BST 2025


Git commit cbf0cb650b5eebd80b74aa3dec118f34d3e96e7b by Kunda Ki.
Committed on 22/09/2025 at 20:03.
Pushed by tfella into branch 'master'.

Cleanup: fix various typos
Fixes user-facing and non-user-facing typos

Found via `codespell -S "*.actions,*.appdata.xml,*.desktop,*.json,*.kksrc,*.metainfo.xml,*.notifyrc,*.po,./po,*.xml" -L accountat,annote,buis,childrens,claus,collapsable,doubleclick,filetest,flate,fo,importend,indexin,indx,infor,markey,mis,nd,ontop,optionall,ot,previousy,propt,te,ue,virtualy,wel`

M  +2    -2    doc/portfolio/performanceview.docbook
M  +3    -3    src/convert/README
M  +1    -1    src/libs/kernel/KPlatoXmlLoaderBase.cpp
M  +1    -1    src/libs/kernel/kpttask.cpp
M  +1    -1    src/libs/main/KoFilterGraph.cpp
M  +1    -1    src/libs/models/kptitemmodelbase.cpp
M  +1    -1    src/libs/models/reportgenerator/ReportGenerator.h
M  +2    -2    src/libs/ui/gantt/DateTimeTimeLine.cpp
M  +1    -1    src/libs/ui/kptdependencyeditor.cpp
M  +1    -1    src/libs/widgetutils/Help.h
M  +1    -1    src/plan/kptbuiltinschedulerplugin.cpp
M  +1    -1    src/plan/tests/InsertProjectTester.cpp
M  +1    -1    src/plugins/schedulers/tj/taskjuggler/Resource.h
M  +1    -1    src/portfolio/MainDocument.cpp
M  +1    -1    src/portfolio/MainDocument.h
M  +1    -1    src/portfolio/PortfolioModel.cpp
M  +1    -1    src/portfolio/ResourceUsageView.cpp
M  +1    -1    src/workpackage/main.cpp

https://invent.kde.org/office/calligraplan/-/commit/cbf0cb650b5eebd80b74aa3dec118f34d3e96e7b

diff --git a/doc/portfolio/performanceview.docbook b/doc/portfolio/performanceview.docbook
index 50c66381a..5beebff1a 100644
--- a/doc/portfolio/performanceview.docbook
+++ b/doc/portfolio/performanceview.docbook
@@ -1,5 +1,5 @@
-<chapter id="perfomance"><title>Performance</title>
-<sect1 id="perfomance-description"><title>Description</title>
+<chapter id="performance"><title>Performance</title>
+<sect1 id="performance-description"><title>Description</title>
   &WORK-IN-PROGRESS;
   <para>
   Shows charts of the performance of selected project.
diff --git a/src/convert/README b/src/convert/README
index 319b04d01..58ed73e05 100644
--- a/src/convert/README
+++ b/src/convert/README
@@ -14,9 +14,9 @@ See test files in testdata.
 
 Note that the MS .mpd files (database files) need a java-odbc bridge which I don't think is available on linux.
 
-Dependecies
------------
-To run anything you need a  jave runtime environment, version 8
+Dependencies
+------------
+To run anything you need a java runtime environment, version 8
 e.g: openjdk-8-jre for ubuntu systems.
 
 This is also needed to run filters.
diff --git a/src/libs/kernel/KPlatoXmlLoaderBase.cpp b/src/libs/kernel/KPlatoXmlLoaderBase.cpp
index 6cb62ebb6..128ae0919 100644
--- a/src/libs/kernel/KPlatoXmlLoaderBase.cpp
+++ b/src/libs/kernel/KPlatoXmlLoaderBase.cpp
@@ -603,7 +603,7 @@ bool KPlatoXmlLoaderBase::load(Relation *relation, const KoXmlElement &element,
         return false;
     }
     if (! relation->parent()->legalToLink(relation->child())) {
-        warnPlanXml<<"Realation is not legal:"<<relation->parent()->name()<<"->"<<relation->child()->name();
+        warnPlanXml<<"Relation is not legal:"<<relation->parent()->name()<<"->"<<relation->child()->name();
         return false;
     }
     relation->setType(element.attribute(QStringLiteral("type")));
diff --git a/src/libs/kernel/kpttask.cpp b/src/libs/kernel/kpttask.cpp
index fd9db420d..bf04cc3b6 100644
--- a/src/libs/kernel/kpttask.cpp
+++ b/src/libs/kernel/kpttask.cpp
@@ -328,7 +328,7 @@ void Task::copyAppointmentsFromParentSchedule(const DateTime &start, const DateT
         }
         Appointment app;
         app.setIntervals(lst);
-        m_currentSchedule->logDebug(QStringLiteral("%1: Appontments to be added: %2 - %3").arg(r->name()).arg(app.startTime().toString()).arg(app.endTime().toString()));
+        m_currentSchedule->logDebug(QStringLiteral("%1: Appointments to be added: %2 - %3").arg(r->name()).arg(app.startTime().toString()).arg(app.endTime().toString()));
         //debugPlan<<"Add appointments:"<<app;
         curr->merge(app);
         //debugPlan<<"Appointments added";
diff --git a/src/libs/main/KoFilterGraph.cpp b/src/libs/main/KoFilterGraph.cpp
index 6bcdede04..70a9c42c9 100644
--- a/src/libs/main/KoFilterGraph.cpp
+++ b/src/libs/main/KoFilterGraph.cpp
@@ -168,7 +168,7 @@ void Graph::shortestPaths()
     if (!from)
         return;
 
-    // Inititalize start vertex
+    // Initialize start vertex
     from->setKey(0);
 
     // Fill the priority queue with all the vertices
diff --git a/src/libs/models/kptitemmodelbase.cpp b/src/libs/models/kptitemmodelbase.cpp
index b4b2bb29c..1666394c4 100644
--- a/src/libs/models/kptitemmodelbase.cpp
+++ b/src/libs/models/kptitemmodelbase.cpp
@@ -85,7 +85,7 @@ bool ItemDelegate::eventFilter(QObject *object, QEvent *event)
 
 QSize ItemDelegate::sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const
 {
-    // Decoration (like basline icon) increases height so check height of column 0 in case...
+    // Decoration (like baseline icon) increases height so check height of column 0 in case...
     QSize s = QStyledItemDelegate::sizeHint(option, index);
     return QSize(s.width(), qMax(s.height(), QStyledItemDelegate::sizeHint(option, index.sibling(index.row(), 0)).height()));
 }
diff --git a/src/libs/models/reportgenerator/ReportGenerator.h b/src/libs/models/reportgenerator/ReportGenerator.h
index 5c177115d..538a1111c 100644
--- a/src/libs/models/reportgenerator/ReportGenerator.h
+++ b/src/libs/models/reportgenerator/ReportGenerator.h
@@ -53,7 +53,7 @@ public:
     QString lastError() const;
 
 protected:
-    /// Re-implement this to initate your report generator
+    /// Re-implement this to initiate your report generator
     virtual bool initiateInternal();
 
     QAbstractItemModel *projectsModel(ItemModelBase *base) const;
diff --git a/src/libs/ui/gantt/DateTimeTimeLine.cpp b/src/libs/ui/gantt/DateTimeTimeLine.cpp
index 24cf6d80a..59ba9c7ff 100644
--- a/src/libs/ui/gantt/DateTimeTimeLine.cpp
+++ b/src/libs/ui/gantt/DateTimeTimeLine.cpp
@@ -44,9 +44,9 @@ using namespace KPlato;
  * 
  * The datetime can be set using setDateTime().
  * 
- * The timeline can priodically moved to the current datetime
+ * The timeline can be periodically moved to the current datetime
  * by setting the interval > 0 with setInterval().
- * Setting a zero interval turns the periodically update off.
+ * Setting a zero interval turns the periodic update off.
  * 
  * The timeline is off by default.
  *
diff --git a/src/libs/ui/kptdependencyeditor.cpp b/src/libs/ui/kptdependencyeditor.cpp
index 47dcda0f2..738b0eb1a 100644
--- a/src/libs/ui/kptdependencyeditor.cpp
+++ b/src/libs/ui/kptdependencyeditor.cpp
@@ -2477,7 +2477,7 @@ void DependencyEditor::updateActionsEnabled(bool on)
         return;
     }
     if (!m_currentnode) {
-        // alow adding to project
+        // allow adding to project
         menuAddTask->setEnabled(true);
         actionAddTask->setEnabled(true);
         actionAddMilestone->setEnabled(true);
diff --git a/src/libs/widgetutils/Help.h b/src/libs/widgetutils/Help.h
index 605878582..935b81c0d 100644
--- a/src/libs/widgetutils/Help.h
+++ b/src/libs/widgetutils/Help.h
@@ -81,7 +81,7 @@ public:
 
     /// Used when getting docs form docs.kde.org
     /// We try to find the correct language but unfortunately
-    /// the docs are not stored excactly under a locale name.
+    /// the docs are not stored exactly under a locale name.
     void setDocLanguage(const QString &doc, const QString &language);
     QString language(const QString &doc) const;
 
diff --git a/src/plan/kptbuiltinschedulerplugin.cpp b/src/plan/kptbuiltinschedulerplugin.cpp
index 188ed5c43..527e830ae 100644
--- a/src/plan/kptbuiltinschedulerplugin.cpp
+++ b/src/plan/kptbuiltinschedulerplugin.cpp
@@ -322,7 +322,7 @@ void KPlatoScheduler::mergeProject(Project *calculatedProject, Project *original
             originalProject->addSchedule(sch);
             newManager->setExpected(sch);
         } else {
-            // re-calculating existing schedule, need to remove old schedule form tasks abd resources first
+            // re-calculating existing schedule, need to remove old schedule form tasks and resources first
             const auto tasks = originalProject->allNodes();
             for (auto t : tasks) {
                 if (t->type() == KPlato::Node::Type_Project) {
diff --git a/src/plan/tests/InsertProjectTester.cpp b/src/plan/tests/InsertProjectTester.cpp
index ddfe18a89..d68aaa2a6 100644
--- a/src/plan/tests/InsertProjectTester.cpp
+++ b/src/plan/tests/InsertProjectTester.cpp
@@ -63,7 +63,7 @@ void InsertProjectTester::testAccount()
 
     Account *parent = addAccount(fromDocB, nullptr, QStringLiteral("Parent Account"));
     QCOMPARE(fromDocB.getProject().accounts().accountCount(), 1);
-    addAccount(fromDocB, parent, "Child acount");
+    addAccount(fromDocB, parent, "Child account");
     QCOMPARE(fromDocB.getProject().accounts().accountCount(), 1);
     QCOMPARE(parent->childCount(), 1);
 
diff --git a/src/plugins/schedulers/tj/taskjuggler/Resource.h b/src/plugins/schedulers/tj/taskjuggler/Resource.h
index f754733ae..3d6e9c53e 100644
--- a/src/plugins/schedulers/tj/taskjuggler/Resource.h
+++ b/src/plugins/schedulers/tj/taskjuggler/Resource.h
@@ -143,7 +143,7 @@ public:
                           const Task* task = nullptr) const;
 
     /***
-     * Return the unallocated load of the resource and its children wheighted
+     * Return the unallocated load of the resource and its children weighted
      * by their efficiency.
      */
     double getEffectiveFreeLoad(int sc, const Interval& period);
diff --git a/src/portfolio/MainDocument.cpp b/src/portfolio/MainDocument.cpp
index 8b897317e..3778676ed 100644
--- a/src/portfolio/MainDocument.cpp
+++ b/src/portfolio/MainDocument.cpp
@@ -456,7 +456,7 @@ KPlato::ScheduleManager *MainDocument::findBestScheduleManager(const KoDocument
             break;
         }
         if (m->isScheduled()) {
-            sm = m; // the latest sceduled
+            sm = m; // the latest scheduled
         }
     }
     return sm;
diff --git a/src/portfolio/MainDocument.h b/src/portfolio/MainDocument.h
index 9794a024e..4424b15eb 100644
--- a/src/portfolio/MainDocument.h
+++ b/src/portfolio/MainDocument.h
@@ -77,7 +77,7 @@ public:
      *
      * @param store The store to save to
      * @param doc The document to save
-     * @param path An internal url to load fram
+     * @param path An internal url to load from
      */
     bool saveDocumentToStore(KoStore *_store, KoDocument *doc);
 
diff --git a/src/portfolio/PortfolioModel.cpp b/src/portfolio/PortfolioModel.cpp
index b32242581..763bb18ae 100644
--- a/src/portfolio/PortfolioModel.cpp
+++ b/src/portfolio/PortfolioModel.cpp
@@ -38,7 +38,7 @@ PortfolioModel::~PortfolioModel()
 QModelIndex PortfolioModel::parent(const QModelIndex &child) const
 {
     if (child.row() >= m_baseModel->rowCount()) {
-        warnPortfolio<<child<<"FIXME: Happends sometimes: invalid child index, find out why";
+        warnPortfolio<<child<<"FIXME: Happens sometimes: invalid child index, find out why";
         return QModelIndex();
     }
     return KExtraColumnsProxyModel::parent(child);
diff --git a/src/portfolio/ResourceUsageView.cpp b/src/portfolio/ResourceUsageView.cpp
index ace4142da..5d0e68106 100644
--- a/src/portfolio/ResourceUsageView.cpp
+++ b/src/portfolio/ResourceUsageView.cpp
@@ -233,7 +233,7 @@ void ResourceUsageView::saveSettings(QDomElement &settings) const
 
 void ResourceUsageView::loadSettings(KoXmlElement &settings)
 {
-    m_numDays->setMaximum(settings.attribute(QStringLiteral("maximim")).toInt());
+    m_numDays->setMaximum(settings.attribute(QStringLiteral("maximum")).toInt());
     m_numDays->setValue(settings.attribute(QStringLiteral("days")).toInt());
 
     auto a = static_cast<KSelectAction*>(actionCollection()->action(QStringLiteral("diagramtypes")));
diff --git a/src/workpackage/main.cpp b/src/workpackage/main.cpp
index 264a039c1..1602b309b 100644
--- a/src/workpackage/main.cpp
+++ b/src/workpackage/main.cpp
@@ -20,7 +20,7 @@
 int main(int argc, char **argv)
 {
     QApplication app(argc, argv);
-    KLocalizedString::setApplicationDomain("calligraplanwork"); // activate tranlations
+    KLocalizedString::setApplicationDomain("calligraplanwork"); // activate translations
 #ifdef Q_OS_MACOS
         // app.applicationName() will return "Plan Work" because of the nice name
         // set in the Info.plist. DBus doesn't like the resulting space in the 


More information about the kde-doc-english mailing list