[orca] Spelling fixes



commit 0ad23286dbedf3ae327470e84e159fcd9f8e81a7
Author: Ville Skyttä <ville skytta iki fi>
Date:   Thu Mar 23 23:55:40 2017 +0200

    Spelling fixes
    
    https://bugzilla.gnome.org/show_bug.cgi?id=780481

 NEWS                                     |   32 +++++++++++++++---------------
 pylintrc                                 |    6 ++--
 src/orca/braille.py                      |    2 +-
 src/orca/debug.py                        |    4 +-
 src/orca/formatting.py                   |    4 +-
 src/orca/generator.py                    |    6 ++--
 src/orca/liveregions.py                  |    2 +-
 src/orca/orca.py                         |    6 ++--
 src/orca/pronunciation_dict.py           |    2 +-
 src/orca/scripts/apps/metacity/script.py |    2 +-
 src/orca/scripts/default.py              |    6 ++--
 src/orca/scripts/web/script_utilities.py |    2 +-
 src/orca/speechdispatcherfactory.py      |    2 +-
 src/orca/structural_navigation.py        |    4 +-
 14 files changed, 40 insertions(+), 40 deletions(-)
---
diff --git a/NEWS b/NEWS
index 419bb0d..fd2e5bc 100644
--- a/NEWS
+++ b/NEWS
@@ -1504,7 +1504,7 @@ LibreOffice:
 
 New and updated translations (THANKS EVERYONE!!!):
 
-    uk            Ukranian               Daniel Korostil
+    uk            Ukrainian              Daniel Korostil
 
 =========
 
@@ -1899,7 +1899,7 @@ New and updated translations (THANKS EVERYONE!!!):
     ru            Russian                Yuri Myasoedov
     sr            Serbian                Мирослав Николић
     sr@latin      Serbian                Miroslav Nikolić
-    uk            Ukranian               Daniel Korostil
+    uk            Ukrainian              Daniel Korostil
     zh_CN         Chinese (China)        Wylmer Wang
 
 =========
@@ -1943,7 +1943,7 @@ General:
 
 New and updated translations (THANKS EVERYONE!!!):
 
-    uk            Ukranian                Daniel Korostil
+    uk            Ukrainian               Daniel Korostil
 
 =========
 
@@ -2883,7 +2883,7 @@ New and updated translations (THANKS EVERYONE!!!):
     sl            Slovenian               Matej Urbančič
     pt            Portuguese              Rui Batista
     ta            Tamil                   Dr.T.Vasudevan
-    uk            Ukranian                Daniel Korostil
+    uk            Ukrainian               Daniel Korostil
 
 =========
 
@@ -3290,7 +3290,7 @@ New and updated translations (THANKS EVERYONE!!!):
     sr            Serbian                Мирослав Николић
     sr@latin      Serbian                Miroslav Nikolić
     te            Telugu                 Sasi bhushan Boddepalli
-    uk            Ukranian               Daniel Korostil
+    uk            Ukrainian              Daniel Korostil
 
 =========
 
@@ -3611,7 +3611,7 @@ General
 New and updated translations (THANKS EVERYONE!!!):
 
     id            Indonesian             Andika Triwidada
-    uk            Ukranian               Daniel Korostil
+    uk            Ukrainian              Daniel Korostil
     zh_CN         Simplified Chinese     YunQiang Su
 
 =========
@@ -3969,7 +3969,7 @@ New and updated translations (THANKS EVERYONE!!!):
     sl        Slovenian              Matej Urbančič
     ta        Tamil                  Dr.T.Vasudevan
     ug        Uyghur                 Abduxukur Abdurixit
-    uk        Ukranian               Daniel Korostil
+    uk        Ukrainian              Daniel Korostil
 
 ==========
 
@@ -4056,7 +4056,7 @@ General:
 
   * Fix for bug #643195 - Orca hangs after a traceback
 
-  * Fix for bug #637780 - Cannot permenantly update settings for the gdm
+  * Fix for bug #637780 - Cannot permanently update settings for the gdm
     user login session
 
   * Fix for bug #643378 - Orca does not present the XFCE window switcher
@@ -5784,7 +5784,7 @@ New and updated translations (THANKS EVERYONE!!!):
     es       Spanish              Francisco Javier Dorado Martinez and
                                   Jorge Gonzalez
     hu       Hungarian            Attila Hammer and Gabor Kelemen
-    uk       Ukranian             Maxim Dziumanenko
+    uk       Ukrainian            Maxim Dziumanenko
 
 ==========
 
