[pybliographer] Fix typos (occured etc)



commit 6c9d449ff646dffd7e87ad9e795d46b0d4f4fa02
Author: Anders Jonsson <anders jonsson norsjovallen se>
Date:   Mon Mar 13 23:39:11 2017 +0100

    Fix typos (occured etc)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753233

 Pyblio/GnomeUI/Document.py      |    6 +++---
 Pyblio/GnomeUI/Utils.py         |    6 +++---
 Pyblio/GnomeUI/glade/sort.glade |    2 +-
 help/C/gui-sorting.page         |    2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/Pyblio/GnomeUI/Document.py b/Pyblio/GnomeUI/Document.py
index 75364ec..bb25e2f 100644
--- a/Pyblio/GnomeUI/Document.py
+++ b/Pyblio/GnomeUI/Document.py
@@ -520,7 +520,7 @@ class Document (Connector.Publisher):
             return
         elif url is -1:
             # error
-            self.w.error (_("An error occured during Medline Query"))
+            self.w.error (_("An error occurred during Medline Query"))
             return
 
         self.open_in_new(url, 'medline', no_name=True)
@@ -738,7 +738,7 @@ class Document (Connector.Publisher):
             traceback.print_exception (etype, value, tb)
             
             Utils.set_cursor (self.w, 'normal')
-            self.w.error (_("An internal error occured during saving\nTry to Save As..."))
+            self.w.error (_("An internal error occurred during saving\nTry to Save As..."))
             return
 
         Utils.set_cursor (self.w, 'normal')
@@ -1183,7 +1183,7 @@ class Document (Connector.Publisher):
                 
                 self.incremental_start  = event.time
 
-            # search first occurence
+            # search first occurrence
             if self.index.go_to_first (self.incremental_search,
                                        self.selection.sort.fields [0]):
                 app.flash ("Searching for '%s...'" % self.incremental_search)
diff --git a/Pyblio/GnomeUI/Utils.py b/Pyblio/GnomeUI/Utils.py
index e2d745e..bf0a78c 100644
--- a/Pyblio/GnomeUI/Utils.py
+++ b/Pyblio/GnomeUI/Utils.py
@@ -35,7 +35,7 @@ import gconf
 class Callback:
 
     ''' This class provides a simple requested that asks the user a
-    queation and waits for an answer. '''
+    question and waits for an answer. '''
     
     def __init__ (self, question, parent = None, cancel_add = False):
 
@@ -69,7 +69,7 @@ class GladeWindow:
 
     ''' A Helper class that builds a graphical interface provided by a
     Glade XML file. This class binds the methods with
-    signal_autoconnect, and imports wigets whose name starts with _w_
+    signal_autoconnect, and imports widgets whose name starts with _w_
     as instance attributes. Therefore, after init, the instance can refer to:
 
         self._w_main
@@ -200,7 +200,7 @@ def error_dialog (title, err, parent = None):
 
     iter = buff.get_start_iter ()
     
-    buff.insert_with_tags (iter, _("The following errors occured:\n"),
+    buff.insert_with_tags (iter, _("The following errors occurred:\n"),
                            title)
     
     buff.insert (iter, str (err))
diff --git a/Pyblio/GnomeUI/glade/sort.glade b/Pyblio/GnomeUI/glade/sort.glade
index 5817459..11260ec 100644
--- a/Pyblio/GnomeUI/glade/sort.glade
+++ b/Pyblio/GnomeUI/glade/sort.glade
@@ -5,7 +5,7 @@
 <requires lib="gnome"/>
 
 <widget class="GtkDialog" id="_w_sort">
-  <property name="title" translatable="yes">Select sort criterions</property>
+  <property name="title" translatable="yes">Select sort criteria</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>
diff --git a/help/C/gui-sorting.page b/help/C/gui-sorting.page
index 833c858..d9db3fb 100644
--- a/help/C/gui-sorting.page
+++ b/help/C/gui-sorting.page
@@ -30,7 +30,7 @@
     powerful method is to open the sort dialog (in <guiseq>
     <gui>Edit</gui><gui>Sort</gui></guiseq>). This menu, displayed in
     the picture below, gives a list of fields which can be used as sort       
-    criterions, plus a flag indicating how they are currently used. By clicking
+    criteria, plus a flag indicating how they are currently used. By clicking
     twice on the item, it is possible to choose how the field will be used:</p>
       <list>
        <item>


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