Blame SOURCES/0005-Spelling-fixes-BR103255.patch

aca8a1
From fa5805559ad27382ef62110cb23e67d6eb649030 Mon Sep 17 00:00:00 2001
aca8a1
From: Rex Dieter <rdieter@gmail.com>
aca8a1
Date: Wed, 29 Nov 2017 14:07:24 -0600
aca8a1
Subject: [PATCH 5/8] Spelling fixes (BR103255)
aca8a1
MIME-Version: 1.0
aca8a1
Content-Type: text/plain; charset=UTF-8
aca8a1
Content-Transfer-Encoding: 8bit
aca8a1
aca8a1
Credit to Ville Skyttä <ville.skytta@iki.fi>
aca8a1
---
aca8a1
 ChangeLog                       |  4 ++--
aca8a1
 scripts/desc/xdg-settings.xml   |  2 +-
aca8a1
 scripts/xdg-desktop-menu.in     |  2 +-
aca8a1
 scripts/xdg-screensaver.in      |  2 +-
aca8a1
 tests/README                    |  4 ++--
aca8a1
 tests/debug/t.extraout          |  2 +-
aca8a1
 tests/debug/t.interactive       |  2 +-
aca8a1
 tests/doc_gen.pl                |  2 +-
aca8a1
 tests/include/testassertions.sh | 10 +++++-----
aca8a1
 tests/testrun                   |  2 +-
aca8a1
 10 files changed, 16 insertions(+), 16 deletions(-)
aca8a1
aca8a1
diff --git a/ChangeLog b/ChangeLog
aca8a1
index c819efb..292915f 100644
aca8a1
--- a/ChangeLog
aca8a1
+++ b/ChangeLog
aca8a1
@@ -541,7 +541,7 @@
aca8a1
 
aca8a1
 2006-04-24 Kevin Krammer <kevin.krammer@gmx.at>
aca8a1
     * Applied patch provided by Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
aca8a1
-      to improve the compatability of the Makefile
aca8a1
+      to improve the compatibility of the Makefile
aca8a1
     * Added --title option to xdg-file-dialog
aca8a1
     * Applied another path by Benedikt to let xdg-file-dialog use
aca8a1
       zenity on GNOME and XFCE
aca8a1
@@ -564,7 +564,7 @@
aca8a1
       Currently only used in xdg-mime to gather feedback
aca8a1
 
aca8a1
 2006-04-08 Kevin Krammer <kevin.krammer@gmx.at>
aca8a1
-    * In case of $BROWSER being not avialable or empty, try a fixed list of well
aca8a1
+    * In case of $BROWSER being not available or empty, try a fixed list of well
aca8a1
       known browsers instead
aca8a1
 
aca8a1
 2006-04-06 Kevin Krammer <kevin.krammer@gmx.at>
aca8a1
diff --git a/scripts/desc/xdg-settings.xml b/scripts/desc/xdg-settings.xml
aca8a1
index 56055b7..255d712 100644
aca8a1
--- a/scripts/desc/xdg-settings.xml
aca8a1
+++ b/scripts/desc/xdg-settings.xml
aca8a1
@@ -114,7 +114,7 @@
aca8a1
   <refsect1 id="properties">
aca8a1
     <title>Properties</title>
aca8a1
     <para>
aca8a1
-      When using xdg-settings to get, check or set a destkop setting, properties
aca8a1
+      When using xdg-settings to get, check or set a desktop setting, properties
aca8a1
       and possibly sub-properties are used to specify the setting to be changed.
aca8a1
     </para>
aca8a1
     <para>
aca8a1
diff --git a/scripts/xdg-desktop-menu.in b/scripts/xdg-desktop-menu.in
aca8a1
index 13159cb..9d837e1 100644
aca8a1
--- a/scripts/xdg-desktop-menu.in
aca8a1
+++ b/scripts/xdg-desktop-menu.in
aca8a1
@@ -394,7 +394,7 @@ while [ $# -gt 0 ] ; do
aca8a1
         case "$parm" in
aca8a1
            *.directory)
