Index: openacs-4/packages/acs-lang/tcl/lang-message-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/tcl/lang-message-procs.tcl,v
diff -u -r1.57 -r1.58
--- openacs-4/packages/acs-lang/tcl/lang-message-procs.tcl	8 Mar 2018 07:45:52 -0000	1.57
+++ openacs-4/packages/acs-lang/tcl/lang-message-procs.tcl	29 Mar 2018 08:09:04 -0000	1.58
@@ -638,14 +638,14 @@
     array set value_array $value_array_list
     set value_array_keys [array names value_array]
     set remaining_message $localized_message
-    set formated_message ""
+    set formatted_message ""
     while { [regexp [embedded_vars_regexp] $remaining_message match before_percent percent_match remaining_message] } {
 
-        append formated_message $before_percent
+        append formatted_message $before_percent
 
         if {$percent_match eq "%%"} {
             # A quoted percent sign
-            append formated_message "%"
+            append formatted_message "%"
         } else {
             set variable_string [string range $percent_match 1 end-1]
 
@@ -657,10 +657,10 @@
                     
                     # There is no value available to do the substitution with
                     # so don't substitute at all
-                    append formated_message $percent_match
+                    append formatted_message $percent_match
                 } else {
                     # Do the substitution
-                    append formated_message $value_array($variable_string)
+                    append formatted_message $value_array($variable_string)
                 }
             } else {
                 regexp {^([^.]+)(?:\.([^.]+))?$} $variable_string match variable_name array_key
@@ -672,23 +672,23 @@
                 if { [info exists local_variable] } {
                     if { (![info exists array_key] || $array_key eq "") } {
                         # Normal Tcl variable
-                        append formated_message $local_variable
+                        append formatted_message $local_variable
                     } else {
                         # Array variable
-                        append formated_message $local_variable($array_key)
+                        append formatted_message $local_variable($array_key)
                     }
                 } else {
                     ns_log warning "Message contains a variable named '$variable_name' which doesn't exist in the caller's environment: message $localized_message"
-		    append formated_message "MISSING: variable '$variable_name' is not available"
+		    append formatted_message "MISSING: variable '$variable_name' is not available"
                 }
             }
         }
     }
 
     # Append text after the last match
-    append formated_message $remaining_message
+    append formatted_message $remaining_message
 
-    return $formated_message
+    return $formatted_message
 }
 
 ad_proc -private lang::message::embedded_vars_regexp {} {
Index: openacs-4/packages/acs-mail-lite/tcl/acs-mail-lite-callback-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/tcl/acs-mail-lite-callback-procs.tcl,v
diff -u -r1.26 -r1.27
--- openacs-4/packages/acs-mail-lite/tcl/acs-mail-lite-callback-procs.tcl	17 Feb 2018 17:33:11 -0000	1.26
+++ openacs-4/packages/acs-mail-lite/tcl/acs-mail-lite-callback-procs.tcl	29 Mar 2018 08:09:04 -0000	1.27
@@ -75,7 +75,7 @@
     -package_id:required
 } {
     Implementation of the interface acs_mail_lite::incoming_email for acs-mail-lite. This proc
-    takes care of emails bounced back from mailer deamons. The required syntax for the To header
+    takes care of emails bounced back from mailer daemons. The required syntax for the To header
     is as follows: EnvelopPrefix-user_id-signature-package_id@myhost.com. This email was set for
     the Return-Path header of the original email. The signature is created by calculating the SHA
     value of the original Message-Id header. Thus an email is valid if the signature is correct and
Index: openacs-4/packages/acs-mail-lite/tcl/incoming-mail-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-mail-lite/tcl/Attic/incoming-mail-procs.tcl,v
diff -u -r1.13 -r1.14
--- openacs-4/packages/acs-mail-lite/tcl/incoming-mail-procs.tcl	27 Mar 2018 12:22:17 -0000	1.13
+++ openacs-4/packages/acs-mail-lite/tcl/incoming-mail-procs.tcl	29 Mar 2018 08:09:04 -0000	1.14
@@ -165,7 +165,7 @@
 	-received
         -references (this references the original message id if the email is a reply)
 	-in-reply-to (this references the original message id if the email is a reply)
-	-return-path (this is used for mailer deamons to bounce emails back like bounce-user_id-signature-package_id@service0.com)
+	-return-path (this is used for mailer daemons to bounce emails back like bounce-user_id-signature-package_id@service0.com)
 	
 	Optional application specific stuff only exist in special cases:
 	
Index: openacs-4/packages/acs-messaging/www/doc/requirements.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-messaging/www/doc/requirements.adp,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/acs-messaging/www/doc/requirements.adp	7 Aug 2017 23:47:57 -0000	1.3
+++ openacs-4/packages/acs-messaging/www/doc/requirements.adp	29 Mar 2018 08:09:04 -0000	1.4
@@ -59,7 +59,7 @@
 <li>BBoard</li><li>Webmail</li><li>General Comments</li><li>Spam</li><li>Various parts of the ticket tracker.</li>
 </ul>
 <p>Each of these applications requires a message store and each
-defines it&#39;s own high level organization for messages whithin
+defines it&#39;s own high level organization for messages within
 that store.</p>
 <ul>
 <li>Bboard organizes messages into forums and categories and
Index: openacs-4/packages/acs-tcl/tcl/security-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/security-procs.tcl,v
diff -u -r1.89 -r1.90
--- openacs-4/packages/acs-tcl/tcl/security-procs.tcl	28 Mar 2018 07:42:01 -0000	1.89
+++ openacs-4/packages/acs-tcl/tcl/security-procs.tcl	29 Mar 2018 08:09:04 -0000	1.90
@@ -454,7 +454,7 @@
         }
     } else {
         # $session_id is an active verified session
-        # this call is either a user loging in
+        # this call is either a user logging in
         # on an active unidentified session, or a change in identity
         # for a browser that is already logged in
 
Index: openacs-4/packages/forums/www/admin/subscribe-others-2.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/forums/www/admin/subscribe-others-2.tcl,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/forums/www/admin/subscribe-others-2.tcl	7 Aug 2017 23:48:12 -0000	1.9
+++ openacs-4/packages/forums/www/admin/subscribe-others-2.tcl	29 Mar 2018 08:11:24 -0000	1.10
@@ -31,7 +31,7 @@
 
 set pretty_name $forum(name)
 
-# Check that the object can be subcribed to
+# Check that the object can be subscribed to
 notification::security::require_notify_object -object_id $forum_id
 
 ns_write "<html><title>Subscribing users</title><body>"