diff options
Diffstat (limited to 'source/ar/helpcontent2/source/text/sbasic/python.po')
-rw-r--r-- | source/ar/helpcontent2/source/text/sbasic/python.po | 120 |
1 files changed, 105 insertions, 15 deletions
diff --git a/source/ar/helpcontent2/source/text/sbasic/python.po b/source/ar/helpcontent2/source/text/sbasic/python.po index f9ae0cbc676..0c619c45b18 100644 --- a/source/ar/helpcontent2/source/text/sbasic/python.po +++ b/source/ar/helpcontent2/source/text/sbasic/python.po @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED&component=UI\n" -"POT-Creation-Date: 2021-09-27 19:09+0200\n" +"POT-Creation-Date: 2021-10-25 12:48+0200\n" "PO-Revision-Date: 2021-03-07 18:15+0000\n" "Last-Translator: Riyadh Talal <riyadhtalal@gmail.com>\n" "Language-Team: Arabic <https://translations.documentfoundation.org/projects/libo_help-master/textsbasicpython/ar/>\n" @@ -582,13 +582,13 @@ msgctxt "" msgid "Monitoring Document Events" msgstr "" -#. SZGH4 +#. VwSwW #: python_document_events.xhp msgctxt "" "python_document_events.xhp\n" "N0530\n" "help.text" -msgid "Monitoring is illustrated herewith for Basic and Python languages using object-oriented programming. Assigning <literal>OnLoad</literal> script, to the <emph>Open Document</emph> event, suffices to initiate and terminate document event monitoring. <menuitem>Tools - Customize</menuitem> menu <menuitem>Events</menuitem> tab is used to assign either scripts." +msgid "Monitoring is illustrated herewith for Basic and Python languages using object-oriented programming. Assigning <literal>OnLoad</literal> script, to the <menuitem>Open Document</menuitem> event, suffices to initiate and terminate document event monitoring. <menuitem>Tools - Customize</menuitem> menu <menuitem>Events</menuitem> tab is used to assign either scripts." msgstr "" #. KgWvt @@ -627,13 +627,13 @@ msgctxt "" msgid "Events monitoring starts from object instantiation and ultimately stops when Python releases the object. Raised events are reported using <literal>Access2Base</literal> console." msgstr "" -#. D2HXF +#. mCDwK #: python_document_events.xhp msgctxt "" "python_document_events.xhp\n" "N0534\n" "help.text" -msgid "<literal>OnLoad</literal> and <literal>OnUnload</literal> events can be used to respectively set and unset Python programs path. They are described as <emph>Open document</emph> and <emph>Document closed</emph>." +msgid "<literal>OnLoad</literal> and <literal>OnUnload</literal> events can be used to respectively set and unset Python programs path. They are described as <menuitem>Open document</menuitem> and <menuitem>Document closed</menuitem>." msgstr "" #. AdYNb @@ -807,6 +807,15 @@ msgctxt "" msgid "def OnLoad(*args): # 'Open Document' event" msgstr "" +#. PmjAB +#: python_document_events.xhp +msgctxt "" +"python_document_events.xhp\n" +"N0602\n" +"help.text" +msgid "listener = UiDocument() # Initiates listening" +msgstr "" + #. CkJg4 #: python_document_events.xhp msgctxt "" @@ -870,6 +879,15 @@ msgctxt "" msgid "\"\"\" Display console content/dialog \"\"\"" msgstr "" +#. mPJ3B +#: python_document_events.xhp +msgctxt "" +"python_document_events.xhp\n" +"N0638\n" +"help.text" +msgid "''' Grab application-based Basic script '''" +msgstr "" + #. 2dfeg #: python_document_events.xhp msgctxt "" @@ -879,13 +897,13 @@ msgctxt "" msgid "Mind the misspelled <literal>documentEventOccured</literal> method that inherits a typo from %PRODUCTNAME Application Programming Interface (API)." msgstr "" -#. CuAga +#. qNVD4 #: python_document_events.xhp msgctxt "" "python_document_events.xhp\n" "N0648\n" "help.text" -msgid "<emph>Start application</emph> and <emph>Close application</emph> events can respectively be used to set and to unset Python path for user scripts or %PRODUCTNAME scripts. In a similar fashion, document based Python libraries or modules can be loaded and released using <emph>Open document</emph> and <emph>Document closed</emph> events. Refer to <link href=\"text/sbasic/python/python_import.xhp\" name=\"Importing Python Modules\">Importing Python Modules</link> for more information." +msgid "<menuitem>Start application</menuitem> and <menuitem>Close application</menuitem> events can respectively be used to set and to unset Python path for user scripts or %PRODUCTNAME scripts. In a similar fashion, document based Python libraries or modules can be loaded and released using <menuitem>Open document</menuitem> and <menuitem>Document closed</menuitem> events. Refer to <link href=\"text/sbasic/python/python_import.xhp\" name=\"Importing Python Modules\">Importing Python Modules</link> for more information." msgstr "" #. 8pHCg @@ -3507,38 +3525,110 @@ msgctxt "" msgid "The Python interactive console, also known as Python interpreter or Python shell, provides programmers with a quick way to execute commands and try out and test code without creating a file. UNO objects introspection as well as %PRODUCTNAME Python modules documentation can be obtained from the terminal." msgstr "" -#. MZodx +#. kFpxo +#: python_shell.xhp +msgctxt "" +"python_shell.xhp\n" +"par_id851633601202270\n" +"help.text" +msgid "From a full-featured %PRODUCTNAME installed package, use either Basic or Python:" +msgstr "" + +#. 5HhXz #: python_shell.xhp msgctxt "" "python_shell.xhp\n" "N0121\n" "help.text" -msgid "Using a Basic macro:" +msgid "Using a Basic macro" msgstr "" -#. vXGF7 +#. KhWLk #: python_shell.xhp msgctxt "" "python_shell.xhp\n" "N0127\n" "help.text" -msgid "Using a Python macro:" +msgid "Using a Python macro" msgstr "" -#. oBg3T +#. 3FCJH #: python_shell.xhp msgctxt "" "python_shell.xhp\n" "N0141\n" "help.text" -msgid "Usage:" +msgid "Example output" msgstr "" -#. EzwwC +#. MxDtE #: python_shell.xhp msgctxt "" "python_shell.xhp\n" "N0142\n" "help.text" -msgid "<image src=\"media/helpimg/python/python_shell.png\" id=\"N0143\"><alt id=\"N0144\">Python Interactive Console</alt></image>" +msgid "<image src=\"media/helpimg/python/python_interactive_console.png\" id=\"N0143\"><alt id=\"N0143\">Python Interactive Console</alt></image>" +msgstr "" + +#. fk6sx +#: python_shell.xhp +msgctxt "" +"python_shell.xhp\n" +"hd_id381633446811095\n" +"help.text" +msgid "Using the Terminal" +msgstr "" + +#. CNFdD +#: python_shell.xhp +msgctxt "" +"python_shell.xhp\n" +"par_id801633601715910\n" +"help.text" +msgid "From a %PRODUCTNAME copy included in a GNU/Linux platform, use the terminal as shown:" +msgstr "" + +#. vWPwe +#: python_shell.xhp +msgctxt "" +"python_shell.xhp\n" +"par_id531633444780190\n" +"help.text" +msgid "<literal>whereis</literal> or <literal>type</literal> terminal commands help locate Python interactive console:" +msgstr "" + +#. 8Ei5d +#: python_shell.xhp +msgctxt "" +"python_shell.xhp\n" +"hd_id311633513620803\n" +"help.text" +msgid "Alternative console" +msgstr "" + +#. d8DCA +#: python_shell.xhp +msgctxt "" +"python_shell.xhp\n" +"par_id81632760673283\n" +"help.text" +msgid "Use <link href=\"https://extensions.libreoffice.org/extensions/apso-alternative-script-organizer-for-Python\" name=\"APSO extension\">APSO extension</link> console as an alternative:" +msgstr "" + +#. 6h9CS +#: python_shell.xhp +msgctxt "" +"python_shell.xhp\n" +"N0144\n" +"help.text" +msgid "<image src=\"media/helpimg/python/python_shell.png\" id=\"N0144\"><alt id=\"N0144\">APSO console</alt></image>" +msgstr "" + +#. DNr5W +#: python_shell.xhp +msgctxt "" +"python_shell.xhp\n" +"par_id351633599611244\n" +"help.text" +msgid "<link href=\"text/sbasic/shared/03/sf_exception.html?#PythonShell\" name=\"PythonShell method\"><literal>PythonShell</literal></link> function in <link href=\"text/sbasic/shared/03/sf_exception.html\" name=\"ScriptForge.Exception service\"><literal>ScriptForge.Exception</literal></link> service" msgstr "" |