aca8a1
               if [ -n "$desktop_files" ] ; then
aca8a1
-                  exit_failure_syntax "'$parm' must preceed any *.desktop file"
aca8a1
+                  exit_failure_syntax "'$parm' must precede any *.desktop file"
aca8a1
               fi
aca8a1
               directory_files="$directory_files $parm"
aca8a1
               ;;
aca8a1
diff --git a/scripts/xdg-screensaver.in b/scripts/xdg-screensaver.in
aca8a1
index aecd8e3..9e68196 100644
aca8a1
--- a/scripts/xdg-screensaver.in
aca8a1
+++ b/scripts/xdg-screensaver.in
aca8a1
@@ -583,7 +583,7 @@ screensaver_mate_screensaver()
aca8a1
 {
aca8a1
 # DBUS interface for mate-screensaver
aca8a1
 # This is same as gnome's for now but may change in the future as MATE
aca8a1
-# does not follow gnome's developement necessarily.
aca8a1
+# does not follow gnome's development necessarily.
aca8a1
     case "$1" in
aca8a1
         suspend)
aca8a1
         screensaver_suspend_loop \
aca8a1
diff --git a/tests/README b/tests/README
aca8a1
index 26469f2..8ebcfef 100644
aca8a1
--- a/tests/README
aca8a1
+++ b/tests/README
aca8a1
@@ -18,7 +18,7 @@ NORESULT: test_system_mime_install
aca8a1
 See xdg-test.log for details.
aca8a1
 NOT OK!
aca8a1
 
aca8a1
-FAIL     indicates (not suprisingly) a test failure. 
aca8a1
+FAIL     indicates (not surprisingly) a test failure.
aca8a1
 NORESULT indicates that the test prerequisites failed for some reason. 
aca8a1
          (e.g. the install phase of an uninstall test failed)
aca8a1
 UNTESTED means that something needed was not found. This is fine and should
aca8a1
@@ -26,7 +26,7 @@ UNTESTED means that something needed was not found. This is fine and should
aca8a1
          (e.g. test requires root, but we are not running as root)
aca8a1
 
aca8a1
 NOTE: The test runner makes guesses about appropriate values of XDG_TEST_DIR
aca8a1
-      and PATH. These values can be overriden explicitly.
aca8a1
+      and PATH. These values can be overridden explicitly.
aca8a1
 
aca8a1
 To run tests individually, or as smaller groups do something like
aca8a1
 
aca8a1
diff --git a/tests/debug/t.extraout b/tests/debug/t.extraout
aca8a1
index ea84b33..4946673 100755
aca8a1
--- a/tests/debug/t.extraout
aca8a1
+++ b/tests/debug/t.extraout
aca8a1
@@ -4,7 +4,7 @@
aca8a1
 . "$XDG_TEST_DIR/include/testcontrol.sh"
aca8a1
 
