Browse Source

various typo fixed (trac https://trac.osgeo.org/grass/ticket/2803)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66871 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 years ago
parent
commit
6d0d5c6aeb

+ 1 - 1
lib/gis/strings.c

@@ -206,7 +206,7 @@ char *G_str_replace(const char *buffer, const char *old_str, const char *new_str
 	return G_store(buffer);
 	return G_store(buffer);
 
 
     if (strlen(new_str) > strlen(old_str)) {
     if (strlen(new_str) > strlen(old_str)) {
-	/* Count occurences of old_str */
+	/* Count occurrences of old_str */
 	count = 0;
 	count = 0;
 	len = strlen(old_str);
 	len = strlen(old_str);
 	B = buffer;
 	B = buffer;

+ 2 - 2
lib/python/temporal/temporal_algebra.py

@@ -1102,7 +1102,7 @@ class TemporalAlgebraParser(object):
                 stds = dataset_factory(stds_type, id_input)
                 stds = dataset_factory(stds_type, id_input)
             else:
             else:
                 stds = dataset_factory(self.stdstype, id_input)
                 stds = dataset_factory(self.stdstype, id_input)
-            # Check for occurence of space time dataset.
+            # Check for occurrence of space time dataset.
             if stds.is_in_db(dbif=self.dbif) == False:
             if stds.is_in_db(dbif=self.dbif) == False:
                 raise FatalError(_("Space time %s dataset <%s> not found") %
                 raise FatalError(_("Space time %s dataset <%s> not found") %
                     (stds.get_new_map_instance(None).get_type(), id_input))
                     (stds.get_new_map_instance(None).get_type(), id_input))
@@ -2208,7 +2208,7 @@ class TemporalAlgebraParser(object):
                     id_input = input + "@" + self.mapset
                     id_input = input + "@" + self.mapset
                 # Create empty map dataset.
                 # Create empty map dataset.
                 map_i = dataset_factory(self.maptype, id_input)
                 map_i = dataset_factory(self.maptype, id_input)
-                # Check for occurence of space time dataset.
+                # Check for occurrence of space time dataset.
                 if map_i.map_exists() == False:
                 if map_i.map_exists() == False:
                     raise FatalError(_("%s map <%s> not found in GRASS spatial database") %
                     raise FatalError(_("%s map <%s> not found in GRASS spatial database") %
                         (map_i.get_type(), id_input))
                         (map_i.get_type(), id_input))

+ 1 - 1
lib/python/temporal/temporal_raster_base_algebra.py

@@ -650,7 +650,7 @@ class TemporalRasterBaseAlgebraParser(TemporalAlgebraParser):
                     id_input = input + "@" + self.mapset
                     id_input = input + "@" + self.mapset
                 # Create empty map dataset.
                 # Create empty map dataset.
                 map_i = dataset_factory(self.maptype, id_input)
                 map_i = dataset_factory(self.maptype, id_input)
-                # Check for occurence of space time dataset.
+                # Check for occurrence of space time dataset.
                 if map_i.map_exists() == False:
                 if map_i.map_exists() == False:
                     raise FatalError(_("%s map <%s> not found in GRASS spatial database") %
                     raise FatalError(_("%s map <%s> not found in GRASS spatial database") %
                         (map_i.get_type(), id_input))
                         (map_i.get_type(), id_input))

+ 1 - 1
lib/vector/Vlib/cindex.c

@@ -38,7 +38,7 @@ static void check_index(const struct Map_info *Map, int index)
         G_fatal_error(_("Layer index out of range"));
         G_fatal_error(_("Layer index out of range"));
 }
 }
 
 
-/* search for first occurence of cat in cat index, starting at first */
+/* search for first occurrence of cat in cat index, starting at first */
 static int ci_search_cat(struct Cat_index *ci, int first, int cat)
 static int ci_search_cat(struct Cat_index *ci, int first, int cat)
 {
 {
     int lo, hi, mid;
     int lo, hi, mid;

+ 1 - 1
raster/r.in.xyz/r.in.xyz.html

@@ -197,7 +197,7 @@ v.surf.rst in=lidar_min_pt elev=lidar_min.rst
 <h3>Import of x,y,string data</h3>
 <h3>Import of x,y,string data</h3>
 
 
 <em>r.in.xyz</em> is expecting numeric values as z column. In order to 
 <em>r.in.xyz</em> is expecting numeric values as z column. In order to 
-perform a occurence count operation even on x,y data with non-numeric 
+perform a occurrence count operation even on x,y data with non-numeric 
 attribute(s), the data can be imported using either the x or y 
 attribute(s), the data can be imported using either the x or y 
 coordinate as a fake z column for <b>method</b>=<tt>n</tt> (count 
 coordinate as a fake z column for <b>method</b>=<tt>n</tt> (count 
 number of points per grid cell), the z values are ignored anyway.
 number of points per grid cell), the z values are ignored anyway.

+ 1 - 1
scripts/g.extension/g.extension.html

@@ -14,7 +14,7 @@ Two types of extensions are supported:
 <li>Source code (mostly written in C programming language; may also be written
 <li>Source code (mostly written in C programming language; may also be written
     in C++, Fortran or other languages): while on MS-Windows systems the requested
     in C++, Fortran or other languages): while on MS-Windows systems the requested
     GRASS GIS extension is downloaded pre-compiled from the GRASS GIS site, on Unix
     GRASS GIS extension is downloaded pre-compiled from the GRASS GIS site, on Unix
-    based systems the installation is preceeded by the automated download of the
+    based systems the installation is preceded by the automated download of the
     extension's source code along with subsequent compilation and installation.
     extension's source code along with subsequent compilation and installation.
     This requires a compiler environment to be present on the user's computer.</li>
     This requires a compiler environment to be present on the user's computer.</li>
 </ul>
 </ul>