source/text/sbasic/shared/03120403.xhp | 2 +- source/text/sbasic/shared/03120411.xhp | 12 ++++++------ source/text/sbasic/shared/03120412.xhp | 2 +- source/text/sbasic/shared/03130700.xhp | 2 +- source/text/sbasic/shared/03130800.xhp | 2 +- source/text/sbasic/shared/03131900.xhp | 2 +- source/text/sbasic/shared/03132000.xhp | 24 ++++++++++++------------ source/text/sbasic/shared/classmodule.xhp | 6 +++--- source/text/sbasic/shared/code-stubs.xhp | 2 +- source/text/sbasic/shared/compatible.xhp | 6 ++++-- source/text/sbasic/shared/partition.xhp | 2 +- 11 files changed, 32 insertions(+), 30 deletions(-)
New commits: commit d55fd06206b521062d8bb8b325b28f53e9cc8d6b Author: Rafael Lima <rafael.palma.l...@gmail.com> AuthorDate: Tue Dec 14 20:43:21 2021 +0100 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Mon Dec 27 23:31:58 2021 +0100 Silence strings for l10n in sbasic/shared (Part 5) Change-Id: I9961615c4288b3470a640ed2a4a3ec3674db7833 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126820 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/sbasic/shared/03120403.xhp b/source/text/sbasic/shared/03120403.xhp index 0f59c4dcb..6551e263d 100644 --- a/source/text/sbasic/shared/03120403.xhp +++ b/source/text/sbasic/shared/03120403.xhp @@ -44,7 +44,7 @@ </bascode> <paragraph id="hd_id3147574" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> -<paragraph id="par_id3156152" role="paragraph" xml-lang="en-US">Integer</paragraph> +<paragraph id="par_id3156152" localize="false" role="paragraph">Integer</paragraph> <paragraph id="hd_id3150984" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph> <paragraph id="par_id3153061" role="paragraph" xml-lang="en-US"> <emph>Text1:</emph> Any string expression</paragraph> diff --git a/source/text/sbasic/shared/03120411.xhp b/source/text/sbasic/shared/03120411.xhp index 34be721d6..5ba7cc315 100644 --- a/source/text/sbasic/shared/03120411.xhp +++ b/source/text/sbasic/shared/03120411.xhp @@ -44,7 +44,7 @@ <paragraph id="par_id3146957" role="bascode" xml-lang="en-US">InStrRev (Text1 As String, Text2 As String [,Start As Long] [, Compare As Integer])</paragraph> </bascode> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> -<paragraph id="par_id3149763" role="paragraph" xml-lang="en-US">Long</paragraph> +<paragraph id="par_id3149763" localize="false" role="paragraph">Long</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <paragraph id="par_id3145609" role="paragraph" xml-lang="en-US"> <emph>Text1:</emph> The string expression that you want to search.</paragraph> <paragraph id="par_id3147559" role="paragraph" xml-lang="en-US"> <emph>Text2:</emph> The string expression that you want to search for.</paragraph> @@ -60,16 +60,16 @@ <paragraph id="par_idm1341612352" role="bascode" localize="false" xml-lang="en-US">Sub ExamplePosition</paragraph> <paragraph id="par_idm1341611120" role="bascode" localize="false" xml-lang="en-US">Dim sInput As String</paragraph> <paragraph id="par_idm1341609888" role="bascode" localize="false" xml-lang="en-US">Dim iPos As Integer</paragraph> -<paragraph id="par_id3144760" role="bascode" xml-lang="en-US"> sInput = "The book is on the table"</paragraph> -<paragraph id="par_id3154125" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,1) ' Returns 1, search is case-insensitive</paragraph> +<paragraph id="par_id31447606588" role="bascode" localize="false" xml-lang="en-US"> sInput = "The book is on the table"</paragraph> +<paragraph id="par_id31541255547" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,1) ' Returns 1, search is case-insensitive</paragraph> <paragraph id="par_idm1341605120" role="bascode" localize="false" xml-lang="en-US"> Print iPos </paragraph> -<paragraph id="par_id051920170322141162" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,0) ' Returns 0, search is case-sensitive</paragraph> -<paragraph id="par_id051920170322458754" role="bascode" localize="false" xml-lang="en-US"> Print iPos</paragraph> +<paragraph id="par_id05192017032" role="bascode" xml-lang="en-US"> iPos = InStrRev(sInput,"the",10,0) ' Returns 0, search is case-sensitive</paragraph> +<paragraph id="par_id05192017032" role="bascode" localize="false" xml-lang="en-US"> Print iPos</paragraph> <paragraph id="par_idm1341603888" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> <section id="relatedtopics"> -<paragraph id="par_id051920170316395065" role="paragraph" xml-lang="en-US"><link href="text/sbasic/shared/03120401.xhp">InStr</link></paragraph> +<paragraph id="par_id051920170316395065" localize="false" role="paragraph"><link href="text/sbasic/shared/03120401.xhp">InStr</link></paragraph> </section> </body> diff --git a/source/text/sbasic/shared/03120412.xhp b/source/text/sbasic/shared/03120412.xhp index 0bf1202fb..0c743326c 100644 --- a/source/text/sbasic/shared/03120412.xhp +++ b/source/text/sbasic/shared/03120412.xhp @@ -41,7 +41,7 @@ <paragraph id="par_id3146957" role="bascode" xml-lang="en-US">StrReverse (Text1 As String)</paragraph> </bascode> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> -<paragraph id="par_id3149763" role="paragraph" xml-lang="en-US">String</paragraph> +<paragraph id="par_id3149763" localize="false" role="paragraph">String</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <paragraph id="par_id3145609" role="paragraph" xml-lang="en-US"> <emph>Text1:</emph> The string expression that you want to reverse the character order.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> diff --git a/source/text/sbasic/shared/03130700.xhp b/source/text/sbasic/shared/03130700.xhp index 48d6620d9..bb7fe6cf9 100644 --- a/source/text/sbasic/shared/03130700.xhp +++ b/source/text/sbasic/shared/03130700.xhp @@ -42,7 +42,7 @@ </bascode> <paragraph id="hd_id3149233" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> -<paragraph id="par_id3149762" role="paragraph" xml-lang="en-US">Long</paragraph> +<paragraph id="par_id3149762" localize="false" role="paragraph">Long</paragraph> <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> <embed href="text/sbasic/shared/00000003.xhp#err5"/> diff --git a/source/text/sbasic/shared/03130800.xhp b/source/text/sbasic/shared/03130800.xhp index ff03a4256..c5e84cd5d 100644 --- a/source/text/sbasic/shared/03130800.xhp +++ b/source/text/sbasic/shared/03130800.xhp @@ -44,7 +44,7 @@ </bascode> <paragraph id="hd_id3159157" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> -<paragraph id="par_id3148473" role="paragraph" xml-lang="en-US">String</paragraph> +<paragraph id="par_id3148473" localize="false" role="paragraph">String</paragraph> <paragraph id="hd_id3145609" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph> <paragraph id="par_id3159414" role="paragraph" xml-lang="en-US">Environment: Environment variable that you want to return the value for.</paragraph> diff --git a/source/text/sbasic/shared/03131900.xhp b/source/text/sbasic/shared/03131900.xhp index faf6abd27..59a5051ec 100644 --- a/source/text/sbasic/shared/03131900.xhp +++ b/source/text/sbasic/shared/03131900.xhp @@ -21,7 +21,7 @@ <helpdocument version="1.0"> <meta> <topic id="textsbasicshared03131900xml" indexer="include" status="PUBLISH"> -<title id="tit" xml-lang="en-US">GlobalScope</title> +<title id="tit" localize="false" xml-lang="en-US">GlobalScope</title> <filename>/text/sbasic/shared/03131900.xhp</filename> </topic> <history> diff --git a/source/text/sbasic/shared/03132000.xhp b/source/text/sbasic/shared/03132000.xhp index 52664aaef..475fd4333 100644 --- a/source/text/sbasic/shared/03132000.xhp +++ b/source/text/sbasic/shared/03132000.xhp @@ -59,25 +59,25 @@ <list type="unordered"> <listitem> - <paragraph id="par_id3151176" role="listitem" xml-lang="en-US">disposing:</paragraph> + <paragraph id="par_id3151176" role="listitem" xml-lang="en-US" localize="false">disposing:</paragraph> </listitem> <listitem> <paragraph id="par_id3145173" role="listitem" xml-lang="en-US">Listener base interface (com.sun.star.lang.XEventListener): base interface for all Listener Interfaces</paragraph> </listitem> <listitem> - <paragraph id="par_id3156212" role="listitem" xml-lang="en-US">elementInserted:</paragraph> + <paragraph id="par_id3156212" role="listitem" xml-lang="en-US" localize="false">elementInserted:</paragraph> </listitem> <listitem> <paragraph id="par_id3159254" role="listitem" xml-lang="en-US">Method of the com.sun.star.container.XContainerListener interface</paragraph> </listitem> <listitem> - <paragraph id="par_id3147287" role="listitem" xml-lang="en-US">elementRemoved:</paragraph> + <paragraph id="par_id3147287" role="listitem" xml-lang="en-US" localize="false">elementRemoved:</paragraph> </listitem> <listitem> <paragraph id="par_id3146119" role="listitem" xml-lang="en-US">Method of the com.sun.star.container.XContainerListener interface</paragraph> </listitem> <listitem> - <paragraph id="par_id3153951" role="listitem" xml-lang="en-US">elementReplaced:</paragraph> + <paragraph id="par_id3153951" role="listitem" xml-lang="en-US" localize="false">elementReplaced:</paragraph> </listitem> <listitem> <paragraph id="par_id3154013" role="listitem" xml-lang="en-US">Method of the com.sun.star.container.XContainerListener interface</paragraph> @@ -86,36 +86,36 @@ <list type="unordered"> <listitem> - <paragraph id="par_id3155411" role="listitem" xml-lang="en-US">ContListener_disposing</paragraph> + <paragraph id="par_id3155411" role="listitem" xml-lang="en-US" localize="false">ContListener_disposing</paragraph> </listitem> <listitem> - <paragraph id="par_id3146923" role="listitem" xml-lang="en-US">ContListener_elementInserted</paragraph> + <paragraph id="par_id3146923" role="listitem" xml-lang="en-US" localize="false">ContListener_elementInserted</paragraph> </listitem> <listitem> - <paragraph id="par_id3147318" role="listitem" xml-lang="en-US">ContListener_elementRemoved</paragraph> + <paragraph id="par_id3147318" role="listitem" xml-lang="en-US" localize="false">ContListener_elementRemoved</paragraph> </listitem> <listitem> - <paragraph id="par_id3152578" role="listitem" xml-lang="en-US">ContListener_elementReplaced</paragraph> + <paragraph id="par_id3152578" role="listitem" xml-lang="en-US" localize="false">ContListener_elementReplaced</paragraph> </listitem></list> <paragraph id="par_id3150592" role="paragraph" xml-lang="en-US">An event structure type that contains information about an event exists for every Listener type. When a Listener method is called, an instance of this event is passed to the method as a parameter. Basic Listener methods can also call these event objects, so long as the appropriate parameter is passed in the Sub declaration. For example:</paragraph> <bascode> <paragraph id="par_idm1340499136" role="bascode" localize="false" xml-lang="en-US">Sub ContListener_disposing( oEvent )</paragraph> -<paragraph id="par_id3153876" role="bascode" xml-lang="en-US"> MsgBox "disposing"</paragraph> +<paragraph id="par_id31538768025" role="bascode" localize="false" xml-lang="en-US"> MsgBox "disposing"</paragraph> <paragraph id="par_idm1340496176" role="bascode" localize="false" xml-lang="en-US"> MsgBox oEvent.Dbg_Properties</paragraph> <paragraph id="par_idm1340684736" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> <paragraph id="par_idm1340683504" role="bascode" localize="false" xml-lang="en-US"> </paragraph> <paragraph id="par_idm1340682256" role="bascode" localize="false" xml-lang="en-US">Sub ContListener_elementInserted( oEvent )</paragraph> -<paragraph id="par_id3154098" role="bascode" xml-lang="en-US"> MsgBox "elementInserted"</paragraph> +<paragraph id="par_id31540984458" role="bascode" localize="false" xml-lang="en-US"> MsgBox "elementInserted"</paragraph> <paragraph id="par_idm1340679264" role="bascode" localize="false" xml-lang="en-US"> MsgBox oEvent.Dbg_Properties</paragraph> <paragraph id="par_idm1340678016" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> <paragraph id="par_idm1340676784" role="bascode" localize="false" xml-lang="en-US"> </paragraph> <paragraph id="par_idm1340675584" role="bascode" localize="false" xml-lang="en-US">Sub ContListener_elementRemoved( oEvent )</paragraph> -<paragraph id="par_id3153947" role="bascode" xml-lang="en-US"> MsgBox "elementRemoved"</paragraph> +<paragraph id="par_id31539470236" role="bascode" localize="false" xml-lang="en-US"> MsgBox "elementRemoved"</paragraph> <paragraph id="par_idm1340672544" role="bascode" localize="false" xml-lang="en-US"> MsgBox oEvent.Dbg_Properties</paragraph> <paragraph id="par_idm1340671296" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> <paragraph id="par_idm1340670064" role="bascode" localize="false" xml-lang="en-US"> </paragraph> <paragraph id="par_idm1340668864" role="bascode" localize="false" xml-lang="en-US">Sub ContListener_elementReplaced( oEvent )</paragraph> -<paragraph id="par_id3148915" role="bascode" xml-lang="en-US"> MsgBox "elementReplaced"</paragraph> +<paragraph id="par_id31489150148" role="bascode" localize="false" xml-lang="en-US"> MsgBox "elementReplaced"</paragraph> <paragraph id="par_idm1340665824" role="bascode" localize="false" xml-lang="en-US"> MsgBox oEvent.Dbg_Properties</paragraph> <paragraph id="par_idm1340664576" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> diff --git a/source/text/sbasic/shared/classmodule.xhp b/source/text/sbasic/shared/classmodule.xhp index 13d95b9cb..df14f9ad7 100644 --- a/source/text/sbasic/shared/classmodule.xhp +++ b/source/text/sbasic/shared/classmodule.xhp @@ -10,12 +10,12 @@ --> <meta> <topic id="text/sbasic/shared/ClassModule"> - <title id="tit" xml-lang="en-US">Option ClassModule</title> + <title id="tit" localize="false" xml-lang="en-US">Option ClassModule</title> <filename>/text/sbasic/shared/classmodule.xhp</filename> </topic> </meta> <body> - <bookmark branch="index" id="N0082"> + <bookmark branch="index" id="N0082" localize="false"> <bookmark_value>Option ClassModule</bookmark_value> </bookmark> @@ -27,7 +27,7 @@ <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <paragraph role="paragraph" id="N0089">This statement must be used jointly with <literal>Option Compatible</literal> statement or <literal>Option VBASupport 1</literal>, the former is enabling VBA compatibility mode, while the latter is enforcing VBA support on top of compatibility.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> - <paragraph role="code" id="N0086">Option ClassModule</paragraph> + <paragraph role="code" localize="false" id="N0086">Option ClassModule</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functexample"/> <bascode> <paragraph role="bascode" localize="false" id="N0092">Option Compatible</paragraph> diff --git a/source/text/sbasic/shared/code-stubs.xhp b/source/text/sbasic/shared/code-stubs.xhp index 5425a87b5..53161098a 100644 --- a/source/text/sbasic/shared/code-stubs.xhp +++ b/source/text/sbasic/shared/code-stubs.xhp @@ -20,7 +20,7 @@ <meta> <topic id="topic_2507201510192393"> - <title xml-lang="en-US" id="tit">BasicCodeStubs</title> + <title xml-lang="en-US" localize="false" id="tit">BasicCodeStubs</title> <filename>/text/sbasic/shared/code-stubs.xhp</filename> </topic> </meta> diff --git a/source/text/sbasic/shared/compatible.xhp b/source/text/sbasic/shared/compatible.xhp index da69342b8..48ca0b6ee 100644 --- a/source/text/sbasic/shared/compatible.xhp +++ b/source/text/sbasic/shared/compatible.xhp @@ -10,15 +10,17 @@ --> <meta> <topic id="text/sbasic/shared/compatible"> - <title id="tit" xml-lang="en-US">Option Compatible</title> + <title id="tit" localize="false" xml-lang="en-US">Option Compatible</title> <filename>/text/sbasic/shared/compatible.xhp</filename> </topic> </meta> <body> <bookmark branch="index" id="N0103"> - <bookmark_value>Option Compatible</bookmark_value> <bookmark_value>VBA compatibility option</bookmark_value> </bookmark> + <bookmark branch="index" localize="false" id="N8803"> + <bookmark_value>Option Compatible</bookmark_value> + </bookmark> <section id="optioncompatiblestatement"> <h1 id="N0104"><variable id="compatiblestatement"><link href="text/sbasic/shared/compatible.xhp" name="compatible">Option Compatible Statement</link></variable></h1> diff --git a/source/text/sbasic/shared/partition.xhp b/source/text/sbasic/shared/partition.xhp index 09e42f54e..617f0d806 100644 --- a/source/text/sbasic/shared/partition.xhp +++ b/source/text/sbasic/shared/partition.xhp @@ -27,7 +27,7 @@ <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <paragraph role="code" id="par_id111548419647867">Partition( Number, Start, End, Interval)</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> - <paragraph role="paragraph" id="par_id971548420129767" localize="false">String</paragraph> + <paragraph role="paragraph" localize="false" id="par_id971548420129767">String</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <paragraph role="paragraph" id="par_id481548420000538"><emph>Number</emph>: Required. The number to determine the partition.</paragraph>