From 8b19beb31a8130df352a794fc391eace34250bfd Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Fri, 8 Nov 2019 23:13:44 +0100 Subject: update translations from weblate Change-Id: I75a99d8d1567ffce961a404c6f054b9bd07b62a0 --- .../gug/helpcontent2/source/text/sbasic/guide.po | 474 ++++++++++++++++++++- 1 file changed, 471 insertions(+), 3 deletions(-) (limited to 'source/gug/helpcontent2/source/text/sbasic/guide.po') diff --git a/source/gug/helpcontent2/source/text/sbasic/guide.po b/source/gug/helpcontent2/source/text/sbasic/guide.po index 30f7ea4b3ec..770cb45324f 100644 --- a/source/gug/helpcontent2/source/text/sbasic/guide.po +++ b/source/gug/helpcontent2/source/text/sbasic/guide.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: 2019-08-21 21:36+0200\n" +"POT-Creation-Date: 2019-11-08 19:34+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -184,6 +184,474 @@ msgctxt "" msgid "Compare Access2Base with Microsoft Access VBA" msgstr "" +#. 4eXWf +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"tit\n" +"help.text" +msgid "Basic to Python" +msgstr "" + +#. eoGBT +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0430\n" +"help.text" +msgid "Basic;Calling Python API;SimpleFileAccess API;PathSettings API;XScript" +msgstr "" + +#. 8tB4f +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"hd_id811571848401485\n" +"help.text" +msgid "Calling Python Scripts from Basic" +msgstr "" + +#. P7E4G +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0432\n" +"help.text" +msgid "Calling Python scripts from %PRODUCTNAME Basic macros is possible, and valuable features can be obtained such as:" +msgstr "" + +#. ZKSB3 +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0433\n" +"help.text" +msgid "ComputerName identification or OSName detection are possible," +msgstr "" + +#. AW7Lr +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0434\n" +"help.text" +msgid "Basic FileLen() function and com.sun.star.ucb.SimpleFileAccess.getSize() API function exhibit a 2 Gigabytes file size upper limit that Python helps to overcome," +msgstr "" + +#. At8D2 +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0435\n" +"help.text" +msgid "com.sun.star.util.PathSettings can be normalized," +msgstr "" + +#. CPd9K +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0436\n" +"help.text" +msgid "and many more." +msgstr "" + +#. JvzSR +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0437\n" +"help.text" +msgid "A reasonable exposure to %PRODUCTNAME Basic and to Application Programming Interface (API) features is recommended prior to perform inter-language calls from Basic to Python, to JavaScript or any other script engine." +msgstr "" + +#. 4jY8s +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0438\n" +"help.text" +msgid "Retrieving Python Scripts" +msgstr "" + +#. bBTqb +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0439\n" +"help.text" +msgid "Python scripts can be personal, shared, or embedded in documents. In order to execute them, %PRODUCTNAME Basic needs to be provided with Python script locations. Locating com.sun.star.script.provider.XScript interface compliant UNO objects allows the execution of Python scripts:" +msgstr "" + +#. AZwVA +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0444\n" +"help.text" +msgid "''' Grab Python script object before execution" +msgstr "" + +#. woGvx +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0445\n" +"help.text" +msgid "' Arguments:" +msgstr "" + +#. nvnTr +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0446\n" +"help.text" +msgid "' macro : as \"library/module.py$macro\" or \"module.py$macro\"" +msgstr "" + +#. Au674 +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0447\n" +"help.text" +msgid "' location: as \"document\", \"share\", \"user\" or ENUM(eration)" +msgstr "" + +#. u5hgy +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0448\n" +"help.text" +msgid "' Result:" +msgstr "" + +#. kskTS +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0449\n" +"help.text" +msgid "' located com.sun.star.script.provider.XScript UNO service'''" +msgstr "" + +#. F9Hvi +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0452\n" +"help.text" +msgid "Dim sp As Object ' com.sun.star.script.provider.XScriptProvider compatible" +msgstr "" + +#. osCpU +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0463\n" +"help.text" +msgid "Executing Python Scripts" +msgstr "" + +#. pAfKa +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0464\n" +"help.text" +msgid "Syntax" +msgstr "" + +#. gVpsb +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0466\n" +"help.text" +msgid "opSysName = script.invoke(Array(), in_outs, Array()) ' in_out is an Array" +msgstr "" + +#. jiU2w +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0469\n" +"help.text" +msgid "Embedded Scripts Examples" +msgstr "" + +#. FadCx +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0470\n" +"help.text" +msgid "Below ComputerName, and GetFilelen routines are calling their Python counterparts, using aforementioned GetPythonScript function. Exception handling is not detailed." +msgstr "" + +#. YbMbS +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0472\n" +"help.text" +msgid "Option Compatible ' Properties are supported" +msgstr "" + +#. KVNHH +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0477\n" +"help.text" +msgid "'''Workstation name'''" +msgstr "" + +#. FCaBa +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0483\n" +"help.text" +msgid "'''File size in bytes'''" +msgstr "" + +#. D9Cbu +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0489\n" +"help.text" +msgid "ISEMBEDDED As String ' document script" +msgstr "" + +#. bD77H +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0490\n" +"help.text" +msgid "ISPERSONAL As String ' user script" +msgstr "" + +#. TEbDh +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0491\n" +"help.text" +msgid "ISSHARED As String ' %PRODUCTNAME macro" +msgstr "" + +#. CHTxq +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0497\n" +"help.text" +msgid ".ISEMBEDDED = \"document\" ' document script" +msgstr "" + +#. GGD4G +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0498\n" +"help.text" +msgid ".ISPERSONAL = \"user\" ' user scripts" +msgstr "" + +#. hz9VR +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0499\n" +"help.text" +msgid ".ISSHARED = \"share\" ' %PRODUCTNAME macro" +msgstr "" + +#. KfKCA +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0503\n" +"help.text" +msgid "Two different Python modules are called. They can either be embedded in the current document, either be stored on the file system. Argument type checking is skipped for clarity:" +msgstr "" + +#. igPCi +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0526\n" +"help.text" +msgid "Personal or Shared Scripts Examples" +msgstr "" + +#. EPVTC +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0527\n" +"help.text" +msgid "The calling mechanism for personal or shared Python scripts is identical to that of embedded scripts. Library names are mapped to folders. Computing %PRODUCTNAME user profile and shared modules system file paths can be performed as detailed in Getting session information. Below OSName, HelloWorld and NormalizePath routines are calling their Python counterparts, using aforementioned GetPythonScript function. Exception handling is not detailed." +msgstr "" + +#. bwkSJ +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0529\n" +"help.text" +msgid "Option Compatible ' Properties are supported" +msgstr "" + +#. 3W9xB +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0534\n" +"help.text" +msgid "'''Platform name as \"Linux\", \"Darwin\" or \"Windows\"'''" +msgstr "" + +#. WAE7X +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0540\n" +"help.text" +msgid "'''%PRODUCTNAME Python shared sample'''" +msgstr "" + +#. MYSSL +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0546\n" +"help.text" +msgid "'''Strip superfluous '\\..' in path'''" +msgstr "" + +#. yTqsy +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0550\n" +"help.text" +msgid "Python standard modules" +msgstr "" + +#. 3F9RQ +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0551\n" +"help.text" +msgid "%PRODUCTNAME embedded Python contains many standard libraries to benefit from. They bear a rich feature set, such as but not limited to:" +msgstr "" + +#. aPbV7 +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0552\n" +"help.text" +msgid "argparse Parser for command-line options, arguments and sub-commands" +msgstr "" + +#. zBD3c +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0553\n" +"help.text" +msgid "cmath Mathematical functions for complex numbers" +msgstr "" + +#. GDXVa +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0554\n" +"help.text" +msgid "csv CSV files reading and writing" +msgstr "" + +#. FnCu8 +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0555\n" +"help.text" +msgid "datetime Genuine date and time types" +msgstr "" + +#. GQCwa +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0556\n" +"help.text" +msgid "json JSON encoder and decoder" +msgstr "" + +#. JmFZK +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0557\n" +"help.text" +msgid "math Mathematical functions" +msgstr "" + +#. PRGHi +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0558\n" +"help.text" +msgid "re Regular expression operations" +msgstr "" + +#. XVbzW +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0559\n" +"help.text" +msgid "socket Low-level networking interface" +msgstr "" + +#. VehtJ +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0560\n" +"help.text" +msgid "sys System-specific parameters and functions" +msgstr "" + +#. RWzWY +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0561\n" +"help.text" +msgid "unittest and trace Unit testing framework and Track Python execution" +msgstr "" + +#. JG3VZ +#: basic_2_python.xhp +msgctxt "" +"basic_2_python.xhp\n" +"N0562\n" +"help.text" +msgid "xml.etree.ElementTree ElementTree XML API" +msgstr "" + #. CwBFN #: basic_examples.xhp msgctxt "" @@ -292,13 +760,13 @@ msgctxt "" msgid "Choose Tools - Macros - Organize Dialogs, and then click New." msgstr "" -#. M3Ddd +#. FkRCE #: create_dialog.xhp msgctxt "" "create_dialog.xhp\n" "par_id3150447\n" "help.text" -msgid "Enter a name for the dialog, and click OK. To rename the dialog later, right-click the name on the tab, and choose Rename." +msgid "Enter a name for the dialog and click OK. To rename the dialog later, right-click the name on the tab and choose Rename." msgstr "" #. qFeYH -- cgit