From 4c4ac8b97ef60ccb387002912060098b057acfa9 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Fri, 3 Sep 2021 13:18:15 +0200
Subject: [PATCH] MAINT: Spell checker found a few typos.

---
 src/caosdb/status_code_description.cpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/caosdb/status_code_description.cpp b/src/caosdb/status_code_description.cpp
index 72e11e0..d434d9f 100644
--- a/src/caosdb/status_code_description.cpp
+++ b/src/caosdb/status_code_description.cpp
@@ -53,7 +53,7 @@ namespace caosdb {
 auto get_status_description(int code) -> const std::string & {
   static const std::string MISSING_DESCRIPTION = "MISSING DESCRIPTION";
   static const std::map<int, std::string> descriptions = {
-    {StatusCode::INITIAL, "The transaction has just been intialized. It has not been executed yet "
+    {StatusCode::INITIAL, "The transaction has just been initialized. It has not been executed yet "
                           "and clients can still change it and add sub-transactions."},
     {StatusCode::GO_ON, "The transaction has a transaction_type yet and clients may add matching "
                         "sub-transaction or execute it right-away."},
@@ -61,7 +61,7 @@ auto get_status_description(int code) -> const std::string & {
     {StatusCode::EXECUTING, "The transaction is currently being executed."},
     {StatusCode::SUCCESS, "The action was successful"},
 
-    {StatusCode::CANCELLED, "The operation was cancelled (typically by the caller)."},
+    {StatusCode::CANCELLED, "The operation was canceled (typically by the caller)."},
     {StatusCode::UNKNOWN, "Unknown error. This is typically a bug (server or client)."},
     {StatusCode::INVALID_ARGUMENT,
      "Client specified an invalid argument. Note that this differs from FAILED_PRECONDITION. "
@@ -142,7 +142,7 @@ auto get_status_description(int code) -> const std::string & {
      "The attempt to update this entity failed because this entity does not "
      "have "
      "an id. This is the case when you did not retrieve it before applying any "
-     "changes and instantiated the Entity class explicitely."},
+     "changes and instantiated the Entity class explicitly."},
     {StatusCode::NOT_A_FILE_ENTITY, "You can only add files to file entities."},
     {StatusCode::PATH_IS_A_DIRECTORY, "The given path is a directory."},
     {StatusCode::FILE_DOES_NOT_EXIST_LOCALLY,
@@ -168,3 +168,5 @@ auto get_status_description(int code) -> const std::string & {
 }
 
 } // namespace caosdb
+
+//  LocalWords:  ConnectionManager Extern
-- 
GitLab