summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-02-05 08:32:52 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-02-05 08:32:52 +0100
commit16df768a3e44625b1b84f403520b5ccfb5759939 (patch)
tree70b33c4b18bbeb3dc688e4ef799ca48ffc6801cc
parent64e5fe2175a7bb96a8612ee2554c98649cc306fe (diff)
downloadvala-16df768a3e44625b1b84f403520b5ccfb5759939.tar.gz
Correct a few spelling errors in user visible strings
-rw-r--r--compiler/valacompiler.vala2
-rw-r--r--doc/valac.12
-rw-r--r--libvaladoc/importer/girdocumentationimporter.vala2
-rw-r--r--valadoc/doclets/gtkdoc/generator.vala4
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);
}