[vala/staging: 2/5] Correct a few spelling errors in user visible strings



commit 16df768a3e44625b1b84f403520b5ccfb5759939
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Feb 5 08:32:52 2020 +0100

    Correct a few spelling errors in user visible strings

 compiler/valacompiler.vala                        | 2 +-
 doc/valac.1                                       | 2 +-
 libvaladoc/importer/girdocumentationimporter.vala | 2 +-
 valadoc/doclets/gtkdoc/generator.vala             | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index 174baded7..3be65377b 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -164,7 +164,7 @@ class Vala.Compiler {
                { "gresourcesdir", 0, 0, OptionArg.FILENAME_ARRAY, ref gresources_directories, "Look for 
resources in DIRECTORY", "DIRECTORY..." },
                { "enable-version-header", 0, 0, OptionArg.NONE, ref enable_version_header, "Write vala build 
version in generated files", null },
                { "disable-version-header", 0, 0, OptionArg.NONE, ref disable_version_header, "Do not write 
vala build version in generated files", null },
-               { "run-args", 0, 0, OptionArg.STRING, ref run_args, "Arguments passed to directly compiled 
executeable", null },
+               { "run-args", 0, 0, OptionArg.STRING, ref run_args, "Arguments passed to directly compiled 
executable", null },
                { "abi-stability", 0, 0, OptionArg.NONE, ref abi_stability, "Enable support for ABI 
stability", null },
                { OPTION_REMAINING, 0, 0, OptionArg.FILENAME_ARRAY, ref sources, null, "FILE..." },
                { null }
diff --git a/doc/valac.1 b/doc/valac.1
index af79ec3c3..5c2706187 100644
--- a/doc/valac.1
+++ b/doc/valac.1
@@ -207,7 +207,7 @@ Write vala build version in generated files
 Do not write vala build version in generated files
 .TP
 \fB\-\-run\-args\fR
-Arguments passed to directly compiled executeable
+Arguments passed to directly compiled executable
 .TP
 \fB\-\-abi\-stability\fR
 Enable support for ABI stability
diff --git a/libvaladoc/importer/girdocumentationimporter.vala 
b/libvaladoc/importer/girdocumentationimporter.vala
index 57c87bb7d..dac87ac20 100644
--- a/libvaladoc/importer/girdocumentationimporter.vala
+++ b/libvaladoc/importer/girdocumentationimporter.vala
@@ -487,7 +487,7 @@ public class Valadoc.Importer.GirDocumentationImporter : DocumentationImporter {
                        if (length != null) {
                                array_length_pos = int.parse (length);
                                if (array_length_pos < 0) {
-                                       warning ("invalid array lenght position");
+                                       warning ("invalid array length position");
                                }
                        }
 
diff --git a/valadoc/doclets/gtkdoc/generator.vala b/valadoc/doclets/gtkdoc/generator.vala
index 365865d71..2f929ccaf 100644
--- a/valadoc/doclets/gtkdoc/generator.vala
+++ b/valadoc/doclets/gtkdoc/generator.vala
@@ -716,7 +716,7 @@ It is important that your <link linkend="GValue"><type>GValue</type></link> hold
                if (edomain != null) {
                        if (param_header == null) {
                                add_custom_header ("error",
-                                                                  "location to store the error occuring, or 
%NULL to ignore",
+                                                                  "location to store the error occurring, or 
%NULL to ignore",
                                                                   {"error-domains %s".printf 
(edomain.get_cname ())},
                                                                   double.MAX-1);
                        } else {
@@ -727,7 +727,7 @@ It is important that your <link linkend="GValue"><type>GValue</type></link> hold
                        }
                } else if (param_header == null) {
                        add_custom_header ("error",
-                                                          "location to store the error occuring, or %NULL to 
ignore",
+                                                          "location to store the error occurring, or %NULL 
to ignore",
                                                           null,
                                                           double.MAX - 1);
                }


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