summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic/shared/03
diff options
context:
space:
mode:
authorRafael Lima <rafael.palma.lima@gmail.com>2021-03-24 20:02:13 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2021-03-25 12:54:57 +0100
commit32d2b31b39929b5899126f2a36919ceef8b7f809 (patch)
treedcb7e097d92516c2b1c1f641b84c8491fe9ff7aa /source/text/sbasic/shared/03
parenttdf#102365 Add note to AMORDEGRC and AMORLINC about MS incompatibility with B... (diff)
downloadhelp-32d2b31b39929b5899126f2a36919ceef8b7f809.tar.gz
help-32d2b31b39929b5899126f2a36919ceef8b7f809.zip
Fix a few more localization issues in SF Help pages
Change-Id: Iaf2b2c528d42a2d6f6d7ec55c1836c2d5a2c7ca4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112967 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/sbasic/shared/03')
-rw-r--r--source/text/sbasic/shared/03/sf_dialogcontrol.xhp26
-rw-r--r--source/text/sbasic/shared/03/sf_filesystem.xhp6
-rw-r--r--source/text/sbasic/shared/03/sf_l10n.xhp10
3 files changed, 21 insertions, 21 deletions
diff --git a/source/text/sbasic/shared/03/sf_dialogcontrol.xhp b/source/text/sbasic/shared/03/sf_dialogcontrol.xhp
index 008b89a6a8..19c8e39b89 100644
--- a/source/text/sbasic/shared/03/sf_dialogcontrol.xhp
+++ b/source/text/sbasic/shared/03/sf_dialogcontrol.xhp
@@ -120,7 +120,7 @@
<paragraph id="par_id661598456015339" localize="false" role="listitem">TimeField</paragraph>
</listitem>
<listitem>
- <paragraph id="par_id171612698897514" role="listitem" xml-lang="en-US">TreeControl</paragraph>
+ <paragraph id="par_id171612698897514" localize="false" role="listitem">TreeControl</paragraph>
<embed href="text/sbasic/shared/03/avail_release.xhp#7.2.control"/>
</listitem>
</list>
@@ -155,7 +155,7 @@
<paragraph id="par_id271583668386455" role="tablecontent" localize="false">Boolean</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id231598538847029" role="tablecontent" xml-lang="en-US">Button</paragraph>
+ <paragraph id="par_id231598538847029" role="tablecontent" localize="false" xml-lang="en-US">Button</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id771583668386455" role="tablecontent" xml-lang="en-US">Specifies if a command button has or not the behaviour of a Cancel button.</paragraph>
@@ -567,7 +567,7 @@
<paragraph id="par_id311612699446893" role="tablecontent" xml-lang="en-US">UNO<br/>object</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id25161269944611" role="tablecontent" xml-lang="en-US">TreeControl</paragraph>
+ <paragraph id="par_id25161269944611" role="tablecontent" localize="false">TreeControl</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id691612699446892" role="tablecontent" xml-lang="en-US">The UNO object representing the tree control data model. Refer to <link href="https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1awt_1_1tree_1_1XMutableTreeDataModel.html" name="awt.tree.XMutableTreeDataModel">XMutableTreeDataModel</link> in Application Programming Interface (API) documentation for detailed information.</paragraph>
@@ -594,7 +594,7 @@
<paragraph id="par_id461598543254494" role="tablecontent" localize="false">Button</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id271598543254590" role="tablecontent" xml-lang="en-US">Boolean</paragraph>
+ <paragraph id="par_id271598543254590" role="tablecontent" localize="false">Boolean</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id741598543254108" role="tablecontent" xml-lang="en-US">For toggle buttons only</paragraph>
@@ -616,7 +616,7 @@
<paragraph id="par_id891598543254563" role="tablecontent" localize="false">ComboBox</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id781598543254887" role="tablecontent" xml-lang="en-US">String</paragraph>
+ <paragraph id="par_id781598543254887" role="tablecontent" localize="false">String</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id331598543254947" role="tablecontent" xml-lang="en-US">The selected value. The <literal>ListIndex</literal> property is an alternate option.</paragraph>
@@ -638,7 +638,7 @@
<paragraph id="par_id241598543254415" role="tablecontent" localize="false">DateField</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id401598543254743" role="tablecontent" xml-lang="en-US">Date</paragraph>
+ <paragraph id="par_id401598543254743" role="tablecontent" localize="false">Date</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id421598543254587" role="tablecontent" xml-lang="en-US"></paragraph>
@@ -649,7 +649,7 @@
<paragraph id="par_id851598543254508" role="tablecontent" localize="false">FileControl</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id731598543254544" role="tablecontent" xml-lang="en-US">String</paragraph>
+ <paragraph id="par_id731598543254544" role="tablecontent" localize="false">String</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id971598543254757" role="tablecontent" xml-lang="en-US">A file name formatted in accordance with the <literal>FileNaming</literal> property of the <literal>ScriptForge.FileSystem</literal> service</paragraph>
@@ -693,7 +693,7 @@
<paragraph id="par_id38159854325480" role="tablecontent" localize="false">PatternField</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id81598543254625" role="tablecontent" xml-lang="en-US">String</paragraph>
+ <paragraph id="par_id81598543254625" role="tablecontent" localize="false">String</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id911598543254335" role="tablecontent" xml-lang="en-US"></paragraph>
@@ -715,7 +715,7 @@
<paragraph id="par_id791598543254779" role="tablecontent" localize="false">RadioButton</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id561598543254115" role="tablecontent" xml-lang="en-US">Boolean</paragraph>
+ <paragraph id="par_id561598543254115" role="tablecontent" localize="false">Boolean</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id851598543254624" role="tablecontent" xml-lang="en-US">Each button has its own name. They are linked together if their TAB positions are contiguous. If a radiobutton is set to <literal>True</literal>, the other related buttons are automatically set to <literal>False</literal></paragraph>
@@ -737,7 +737,7 @@
<paragraph id="par_id811598543254140" role="tablecontent" localize="false">TextField</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id751598543254299" role="tablecontent" xml-lang="en-US">String</paragraph>
+ <paragraph id="par_id751598543254299" role="tablecontent" localize="false">String</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id441598543254738" role="tablecontent" xml-lang="en-US">The text appearing in the field</paragraph>
@@ -748,7 +748,7 @@
<paragraph id="par_id89159854325478" role="tablecontent" localize="false">TimeField</paragraph>
</tablecell>
<tablecell>
- <paragraph id="par_id341598543254600" role="tablecontent" xml-lang="en-US">Date</paragraph>
+ <paragraph id="par_id341598543254600" role="tablecontent" localize="false">Date</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id881598543254964" role="tablecontent" xml-lang="en-US"></paragraph>
@@ -1083,7 +1083,7 @@
<paragraph role="bascode" localize="false" id="bas_id881612781589726">oControl.FindNode(DisplayValue = Empty, DataValue = Empty [, CaseSensitive = False]) As Object</paragraph>
</bascode>
<h3 id="hd_id771612781589667" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functparameters"/></h3>
- <paragraph role="paragraph" id="par_id541613670199211">One argument out of <literal>DisplayValue</literal>or <literal>DataValue</literal> must be specified. If both present, one match is sufficient to select the node.</paragraph>
+ <paragraph role="paragraph" id="par_id541613670199211">One argument out of <literal>DisplayValue</literal> or <literal>DataValue</literal> must be specified. If both present, one match is sufficient to select the node.</paragraph>
<paragraph role="paragraph" id="par_id591612781589560"><emph>DisplayValue</emph>: The pattern to be matched. See the <link href="text/sbasic/shared/03/sf_string.xhp#IsLike" name="String service IsLike() method"><literal>SF_String.IsLike()</literal></link> method. When equal to the zero-length string (default), this display value is not searched for.</paragraph>
<paragraph role="paragraph" id="par_id481612781589626"><emph>DataValue</emph>: A string, a numeric value, a date. Use <literal>Empty</literal> default value when no value applies.</paragraph>
<paragraph role="paragraph" id="par_id141582384726168"><emph>CaseSensitive</emph>: Default value is <literal>False</literal></paragraph>
@@ -1129,7 +1129,7 @@
<paragraph role="bascode" localize="false" id="bas_id821598619892939">oControl.WriteLine([Line As String]) As Boolean</paragraph>
</bascode>
<h3 id="hd_id291584541257237" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functparameters"/></h3>
- <paragraph role="paragraph" id="par_id1001584541257789"><emph>Line</emph>: The string to insert. Default is an empty line.</paragraph>
+ <paragraph role="paragraph" id="par_id1001584541257789"><emph>Line</emph>: The string to insert. Default is an empty line.</paragraph>
<h3 id="hd_id391598619892559" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functexample"/></h3>
<bascode>
<paragraph role="bascode" localize="false" id="bas_id681598619892624">Dim oDlg As Object, oControl As Object</paragraph>
diff --git a/source/text/sbasic/shared/03/sf_filesystem.xhp b/source/text/sbasic/shared/03/sf_filesystem.xhp
index c24f3779f0..e598a32382 100644
--- a/source/text/sbasic/shared/03/sf_filesystem.xhp
+++ b/source/text/sbasic/shared/03/sf_filesystem.xhp
@@ -573,7 +573,7 @@
<bascode>
<paragraph role="bascode" localize="false" id="bas_id381583944327923">Dim filesList As Variant, file As String</paragraph>
<paragraph role="bascode" localize="false" id="bas_id581583944327968">FSO.FileNaming = "SYS"</paragraph>
- <paragraph role="bascode" id="bas_id451583944327508">filesList = FSO.Files("/home/user/", "*.txt")</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id451583944327508">filesList = FSO.Files("/home/user/", "*.txt")</paragraph>
<paragraph role="bascode" localize="false" id="bas_id521583944732086">For Each file In filesList</paragraph>
<paragraph role="bascode" localize="false" id="bas_id421583944743304"> ' ...</paragraph>
<paragraph role="bascode" localize="false" id="bas_id721583944748672">Next file</paragraph>
@@ -796,7 +796,7 @@
<h3 id="hd_id93158479133092" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functparameters"/></h3>
<paragraph role="paragraph" id="par_id721584791330406"><emph>Source</emph>: It can be a <literal>FileName</literal> or <literal>NamePattern</literal> to designate one or more files to be moved.</paragraph>
<paragraph role="paragraph" id="par_id291584791330181" xml-lang="en-US"><emph>Destination</emph>: If <literal>Source</literal> is a <literal>FileName</literal> then this parameter indicates the new path and file name of the moved file.</paragraph>
- <paragraph role="paragraph" id="par_id31613063334246">If the move operation involves multiple files, then Destination must be a folder name. If it does not exist, it is created.</paragraph>
+ <paragraph role="paragraph" id="par_id31613063334246">If the move operation involves multiple files, then <literal>Destination</literal> must be a folder name. If it does not exist, it is created.</paragraph>
<paragraph role="paragraph" id="par_id391613063494599">If <literal>Source</literal> and <literal>Destination</literal> have the same parent folder, the method will rename the <literal>Source</literal>.</paragraph>
<paragraph role="paragraph" id="par_id941613063476533">Wildcard characters are not allowed in <literal>Destination</literal>.</paragraph>
<h3 id="hd_id451584791330878" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functexample"/></h3>
@@ -824,7 +824,7 @@
<h3 id="hd_id931584791330194" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functparameters"/></h3>
<paragraph role="paragraph" id="par_id541584791330777"><emph>Source</emph>: It can be a <literal>FolderName</literal> or <literal>NamePattern</literal> to designate one or more folders to be moved.</paragraph>
<paragraph role="paragraph" id="par_id551584791330279" xml-lang="en-US"><emph>Destination</emph>: If the move operation involves a single folder, then <literal>Destination</literal> is the name and path of the moved folder and it must not exist.</paragraph>
- <paragraph role="paragraph" id="par_id11613072890641">If multiple folders are being moved, then <literal>Destination</literal> designates where the folders in <literal>Source</literal> will be moved into. If <literal>Source</literal> does not exist, it is created.</paragraph>
+ <paragraph role="paragraph" id="par_id11613072890641">If multiple folders are being moved, then <literal>Destination</literal> designates where the folders in <literal>Source</literal> will be moved into. If <literal>Destination</literal> does not exist, it is created.</paragraph>
<paragraph role="paragraph" id="par_id301613072928159">Wildcard characters are not allowed in <literal>Destination</literal>.</paragraph>
<h3 id="hd_id631584791330660" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functexample"/></h3>
<bascode>
diff --git a/source/text/sbasic/shared/03/sf_l10n.xhp b/source/text/sbasic/shared/03/sf_l10n.xhp
index d6e52385ed..2cf76682a4 100644
--- a/source/text/sbasic/shared/03/sf_l10n.xhp
+++ b/source/text/sbasic/shared/03/sf_l10n.xhp
@@ -72,7 +72,7 @@
</bascode>
<paragraph role="paragraph" id="par_id611614358672609">The example below specifies the folder containing the PO files. Because the locale is not defined, the service instance will use the current %PRODUCTNAME locale settings.</paragraph>
<bascode>
- <paragraph role="bascode" id="bas_id451614358683971">Set myPO = CreateScriptService("L10N", "C:\myPOFiles\")</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id451614358683971">Set myPO = CreateScriptService("L10N", "C:\myPOFiles\")</paragraph>
</bascode>
<paragraph role="paragraph" id="par_id321614358809763">In the example below, both the folder name and locale settings are explicitly defined to be Belgian French.</paragraph>
<bascode>
@@ -84,7 +84,7 @@
<paragraph role="bascode" localize="false" id="bas_id891585843652617">Set myPO = myPO.Dispose()</paragraph>
</bascode>
-<bookmark xml-lang="en-US" branch="index" id="bm_id871614359551930">
+<bookmark localize="false" branch="index" id="bm_id871614359551930">
<bookmark_value>L10N service;Folder</bookmark_value>
<bookmark_value>L10N service;Languages</bookmark_value>
<bookmark_value>L10N service;Locale</bookmark_value>
@@ -255,16 +255,16 @@
<h3 id="hd_id791586165768980" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functexample"/></h3>
<paragraph role="paragraph" id="par_id701614365961454">Consider the following code is running on a %PRODUCTNAME installation with locale set to "es-ES". Additionally, there is a file "es-ES.po" inside the specified folder that translates the string passed to the <literal>GetText</literal> method:</paragraph>
<bascode>
- <paragraph role="bascode" id="bas_id171614366110835">myPO = CreateScriptService("L10N", "c:\MyPOFolder\")</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id171614366110835">myPO = CreateScriptService("L10N", "c:\MyPOFolder\")</paragraph>
<paragraph role="bascode" localize="false" id="bas_id861586165768104">myPO.GetText("Welcome %1! Hope you enjoy this program", "John")</paragraph>
- <paragraph role="bascode" id="bas_id1001586166834936">' "¡Bienvenido John! Espero que disfrutes de este programa"</paragraph>
+ <paragraph role="bascode" localize="false" id="bas_id1001586166834936">' "¡Bienvenido John! Espero que disfrutes de este programa"</paragraph>
</bascode>
</section>
<embed href="text/sbasic/shared/03/lib_ScriptForge.xhp#SF_InternalUse"/>
<section id="relatedtopics">
<embed href="text/sbasic/shared/03/sf_filesystem.xhp#FileSystemService"/>
- <paragraph role="paragraph" id="par_id301613075694148"><link href="text/sbasic/guide/translation.xhp" name="Controls Translation"> Translation of Controls in the Dialog Editor</link></paragraph>
+ <paragraph role="paragraph" id="par_id301613075694148"><link href="text/sbasic/guide/translation.xhp" name="Controls Translation">Translation of Controls in the Dialog Editor</link></paragraph>
</section>
</body>
</helpdocument>