[Libreoffice-commits] help.git: source/text

Olivier Hallot (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 16 10:27:22 UTC 2020


 source/text/sbasic/shared/03020103.xhp          |   13 ++++++-------
 source/text/sbasic/shared/compatibilitymode.xhp |    2 +-
 source/text/sbasic/shared/compatible.xhp        |    4 ++--
 3 files changed, 9 insertions(+), 10 deletions(-)

New commits:
commit 2896f2eba4561b0d9e9c7dfc88cb00e22fb38807
Author:     Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Sun Feb 16 07:02:46 2020 -0300
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Sun Feb 16 11:26:59 2020 +0100

    Content fixes after translation round
    
    Change-Id: Icdb80c6e659e81492e3b9c43afd0f49cbea0ed86
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88772
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/source/text/sbasic/shared/03020103.xhp b/source/text/sbasic/shared/03020103.xhp
index a45e70603..14daf4955 100644
--- a/source/text/sbasic/shared/03020103.xhp
+++ b/source/text/sbasic/shared/03020103.xhp
@@ -34,25 +34,25 @@
 </bookmark>
 
 
-<paragraph id="hd_id3150791" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03020103.xhp" name="Open Statement">Open Statement</link></paragraph>
+<h1 id="hd_id3150791"><link href="text/sbasic/shared/03020103.xhp" name="Open Statement">Open Statement</link></h1>
 <paragraph id="par_id3150769" role="paragraph" xml-lang="en-US">Opens a data channel.</paragraph>
 </section>
 
-<paragraph id="hd_id3147230" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
 <bascode>
-<paragraph id="par_id3154124" role="bascode" xml-lang="en-US">Open FileName As String [For Mode] [Access IOMode] [Protected] As [#]FileNumber As Integer [Len = DatasetLength]<comment>i37502</comment></paragraph>
+<paragraph id="par_id3154124" localize="false" role="bascode" xml-lang="en-US">Open FileName As String [For Mode] [Access IOMode] [Protected] As [#]FileNumber As Integer [Len = DatasetLength]<comment>i37502</comment></paragraph>
 </bascode>
 
-<paragraph id="hd_id3156280" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
 <paragraph id="par_id3155132" role="paragraph" xml-lang="en-US"> <emph>FileName: </emph>Name and path of the file to open. If you try to read a file that does not exist (Access = Read), an error message appears. If you try to write to a file that does not exist (Access = Write), a new file is created.</paragraph>
 <paragraph id="par_id3149262" role="paragraph" xml-lang="en-US"> <emph>Mode:</emph> Keyword that specifies the file mode. Valid values: Append (append to sequential file), Binary (data can be accessed by bytes using Get and Put), Input (opens data channel for reading), Output (opens data channel for writing), and Random (edits relative files).</paragraph>
 <paragraph id="par_id3154014" role="paragraph" xml-lang="en-US"> <emph>IOMode:</emph> Keyword that defines the access type. Valid values: Read (read-only), Write (write-only), Read Write (both).</paragraph>
 <paragraph id="par_id3150011" role="paragraph" xml-lang="en-US"> <emph>Protected:</emph> Keyword that defines the security status of a file after opening. Valid values: Shared (file may be opened by other applications), Lock Read (file is protected against reading), Lock Write (file is protected against writing), Lock Read Write (denies file access).</paragraph>
 <paragraph id="par_id3153190" role="paragraph" xml-lang="en-US"> <emph>FileNumber:</emph> Any integer expression from 0 to 511 to indicate the number of a free data channel. You can then pass commands through the data channel to access the file. The file number must be determined by the FreeFile function immediately before the Open statement.</paragraph>
 <paragraph id="par_id3151115" role="paragraph" xml-lang="en-US"> <emph>DatasetLength:</emph> For random access files, set the length of the records.<comment>#61736</comment></paragraph>
-<paragraph id="par_id3153418" role="note" xml-lang="en-US">You can only modify the contents of a file that was opened with the Open statement. If you try to open a file that is already open, an error message appears.</paragraph>
+<note id="par_id3153418">You can only modify the contents of a file that was opened with the Open statement. If you try to open a file that is already open, an error message appears.</note>
 
-<paragraph id="hd_id3149123" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
 <bascode>
 <paragraph id="par_idm1341597584" role="bascode" localize="false" xml-lang="en-US">Sub ExampleWorkWithAFile</paragraph>
 <paragraph id="par_idm1341596336" role="bascode" localize="false" xml-lang="en-US">Dim iNumber As Integer</paragraph>
@@ -78,5 +78,4 @@
 <paragraph id="par_idm1341570496" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
 </bascode>
 </body>
-
 </helpdocument>
diff --git a/source/text/sbasic/shared/compatibilitymode.xhp b/source/text/sbasic/shared/compatibilitymode.xhp
index e6432af71..6340361b9 100644
--- a/source/text/sbasic/shared/compatibilitymode.xhp
+++ b/source/text/sbasic/shared/compatibilitymode.xhp
@@ -23,7 +23,7 @@
         <h1 id="N0118"><variable id="compatibilitymodeh1"><link href="text/sbasic/shared/compatibilitymode.xhp" name="CompatibilityMode">CompatibilityMode() Function</link></variable></h1>
         <paragraph role="paragraph" id="N0120"><literal>CompatibilityMode()</literal> function is controlling runtime mode and affects all code executed after setting or resetting the mode. </paragraph>
         </section>
-    <warning id="N0119">Use this feature with caution, limit it to document conversion situations for example.</warning>
+    <warning id="N0119">Use this feature with caution, limit it to document conversion for example.</warning>
     <note id="par_id271561645872679"><literal>Option Compatible</literal> turns on VBA compatibility at module level for the %PRODUCTNAME Basic interpreter.</note>
     <paragraph role="paragraph" id="N0121">This function may affect or help in the following situations:</paragraph>
     <list type="unordered">
diff --git a/source/text/sbasic/shared/compatible.xhp b/source/text/sbasic/shared/compatible.xhp
index a834ec312..b3e44cd0d 100644
--- a/source/text/sbasic/shared/compatible.xhp
+++ b/source/text/sbasic/shared/compatible.xhp
@@ -44,8 +44,8 @@
     <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
     <h3 id="hd_id231561639199292">Special characters as identifiers</h3>
     <bascode>
-        <paragraph role="bascode" id="par_id661561636654077">Option Compatible	' With this option the code works, other-</paragraph>
-        <paragraph role="bascode" id="par_id81561636660626">                    ' wise it will cause a compiling error</paragraph>
+        <paragraph role="bascode" id="par_id661561636654077" localize="false">Option Compatible</paragraph>
+        <paragraph role="bascode" id="par_id641581846957447">' With this option the code works, otherwise it causes a compiling error</paragraph>
         <paragraph role="bascode" id="par_id921561636641311" localize="false">Sub Main</paragraph>
         <paragraph role="bascode" id="par_id631561636632573" localize="false">    ä = 10</paragraph>
         <paragraph role="bascode" id="par_id101561636625260" localize="false">    print ä</paragraph>


More information about the Libreoffice-commits mailing list