[Libreoffice-commits] help.git: help3xsl/help.js help3xsl/xhp2html.sh source/text to-wiki/wikiconv2.py upload-wiki.pl wiki-to-help/HHC wiki-to-help/hhc.py wiki-to-help/mwlib_mods

Andrea Gelmini andrea.gelmini at gelma.net
Wed Jan 3 03:34:25 UTC 2018


 help3xsl/help.js                                  |    2 +-
 help3xsl/xhp2html.sh                              |    6 +++---
 source/text/scalc/01/04060109.xhp                 |    2 +-
 source/text/scalc/01/04060119.xhp                 |    2 +-
 source/text/schart/01/04040000.xhp                |    2 +-
 source/text/schart/01/04050000.xhp                |    2 +-
 source/text/sdraw/guide/groups.xhp                |    2 +-
 source/text/shared/01/05020300.xhp                |    2 +-
 source/text/shared/01/ref_epub_export.xhp         |    2 +-
 source/text/shared/guide/chart_legend.xhp         |    2 +-
 source/text/shared/guide/dragdrop_fromgallery.xhp |    2 +-
 source/text/shared/guide/language_select.xhp      |    2 +-
 source/text/shared/optionen/01010501.xhp          |    2 +-
 source/text/smath/01/03090500.xhp                 |    2 +-
 source/text/smath/01/03090700.xhp                 |    2 +-
 source/text/swriter/guide/pagenumbers.xhp         |    4 ++--
 source/text/swriter/guide/table_select.xhp        |    2 +-
 to-wiki/wikiconv2.py                              |    2 +-
 upload-wiki.pl                                    |    6 +++---
 wiki-to-help/HHC/install_hhc.sh                   |    4 ++--
 wiki-to-help/hhc.py                               |    2 +-
 wiki-to-help/mwlib_mods/docbook_table_tags.py     |    2 +-
 22 files changed, 28 insertions(+), 28 deletions(-)

