From fe1f18c8f51b639cb4ba788d7900be1cc63b469b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 1 May 2014 12:10:11 +0200 Subject: [PATCH] Fix typos Fix various typos found by topy. Change-Id: I634373c4a787e6a3c82386bf24084a609fb841ae --- src/main/javascript/shCore.js | 8 ++++---- src/main/resources/cloud/apipage/apipage-main.xsl | 2 +- src/main/resources/cloud/epub/profile-epub.xsl | 2 +- src/main/resources/cloud/fo/docbook.xsl | 2 +- .../resources/cloud/process-embedded-wadl-standalone.xsl | 4 ++-- .../cloud/war/dist/xslt/base/common/functions.xsl | 4 ++-- .../cloud/war/dist/xslt/base/common/normalize.xsl | 2 +- .../resources/cloud/war/dist/xslt/base/html/graphics.xsl | 2 +- .../cloud/war/dist/xslt/base/preprocess/4-normalize.xsl | 2 +- src/main/resources/cloud/war/docbook.xsl | 2 +- src/main/resources/cloud/webhelp/profile-webhelp.xsl | 2 +- src/main/resources/common/jquery/jquery.cookie.js | 4 ++-- .../resources/common/jquery/treeview/jquery.treeview.js | 2 +- src/main/resources/content/search/stemmers/de_stemmer.js | 6 +++--- 14 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/main/javascript/shCore.js b/src/main/javascript/shCore.js index 06849db..286f869 100644 --- a/src/main/javascript/shCore.js +++ b/src/main/javascript/shCore.js @@ -24,7 +24,7 @@ var sh = { * Pads line numbers. Possible values are: * * false - don't pad line numbers. - * true - automaticaly pad numbers with minimum required number of leading zeroes. + * true - automatically pad numbers with minimum required number of leading zeroes. * [int] - length up to which pad line numbers. */ 'pad-line-numbers' : false, @@ -829,7 +829,7 @@ function fixInputString(str) }; /** - * Removes all white space at the begining and end of a string. + * Removes all white space at the beginning and end of a string. * * @param {String} str String to trim. * @return {String} Returns string without leading and following white space characters. @@ -870,7 +870,7 @@ function unindent(str) min = Math.min(matches[0].length, min); } - // trim minimum common number of white space from the begining of every line + // trim minimum common number of white space from the beginning of every line if (min > 0) for (var i = 0; i < lines.length; i++) lines[i] = lines[i].substr(min); @@ -1639,7 +1639,7 @@ sh.Highlighter.prototype = { * Initializes the highlighter/brush. * * Constructor isn't used for initialization so that nothing executes during necessary - * `new SyntaxHighlighter.Highlighter()` call when setting up brush inheritence. + * `new SyntaxHighlighter.Highlighter()` call when setting up brush inheritance. * * @param {Hash} params Highlighter parameters. */ diff --git a/src/main/resources/cloud/apipage/apipage-main.xsl b/src/main/resources/cloud/apipage/apipage-main.xsl index 1c264b4..7b0cee0 100755 --- a/src/main/resources/cloud/apipage/apipage-main.xsl +++ b/src/main/resources/cloud/apipage/apipage-main.xsl @@ -569,7 +569,7 @@ - + diff --git a/src/main/resources/cloud/epub/profile-epub.xsl b/src/main/resources/cloud/epub/profile-epub.xsl index 56d52cd..2eb54bd 100644 --- a/src/main/resources/cloud/epub/profile-epub.xsl +++ b/src/main/resources/cloud/epub/profile-epub.xsl @@ -75,7 +75,7 @@ Processing legalnotice: diff --git a/src/main/resources/cloud/fo/docbook.xsl b/src/main/resources/cloud/fo/docbook.xsl index 109ce5a..4f07e5c 100644 --- a/src/main/resources/cloud/fo/docbook.xsl +++ b/src/main/resources/cloud/fo/docbook.xsl @@ -758,7 +758,7 @@ set toc,title diff --git a/src/main/resources/cloud/process-embedded-wadl-standalone.xsl b/src/main/resources/cloud/process-embedded-wadl-standalone.xsl index bba9635..e317ffc 100644 --- a/src/main/resources/cloud/process-embedded-wadl-standalone.xsl +++ b/src/main/resources/cloud/process-embedded-wadl-standalone.xsl @@ -537,10 +537,10 @@ - + diff --git a/src/main/resources/cloud/war/dist/xslt/base/common/functions.xsl b/src/main/resources/cloud/war/dist/xslt/base/common/functions.xsl index 0afe865..8459755 100644 --- a/src/main/resources/cloud/war/dist/xslt/base/common/functions.xsl +++ b/src/main/resources/cloud/war/dist/xslt/base/common/functions.xsl @@ -665,7 +665,7 @@ of the context node are in scope, as are processing instructions that appear This function searches a list of processing instructions for the -first psuedo-attribute matching the specified name and returns its value. +first pseudo-attribute matching the specified name and returns its value. @@ -718,7 +718,7 @@ such attribute can be found. Returns a pseudo-XPath expression locating the specified node -This function returns a psuedo-XPath expression that navigates from +This function returns a pseudo-XPath expression that navigates from the root of the document to the specified node. diff --git a/src/main/resources/cloud/war/dist/xslt/base/common/normalize.xsl b/src/main/resources/cloud/war/dist/xslt/base/common/normalize.xsl index 08c6c9d..6c9461f 100644 --- a/src/main/resources/cloud/war/dist/xslt/base/common/normalize.xsl +++ b/src/main/resources/cloud/war/dist/xslt/base/common/normalize.xsl @@ -61,7 +61,7 @@ moves all title, subtitle, and titleabbrev elements inside info wrappers, creating the wrapper if necessary. If the element being normalized has a default title (e.g., -bibligraphy and glossary), the title is made +bibliography and glossary), the title is made explicit during normalization. External glossaries and bibliographies (not yet!) are also copied by normalization. diff --git a/src/main/resources/cloud/war/dist/xslt/base/html/graphics.xsl b/src/main/resources/cloud/war/dist/xslt/base/html/graphics.xsl index b940bd5..6f5e5c9 100644 --- a/src/main/resources/cloud/war/dist/xslt/base/html/graphics.xsl +++ b/src/main/resources/cloud/war/dist/xslt/base/html/graphics.xsl @@ -112,7 +112,7 @@ convert percentages to actual values based on that nominal size. Scale can be problematic. Scale applies to the contentwidth, so -a scale of 50 when a contentwidth is not specified is analagous to a +a scale of 50 when a contentwidth is not specified is analogous to a width of 50%. (If a contentwidth is specified, the scaling factor can be applied to that value and no problem exists.) diff --git a/src/main/resources/cloud/war/dist/xslt/base/preprocess/4-normalize.xsl b/src/main/resources/cloud/war/dist/xslt/base/preprocess/4-normalize.xsl index 7a18565..b293127 100644 --- a/src/main/resources/cloud/war/dist/xslt/base/preprocess/4-normalize.xsl +++ b/src/main/resources/cloud/war/dist/xslt/base/preprocess/4-normalize.xsl @@ -70,7 +70,7 @@ moves all title, subtitle, and titleabbrev elements inside info wrappers, creating the wrapper if necessary. If the element being normalized has a default title (e.g., -bibligraphy and glossary), the title is made +bibliography and glossary), the title is made explicit during normalization. External glossaries and bibliographies (not yet!) are also copied by normalization. diff --git a/src/main/resources/cloud/war/docbook.xsl b/src/main/resources/cloud/war/docbook.xsl index f63061f..6d2e2fd 100644 --- a/src/main/resources/cloud/war/docbook.xsl +++ b/src/main/resources/cloud/war/docbook.xsl @@ -1174,7 +1174,7 @@ WARNING: No more than six steps are allowed in a tutorial. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - WARNING: Unsupported langague on a + WARNING: Unsupported language on a element: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/src/main/resources/cloud/webhelp/profile-webhelp.xsl b/src/main/resources/cloud/webhelp/profile-webhelp.xsl index 2470c3b..d1051b0 100644 --- a/src/main/resources/cloud/webhelp/profile-webhelp.xsl +++ b/src/main/resources/cloud/webhelp/profile-webhelp.xsl @@ -110,7 +110,7 @@ diff --git a/src/main/resources/common/jquery/jquery.cookie.js b/src/main/resources/common/jquery/jquery.cookie.js index bada7bf..978ff27 100644 --- a/src/main/resources/common/jquery/jquery.cookie.js +++ b/src/main/resources/common/jquery/jquery.cookie.js @@ -26,8 +26,8 @@ * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. * If a negative value is specified (e.g. a date in the past), the cookie will be deleted. * If set to null or omitted, the cookie will be a session cookie and will not be retained - * when the the browser exits. - * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie). + * when the browser exits. + * @option String path The value of the path attribute of the cookie (default: path of page that created the cookie). * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie). * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will * require a secure protocol (like HTTPS). diff --git a/src/main/resources/common/jquery/treeview/jquery.treeview.js b/src/main/resources/common/jquery/treeview/jquery.treeview.js index 248e725..43f5181 100644 --- a/src/main/resources/common/jquery/treeview/jquery.treeview.js +++ b/src/main/resources/common/jquery/treeview/jquery.treeview.js @@ -249,7 +249,7 @@ hitarea: "hitarea" }; - // provide backwards compability + // provide backwards compatibility $.fn.Treeview = $.fn.treeview; })(jQuery); \ No newline at end of file diff --git a/src/main/resources/content/search/stemmers/de_stemmer.js b/src/main/resources/content/search/stemmers/de_stemmer.js index 7ff3822..24ee3bd 100755 --- a/src/main/resources/content/search/stemmers/de_stemmer.js +++ b/src/main/resources/content/search/stemmers/de_stemmer.js @@ -29,9 +29,9 @@ /* and then do the following mappings, (a) replace ß with ss, - (a) replace ae with ä, Not doing these, have trouble with diphtongs - (a) replace oe with ö, Not doing these, have trouble with diphtongs - (a) replace ue with ü unless preceded by q. Not doing these, have trouble with diphtongs + (a) replace ae with ä, Not doing these, have trouble with diphthongs + (a) replace oe with ö, Not doing these, have trouble with diphthongs + (a) replace ue with ü unless preceded by q. Not doing these, have trouble with diphthongs So in quelle, ue is not mapped to ü because it follows q, and in feuer it is not mapped because the first part of the rule changes it to feUer, so the u is not found. */ word = word.replace(/ß/g, 'ss');