@@ -6024,7 +6024,7 @@ New and updated translations (THANKS EVERYONE!!!):
 
     bg       Bulgarian            Alexander Shopov
     ca       Catalan              Jordi Mas i Hernandez
-    uk       Ukranian             Maxim Dziumanenko
+    uk       Ukrainian            Maxim Dziumanenko
     zh_CN    Simplified Chinese   Aron Xu
 
 ==========
@@ -7518,7 +7518,7 @@ Firefox:
 * Fix for bug #513217 - object navigation sticking on same line
   comboboxes
 
-* Fix for bug #513425 - orca object navigation is not consistant when
+* Fix for bug #513425 - orca object navigation is not consistent when
   moving to the left/to the right
 
 * Fix for bug #514427 - Orca skips over headings at the end of
@@ -8414,7 +8414,7 @@ New and updated translations (THANKS EVERYONE!!!):
     sq      Albanian             Laurent Dhima
     sv      Swedish              Daniel Nylander
     th      Thai                 Theppitak Karoonboonyanan
-    uk      Ukranian             Maxim Dziumanenko
+    uk      Ukrainian            Maxim Dziumanenko
     vi      Vietnamese           Clytie Siddall
 
 ==========
@@ -8484,7 +8484,7 @@ General:
 
 * More work on the regression testing framework and tests
 
-* Adjusted the uppercase pitch setting so that it is still noticable
+* Adjusted the uppercase pitch setting so that it is still noticeable
   but not quite so high
 
 * Fix for bug 354468 - support bookmarked objects
@@ -8836,7 +8836,7 @@ Firefox:
   Firefox.  Orca now supports non-uniform
   tables: When you navigate to a non-uniform table using T or
   Shift+T, Orca will indicate that this is a non-uniform table.
-  When using structual navigation by cell, if the cell you navigate
+  When using structural navigation by cell, if the cell you navigate
   to has multiple headers that apply to it such as "week 2" and
   "Thursday", Orca will speak those headers if they are different from
   the headers from your previous location.  Orca also announces cell
@@ -9183,7 +9183,7 @@ New and updated translations (THANKS EVERYONE!!!):
 * Fix for but 408174 to make laptop keybindings work better
   (Thanks to community member Juan Ramon Jimenez for this fix!!!).
 
-* Fixed for bug 405624 so Orca wille report a label even if it was
+* Fixed for bug 405624 so Orca will report a label even if it was
   same as previous one.
 
 * New and updated translations (THANKS EVERYONE!!!):
@@ -9468,7 +9468,7 @@ the attributes of an AT-SPI object.
 * A fair amount of work has been done on the Gecko script for Firefox 3.
   Please note this is still a work in progress and is still somewhat
   unstable.  The Orca and Firefox teams are working feverishly on the
-  support and are still targetting Firefox 3 for compelling web
+  support and are still targeting Firefox 3 for compelling web
   access.
 
 * Continued work on identifying (and resolving when possible) accessibility
diff --git a/pylintrc b/pylintrc
index 92068a3..19ac3a0 100644
--- a/pylintrc
+++ b/pylintrc
@@ -1,6 +1,6 @@
 # lint Python modules using external checkers.
 # 
-# This is the main checker controling the other ones and the reports
+# This is the main checker controlling the other ones and the reports
 # generation. It is itself both a raw checker and an astng checker in order
 # to:
 # * handle message activation / deactivation at the module level
@@ -109,7 +109,7 @@ reports=yes
 
 # Python expression which should return a note less than 10 (10 is the highest
 # note).You have access to the variables errors warning, statement which
-# respectivly contain the number of errors / warnings messages and the total
+# respectively contain the number of errors / warnings messages and the total
 # number of statements analyzed. This is used by the global evaluation report
 # (R0004).
 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
@@ -222,7 +222,7 @@ additional-builtins=
 # checks for :
 # * methods without self as first argument
 # * overridden methods signature
-# * access only to existant members via self
+# * access only to existent members via self
 # * attributes not defined in the __init__ method
 # * supported interfaces implementation
 # * unreachable code
diff --git a/src/orca/braille.py b/src/orca/braille.py
index cbf8654..32f1a1c 100644
--- a/src/orca/braille.py
+++ b/src/orca/braille.py
@@ -99,7 +99,7 @@ if louis and not tablesdir:
 #
 _monitor = None
 