New commits:
commit 7c78c30b297d368b94ab82f761c032b59f225c06
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Tue Sep 19 10:09:22 2017 +0200

    Fix typos
    
    Change-Id: I7ef82f8d2896f3687be1aacfd08b8cf0d0d6e105
    Reviewed-on: https://gerrit.libreoffice.org/47273
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/help3xsl/help.js b/help3xsl/help.js
index 552022070..04b02e526 100644
--- a/help3xsl/help.js
+++ b/help3xsl/help.js
@@ -7,7 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-// Used to set Apllication in caseinlie=APP
+// Used to set Application in caseinline=APP
 function setModule(module){
     if (module == null){module="WRITER"}
     var itemspan = document.getElementsByTagName("span");
diff --git a/help3xsl/xhp2html.sh b/help3xsl/xhp2html.sh
index b4e56b5a7..6c7145e66 100755
--- a/help3xsl/xhp2html.sh
+++ b/help3xsl/xhp2html.sh
@@ -6,7 +6,7 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
-# This script builds translated XHP file with helpex excutable
+# This script builds translated XHP file with helpex executable
 # and thes transform it to html pages
 # 1) generates redirection from LibreOffice Help URL to right html page
 #    in index.html with bookmark2file.js
@@ -186,7 +186,7 @@ mkdir -p $here'/html/'$productversion'/media/icon-themes'
 cp -a ../../icon-themes/galaxy/* $here'/html/'$productversion'/media/icon-themes/'
 ln -s $productversion html/latest
 
-# Set helpex utilty and environment
+# Set helpex utility and environment
 
 while test ! -d "${rootHelpex}/instdir/program" ; do
 if test "${dir}" = "/"; then
@@ -238,7 +238,7 @@ mkdir -p $outDirLang
 outDirHTML=$here'/html/'$productversion'/'$lang
 mkdir -p $outDirHTML
 
-# Special case of en-US, tehre is no translation to do
+# Special case of en-US, there is no translation to do
 
 if [ "$lang" == en-US ];
 then
diff --git a/source/text/scalc/01/04060109.xhp b/source/text/scalc/01/04060109.xhp
index ef8d5bd5e..95e3d8791 100644
--- a/source/text/scalc/01/04060109.xhp
+++ b/source/text/scalc/01/04060109.xhp
@@ -50,7 +50,7 @@
             <paragraph xml-lang="en-US" id="par_id102720080230153" role="paragraph">In INDIRECT, the parameter is appended as the second parameter.</paragraph>
             <paragraph xml-lang="en-US" id="par_id102720080230151" role="paragraph">In both functions, if the argument is inserted with the value 0, then the R1C1 notation is used. If the argument is not given or has a value other than 0, then the A1 notation is used. </paragraph>
             <paragraph xml-lang="en-US" id="par_id1027200802301556" role="paragraph">In case of R1C1 notation, ADDRESS returns address strings using the exclamation mark '!' as the sheet name separator, and INDIRECT expects the exclamation mark as sheet name separator. Both functions still use the dot '.' sheet name separator with A1 notation.</paragraph>
-            <paragraph xml-lang="en-US" id="par_id1027200802301521" role="paragraph">When opening documents from ODF 1.0/1.1 format, the ADDRESS functions that show a sheet name as the fourth paramater will shift that sheet name to become the fifth parameter. A new fourth parameter with the value 1 will be inserted.</paragraph>
+            <paragraph xml-lang="en-US" id="par_id1027200802301521" role="paragraph">When opening documents from ODF 1.0/1.1 format, the ADDRESS functions that show a sheet name as the fourth parameter will shift that sheet name to become the fifth parameter. A new fourth parameter with the value 1 will be inserted.</paragraph>
             <paragraph xml-lang="en-US" id="par_id1027200802301650" role="paragraph">When storing a document in ODF 1.0/1.1 format, if ADDRESS functions have a fourth parameter, that parameter will be removed.</paragraph>
             <paragraph xml-lang="en-US" id="par_id102720080230162" role="note">Do not save a spreadsheet in the old ODF 1.0/1.1 format if the ADDRESS function's new fourth parameter was used with a value of 0.</paragraph>
             <paragraph xml-lang="en-US" id="par_id1027200802301756" role="note">The INDIRECT function is saved without conversion to ODF 1.0/1.1 format. If the second parameter was present, an older version of Calc will return an error for that function.</paragraph>
diff --git a/source/text/scalc/01/04060119.xhp b/source/text/scalc/01/04060119.xhp
index 982ff2fbb..78b1ecc36 100644
--- a/source/text/scalc/01/04060119.xhp
+++ b/source/text/scalc/01/04060119.xhp
@@ -543,7 +543,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id3155799"><bookmark_value>TBILLEQ function</bookmark_value>
 <bookmark_value>treasury bills;annual return</bookmark_value>
 <bookmark_value>annual return on treasury bills</bookmark_value>
-</bookmark><comment>mw changed "treasury bills;..." and aded one entry</comment>
+</bookmark><comment>mw changed "treasury bills;..." and added one entry</comment>
 <bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_TBILLEQ" id="bm_id3147380" localize="false"/>
 <paragraph role="heading" id="hd_id3155799" xml-lang="en-US" level="2">TBILLEQ</paragraph>
 <paragraph role="paragraph" id="par_id3154403" xml-lang="en-US"><ahelp hid="HID_AAI_FUNC_TBILLEQ">Calculates the annual return on a treasury bill.</ahelp> A treasury bill is purchased on the settlement date and sold at the full par value on the maturity date, that must fall within the same year. A discount is deducted from the purchase price.</paragraph>
diff --git a/source/text/schart/01/04040000.xhp b/source/text/schart/01/04040000.xhp
index ff6a32838..0d2a6cd7c 100644
--- a/source/text/schart/01/04040000.xhp
+++ b/source/text/schart/01/04040000.xhp
@@ -36,7 +36,7 @@
 <bookmark_value>Z axes; showing</bookmark_value>
 <bookmark_value>axes; better scaling</bookmark_value>
 <bookmark_value>secondary axes in charts</bookmark_value>
-</bookmark><comment>mw made "secondary axes;" a one level entry, deleted "charts; showing secondary axes" and generated one "axes;" enry out of two "axes;showing..." entries</comment>
+</bookmark><comment>mw made "secondary axes;" a one level entry, deleted "charts; showing secondary axes" and generated one "axes;" entry out of two "axes;showing..." entries</comment>
 <bookmark xml-lang="en-US" branch="hid/.uno:InsertMenuAxes" id="bm_id3146121" localize="false"/>
 <bookmark xml-lang="en-US" branch="hid/modules/schart/ui/insertaxisdlg/InsertAxisDialog" id="bm_id3146122" localize="false"/>
 <paragraph role="heading" id="hd_id3147428" xml-lang="en-US" level="1">Axes</paragraph>
diff --git a/source/text/schart/01/04050000.xhp b/source/text/schart/01/04050000.xhp
index f4fb827a0..f0e6de786 100644
--- a/source/text/schart/01/04050000.xhp
+++ b/source/text/schart/01/04050000.xhp
@@ -101,7 +101,7 @@
 <bookmark xml-lang="en-US" branch="hid/modules/schart/ui/dlg_InsertErrorBars/CB_SYN_POS_NEG" id="bm_id3964971" localize="false"/>
 <bookmark xml-lang="en-US" branch="hid/modules/schart/ui/tp_ErrorBars/CB_SYN_POS_NEG" id="bm_id3964964" localize="false"/>
 <paragraph role="heading" id="hd_id0428200810573977" xml-lang="en-US" level="3">Same value for both</paragraph>
-<paragraph role="paragraph" id="par_id0428200810573991" xml-lang="en-US"><ahelp hid=".">Enable to use the positive error values also as negative error values. You can only change the value of the "Positve (+)" box. That value gets copied to the "Negative (-)" box automatically.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id0428200810573991" xml-lang="en-US"><ahelp hid=".">Enable to use the positive error values also as negative error values. You can only change the value of the "Positive (+)" box. That value gets copied to the "Negative (-)" box automatically.</ahelp></paragraph>
 <paragraph role="heading" id="hd_id3156396" xml-lang="en-US" level="2">Error Indicator</paragraph>
 <paragraph role="paragraph" id="par_id3150539" xml-lang="en-US">Specifies the error indicator.</paragraph>
 <bookmark xml-lang="en-US" branch="hid/modules/schart/ui/tp_ErrorBars/RB_BOTH" id="bm_id0428200810544351" localize="false"/>
diff --git a/source/text/sdraw/guide/groups.xhp b/source/text/sdraw/guide/groups.xhp
index 0f58e2935..23604f050 100644
--- a/source/text/sdraw/guide/groups.xhp
+++ b/source/text/sdraw/guide/groups.xhp
@@ -31,7 +31,7 @@
 <body>
 <bookmark xml-lang="en-US" branch="index" id="bm_id3150793"><bookmark_value>grouping; draw objects</bookmark_value>
 <bookmark_value>draw objects; grouping</bookmark_value>
-</bookmark><comment>mw delelted "groups;entering" and copied "selecting;group objects" to the new shared guide groups.xhp.</comment><paragraph role="heading" id="hd_id3150793" xml-lang="en-US" level="1"><variable id="groups"><link href="text/sdraw/guide/groups.xhp" name="Grouping Objects">Grouping Objects</link>
+</bookmark><comment>mw deleted "groups;entering" and copied "selecting;group objects" to the new shared guide groups.xhp.</comment><paragraph role="heading" id="hd_id3150793" xml-lang="en-US" level="1"><variable id="groups"><link href="text/sdraw/guide/groups.xhp" name="Grouping Objects">Grouping Objects</link>
 </variable></paragraph>
 <paragraph role="paragraph" id="par_id3153728" xml-lang="en-US">You can combine several objects into a group so that they act as a single object. You can move and transform all objects in a group as a single unit. You can also change the properties (for example, line size, fill color) of all objects in a group as a whole or for individual objects in a group. Groups can be temporary or assigned:</paragraph>
 <list type="unordered">
diff --git a/source/text/shared/01/05020300.xhp b/source/text/shared/01/05020300.xhp
index 992e2bd08..7f794bcbc 100644
--- a/source/text/shared/01/05020300.xhp
+++ b/source/text/shared/01/05020300.xhp
@@ -37,7 +37,7 @@
 <bookmark_value>currencies;format codes</bookmark_value>
 <bookmark_value>defaults; number formats</bookmark_value>
 </bookmark>
-  <comment>mw transferred "format codes;" to Calc guide Format_value_userdef.xhp and "numers;" and "cells;" to Calc guide Format_table.xhp. Changed "currencies;"</comment>
+  <comment>mw transferred "format codes;" to Calc guide Format_value_userdef.xhp and "numbers;" and "cells;" to Calc guide Format_table.xhp. Changed "currencies;"</comment>
   
 <bookmark xml-lang="en-US" branch="hid/cui/ui/numberingformatpage/NumberingFormatPage" id="bm_id3150147" localize="false"/>
   
diff --git a/source/text/shared/01/ref_epub_export.xhp b/source/text/shared/01/ref_epub_export.xhp
index 569c27f7c..1fe5d64ea 100644
--- a/source/text/shared/01/ref_epub_export.xhp
+++ b/source/text/shared/01/ref_epub_export.xhp
@@ -30,7 +30,7 @@
 <section id="epub_export">
 <bookmark xml-lang="en-US" branch="index" id="bm_id3149532">
   <bookmark_value>EPUB;export</bookmark_value>
-  <bookmark_value>electornic publication</bookmark_value>
+  <bookmark_value>electronic publication</bookmark_value>
   <bookmark_value>exporting;to EPUB</bookmark_value>
 </bookmark>
 
diff --git a/source/text/shared/guide/chart_legend.xhp b/source/text/shared/guide/chart_legend.xhp
index 752576156..c6c95d76e 100644
--- a/source/text/shared/guide/chart_legend.xhp
+++ b/source/text/shared/guide/chart_legend.xhp
@@ -50,7 +50,7 @@
 <paragraph role="listitem" id="par_id3147210" xml-lang="en-US">Choose from the available tabs to make modifications, then click <emph>OK</emph>.</paragraph>
 </listitem>
 </list>
-<paragraph role="note" id="par_id3145674" xml-lang="en-US">To select the legend, first double-click on the chart (see step 1), then click on the legend. You can now move the legend within the chart using the mouse.</paragraph><comment>ufi: removed an absolete note</comment>
+<paragraph role="note" id="par_id3145674" xml-lang="en-US">To select the legend, first double-click on the chart (see step 1), then click on the legend. You can now move the legend within the chart using the mouse.</paragraph><comment>ufi: removed an obsolete note</comment>
 <section id="relatedtopics">
 <paragraph role="paragraph" id="par_id3154347" xml-lang="en-US"><link href="text/schart/01/05010000.xhp" name="Format - Object Properties">Format - Object Properties</link></paragraph>
 <embed href="text/shared/guide/chart_axis.xhp#chart_axis"/>
diff --git a/source/text/shared/guide/dragdrop_fromgallery.xhp b/source/text/shared/guide/dragdrop_fromgallery.xhp
index 0f7c58137..60b2828d7 100644
--- a/source/text/shared/guide/dragdrop_fromgallery.xhp
+++ b/source/text/shared/guide/dragdrop_fromgallery.xhp
@@ -35,7 +35,7 @@
 <bookmark xml-lang="en-US" branch="index" id="bm_id3145345"><bookmark_value>Gallery;dragging pictures to draw objects</bookmark_value>
 <bookmark_value>draw objects;dropping Gallery pictures</bookmark_value>
 <bookmark_value>drag and drop;from Gallery to draw objects</bookmark_value>
-</bookmark><comment>mw deleted "Gallery;coying..." and copied "copying;..." to Shared guide gallery_insert.xhp.</comment>
+</bookmark><comment>mw deleted "Gallery;copying..." and copied "copying;..." to Shared guide gallery_insert.xhp.</comment>
 <paragraph role="heading" id="hd_id3145345" xml-lang="en-US" level="1"><variable id="dragdrop_fromgallery"><link href="text/shared/guide/dragdrop_fromgallery.xhp" name="Copying Graphics From the Gallery">Copying Graphics From the Gallery</link>
 </variable></paragraph>
 <paragraph role="paragraph" id="par_id3155535" xml-lang="en-US">If you drag a graphic from the Gallery into a text, spreadsheet or presentation document, the graphic will be inserted there.</paragraph>
diff --git a/source/text/shared/guide/language_select.xhp b/source/text/shared/guide/language_select.xhp
index 3f83acb9c..0ed43f570 100644
--- a/source/text/shared/guide/language_select.xhp
+++ b/source/text/shared/guide/language_select.xhp
@@ -160,7 +160,7 @@
       </list>
       </case>
       <case select="UNIX">
-      <paragraph xml-lang="en-US" id="par_id9852903" role="paragraph">If you use %PRODUCTNAME packages maintaned by your Linux distribution, follow the steps below.</paragraph>
+      <paragraph xml-lang="en-US" id="par_id9852903" role="paragraph">If you use %PRODUCTNAME packages maintained by your Linux distribution, follow the steps below.</paragraph>
       <list type="ordered">
          <listitem>
             <paragraph xml-lang="en-US" id="par_id9852902" role="paragraph">Close %PRODUCTNAME software (also close the Quickstarter, if you enabled it).</paragraph>
diff --git a/source/text/shared/optionen/01010501.xhp b/source/text/shared/optionen/01010501.xhp
index 86ad2d98a..5694ef602 100644
--- a/source/text/shared/optionen/01010501.xhp
+++ b/source/text/shared/optionen/01010501.xhp
@@ -56,7 +56,7 @@
   </listitem>
   <listitem>
 <bookmark xml-lang="en-US" branch="hid/cui/ui/colorpickerdialog/colorSlider" id="bm_id3153572" localize="false"/>
-    <paragraph id="par_id3148947" role="paragraph" xml-lang="en-US"><ahelp hid=".">With the vertical color component slider you can modify the value of each component of the color.</ahelp> With the large colored square you can select the color component approximatively.</paragraph>
+    <paragraph id="par_id3148947" role="paragraph" xml-lang="en-US"><ahelp hid=".">With the vertical color component slider you can modify the value of each component of the color.</ahelp> With the large colored square you can select the color component approximately.</paragraph>
   </listitem>
   <listitem>
     <paragraph id="par_id3148948" role="paragraph" xml-lang="en-US">The horizontal bottom color bar shows the current color and the new color, side by side.</paragraph>
diff --git a/source/text/smath/01/03090500.xhp b/source/text/smath/01/03090500.xhp
index d92781aae..4de5b866d 100644
--- a/source/text/smath/01/03090500.xhp
+++ b/source/text/smath/01/03090500.xhp
@@ -126,7 +126,7 @@
 </tablecell>
 <tablecell colspan="" rowspan="">
 <paragraph role="tablehead" id="par_id3147088" xml-lang="en-US">Braces (curly brackets)</paragraph>
-<paragraph role="paragraph" id="par_id3147101" xml-lang="en-US"><ahelp hid="HID_SMA_LRBRACEX">Inserts a placeholder withing braces (curly brackets).</ahelp> You can also type <emph>lbrace<?>rbrace</emph> directly in the <emph>Commands</emph> window.</paragraph>
+<paragraph role="paragraph" id="par_id3147101" xml-lang="en-US"><ahelp hid="HID_SMA_LRBRACEX">Inserts a placeholder within braces (curly brackets).</ahelp> You can also type <emph>lbrace<?>rbrace</emph> directly in the <emph>Commands</emph> window.</paragraph>
 </tablecell>
 </tablerow>
 </table>
diff --git a/source/text/smath/01/03090700.xhp b/source/text/smath/01/03090700.xhp
index f867f6b53..c741669ae 100644
--- a/source/text/smath/01/03090700.xhp
+++ b/source/text/smath/01/03090700.xhp
@@ -53,7 +53,7 @@
 <bookmark_value>arranging;matrices</bookmark_value>
 <bookmark_value>formulas;aligning</bookmark_value>
 <bookmark_value>aligning formulas</bookmark_value>
-</bookmark><comment>mw added two index entries about formula alignement and made "formatting.." a two level entry</comment>
+</bookmark><comment>mw added two index entries about formula alignment and made "formatting.." a two level entry</comment>
 <bookmark xml-lang="en-US" branch="hid/STARMATH_HID_SMA_FORMAT_TBX" id="bm_id3149290" localize="false"/>
 <paragraph role="heading" id="hd_id3153150" xml-lang="en-US" level="1"><link href="text/smath/01/03090700.xhp" name="Format">Format</link></paragraph>
 <paragraph role="paragraph" id="par_id3147262" xml-lang="en-US">You can choose among various options for formatting a $[officename] Math formula. The format options are displayed in the lower half of the Formula Elements pane. These options are also listed in the <link href="text/shared/00/00000001.xhp#kontextmenue" name="context menu">context menu</link> of the <emph>Commands</emph> window.</paragraph>
diff --git a/source/text/swriter/guide/pagenumbers.xhp b/source/text/swriter/guide/pagenumbers.xhp
index af4c5e103..99f2c111f 100644
--- a/source/text/swriter/guide/pagenumbers.xhp
+++ b/source/text/swriter/guide/pagenumbers.xhp
@@ -99,7 +99,7 @@
          </listitem>
       </list>
       <paragraph xml-lang="en-US" id="par_id2318796" role="paragraph">Now your title page has the style "First Page", and the next pages automatically have the "Default" style.</paragraph>
-      <paragraph xml-lang="en-US" id="par_id399182" role="paragraph">You can now for example insert a footer for the "Default" page atyle only, or insert footers in both page styles, but with differently formatted page number fields.</paragraph>
+      <paragraph xml-lang="en-US" id="par_id399182" role="paragraph">You can now for example insert a footer for the "Default" page style only, or insert footers in both page styles, but with differently formatted page number fields.</paragraph>
       <paragraph xml-lang="en-US" id="hd_id5298318" role="heading" level="3">To Apply a Manually Inserted Page Style Change</paragraph>
       <list type="ordered">
          <listitem>
@@ -121,4 +121,4 @@
       <embed href="text/swriter/guide/header_with_chapter.xhp#header_with_chapter"/>
       <embed href="text/swriter/guide/header_with_line.xhp#header_with_line"/>
    </body>
-</helpdocument>
\ No newline at end of file
+</helpdocument>
diff --git a/source/text/swriter/guide/table_select.xhp b/source/text/swriter/guide/table_select.xhp
index 22b36b9f8..3cfb07023 100644
--- a/source/text/swriter/guide/table_select.xhp
+++ b/source/text/swriter/guide/table_select.xhp
@@ -26,7 +26,7 @@
 <filename>/text/swriter/guide/table_select.xhp</filename>
 </topic>
 <history>
-<created date="2004-09-27T15:16:47">UFI: Selexting tables</created>
+<created date="2004-09-27T15:16:47">UFI: Selecting tables</created>
 </history>
 </meta>
 <body>
diff --git a/to-wiki/wikiconv2.py b/to-wiki/wikiconv2.py
index 93f72eb95..9ad2c62e3 100755
--- a/to-wiki/wikiconv2.py
+++ b/to-wiki/wikiconv2.py
@@ -211,7 +211,7 @@ def xopen(path, mode, encoding):
     else:
         return open(path, mode)
 
-# used by ecape_help_text
+# used by escape_help_text
 helptagre = re.compile('''<[/]??[a-z_\-]+?(?:| +[a-zA-Z]+?=[\\\\]??".*?") *[/]??>''')
 
 def escape_help_text(text):
diff --git a/upload-wiki.pl b/upload-wiki.pl
index f49c7393c..d8b31b2be 100755
--- a/upload-wiki.pl
+++ b/upload-wiki.pl
@@ -22,7 +22,7 @@ upload-wiki.pl [...] - Uploads the wiki/ subdir to a real wiki installation.
   -p - Don't upload the pages themselves
   -r - Upload also the redirects
 
-You need a wikisetup.txt in this directory, to be able to authentificate you.
+You need a wikisetup.txt in this directory, to be able to authenticate you.
 The content should be:
 
 wiki=<url of the api.php on the wiki>
@@ -191,7 +191,7 @@ if ( $upload_images ) {
             iiprop => 'sha1',
             titles => 'File:'.$imagename } );        
         my $mwimagesha1 = "";
-        #FIXME: bad style, this foreach should konsist only ONE imageid --> do that nicelier
+        #FIXME: bad style, this foreach should consist only ONE imageid --> do that nicelier
         foreach my $imageid (keys $mwquery->{'query'}{'pages'}) {
             $mwimagesha1 = $mwquery->{'query'}{'pages'}{$imageid}{'imageinfo'}->[0]->{'sha1'};
         }
@@ -205,7 +205,7 @@ if ( $upload_images ) {
             $imageuploadmsg = 'Initial upload.';
             upload_file_to_mw();
         } else {
-            print "Skipping image '$imagename', sha1 identially to already uploaded image.\n";
+            print "Skipping image '$imagename', sha1 identically to already uploaded image.\n";
         }
     }
 }
diff --git a/wiki-to-help/HHC/install_hhc.sh b/wiki-to-help/HHC/install_hhc.sh
index 344ccbd5b..619e65aa6 100755
--- a/wiki-to-help/HHC/install_hhc.sh
+++ b/wiki-to-help/HHC/install_hhc.sh
@@ -1,7 +1,7 @@
 #!/bin/bash -e
 # -e  Exit immediately if a command exits with a non-zero status.
 
-# This installs Microsofts HHC (HTML Help Compiler)
+# This installs Microsoft HHC (HTML Help Compiler)
 # Copyright 2011 Timo Richter and others.
 # Licensed under GNU GPLv3
 # Depends on: wine, wget, cabextract
@@ -36,7 +36,7 @@ cd "$HHDIR"
 # Install HTML Help Workshop
 wget -O htmlhelp.exe 'http://go.microsoft.com/fwlink/?LinkId=14188'
 
-# unneccessary
+# unnecessary
 #wine htmlhelp.exe
 
 cabextract -F hhc.exe htmlhelp.exe
diff --git a/wiki-to-help/hhc.py b/wiki-to-help/hhc.py
index dc7a54daa..de9879c25 100644
--- a/wiki-to-help/hhc.py
+++ b/wiki-to-help/hhc.py
@@ -40,7 +40,7 @@ class Wine(object):
     def __init__(self,workingDir,driveletter,args={}):
         """ 
         Setup the wine environment. Granting access so that wine is able 
-        @workingDir will be accessable via @driveletter
+        @workingDir will be accessible via @driveletter
         @args Arguments for Executor as dict (**args)
         E.g. Wine("/tmp/dir","j:") 
         """
diff --git a/wiki-to-help/mwlib_mods/docbook_table_tags.py b/wiki-to-help/mwlib_mods/docbook_table_tags.py
index 7ec527b75..37eb8a5fa 100644
--- a/wiki-to-help/mwlib_mods/docbook_table_tags.py
+++ b/wiki-to-help/mwlib_mods/docbook_table_tags.py
@@ -35,7 +35,7 @@ Example of a docbook table:
   <entry>b2</entry>
   <entry>b3</entry>
   <entry>b4</entry>
-  <entry morerows='1' valign='middle'><para>  <!-- Pernicous Mixed Content -->
+  <entry morerows='1' valign='middle'><para>  <!-- Pernicious Mixed Content -->
   Vertical Span</para></entry>
 </row>
 <row>


More information about the Libreoffice-commits mailing list