Browse Source

I corrected many small grammar errors in the comments: I didn't change the executable code.

master
Sebastiano Pistore 1 month ago
parent
commit
252a822560

+ 3
- 3
build/HELP View File

@@ -14,14 +14,14 @@ build_main.sh [options] build_xmlstream "file.xhtml"
14 14
 build_main.sh [options] process_file "file.xhtml" [processor.xsl]
15 15
   Generate output from an xhtml file as if it would be processed during the
16 16
   build. Output is written to STDOUT and can be redirected as desired.
17
-  If a xslt file is not given, it will be choosen automatically.
17
+  If a xslt file is not given, it will be chosen automatically.
18 18
 
19 19
 build_main.sh [options] tree_maker [input_dir] "destination_dir"
20 20
   Generate a set of make rules to build the website contained in input_dir.
21 21
   destination_dir should be the www root of a web server.
22 22
   If input_dir is omitted, it will be the source directory determined from
23 23
   the build scripts location.
24
-  Note: if destination_dir is set via previous options, and only one paramter
24
+  Note: if destination_dir is set via previous options, and only one parameter
25 25
   is given, then this parameter will be interpreted as input_dir
26 26
 
27 27
 build_main.sh [options] wakeup [date]
@@ -42,7 +42,7 @@ OPTIONS
42 42
 --source "source_dir"
43 43
   Force a specific source directory. If not explicitly given source_dir is
44 44
   determined from the build scripts own location. 
45
-  Pathes given in .sources files are interpreted as relative to source_dir
45
+  Paths given in .sources files are interpreted as relative to source_dir
46 46
   making this option useful when building a webpage outside of the build
47 47
   scripts "regular" tree.
48 48
 

+ 1
- 1
build/filenames.sh View File

@@ -6,7 +6,7 @@ inc_filenames=true
6 6
 list_langs(){
7 7
   # list all languages a file exists in by globbing up
8 8
   # the shortname (i.e. file path with file ending omitted)
9
-  # output is readily formated for inclusion
9
+  # output is readily formatted for inclusion
10 10
   # in xml stream
11 11
   shortname="$1"
12 12
 

+ 1
- 1
build/translations.sh View File

@@ -6,7 +6,7 @@ inc_translations=true
6 6
 
7 7
 get_textsfile(){
8 8
   # get the texts file for a given language
9
-  # fall back to english if necessary
9
+  # fall back to English if necessary
10 10
   lang="$1"
11 11
 
12 12
   if [ -f "$basedir/tools/texts-${1}.xml" ]; then

+ 2
- 2
build/xslt/fsfe_followupsection.xsl View File

@@ -7,8 +7,8 @@
7 7
       <xsl:attribute name="id">followup</xsl:attribute>
8 8
          <!--
9 9
          TODO Okay, so the idea here is to be able to display different "followup" boxes. I would suggest doing it like this:
10
-          - the xml page shold be able to say that it wants to show a
11
-              specific boxe and would contain e.g.
10
+          - the xml page should be able to say that it wants to show a
11
+              specific box and would contain e.g.
12 12
               <followup>subscribe-newsletter</followup> so the page would show
13 13
               the following box.
14 14
           - if the xml page does not contain any <followup> variable, then we should be able to set a default followup box on our own.

+ 2
- 2
build/xslt/fsfe_head.xsl View File

@@ -163,7 +163,7 @@
163 163
     <!-- EXTRACT -->
164 164
     <!-- take a first extract which should be sufficient for most pages -->
165 165
     <xsl:variable name="extract1">
166
-      <!-- retreive the first 200 letters of the first p element after h1 -->
166
+      <!-- retrieve the first 200 letters of the first p element after h1 -->
167 167
       <xsl:value-of select="substring(normalize-space(body/h1[1]/following::p[1]),1,200)" />
168 168
     </xsl:variable>
169 169
     <!-- measure first extract length -->
@@ -180,7 +180,7 @@
180 180
         <!-- case: first extract is too short -->
181 181
         <xsl:otherwise>
182 182
           <xsl:variable name="extract2">
183
-            <!-- retreive the first 200 letters of the *second* p element after h1 -->
183
+            <!-- retrieve the first 200 letters of the *second* p element after h1 -->
184 184
             <xsl:value-of select="substring(normalize-space(body/h1[1]/following::p[2]),1,200)" />
185 185
           </xsl:variable>
186 186
           <!-- measure *second* extract length -->

+ 1
- 1
build/xslt/support_js.xsl View File

@@ -33,7 +33,7 @@
33 33
   <xsl:template name="support-form-javascript">
34 34
     <script type="text/javascript" src="/scripts/jquery.validate.min.js"></script>
35 35
     <!-- 
36
-        script type="text/javascript" src="/scripts/jquery.validate-lozalization/messages_fi.js"></script 
36
+        script type="text/javascript" src="/scripts/jquery.validate-localization/messages_fi.js"></script 
37 37
         *How to inser lang code in above?*
38 38
      -->
39 39
     <script type="text/javascript">

+ 1
- 1
events/events.ics.xsl View File

@@ -89,7 +89,7 @@
89 89
   <xsl:template name="ical-escape">
90 90
     <xsl:param name="text" />
91 91
     
92
-    <!-- characters to be backslahed: \;, -->
92
+    <!-- characters to be backslashed: \;, -->
93 93
     <xsl:value-of select="str:replace(str:replace(str:replace($text,'\','\\'),',','\,'),';','\;')" />
94 94
   </xsl:template>
95 95
 

+ 1
- 1
tools/check-translation-status.sh View File

@@ -41,7 +41,7 @@ if [ "$1" = "" ] || [ -z "$FILE" ]; then
41 41
   exit 0
42 42
 fi
43 43
 
44
-# -o supresses all other output (-q), and implicates -a
44
+# -o suppresses all other output (-q), and implicates -a
45 45
 if [ ! -z "$ONLY" ]; then
46 46
   QUIET="1"
47 47
   ALL="1"

+ 1
- 1
tools/update_xmllists.sh View File

@@ -10,7 +10,7 @@
10 10
 #   in phase 2 are built into pages listing all news items and events for a
11 11
 #   tag.
12 12
 #
13
-# * tags/.tags.??.xml with a list of the tags useed.
13
+# * tags/.tags.??.xml with a list of the tags used.
14 14
 #
15 15
 # * <dir>/.<base>.xmllist for each <dir>/<base>.sources as well as for each
16 16
 #   tags/tagged-<tags>.en.xhtml. These files are used in phase 2 to include the

+ 2
- 2
tools/xsltsl/string.xsl View File

@@ -156,7 +156,7 @@
156 156
     </refparameter>
157 157
 
158 158
     <refreturn>
159
-      <para>Returns string with first character uppcase and all remaining characters lowercase.</para>
159
+      <para>Returns string with first character uppercase and all remaining characters lowercase.</para>
160 160
     </refreturn>
161 161
   </doc:template>
162 162
 
@@ -232,7 +232,7 @@
232 232
     </refparameter>
233 233
 
234 234
     <refreturn>
235
-      <para>Returns string with first character uppcase and all remaining characters lowercase.</para>
235
+      <para>Returns string with first character uppercase and all remaining characters lowercase.</para>
236 236
     </refreturn>
237 237
   </doc:template>
238 238
 

Loading…
Cancel
Save