aca8a1
 test_extraout() {
aca8a1
-test_start "$FUNCNAME: verify functionallity of assert_nostdout"
aca8a1
+test_start "$FUNCNAME: verify functionality of assert_nostdout"
aca8a1
 
aca8a1
 test_procedure
aca8a1
 
aca8a1
diff --git a/tests/debug/t.interactive b/tests/debug/t.interactive
aca8a1
index fa203c2..6f6f858 100755
aca8a1
--- a/tests/debug/t.interactive
aca8a1
+++ b/tests/debug/t.interactive
aca8a1
@@ -4,7 +4,7 @@
aca8a1
 . "$XDG_TEST_DIR/include/testcontrol.sh"
aca8a1
 
aca8a1
 test_interactive() {
aca8a1
-test_start "$FUNCNAME: verify functionallity of assert_interactive"
aca8a1
+test_start "$FUNCNAME: verify functionality of assert_interactive"
aca8a1
 
aca8a1
 test_procedure
aca8a1
 
aca8a1
diff --git a/tests/doc_gen.pl b/tests/doc_gen.pl
aca8a1
index ed29d94..50d134d 100755
aca8a1
--- a/tests/doc_gen.pl
aca8a1
+++ b/tests/doc_gen.pl
aca8a1
@@ -102,7 +102,7 @@ for $f ( @test_files ) {
aca8a1
 		}
aca8a1
 		#find initilization
aca8a1
 		elsif ( m/test_init/ ) {
aca8a1
-			print HTM "

Depencencies

\n";
aca8a1
+			print HTM "

Dependencies

\n";
aca8a1
 			$state = 'INIT';
aca8a1
 			next;
aca8a1
 		}
aca8a1
diff --git a/tests/include/testassertions.sh b/tests/include/testassertions.sh
aca8a1
index 1ba026d..142c0de 100644
aca8a1
--- a/tests/include/testassertions.sh
aca8a1
+++ b/tests/include/testassertions.sh
aca8a1
@@ -5,7 +5,7 @@
aca8a1
 . "$XDG_TEST_DIR/include/testfuncs.sh"
aca8a1
 
aca8a1
 ## NOTE: Documentation is generated AUTOMATICALLY from this file
aca8a1
-## Function usage must immediately follow function delcaration
aca8a1
+## Function usage must immediately follow function declaration
aca8a1
 
aca8a1
 assert_exit() {
aca8a1
 # execute command (saving output) and check exit code
aca8a1
@@ -41,7 +41,7 @@ assert_interactive_notroot() {
aca8a1
 }
aca8a1
 
aca8a1
 assert_interactive() {
aca8a1
-# Useage:
aca8a1
+# Usage:
aca8a1
 # assert_interactive {msg} [y|n|C|s varname]
aca8a1
 #
aca8a1
 # msg is the text to print.
aca8a1
@@ -122,7 +122,7 @@ assert_file_not_in_path() {
aca8a1
 
aca8a1
 
aca8a1
 assert_file() {
aca8a1
-# Assert the existance of an exact filename
aca8a1
+# Assert the existence of an exact filename
aca8a1
 # Usage: assert_file FILE
aca8a1
 	if [ ! -e "$1" ] ; then
aca8a1
 		test_fail "'$1' does not exist"
aca8a1
@@ -140,7 +140,7 @@ assert_file() {
aca8a1
 }
aca8a1
 
aca8a1
 assert_nofile() {
aca8a1
-# Assert the non existance of an exact filename.
aca8a1
+# Assert the non existence of an exact filename.
aca8a1
 # Opposite of 'assert_file'
aca8a1
 	if [ -e "$1" ] ; then
aca8a1
 		test_fail "'$1' exists."
aca8a1
@@ -339,7 +339,7 @@ get_unique_name() {
aca8a1
 	varname="$1"
aca8a1
 	file="$2"
aca8a1
 	if [ -z "$varname" ] ; then
aca8a1
-		echo "TEST SYNAX ERROR: get_unique_name requries a variable name"
aca8a1
+		echo "TEST SYNAX ERROR: get_unique_name requires a variable name"
aca8a1
 		exit 255
aca8a1
 	fi
aca8a1
 
aca8a1
diff --git a/tests/testrun b/tests/testrun
aca8a1
index 822fc69..4a9f748 100755
aca8a1
--- a/tests/testrun
aca8a1
+++ b/tests/testrun
aca8a1
@@ -123,7 +123,7 @@ if [ -z "$XDG_TEST_SELF_LAUNCH"  ] ; then  # not self launched
aca8a1
 		else
aca8a1
 			SUCMD=`which sudo 2>/dev/null`
aca8a1
 			echo "Running ${SUCMD-su} for system tests."
aca8a1
-			echo "Please enter an apropriate password if requested."
aca8a1
+			echo "Please enter an appropriate password if requested."
aca8a1
 		fi
aca8a1
 		# Note if sudo is not found, $SUCMD will be blank, so run su directly.
aca8a1
 		# We cannot assume su works since systems like Ubuntu require sudo
aca8a1
-- 
aca8a1
2.14.3
aca8a1