From f164b2f6e545d8233572a4635d710b2a46784fdb Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 1 Nov 2013 19:19:18 +0100 Subject: [PATCH] Corrected various typos in printed strings and documentation. Reported-by: anonymous Fixes bug 40447 --- doc/combining.texi | 2 +- doc/transformation.texi | 2 +- src/language/dictionary/mrsets.c | 2 +- src/language/stats/regression.c | 4 ++-- src/language/stats/runs.c | 4 ++-- src/math/levene.c | 2 +- tests/language/dictionary/mrsets.at | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/combining.texi b/doc/combining.texi index a7bca10f5b..93f4e82c98 100644 --- a/doc/combining.texi +++ b/doc/combining.texi @@ -61,7 +61,7 @@ following sections describe details specific to each command. Each of these commands reads two or more input files and combines them. The command's output becomes the new active dataset. None of the commands actually change the input files. -Therefore, if you want the changes to become permanant, you must explictly +Therefore, if you want the changes to become permanent, you must explicitly save them using an appropriate procedure or transformation (@pxref{System and Portable File IO}). The syntax of each command begins with a specification of the files to diff --git a/doc/transformation.texi b/doc/transformation.texi index ae07524ef3..1ca2d22b29 100644 --- a/doc/transformation.texi +++ b/doc/transformation.texi @@ -672,7 +672,7 @@ recode @end example @noindent Here we have two recodings. The first affects the source variable @var{a} and recodes in-place the value 2 into 22 and all other values to 99. -The second recoding copies the values of @var{b} into the the variable @var{z}, +The second recoding copies the values of @var{b} into the variable @var{z}, changing any instances of 1 into 3. @node SORT CASES diff --git a/src/language/dictionary/mrsets.c b/src/language/dictionary/mrsets.c index 9e1ca3b0d0..621516b9ec 100644 --- a/src/language/dictionary/mrsets.c +++ b/src/language/dictionary/mrsets.c @@ -368,7 +368,7 @@ parse_group (struct lexer *lexer, struct dictionary *dict, msg (SW, _("Variables %s and %s specified as part of " "multiple dichotomy group %s (which has " "CATEGORYLABELS=COUNTEDVALUES) have the same " - "value label for the the group's counted " + "value label for the group's counted " "value. These categories will not be " "distinguishable in output."), other_name, name, mrset->name); diff --git a/src/language/stats/regression.c b/src/language/stats/regression.c index 194915198b..a9ac554385 100644 --- a/src/language/stats/regression.c +++ b/src/language/stats/regression.c @@ -478,8 +478,8 @@ identify_indep_vars (const struct regression *cmd, */ msg (SW, gettext - ("The dependent variable is equal to the independent variable." - "The least squares line is therefore Y=X." + ("The dependent variable is equal to the independent variable. " + "The least squares line is therefore Y=X. " "Standard errors and related statistics may be meaningless.")); n_indep_vars = 1; indep_vars[0] = cmd->vars[0]; diff --git a/src/language/stats/runs.c b/src/language/stats/runs.c index 7e36065730..b3a1b4fdd8 100644 --- a/src/language/stats/runs.c +++ b/src/language/stats/runs.c @@ -64,7 +64,7 @@ struct run_state /* Return the Z statistic representing the assympototic - distribution of the the number of runs */ + distribution of the number of runs */ static double runs_statistic (const struct run_state *rs) { @@ -164,7 +164,7 @@ runs_execute (const struct dataset *ds, } casegrouper_destroy (grouper); if (multimodal) - msg (MW, _("Multiple modes exist for varible `%s'. Using %g as the threshold value."), + msg (MW, _("Multiple modes exist for variable `%s'. Using %g as the threshold value."), var_get_name (var), run->cutpoint); } } diff --git a/src/math/levene.c b/src/math/levene.c index 5193c86a1a..098fcc5a1b 100644 --- a/src/math/levene.c +++ b/src/math/levene.c @@ -45,7 +45,7 @@ struct levene /* Width of the categorical variable */ int gvw ; - /* The value deviding the the groups. Valid only for dichotomous categorical variable.*/ + /* The value dividing the groups. Valid only for dichotomous categorical variable.*/ const union value *cutpoint; diff --git a/tests/language/dictionary/mrsets.at b/tests/language/dictionary/mrsets.at index edff6ae253..b69b91e1a4 100644 --- a/tests/language/dictionary/mrsets.at +++ b/tests/language/dictionary/mrsets.at @@ -57,7 +57,7 @@ mrsets.sps:29: warning: MRSETS: Variable y specified as part of multiple dichoto mrsets.sps:34: warning: MRSETS: Variable x specified as part of multiple dichotomy group $c (which has CATEGORYLABELS=COUNTEDVALUES) has no value label for its counted value. This category will not be distinguishable in output. -mrsets.sps:34: warning: MRSETS: Variables y and z specified as part of multiple dichotomy group $c (which has CATEGORYLABELS=COUNTEDVALUES) have the same value label for the the group's counted value. These categories will not be distinguishable in output. +mrsets.sps:34: warning: MRSETS: Variables y and z specified as part of multiple dichotomy group $c (which has CATEGORYLABELS=COUNTEDVALUES) have the same value label for the group's counted value. These categories will not be distinguishable in output. mrsets.sps:38: warning: MRSETS: MDGROUP subcommand for group $d specifies LABELSOURCE=VARLABEL but not CATEGORYLABELS=COUNTEDVALUES. Ignoring LABELSOURCE. -- 2.30.2