diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2021-12-11 00:03:35 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2021-12-11 01:58:38 +0100 |
commit | ca76e7f693ffe416833bea1e86689aa21646a980 (patch) | |
tree | 7e6c72331882b5875cdb6919086a78747113e67b /source | |
parent | 71216768639b863e8e26598e76f12f630cb9232d (diff) |
Silence strings for l10n in sbasic/shared (Part 1)
These strings are appearing for translation in Weblate
but they're pure Basic code/syntax that does not need translation.
Change-Id: I8a3f16fcb23f18a2b2b46eb7eaf8bbf74023dd84
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126606
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
(cherry picked from commit bba53dc2eb06941ab4e9b9c22722b22c19cd3698)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/126667
Tested-by: Jenkins
Diffstat (limited to 'source')
-rw-r--r-- | source/text/sbasic/python/python_2_basic.xhp | 6 | ||||
-rw-r--r-- | source/text/sbasic/python/python_document_events.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03010301.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03010302.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03010303.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03010304.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03010305.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03020101.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03020201.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03020204.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03020301.xhp | 2 | ||||
-rw-r--r-- | source/text/sbasic/shared/03020302.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03020303.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03020304.xhp | 4 | ||||
-rw-r--r-- | source/text/sbasic/shared/03020305.xhp | 2 |
15 files changed, 22 insertions, 22 deletions
diff --git a/source/text/sbasic/python/python_2_basic.xhp b/source/text/sbasic/python/python_2_basic.xhp index 1c3820584f..0ce9f44177 100644 --- a/source/text/sbasic/python/python_2_basic.xhp +++ b/source/text/sbasic/python/python_2_basic.xhp @@ -77,9 +77,9 @@ </list> </section> <h3 id="N0368">Python Syntax</h3> - <paragraph role="paragraph" id="N0369"><literal>results = script.invoke((prompt,buttons,title), (), ())</literal></paragraph> - <paragraph role="paragraph" id="N0370"><literal>script.invoke((message,), tuple, ())</literal></paragraph> - <paragraph role="paragraph" id="N0371"><literal>script.invoke((args), (), results)</literal></paragraph> + <paragraph role="paragraph" localize="false" id="N0369"><input>results = script.invoke((prompt,buttons,title), (), ())</input></paragraph> + <paragraph role="paragraph" localize="false" id="N0370"><input>script.invoke((message,), tuple, ())</input></paragraph> + <paragraph role="paragraph" localize="false" id="N0371"><input>script.invoke((args), (), results)</input></paragraph> <h3 id="N0372">Examples of Personal or Shared Scripts</h3> <paragraph role="paragraph" id="N0373">Examples in <link href="text/sbasic/python/python_screen.xhp" name ="Input/Output to Screen">Input/Output to Screen</link> detail Python to Basic invocation calls. <link href="text/sbasic/python/python_document_events.xhp" name ="Monitoring Document Events">Monitoring Document Events</link> illustrates the usage of *args Python idiom to print a variable number of parameters to <literal>Access2Base</literal> logging console dialog.</paragraph> <tip id="N0374">At time of development you can interrupt Python script execution using <link href="https://berma.pagesperso-orange.fr/index2.html" name ="Xray extension">Xray extension</link> in order to inspect properties and methods of UNO objects. The APSO extension debugger allows object introspection using either Xray either MRI extensions.</tip> diff --git a/source/text/sbasic/python/python_document_events.xhp b/source/text/sbasic/python/python_document_events.xhp index f0785b1f2e..814047b1be 100644 --- a/source/text/sbasic/python/python_document_events.xhp +++ b/source/text/sbasic/python/python_document_events.xhp @@ -64,7 +64,7 @@ <paragraph role="pycode" localize="false" id="N0540"> XDocumentEventListener as AdapterPattern</paragraph> <paragraph role="pycode" localize="false" id="N0541">from com.sun.star.lang import EventObject</paragraph> <paragraph role="pycode" localize="false" id="N0542"> </paragraph> - <paragraph role="pycode" xml-lang="en-US" id="N0543">class UiDocument(unohelper.Base, AdapterPattern):</paragraph> + <paragraph role="pycode" localize="false" id="N0543">class UiDocument(unohelper.Base, AdapterPattern):</paragraph> <paragraph role="pycode" xml-lang="en-US" id="N0544"> """ Monitor document events """</paragraph> <paragraph role="pycode" localize="false" id="N0545"> '''</paragraph> <paragraph role="pycode" xml-lang="en-US" id="N0546"> adapted from 'Python script to monitor OnSave event' at</paragraph> diff --git a/source/text/sbasic/shared/03010301.xhp b/source/text/sbasic/shared/03010301.xhp index 7fd30d0556..a56a0e2a3a 100644 --- a/source/text/sbasic/shared/03010301.xhp +++ b/source/text/sbasic/shared/03010301.xhp @@ -40,7 +40,7 @@ <paragraph id="hd_id3149670" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> <bascode> -<paragraph id="par_id3149457" role="bascode" xml-lang="en-US">Blue (Color As Long)</paragraph> +<paragraph id="par_id3149457" localize="false" role="bascode" xml-lang="en-US">Blue (Color As Long)</paragraph> </bascode> <paragraph id="hd_id3149656" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> diff --git a/source/text/sbasic/shared/03010302.xhp b/source/text/sbasic/shared/03010302.xhp index f5630fde7c..aec9e1e105 100644 --- a/source/text/sbasic/shared/03010302.xhp +++ b/source/text/sbasic/shared/03010302.xhp @@ -40,7 +40,7 @@ <paragraph id="hd_id3154140" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> <bascode> -<paragraph id="par_id3153969" role="bascode" xml-lang="en-US">Green (Color As Long)</paragraph> +<paragraph id="par_id3153969" localize="false" role="bascode" xml-lang="en-US">Green (Color As Long)</paragraph> </bascode> <paragraph id="hd_id3154124" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> diff --git a/source/text/sbasic/shared/03010303.xhp b/source/text/sbasic/shared/03010303.xhp index 1dfc411f00..d7ac7717ad 100644 --- a/source/text/sbasic/shared/03010303.xhp +++ b/source/text/sbasic/shared/03010303.xhp @@ -40,7 +40,7 @@ <paragraph id="hd_id3148799" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> <bascode> -<paragraph id="par_id3150448" role="bascode" xml-lang="en-US">Red (ColorNumber As Long)</paragraph> +<paragraph id="par_id3150448" localize="false" role="bascode" xml-lang="en-US">Red (ColorNumber As Long)</paragraph> </bascode> <paragraph id="hd_id3151042" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> diff --git a/source/text/sbasic/shared/03010304.xhp b/source/text/sbasic/shared/03010304.xhp index 2e78f7ccfc..0a0b46b85d 100644 --- a/source/text/sbasic/shared/03010304.xhp +++ b/source/text/sbasic/shared/03010304.xhp @@ -37,10 +37,10 @@ </section> <paragraph id="hd_id3154140" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> -<paragraph id="par_id3151042" role="code" xml-lang="en-US">QBColor (ColorNumber As Integer)</paragraph> +<paragraph id="par_id3151042" localize="false" role="code" xml-lang="en-US">QBColor (ColorNumber As Integer)</paragraph> <paragraph id="hd_id3145172" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> -<paragraph id="par_id3154685" role="paragraph" xml-lang="en-US">Long</paragraph> +<paragraph id="par_id3154685" localize="false" role="paragraph" xml-lang="en-US">Long</paragraph> <paragraph id="hd_id3156560" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph> <paragraph id="par_id3161832" role="paragraph" xml-lang="en-US"> <emph>ColorNumber</emph>: Any integer expression that specifies the color value of the color passed from an older MS-DOS based programming system.</paragraph> diff --git a/source/text/sbasic/shared/03010305.xhp b/source/text/sbasic/shared/03010305.xhp index 093ea3d7ce..3b95b396f9 100644 --- a/source/text/sbasic/shared/03010305.xhp +++ b/source/text/sbasic/shared/03010305.xhp @@ -39,11 +39,11 @@ <paragraph id="hd_id3147229" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> <bascode> -<paragraph id="par_id3155132" role="bascode" xml-lang="en-US">RGB (Red, Green, Blue)</paragraph> +<paragraph id="par_id3155132" localize="false" role="bascode" xml-lang="en-US">RGB (Red, Green, Blue)</paragraph> </bascode> <paragraph id="hd_id3156442" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> -<paragraph id="par_id3159153" role="paragraph" xml-lang="en-US">Long</paragraph> +<paragraph id="par_id3159153" localize="false" role="paragraph" xml-lang="en-US">Long</paragraph> <paragraph id="hd_id3154013" role="heading" level="2" xml-lang="en-US">Parameter:</paragraph> <section id="parameters"> diff --git a/source/text/sbasic/shared/03020101.xhp b/source/text/sbasic/shared/03020101.xhp index 78cb1907fa..85f3a4bfbe 100644 --- a/source/text/sbasic/shared/03020101.xhp +++ b/source/text/sbasic/shared/03020101.xhp @@ -43,7 +43,7 @@ <image src="media/helpimg/sbasic/Close_statement.svg" id="img_id4156296484514"><alt xml-lang="en-US" id="alt_id15152796484514">Close Statement diagram</alt></image> </paragraph> <bascode> -<paragraph id="par_id3147265" role="bascode" xml-lang="en-US">Close [[#]fileNum [, [#]fileNum2 [,...]]]</paragraph> +<paragraph id="par_id3147265" localize="false" role="bascode" xml-lang="en-US">Close [[#]fileNum [, [#]fileNum2 [,...]]]</paragraph> </bascode> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> diff --git a/source/text/sbasic/shared/03020201.xhp b/source/text/sbasic/shared/03020201.xhp index 300451363d..5868020e4a 100644 --- a/source/text/sbasic/shared/03020201.xhp +++ b/source/text/sbasic/shared/03020201.xhp @@ -42,7 +42,7 @@ <image src="media/helpimg/sbasic/Get_statement.svg" id="img_id4156296484514"><alt xml-lang="en-US" id="alt_id15152796484514">Get Statement diagram</alt></image> </paragraph> <bascode> -<paragraph id="par_id3150792" role="bascode" xml-lang="en-US">Get [#]fileNum, [recordNum|filePos], variable</paragraph> +<paragraph id="par_id3150792" localize="false" role="bascode" xml-lang="en-US">Get [#]fileNum, [recordNum|filePos], variable</paragraph> </bascode> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> diff --git a/source/text/sbasic/shared/03020204.xhp b/source/text/sbasic/shared/03020204.xhp index c8b6bd14fd..10cbeec956 100644 --- a/source/text/sbasic/shared/03020204.xhp +++ b/source/text/sbasic/shared/03020204.xhp @@ -42,7 +42,7 @@ <image src="media/helpimg/sbasic/Put_statement.svg" id="img_id4156296484514"><alt xml-lang="en-US" id="alt_id15152796484514">Put Statement diagram</alt></image> </paragraph> <bascode> -<paragraph id="par_id3155132" role="bascode" xml-lang="en-US">Put [#]fileNum, [recordNum|filePos], variable</paragraph> +<paragraph id="par_id3155132" localize="false" role="bascode" xml-lang="en-US">Put [#]fileNum, [recordNum|filePos], variable</paragraph> </bascode> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> diff --git a/source/text/sbasic/shared/03020301.xhp b/source/text/sbasic/shared/03020301.xhp index 2c681a0aa5..f6eebac625 100644 --- a/source/text/sbasic/shared/03020301.xhp +++ b/source/text/sbasic/shared/03020301.xhp @@ -40,7 +40,7 @@ <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <bascode> -<paragraph id="par_id3147399" role="bascode" xml-lang="en-US">Eof (intexpression As Integer)</paragraph> +<paragraph id="par_id3147399" localize="false" role="bascode" xml-lang="en-US">Eof (intexpression As Integer)</paragraph> </bascode> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> diff --git a/source/text/sbasic/shared/03020302.xhp b/source/text/sbasic/shared/03020302.xhp index 8e93fd5b8e..5e25c384a4 100644 --- a/source/text/sbasic/shared/03020302.xhp +++ b/source/text/sbasic/shared/03020302.xhp @@ -38,10 +38,10 @@ </section> <paragraph role="heading" id="hd_id3156422" xml-lang="en-US" level="2">Syntax:</paragraph> <bascode> -<paragraph role="bascode" id="par_id3150768" xml-lang="en-US">Loc(FileNumber)</paragraph> +<paragraph role="bascode" localize="false" id="par_id3150768" xml-lang="en-US">Loc(FileNumber)</paragraph> </bascode> <paragraph role="heading" id="hd_id3150440" xml-lang="en-US" level="2">Return value:</paragraph> -<paragraph role="paragraph" id="par_id3152578" xml-lang="en-US">Long</paragraph> +<paragraph role="paragraph" localize="false" id="par_id3152578" xml-lang="en-US">Long</paragraph> <paragraph role="heading" id="hd_id3152462" xml-lang="en-US" level="2">Parameters:</paragraph> <paragraph role="paragraph" id="par_id3153363" xml-lang="en-US"> <emph>FileNumber:</emph> Any numeric expression that contains the file number that is set by the Open statement for the respective file.</paragraph> diff --git a/source/text/sbasic/shared/03020303.xhp b/source/text/sbasic/shared/03020303.xhp index 9ff89b5c44..eff8807698 100644 --- a/source/text/sbasic/shared/03020303.xhp +++ b/source/text/sbasic/shared/03020303.xhp @@ -38,10 +38,10 @@ </section> <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <bascode> -<paragraph role="bascode" id="par_id3150359" xml-lang="en-US">Lof (FileNumber)</paragraph> +<paragraph role="bascode" localize="false" id="par_id3150359" xml-lang="en-US">Lof (FileNumber)</paragraph> </bascode> <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> -<paragraph role="paragraph" id="par_id3147230" xml-lang="en-US">Long</paragraph> +<paragraph role="paragraph" localize="false" id="par_id3147230" xml-lang="en-US">Long</paragraph> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <paragraph role="paragraph" id="par_id3150869" xml-lang="en-US"> <emph>FileNumber:</emph> Any numeric expression that contains the file number that is specified in the Open statement.</paragraph> diff --git a/source/text/sbasic/shared/03020304.xhp b/source/text/sbasic/shared/03020304.xhp index 0d47a77cad..557e22a324 100644 --- a/source/text/sbasic/shared/03020304.xhp +++ b/source/text/sbasic/shared/03020304.xhp @@ -41,10 +41,10 @@ <paragraph role="paragraph" id="par_id3155854" xml-lang="en-US">See also: <link href="text/sbasic/shared/03020103.xhp" name="Open">Open</link>, <link href="text/sbasic/shared/03020305.xhp" name="Seek">Seek</link>.</paragraph> <paragraph role="heading" id="hd_id3152460" xml-lang="en-US" level="2">Syntax:</paragraph> <bascode> -<paragraph role="bascode" id="par_id3145365" xml-lang="en-US">Seek (FileNumber)</paragraph> +<paragraph role="bascode" localize="false" id="par_id3145365" xml-lang="en-US">Seek (FileNumber)</paragraph> </bascode> <paragraph role="heading" id="hd_id3148575" xml-lang="en-US" level="2">Return value:</paragraph> -<paragraph role="paragraph" id="par_id3159156" xml-lang="en-US">Long</paragraph> +<paragraph role="paragraph" localize="false" id="par_id3159156" xml-lang="en-US">Long</paragraph> <paragraph role="heading" id="hd_id3149665" xml-lang="en-US" level="2">Parameters:</paragraph> <paragraph role="paragraph" id="par_id3148645" xml-lang="en-US"> <emph>FileNumber:</emph> The data channel number used in the Open statement.</paragraph> diff --git a/source/text/sbasic/shared/03020305.xhp b/source/text/sbasic/shared/03020305.xhp index 9ff8727fd6..1ba67a785a 100644 --- a/source/text/sbasic/shared/03020305.xhp +++ b/source/text/sbasic/shared/03020305.xhp @@ -40,7 +40,7 @@ <image src="media/helpimg/sbasic/Seek_statement.svg" id="img_id4156296484514"><alt xml-lang="en-US" id="alt_id15152796484514">Seek Statement diagram</alt></image> </paragraph> <bascode> -<paragraph role="bascode" id="par_id3145273" xml-lang="en-US">Seek [#]filePos, {filePos|recordNum}</paragraph> +<paragraph role="bascode" localize="false" id="par_id3145273" xml-lang="en-US">Seek [#]filePos, {filePos|recordNum}</paragraph> </bascode> <paragraph id="hd_id3153379" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph> |