-# brlapi keys which are not allowed to interupt speech:
+# brlapi keys which are not allowed to interrupt speech:
 #
 dontInteruptSpeechKeys = []
 if _brlAPIAvailable:
diff --git a/src/orca/debug.py b/src/orca/debug.py
index 7538ce5..2feb322 100644
--- a/src/orca/debug.py
+++ b/src/orca/debug.py
@@ -45,7 +45,7 @@ LEVEL_OFF = 10000
 #
 LEVEL_SEVERE = 1000
 
-# Used to decribe events of interest to end users or system managers or which
+# Used to describe events of interest to end users or system managers or which
 # indicate potential problems, but which Orca can deal with without crashing.
 #
 LEVEL_WARNING = 900
@@ -62,7 +62,7 @@ LEVEL_INFO = 800
 # problems that may be associated with a particular configuration.
 #
 # For the purposes of Orca, LEVEL_CONFIGURATION means display the various
-# apsects of whether a particular feature (e.g., speech, braille, etc.)
+# aspects of whether a particular feature (e.g., speech, braille, etc.)
 # is enabled or not as well as details about that feature.
 #
 LEVEL_CONFIGURATION = 700
diff --git a/src/orca/formatting.py b/src/orca/formatting.py
index 3053800..f2b09dc 100644
--- a/src/orca/formatting.py
+++ b/src/orca/formatting.py
@@ -896,10 +896,10 @@ class Formatting(dict):
                      and isinstance(val, str):
                     self[key] = val
                 else:
-                    # exception or such like, we are trying to murge
+                    # exception or such like, we are trying to merge
                     # incompatible trees.
                     # throw an exception?
-                    print("an error has occured, cant murge dicts.")
+                    print("an error has occurred, cant merge dicts.")
             else:
                 self[key] = val
 
diff --git a/src/orca/generator.py b/src/orca/generator.py
index c1bbd22..adb65d7 100644
--- a/src/orca/generator.py
+++ b/src/orca/generator.py
@@ -161,8 +161,8 @@ class Generator:
 
     def generate(self, obj, **args):
         """Returns an array of strings (and possibly voice and audio
-        specifications) that represent the complete presentatin for the
-        object.  The presentatin to be generated depends highly upon the
+        specifications) that represent the complete presentation for the
+        object.  The presentation to be generated depends highly upon the
         formatting strings in formatting.py.
 
         args is a dictionary that may contain any of the following:
@@ -1006,7 +1006,7 @@ class Generator:
 
     def _generateApplicationName(self, obj, **args):
         """Returns an array of strings for use by speech and braille that
-        represents the name of the applicaton for the object.
+        represents the name of the application for the object.
         """
         result = []
         try:
diff --git a/src/orca/liveregions.py b/src/orca/liveregions.py
index 2794e8a..4f8917b 100644
--- a/src/orca/liveregions.py
+++ b/src/orca/liveregions.py
@@ -360,7 +360,7 @@ class LiveRegionManager:
             self.monitoring = True  
 
     def generateLiveRegionDescription(self, obj, **args):
-        """Used in conjuction with whereAmI to output description and 
+        """Used in conjunction with whereAmI to output description and 
         politeness of the given live region object"""
         objectid = self._getObjectId(obj)
         uri = self._script.bookmarks.getURIKey()
diff --git a/src/orca/orca.py b/src/orca/orca.py
index c2a2a30..1722928 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -419,7 +419,7 @@ def _showPreferencesUI(script, prefs):
     orca_state.orcaOS.showGUI()
 
 def showAppPreferencesGUI(script=None, inputEvent=None):
-    """Displays the user interace to configure the settings for a
+    """Displays the user interface to configure the settings for a
     specific applications within Orca and set up those app-specific
     user preferences using a GUI.
 
@@ -436,7 +436,7 @@ def showAppPreferencesGUI(script=None, inputEvent=None):
     return True
 
 def showPreferencesGUI(script=None, inputEvent=None):
-    """Displays the user interace to configure Orca and set up
+    """Displays the user interface to configure Orca and set up
     user preferences using a GUI.
 
     Returns True to indicate the input event has been consumed.
@@ -474,7 +474,7 @@ def quitOrca(script=None, inputEvent=None):
     return True
 
 def showFindGUI(script=None, inputEvent=None):
