diff options
author | luz.paz <luzpaz@users.noreply.github.com> | 2019-07-09 16:27:22 -0400 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-07-17 22:54:23 +0200 |
commit | 925e1103e5791dc8be684a5269efc36c1bf4f557 (patch) | |
tree | b56cbff2a2bb8e7f16805197d2c729397c5ec4f6 /grc | |
parent | 15452407e043b3d1fe3f152c2590bc95b40b4342 (diff) |
Fix for misc. documentation + trivial typos
Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk`
Fix typos in gnuradio-runtime/
Fix typos in gr-digital/
Fix typos in gr-qtgui/
Fix typos in gr-channels/
Fix typos in grc/
Fix typos gr-filter/
Fix typos in gr-uhd/
Fix typos in gr-blocks/
Fix typos in gr-fec/
Diffstat (limited to 'grc')
-rw-r--r-- | grc/core/FlowGraph.py | 2 | ||||
-rw-r--r-- | grc/gui/Actions.py | 6 | ||||
-rw-r--r-- | grc/gui/FileDialogs.py | 2 | ||||
-rw-r--r-- | grc/gui/canvas/flowgraph.py | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py index b57a93d551..7ee8e45f75 100644 --- a/grc/core/FlowGraph.py +++ b/grc/core/FlowGraph.py @@ -427,7 +427,7 @@ class FlowGraph(Element): block.rewrite() # Make ports visible # Flowgraph errors depending on disabled blocks are not displayed # in the error dialog box - # So put a messsage into the Property window of the dummy block + # So put a message into the Property window of the dummy block block.add_error_message('Block id "{}" not found.'.format(block.key)) self.rewrite() # global rewrite diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py index dd373847bb..8497565b2e 100644 --- a/grc/gui/Actions.py +++ b/grc/gui/Actions.py @@ -49,11 +49,11 @@ class Namespace(object): icon_name=None, keypresses=None, preference_name=None, default=None): # Check types if not isinstance(name, str): - raise TypeError("Cannot register fuction: 'name' must be a str") + raise TypeError("Cannot register function: 'name' must be a str") if parameter and not isinstance(parameter, str): - raise TypeError("Cannot register fuction: 'parameter' must be a str") + raise TypeError("Cannot register function: 'parameter' must be a str") if handler and not callable(handler): - raise TypeError("Cannot register fuction: 'handler' must be callable") + raise TypeError("Cannot register function: 'handler' must be callable") # Check if the name has a prefix. prefix = None diff --git a/grc/gui/FileDialogs.py b/grc/gui/FileDialogs.py index e8c5800d6a..25f9ea24e8 100644 --- a/grc/gui/FileDialogs.py +++ b/grc/gui/FileDialogs.py @@ -176,7 +176,7 @@ class SaveScreenShot(SaveFileDialog): Dialogs.MessageDialogWrapper( self.parent, Gtk.MessageType.ERROR, Gtk.ButtonsType.CLOSE, 'Can not Save!', - 'File Extention of <b>{filename}</b> not supported!'.format(filename=Utils.encode(filename)), + 'File Extension of <b>{filename}</b> not supported!'.format(filename=Utils.encode(filename)), ).run_and_destroy() def run(self): diff --git a/grc/gui/canvas/flowgraph.py b/grc/gui/canvas/flowgraph.py index 5bdda4745e..a9010026c3 100644 --- a/grc/gui/canvas/flowgraph.py +++ b/grc/gui/canvas/flowgraph.py @@ -419,7 +419,7 @@ class FlowGraph(CoreFlowgraph, Drawable): x, y = selected_block.coordinate min_x, min_y = min(min_x, x), min(min_y, y) max_x, max_y = max(max_x, x), max(max_y, y) - #calculate center point of slected blocks + #calculate center point of selected blocks ctr_x, ctr_y = (max_x + min_x)/2, (max_y + min_y)/2 #rotate the blocks around the center point for selected_block in self.selected_blocks(): |