diff options
Diffstat (limited to 'source/ca-valencia/helpcontent2/source/text/sbasic/shared.po')
-rw-r--r-- | source/ca-valencia/helpcontent2/source/text/sbasic/shared.po | 396 |
1 files changed, 252 insertions, 144 deletions
diff --git a/source/ca-valencia/helpcontent2/source/text/sbasic/shared.po b/source/ca-valencia/helpcontent2/source/text/sbasic/shared.po index 7c6b0083aca..f2559fa4b26 100644 --- a/source/ca-valencia/helpcontent2/source/text/sbasic/shared.po +++ b/source/ca-valencia/helpcontent2/source/text/sbasic/shared.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-06-24 12:51+0200\n" +"POT-Creation-Date: 2021-09-10 23:11+0200\n" "PO-Revision-Date: 2021-01-29 00:36+0000\n" "Last-Translator: serval2412 <serval2412@yahoo.fr>\n" "Language-Team: Catalan <https://translations.documentfoundation.org/projects/libo_help-master/textsbasicshared/ca_VALENCIA/>\n" @@ -647,13 +647,13 @@ msgctxt "" msgid "This method is only available for <emph>Python</emph> scripts." msgstr "" -#. FMxTn +#. DmRoP #: 00000003.xhp msgctxt "" "00000003.xhp\n" "par_id81621427048241\n" "help.text" -msgid "This method requires the installation of the <link href=\"https://extensions.libreoffice.org/en/extensions/show/apso-alternative-script-organizer-for-python\" name=\"APSO Link\">APSO (Alternative Script Organizer for Python)</link> extension. If it is not installed, an error will occur." +msgid "This method requires the installation of the <link href=\"https://extensions.libreoffice.org/en/extensions/show/apso-alternative-script-organizer-for-python\" name=\"APSO Link\">APSO (Alternative Script Organizer for Python)</link> extension. In turn APSO requires the presence of %PRODUCTNAME Python scripting framework. If APSO or Python are missing, an error occurs." msgstr "" #. yJwvF @@ -16568,14 +16568,14 @@ msgctxt "" msgid "<bookmark_value>Timer function</bookmark_value>" msgstr "<bookmark_value>Funció Timer</bookmark_value>" -#. s4Cso +#. 2AGeD #: 03030303.xhp msgctxt "" "03030303.xhp\n" "hd_id3149346\n" "help.text" -msgid "<link href=\"text/sbasic/shared/03030303.xhp\" name=\"Timer Function\">Timer Function</link>" -msgstr "<link href=\"text/sbasic/shared/03030303.xhp\" name=\"Funció Timer\">Funció Timer</link>" +msgid "<variable id=\"Timer_H1\"><link href=\"text/sbasic/shared/03030303.xhp\" name=\"Timer Function\">Timer Function</link></variable>" +msgstr "" #. AKDaG #: 03030303.xhp @@ -16595,24 +16595,6 @@ msgctxt "" msgid "You must first declare a variable to call the Timer function and assign it the \"Long \" data type, otherwise a Date value is returned." msgstr "Heu de declarar primer una variable per cridar la funció Timer i assignar-la al tipus de dades \"llarg\", si no, es torna el valor Date." -#. 7esAc -#: 03030303.xhp -msgctxt "" -"03030303.xhp\n" -"hd_id3153768\n" -"help.text" -msgid "Syntax:" -msgstr "Sintaxi:" - -#. AjxQM -#: 03030303.xhp -msgctxt "" -"03030303.xhp\n" -"hd_id3146975\n" -"help.text" -msgid "Return value:" -msgstr "Valor de retorn:" - #. zgXp6 #: 03030303.xhp msgctxt "" @@ -16622,49 +16604,31 @@ msgctxt "" msgid "Date" msgstr "Data" -#. p966o -#: 03030303.xhp -msgctxt "" -"03030303.xhp\n" -"hd_id3156442\n" -"help.text" -msgid "Example:" -msgstr "Exemple:" - -#. nf9Nk +#. ppCoJ #: 03030303.xhp msgctxt "" "03030303.xhp\n" "par_id3145748\n" "help.text" -msgid "MsgBox lSec,0,\"Seconds since midnight\"" -msgstr "MsgBox lSec,0,\"Segons des de mitjanit\"" +msgid "MsgBox lSec, 0, \"Seconds since midnight\"" +msgstr "" -#. 7hHWi +#. E5DAZ #: 03030303.xhp msgctxt "" "03030303.xhp\n" "par_id3156283\n" "help.text" -msgid "MsgBox Right(\"00\" & lHour , 2) & \":\"& Right(\"00\" & lMin , 2) & \":\" & Right(\"00\" & lSec , 2) ,0,\"The time is\"" -msgstr "MsgBox Right(\"00\" & lHour , 2) & \":\"& Right(\"00\" & lMin , 2) & \":\" & Right(\"00\" & lSec , 2) ,0,\"L'hora és\"" - -#. QLp7F -#: 03030303.xhp -msgctxt "" -"03030303.xhp\n" -"par_id491610993401822\n" -"help.text" -msgid "The <literal>Timer</literal> function measures time in seconds. To measure time in milliseconds use the <link href=\"text/sbasic/shared/03/sf_timer.xhp\" name=\"ScriptForge.Timer service\"><literal>Timer</literal> service</link>." +msgid "MsgBox Right(\"00\" & lHour , 2) & \":\"& Right(\"00\" & lMin , 2) & \":\" & Right(\"00\" & lSec , 2), 0, \"The time is\"" msgstr "" -#. fsCiJ +#. CWMJG #: 03030303.xhp msgctxt "" "03030303.xhp\n" -"par_id531610970649205\n" +"par_id491610993401822\n" "help.text" -msgid "<embedvar href=\"text/sbasic/shared/03/sf_timer.xhp#TimerService\"/>" +msgid "The <literal>Timer</literal> function measures time in seconds. To measure time in milliseconds use the <embedvar href=\"text/sbasic/shared/03/sf_timer.xhp#TimerService\"/>." msgstr "" #. ATnCy @@ -17036,6 +17000,42 @@ msgctxt "" msgid "VT - Vertical tab" msgstr "VT - tabulació vertical" +#. 8kxFA +#: 03040000.xhp +msgctxt "" +"03040000.xhp\n" +"bm_id391624288823741\n" +"help.text" +msgid "<bookmark_value>VBA Variable Type Named Constants</bookmark_value>" +msgstr "" + +#. EuAqS +#: 03040000.xhp +msgctxt "" +"03040000.xhp\n" +"hd_id941624288567829\n" +"help.text" +msgid "VBA Variable Type Named Constants" +msgstr "" + +#. AzBpy +#: 03040000.xhp +msgctxt "" +"03040000.xhp\n" +"par_id31624288363725\n" +"help.text" +msgid "Named constant" +msgstr "" + +#. SrPWN +#: 03040000.xhp +msgctxt "" +"03040000.xhp\n" +"par_id951624288363725\n" +"help.text" +msgid "Decimal value" +msgstr "" + #. LMbQP #: 03050000.xhp msgctxt "" @@ -28664,14 +28664,14 @@ msgctxt "" msgid "TypeName Function; VarType Function" msgstr "Funció TypeName; Funció VarType" -#. MZBfd +#. 5Bz7E #: 03103600.xhp msgctxt "" "03103600.xhp\n" "bm_id3143267\n" "help.text" -msgid "<bookmark_value>TypeName function</bookmark_value> <bookmark_value>VarType function</bookmark_value>" -msgstr "<bookmark_value>Funció TypeName</bookmark_value> <bookmark_value>Funció VarType</bookmark_value>" +msgid "<bookmark_value>TypeName function</bookmark_value><bookmark_value>VarType function</bookmark_value><bookmark_value>Basic Variable Type constants</bookmark_value>" +msgstr "" #. QYE2E #: 03103600.xhp @@ -28691,15 +28691,6 @@ msgctxt "" msgid "Returns a string (TypeName) or a numeric value (VarType) that contains information for a variable." msgstr "Torna una cadena (TypeName) o un valor numèric (VarType) que conté informació per a una variable." -#. JGJq2 -#: 03103600.xhp -msgctxt "" -"03103600.xhp\n" -"hd_id3153825\n" -"help.text" -msgid "Syntax:" -msgstr "Sintaxi:" - #. EkgRM #: 03103600.xhp msgctxt "" @@ -28709,15 +28700,6 @@ msgctxt "" msgid "TypeName (Variable) / VarType (Variable)" msgstr "TypeName (Variable)/VarType (Variable)" -#. Ax4Qv -#: 03103600.xhp -msgctxt "" -"03103600.xhp\n" -"hd_id3145610\n" -"help.text" -msgid "Return value:" -msgstr "Valor de retorn:" - #. gaAwa #: 03103600.xhp msgctxt "" @@ -28727,15 +28709,6 @@ msgctxt "" msgid "String; Integer" msgstr "String; Integer" -#. M8Nj4 -#: 03103600.xhp -msgctxt "" -"03103600.xhp\n" -"hd_id3146795\n" -"help.text" -msgid "Parameters:" -msgstr "Paràmetres:" - #. CmbDF #: 03103600.xhp msgctxt "" @@ -28745,14 +28718,14 @@ msgctxt "" msgid "<emph>Variable:</emph> The variable that you want to determine the type of. You can use the following values:" msgstr "<emph>Variable:</emph> La variable el tipus de la qual voleu determinar. Podeu utilitzar els valors següents:" -#. RbH5s +#. oxuiK #: 03103600.xhp msgctxt "" "03103600.xhp\n" "par_id3145171\n" "help.text" -msgid "key word" -msgstr "paraula clau" +msgid "keyword" +msgstr "" #. EAezL #: 03103600.xhp @@ -28898,15 +28871,6 @@ msgctxt "" msgid "No valid data" msgstr "No hi ha dades vàlides" -#. GqyDQ -#: 03103600.xhp -msgctxt "" -"03103600.xhp\n" -"hd_id3149338\n" -"help.text" -msgid "Example:" -msgstr "Exemple:" - #. qxhYF #: 03103600.xhp msgctxt "" @@ -31103,14 +31067,14 @@ msgctxt "" msgid "<bookmark_value>String function</bookmark_value>" msgstr "<bookmark_value>Funció String</bookmark_value>" -#. j82Ba +#. C8tf8 #: 03120202.xhp msgctxt "" "03120202.xhp\n" "hd_id3147291\n" "help.text" -msgid "<link href=\"text/sbasic/shared/03120202.xhp\" name=\"String Function\">String Function</link>" -msgstr "<link href=\"text/sbasic/shared/03120202.xhp\" name=\"Funció String\">Funció String</link>" +msgid "<variable id=\"String_h1\"><link href=\"text/sbasic/shared/03120202.xhp\" name=\"String Function\">String Function</link></variable>" +msgstr "" #. YVCRg #: 03120202.xhp @@ -32948,14 +32912,14 @@ msgctxt "" msgid "<emph>Compare:</emph> Optional numeric expression that defines the type of comparison. The value of this parameter can be 0 or 1. The default value of 1 specifies a text comparison that is not case-sensitive. The value of 0 specifies a binary comparison that is case-sensitive." msgstr "<emph>Comparar:</emph> Expressió numèrica opcional que defineix el tipus de comparació. El valor d'este paràmetre pot ser 0 o 1. El valor per defecte d'1 especifica una comparació de text que no distingeix majúscules i minúscules. El valor de 0 especifica una comparació binària que distingeix majúscules i minúscules." -#. pbB6M +#. mZhFi #: 03120401.xhp msgctxt "" "03120401.xhp\n" "par_id3153361\n" "help.text" -msgid "To avoid a run-time error, do not set the Compare parameter if the first return parameter is omitted." -msgstr "Per evitar un error d'execució, no establiu el paràmetre Comparar si el primer paràmetre de retorn s'ha omés." +msgid "To avoid a run-time error, do not set the Compare parameter if the first optional parameter is omitted." +msgstr "" #. gRVcn #: 03120401.xhp @@ -34406,13 +34370,13 @@ msgctxt "" msgid "CreateUnoService Function" msgstr "Funció CreateUnoService" -#. khb7S +#. AmHDS #: 03131600.xhp msgctxt "" "03131600.xhp\n" "bm_id3150682\n" "help.text" -msgid "<bookmark_value>CreateUnoService function</bookmark_value><bookmark_value>API;FilePicker</bookmark_value><bookmark_value>API;FunctionAccess</bookmark_value>" +msgid "<bookmark_value>CreateUnoService function</bookmark_value> <bookmark_value>API;FilePicker</bookmark_value> <bookmark_value>API;SimpleFileAccess</bookmark_value>" msgstr "" #. aeYuT @@ -34424,67 +34388,112 @@ msgctxt "" msgid "<variable id=\"createunoserviceh1\"><link href=\"text/sbasic/shared/03131600.xhp\" name=\"CreateUnoService Function\">CreateUnoService Function</link></variable>" msgstr "" -#. rJbLM +#. ztccV #: 03131600.xhp msgctxt "" "03131600.xhp\n" "par_id3152924\n" "help.text" -msgid "Instantiates a Uno service with the ProcessServiceManager." -msgstr "Instancia un servei Uno amb ProcessServiceManager." +msgid "Instantiates a Uno service with the <literal>ProcessServiceManager</literal>." +msgstr "" -#. NjYQ2 +#. WN5N9 #: 03131600.xhp msgctxt "" "03131600.xhp\n" -"par_id3153346\n" +"par_id511629989178074\n" "help.text" -msgid "oService = CreateUnoService( Uno service name )" -msgstr "oService = CreateUnoService( Uno service name )" +msgid "<input>oService = CreateUnoService( UNO service name )</input>" +msgstr "" -#. BajPb +#. 5oFHA #: 03131600.xhp msgctxt "" "03131600.xhp\n" -"par_idN1060F\n" +"par_id921629989537850\n" "help.text" -msgid "For a list of available services, go to: <link href=\"https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star.html\" name=\"api.libreoffice.org com::sun::star Module Reference\">https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star.html</link>" -msgstr "Per a una llista dels serveis disponibles, visiteu: <link href=\"https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star.html\" name=\"Referència del mòdul com::sun::star\">api.libreoffice.org</link> (en anglés)." +msgid "For a list of available services, visit the <link href=\"https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star.html\" name=\"UNO_Service_Names\">com::sun::star Module</link> reference page." +msgstr "" -#. 9jnBL +#. BSPFS #: 03131600.xhp msgctxt "" "03131600.xhp\n" -"bm_id731561653332192\n" +"par_id891561653344669\n" "help.text" -msgid "<bookmark_value>Calc functions;API Service</bookmark_value>" +msgid "The example below creates the function <literal>FileExists</literal> that uses the service <literal>com.sun.star.ucb.SimpleFileAccess</literal> to test if a given path is an existing file." msgstr "" -#. 7YLme +#. CCdzF #: 03131600.xhp msgctxt "" "03131600.xhp\n" -"par_id891561653344669\n" +"bas_id901629989240801\n" +"help.text" +msgid "Function FileExists(sPath as String) as Boolean" +msgstr "" + +#. egz97 +#: 03131600.xhp +msgctxt "" +"03131600.xhp\n" +"bas_id361629989241073\n" "help.text" -msgid "Calling Calc functions in Basic:" +msgid "Dim svcSFA as Object" msgstr "" -#. dASYG +#. kPKBG #: 03131600.xhp msgctxt "" "03131600.xhp\n" -"par_id741592351349391\n" +"bas_id461629989241289\n" "help.text" -msgid "REM The code below does not work for add-in functions, which have a different calling procedure." +msgid "Set svcSFA = CreateUnoService(\"com.sun.star.ucb.SimpleFileAccess\")" msgstr "" -#. JnBj8 +#. bTCFr #: 03131600.xhp msgctxt "" "03131600.xhp\n" -"par_id31561653863623\n" +"bas_id441629989241521\n" "help.text" -msgid "REM Always use the function English name" +msgid "Dim bExists as Boolean : bExists = svcSFA.exists(sPath)" +msgstr "" + +#. rn8Gk +#: 03131600.xhp +msgctxt "" +"03131600.xhp\n" +"bas_id651629989241801\n" +"help.text" +msgid "Dim bIsFolder as Boolean : bIsFolder = svcSFA.IsFolder(sPath)" +msgstr "" + +#. 3Es78 +#: 03131600.xhp +msgctxt "" +"03131600.xhp\n" +"bas_id521629989242114\n" +"help.text" +msgid "FileExists = bExists And Not bIsFolder" +msgstr "" + +#. ErPrk +#: 03131600.xhp +msgctxt "" +"03131600.xhp\n" +"bas_id211629989242416\n" +"help.text" +msgid "End Function" +msgstr "" + +#. be6H2 +#: 03131600.xhp +msgctxt "" +"03131600.xhp\n" +"par_id351629989310797\n" +"help.text" +msgid "UNO services have an extensive online documentation in the <link href=\"https://api.libreoffice.org/\" name=\"API_Website\">api.libreoffice.org</link> website. Visit the <link href=\"https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1ucb_1_1SimpleFileAccess.html\" name=\"SimpleFileAccess_Page\">SimpleFileAccess Service</link> reference page to learn more about the methods provided by the service used in the example above." msgstr "" #. U26ti @@ -34496,14 +34505,14 @@ msgctxt "" msgid "<bookmark_value>filepicker;API service</bookmark_value>" msgstr "<bookmark_value>filepicker;servei d'API service</bookmark_value>" -#. HjGD6 +#. WR9Yf #: 03131600.xhp msgctxt "" "03131600.xhp\n" "par_idN10625\n" "help.text" -msgid "The following code uses a service to open a file open dialog:" -msgstr "El codi següent utilitza un servei per obrir un diàleg d'obertura de fitxers:" +msgid "The following code uses the service <literal>com.sun.star.ui.dialogs.FilePicker</literal> to show a file open dialog:" +msgstr "" #. WENTD #: 03131600.xhp @@ -37466,14 +37475,14 @@ msgctxt "" msgid "<bookmark_value>Input function</bookmark_value>" msgstr "<bookmark_value>funció Input</bookmark_value>" -#. qsESF +#. 98TG4 #: 03160000.xhp msgctxt "" "03160000.xhp\n" -"hd_id3150499\n" +"hd_id141626276767913\n" "help.text" -msgid "<link href=\"text/sbasic/shared/03160000.xhp\" name=\"Input Function [VBA]\">Input Function [VBA]</link>" -msgstr "<link href=\"text/sbasic/shared/03160000.xhp\" name=\"Funció Input [VBA]\">Funció Input [VBA]</link>" +msgid "<variable id=\"Input_h1\"><link href=\"text/sbasic/shared/03160000.xhp\" name=\"Input Function [VBA]\">Input Function [VBA]</link></variable>" +msgstr "" #. FGDak #: 03160000.xhp @@ -37511,15 +37520,6 @@ msgctxt "" msgid "<emph>FileNumber</emph>: Required. Any valid file number." msgstr "" -#. EfnL6 -#: 03160000.xhp -msgctxt "" -"03160000.xhp\n" -"par_id061420170153186192\n" -"help.text" -msgid "<link href=\"text/sbasic/shared/03020202.xhp\">Input# statement</link>" -msgstr "<link href=\"text/sbasic/shared/03020202.xhp\">Expressió Input#</link>" - #. on87b #: 03170000.xhp msgctxt "" @@ -38933,6 +38933,105 @@ msgctxt "" msgid "Use the <literal>CreateUNOService</literal> function to access the <literal>com.sun.star.sheet.FunctionAccess</literal> service." msgstr "" +#. LFEou +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"par_id751629987917982\n" +"help.text" +msgid "The example below creates a function named <literal>MyVlook</literal> that calls the <literal>VLOOKUP</literal> Calc function over a data array passed as argument and returns the value found by the function." +msgstr "" + +#. NyNyQ +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"bas_id271629987890173\n" +"help.text" +msgid "' Always use the function name in English" +msgstr "" + +#. x87Fg +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"par_id241629988142878\n" +"help.text" +msgid "The macro below presents an example of how the <literal>MyVlook</literal> function can be called. If first creates a 5-by-2 data array and then calls the function <literal>MyVlook</literal> and shows the returned value using <literal>MsgBox</literal>." +msgstr "" + +#. XincG +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"bas_id331629988249519\n" +"help.text" +msgid "' Creates a 5 by 2 array and fills it with data" +msgstr "" + +#. vGqJS +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"bas_id641629988249903\n" +"help.text" +msgid "myData(1, 1) = 1 : myData(1, 2) = \"Strongly disagree\"" +msgstr "" + +#. tFbTR +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"bas_id201629988250130\n" +"help.text" +msgid "myData(2, 1) = 3 : myData(2, 2) = \"Disagree\"" +msgstr "" + +#. FtDFM +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"bas_id291629988250317\n" +"help.text" +msgid "myData(3, 1) = 5 : myData(3, 2) = \"Undecided\"" +msgstr "" + +#. VAGCD +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"bas_id731629988250530\n" +"help.text" +msgid "myData(4, 1) = 7 : myData(4, 2) = \"Agree\"" +msgstr "" + +#. zVfFm +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"bas_id641629988250759\n" +"help.text" +msgid "myData(5, 1) = 9 : myData(5, 2) = \"Strongly agree\"" +msgstr "" + +#. bH6aF +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"bas_id521629988250997\n" +"help.text" +msgid "' Looks up the data array" +msgstr "" + +#. dbNrF +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"bas_id491629988324413\n" +"help.text" +msgid "' Shows the message \"Disagree\"" +msgstr "" + #. V3quU #: calc_functions.xhp msgctxt "" @@ -38978,6 +39077,15 @@ msgctxt "" msgid "MySQRTPI = oService.getSqrtPi(arg)" msgstr "" +#. PsFhU +#: calc_functions.xhp +msgctxt "" +"calc_functions.xhp\n" +"par_id651629988674793\n" +"help.text" +msgid "The table below presents a list of all Calc Add-In functions and their respective UNO service names." +msgstr "" + #. emGWD #: calc_functions.xhp msgctxt "" @@ -42245,23 +42353,23 @@ msgctxt "" msgid "UNO Objects" msgstr "Objectes de l'UNO" -#. 2XuCg +#. qDEE8 #: uno_objects.xhp msgctxt "" "uno_objects.xhp\n" "bm_id171544787218331\n" "help.text" -msgid "<bookmark_value>programming;UNO objects</bookmark_value> <bookmark_value>UNO objects</bookmark_value> <bookmark_value>UNO functions</bookmark_value>" +msgid "<bookmark_value>programming;UNO objects</bookmark_value> <bookmark_value>UNO objects</bookmark_value> <bookmark_value>UNO functions</bookmark_value>" msgstr "" -#. 5vZxD +#. DhRpt #: uno_objects.xhp msgctxt "" "uno_objects.xhp\n" "hd_id3156027\n" "help.text" -msgid "UNO Objects, Functions and Services" -msgstr "Objectes, funcions i serveis de l'UNO" +msgid "<variable id=\"UnoObjects_h1\"><link href=\"text/sbasic/shared/uno_objects.xhp\" name=\"UnoObjects_help\">UNO Objects, Functions and Services</link></variable>" +msgstr "" #. 9xsDp #: uno_objects.xhp |