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:57:15 +0100 |
commit | bba53dc2eb06941ab4e9b9c22722b22c19cd3698 (patch) | |
tree | 830dec3ec3d23995a7d39ffced38f811514273bb /source/text/sbasic/python | |
parent | 6fa6b45d603d01cb30549cdf9d1c56fa9376aa67 (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>
Diffstat (limited to 'source/text/sbasic/python')
-rw-r--r-- | source/text/sbasic/python/python_2_basic.xhp | 6 | ||||
-rw-r--r-- | source/text/sbasic/python/python_document_events.xhp | 2 |
2 files changed, 4 insertions, 4 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> |