-    """Displays the user interace to perform an Orca Find.
+    """Displays the user interface to perform an Orca Find.
 
     Returns True to indicate the input event has been consumed.
     """
diff --git a/src/orca/pronunciation_dict.py b/src/orca/pronunciation_dict.py
index b1989cc..471993e 100644
--- a/src/orca/pronunciation_dict.py
+++ b/src/orca/pronunciation_dict.py
@@ -31,7 +31,7 @@ def getPronunciation(word, pronunciations=None):
     sounds like. Note: This code does not handle the pronunciation
     of character names. If you want a character name to be spoken,
     treat it as a punctuation character at LEVEL_NONE in
-    puncutation_settings.py. See, for example, the left_arrow and
+    punctuation_settings.py. See, for example, the left_arrow and
     right_arrow characters.
 
     Arguments:
diff --git a/src/orca/scripts/apps/metacity/script.py b/src/orca/scripts/apps/metacity/script.py
index 7ec1646..3ab7116 100644
--- a/src/orca/scripts/apps/metacity/script.py
+++ b/src/orca/scripts/apps/metacity/script.py
@@ -55,7 +55,7 @@ class Script(default.Script):
         #
         speech.stop()
 
-        # If the window was iconified, then obj.name will be surronded by
+        # If the window was iconified, then obj.name will be surrounded by
         # brackets. If this is the case, remove them before comparing the
         # name against the various window names. See bug #522797 for more
         # details.
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 8554c6a..8cd071b 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -1104,7 +1104,7 @@ class Script(script.Script):
         """Pans the braille display to the right.  If panAmount is non-zero,
         the display is panned by that many cells.  If it is 0, the display
         is panned one full display width.  In flat review mode, panning
-        beyond the end will take you to the begininng of the next line.
+        beyond the end will take you to the beginning of the next line.
 
         In focus tracking mode, the cursor stays at its logical position.
         In flat review mode, the review cursor moves to character
@@ -3353,7 +3353,7 @@ class Script(script.Script):
     def updateBrailleReview(self, targetCursorCell=0):
         """Obtains the braille regions for the current flat review line
         and displays them on the braille display.  If the targetCursorCell
-        is non-0, then an attempt will be made to postion the review cursor
+        is non-0, then an attempt will be made to position the review cursor
         at that cell.  Otherwise, we will pan in display-sized increments
         to show the review cursor."""
 
@@ -4217,7 +4217,7 @@ class Script(script.Script):
 
     def speakUnicodeCharacter(self, character):
         """ Speaks some information about an unicode character.
-        At the Momment it just anounces the character unicode number but
+        At the moment it just announces the character unicode number but
         this information may be changed in the future
 
         Arguments:
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 68b502a..5728da2 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -2179,7 +2179,7 @@ class Utilities(script_utilities.Utilities):
         docRoles = [pyatspi.ROLE_DOCUMENT_FRAME, pyatspi.ROLE_DOCUMENT_WEB]
         if (obj and obj.getRole() in docRoles):
             if obj.parent is None or self.isZombie(obj.parent):
-                msg = "WEB: %s is a detatched document" % obj
+                msg = "WEB: %s is a detached document" % obj
                 debug.println(debug.LEVEL_INFO, msg, True)
                 return True
 
diff --git a/src/orca/speechdispatcherfactory.py b/src/orca/speechdispatcherfactory.py
index 9125358..1a53882 100644
--- a/src/orca/speechdispatcherfactory.py
+++ b/src/orca/speechdispatcherfactory.py
@@ -100,7 +100,7 @@ class SpeechServer(speechserver.SpeechServer):
         """
         if serverId not in cls._active_servers:
             cls(serverId)
-        # Don't return the instance, unless it is succesfully added
+        # Don't return the instance, unless it is successfully added
         # to `_active_Servers'.
         return cls._active_servers.get(serverId)
 
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index 58951b3..903625d 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -671,7 +671,7 @@ class StructuralNavigation:
 
     def structuralNavigationObjectCreator(self, name):
         """This convenience method creates a StructuralNavigationObject
-        with the specified name and associated characterists. (See the
+        with the specified name and associated characteristics. (See the
         "Objects" section of code near the end of this class. Creators
         of StructuralNavigationObject's can still do things the old
         fashioned way should they so choose, by creating the instance
@@ -682,7 +682,7 @@ class StructuralNavigation:
         """
 
         # We're going to assume bindings.  After all, a structural
-        # navigation object is by defintion an object which one can
+        # navigation object is by definition an object which one can
         # navigate to using the associated keybindings. For similar
         # reasons we'll also assume a predicate and a presentation
         # method.  (See the Objects section towards the end of this


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]