You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by tu...@apache.org on 2020/12/19 05:02:08 UTC

[kibble] branch main updated: Fix spelling (#127)

This is an automated email from the ASF dual-hosted git repository.

turbaszek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kibble.git


The following commit(s) were added to refs/heads/main by this push:
     new 55fb362  Fix spelling (#127)
55fb362 is described below

commit 55fb362d684e24e4e2d737ca0507965d23904623
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Sat Dec 19 15:01:58 2020 +1000

    Fix spelling (#127)
---
 kibble/scanners/scanners/jira.py     | 4 ++--
 kibble/scanners/scanners/ponymail.py | 2 +-
 ui/js/coffee/widget_radar.coffee     | 4 ++--
 ui/js/kibble.v1.js                   | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/kibble/scanners/scanners/jira.py b/kibble/scanners/scanners/jira.py
index 14789c9..047c2a2 100644
--- a/kibble/scanners/scanners/jira.py
+++ b/kibble/scanners/scanners/jira.py
@@ -227,7 +227,7 @@ def scan_ticket(kibble_bit, key, u, source, creds, open_tickets):
             )
             if not "@" in closer_email:
                 closer_email = "%s@%s" % (closer_email, domain)
-            display_name = closer.get("displayName", "Unkown")
+            display_name = closer.get("displayName", "Unknown")
             if display_name and len(display_name) > 0:
                 # Add to people db
                 pid = hashlib.sha1(
@@ -321,7 +321,7 @@ class JiraThread(threading.Thread):
             try:
                 rl = self.pendingTickets.pop(0)
             except Exception as err:
-                print(f"An error occured: {err}")
+                print(f"An error occurred: {err}")
                 self.block.release()
                 return
             if not rl:
diff --git a/kibble/scanners/scanners/ponymail.py b/kibble/scanners/scanners/ponymail.py
index 69a49ca..55dbc2a 100644
--- a/kibble/scanners/scanners/ponymail.py
+++ b/kibble/scanners/scanners/ponymail.py
@@ -93,7 +93,7 @@ def scan(kibble_bit, source):
         kibble_bit.update_source(source)
         return
 
-    # Pony Mail requires a UI cookie in order to work. Maked sure we have one!
+    # Pony Mail requires a UI cookie in order to work. Make sure we have one!
     cookie = None
     if "creds" in source and source["creds"]:
         cookie = source["creds"].get("cookie", None)
diff --git a/ui/js/coffee/widget_radar.coffee b/ui/js/coffee/widget_radar.coffee
index 14410be..0924b98 100644
--- a/ui/js/coffee/widget_radar.coffee
+++ b/ui/js/coffee/widget_radar.coffee
@@ -56,8 +56,8 @@ radar = (json, state) ->
     state.widget.inject(chk)
     label = document.createElement('label')
     label.setAttribute("for", id)
-    label.setAttribute("title", "Check this box to force all areas to be relative to their own projects (and not the compared projects). This may help to display foucs areas.")
-    chk.setAttribute("title", "Check this box to force all areas to be relative to their own projects (and not the compared projects). This may help to display foucs areas.")
+    label.setAttribute("title", "Check this box to force all areas to be relative to their own projects (and not the compared projects). This may help to display focus areas.")
+    chk.setAttribute("title", "Check this box to force all areas to be relative to their own projects (and not the compared projects). This may help to display focus areas.")
     label.style.paddingLeft = '5px'
     label.appendChild(document.createTextNode('Make all projects relative to themselves'))
     state.widget.inject(label)
diff --git a/ui/js/kibble.v1.js b/ui/js/kibble.v1.js
index 42f02b3..a30296f 100644
--- a/ui/js/kibble.v1.js
+++ b/ui/js/kibble.v1.js
@@ -7026,8 +7026,8 @@ radar = function(json, state) {
   state.widget.inject(chk);
   label = document.createElement('label');
   label.setAttribute("for", id);
-  label.setAttribute("title", "Check this box to force all areas to be relative to their own projects (and not the compared projects). This may help to display foucs areas.");
-  chk.setAttribute("title", "Check this box to force all areas to be relative to their own projects (and not the compared projects). This may help to display foucs areas.");
+  label.setAttribute("title", "Check this box to force all areas to be relative to their own projects (and not the compared projects). This may help to display focus areas.");
+  chk.setAttribute("title", "Check this box to force all areas to be relative to their own projects (and not the compared projects). This may help to display focus areas.");
   label.style.paddingLeft = '5px';
   label.appendChild(document.createTextNode('Make all projects relative to themselves'));
   return state.widget.inject(label);