[vala/0.46] Correct a few spelling errors in user visible strings



commit e17f095848a0ed6aefa0a85db0ba0b75e183be13
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Feb 4 10:05:04 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 c5105804a..dfdc48e00 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -160,7 +160,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 19fb1e6d4..44361508f 100644
--- a/doc/valac.1
+++ b/doc/valac.1
@@ -201,7 +201,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 5d72f4414..e59fb5153 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 5be0b746f..f0e7f2e67 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]