aboutsummaryrefslogtreecommitdiff
path: root/source/ca/helpcontent2/source/text/sbasic/shared.po
diff options
context:
space:
mode:
Diffstat (limited to 'source/ca/helpcontent2/source/text/sbasic/shared.po')
-rw-r--r--source/ca/helpcontent2/source/text/sbasic/shared.po242
1 files changed, 85 insertions, 157 deletions
diff --git a/source/ca/helpcontent2/source/text/sbasic/shared.po b/source/ca/helpcontent2/source/text/sbasic/shared.po
index 7f8fede4291..cf0de352ded 100644
--- a/source/ca/helpcontent2/source/text/sbasic/shared.po
+++ b/source/ca/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-11-16 12:08+0100\n"
+"POT-Creation-Date: 2021-11-24 12:02+0100\n"
"PO-Revision-Date: 2021-10-25 02:36+0000\n"
"Last-Translator: Adolfo Jayme Barrientos <fito@libreoffice.org>\n"
"Language-Team: Catalan <https://translations.documentfoundation.org/projects/libo_help-master/textsbasicshared/ca/>\n"
@@ -25699,23 +25699,59 @@ msgctxt ""
msgid "Parameters:"
msgstr "Paràmetres:"
-#. eJRAh
+#. 94dPA
#: 03100500.xhp
msgctxt ""
"03100500.xhp\n"
"par_id3159414\n"
"help.text"
-msgid "<emph>Expression:</emph> Any numeric expression that you want to convert. If the <emph>Expression</emph> exceeds the value range between -32768 and 32767, $[officename] Basic reports an overflow error. To convert a string expression, the number must be entered as normal text (\"123.5\") using the default number format of your operating system."
-msgstr "<emph>Expressió:</emph> Qualsevol expressió numèrica que vulgueu convertir. Si <emph>Expressió</emph> supera l'interval de valor entre -32768 i 32767, el $[officename] Basic informa d'un error de desbordament. Per a convertir una expressió de cadena, la xifra s'ha d'introduir com a text normal (\"123,5\") amb el format numèric per defecte del sistema operatiu."
+msgid "<emph>Expression:</emph> Any expression that you want to convert."
+msgstr ""
+
+#. tSQka
+#: 03100500.xhp
+msgctxt ""
+"03100500.xhp\n"
+"par_id3159415\n"
+"help.text"
+msgid "If the argument is a number, it is used as numeric value of the expression."
+msgstr ""
+
+#. RD4KV
+#: 03100500.xhp
+msgctxt ""
+"03100500.xhp\n"
+"par_id3159416\n"
+"help.text"
+msgid "If the argument is string, the function trims the leading whitespace; then it tries to recognize a number in following characters. These syntaxes are recognized: decimal numbers (with optional leading sign) using decimal and group separators of locale configured in $[officename] (group separators are accepted in any position), with optional exponential notation like \"-12e+1\" (where an optionally signed whole decimal number after e or E or d or D defines power of 10); octal numbers like \"&Onnn...\", where \"nnn...\" after \"&O\" or \"&o\" is sequence of characters up to the next non-alphanumeric character, and must be no longer than 11 digits from 0 to 7; hexadecimal numbers like \"&Hnnn...\", where \"nnn...\" after \"&H\" or \"&h\" is sequence of characters up to the next non-alphanumeric character, and must be no longer than 8 digits from 0 to 9, A to F, or a to f. The rest of the string is ignored. If the string is not recognized, e.g. when after trimming leading whitespace it doesn't start with plus, minus, a decimal digit, or \"&\", or when the sequence after \"&O\" is longer than 11 characters or contains an alphabetic character, the numeric value of expression is 0."
+msgstr ""
+
+#. ioj8X
+#: 03100500.xhp
+msgctxt ""
+"03100500.xhp\n"
+"par_id3159417\n"
+"help.text"
+msgid "If the argument is an error, the error number is used as numeric value of the expression."
+msgstr ""
-#. Tq6qi
+#. S3UH5
+#: 03100500.xhp
+msgctxt ""
+"03100500.xhp\n"
+"par_id3159418\n"
+"help.text"
+msgid "If the argument is a date, number of days since 1899-12-30 (serial date) is used as numeric value of the expression. Time is represented as fraction of a day."
+msgstr ""
+
+#. TA6XM
#: 03100500.xhp
msgctxt ""
"03100500.xhp\n"
"par_id3150358\n"
"help.text"
-msgid "This function always rounds the fractional part of a number to the nearest integer."
-msgstr "Aquesta funció sempre arrodoneix la part fraccionària d'una xifra a l'enter més proper."
+msgid "After calculating the numeric value of the expression, it is rounded to the nearest integer (if needed), and if the result is not between -32768 and 32767, $[officename] Basic reports an overflow error. Otherwise, the result is returned."
+msgstr ""
#. GsgXV
#: 03100600.xhp
@@ -30437,14 +30473,14 @@ msgctxt ""
msgid "<bookmark_value>Asc function</bookmark_value>"
msgstr "<bookmark_value>Funció Asc</bookmark_value>"
-#. UG5Ac
+#. CiUxk
#: 03120101.xhp
msgctxt ""
"03120101.xhp\n"
"hd_id3150499\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/03120101.xhp\" name=\"Asc Function\">Asc Function</link>"
-msgstr "<link href=\"text/sbasic/shared/03120101.xhp\" name=\"Funció Asc\">Funció Asc</link>"
+msgid "<variable id=\"Asc_h1\"><link href=\"text/sbasic/shared/03120101.xhp\" name=\"Asc Function\">Asc Function</link></variable>"
+msgstr ""
#. 8jiwA
#: 03120101.xhp
@@ -30455,59 +30491,32 @@ msgctxt ""
msgid "Returns the ASCII (American Standard Code for Information Interchange) value of the first character in a string expression."
msgstr "Torna el valor ASCII (American Standard Code for Information Interchange) del primer caràcter d'una expressió de cadena."
-#. BNWoG
-#: 03120101.xhp
-msgctxt ""
-"03120101.xhp\n"
-"hd_id3155555\n"
-"help.text"
-msgid "Syntax:"
-msgstr "Sintaxi:"
-
-#. giD6a
+#. xFKDc
#: 03120101.xhp
msgctxt ""
"03120101.xhp\n"
"par_id3143267\n"
"help.text"
-msgid "Asc (Text As String)"
-msgstr "Asc (Text As String)"
-
-#. qe9hh
-#: 03120101.xhp
-msgctxt ""
-"03120101.xhp\n"
-"hd_id3147242\n"
-"help.text"
-msgid "Return value:"
-msgstr "Valor de retorn:"
+msgid "Asc(string) As Long"
+msgstr ""
-#. kmTWL
+#. s239Q
#: 03120101.xhp
msgctxt ""
"03120101.xhp\n"
"par_id3150669\n"
"help.text"
-msgid "Integer"
-msgstr "Enter"
-
-#. ZSM8u
-#: 03120101.xhp
-msgctxt ""
-"03120101.xhp\n"
-"hd_id3148473\n"
-"help.text"
-msgid "Parameters:"
-msgstr "Paràmetres:"
+msgid "Long"
+msgstr ""
-#. nuuuC
+#. DZtGt
#: 03120101.xhp
msgctxt ""
"03120101.xhp\n"
"par_id3149415\n"
"help.text"
-msgid "<emph>Text:</emph> Any valid string expression. Only the first character in the string is relevant."
-msgstr "<emph>Text:</emph> Qualsevol expressió de cadena vàlida. Només és rellevant el primer caràcter de la cadena."
+msgid "<emph>string</emph>: Any valid string expression. Only the first character in the string is relevant."
+msgstr ""
#. CF7UG
#: 03120101.xhp
@@ -30518,15 +30527,6 @@ msgctxt ""
msgid "Use the Asc function to replace keys with values. If the Asc function encounters a blank string, $[officename] Basic reports a run-time error. In addition to 7 bit ASCII characters (Codes 0-127), the ASCII function can also detect non-printable key codes in ASCII code. This function can also handle 16 bit unicode characters."
msgstr "Utilitzeu la funció Asc per reemplaçar les tecles amb valors. Si la funció Asc troba una cadena buida, el $[officename] Basic informa d'un error d'execució. A més dels caràcters ASCII de 7 bits (Codis 0-127), la funció ASCII també pot detectar codis de tecla no imprimibles en codi ASCII. Aquesta funció també pot gestionar caràcters unicode de 16 bits."
-#. d4CxC
-#: 03120101.xhp
-msgctxt ""
-"03120101.xhp\n"
-"hd_id3159413\n"
-"help.text"
-msgid "Example:"
-msgstr "Exemple:"
-
#. VF7kK
#: 03120101.xhp
msgctxt ""
@@ -30536,14 +30536,14 @@ msgctxt ""
msgid "Print ASC(\"A\") ' returns 65"
msgstr "Print ASC(\"A\") ' retorna 65"
-#. imR9f
+#. mntEX
#: 03120101.xhp
msgctxt ""
"03120101.xhp\n"
"par_id3148797\n"
"help.text"
-msgid "Print ASC(\"Z\") ' returns 90"
-msgstr "Print ASC(\"Z\") ' retorna 90"
+msgid "Print ASC(string:=\"Z\") ' returns 90"
+msgstr ""
#. raPFD
#: 03120101.xhp
@@ -30554,15 +30554,6 @@ msgctxt ""
msgid "Print ASC(\"Las Vegas\") ' returns 76, since only the first character is taken into account"
msgstr "Print ASC(\"Las Vegas\") ' retorna 76, perquè només es té en compte el primer caràcter"
-#. 9QUxr
-#: 03120101.xhp
-msgctxt ""
-"03120101.xhp\n"
-"par_idN1067B\n"
-"help.text"
-msgid "<link href=\"text/sbasic/shared/03120102.xhp\">CHR</link>"
-msgstr "<link href=\"text/sbasic/shared/03120102.xhp\">CHR</link>"
-
#. QMLJb
#: 03120102.xhp
msgctxt ""
@@ -30581,14 +30572,14 @@ msgctxt ""
msgid "<bookmark_value>Chr function</bookmark_value>"
msgstr "<bookmark_value>Funció Chr</bookmark_value>"
-#. tDyPJ
+#. vBnDE
#: 03120102.xhp
msgctxt ""
"03120102.xhp\n"
"hd_id3149205\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/03120102.xhp\" name=\"Chr Function\">Chr Function</link>"
-msgstr "<link href=\"text/sbasic/shared/03120102.xhp\" name=\"Funció Chr\">Funció Chr</link>"
+msgid "<variable id=\"Chr_h1\"><link href=\"text/sbasic/shared/03120102.xhp\" name=\"Chr Function\">Chr Function</link></variable>"
+msgstr ""
#. UTy3n
#: 03120102.xhp
@@ -30599,14 +30590,14 @@ msgctxt ""
msgid "Returns the character that corresponds to the specified character code."
msgstr "Torna el caràcter que correspon al codi de caràcter especificat."
-#. bf6Zk
+#. cR5b8
#: 03120102.xhp
msgctxt ""
"03120102.xhp\n"
"par_id3150669\n"
"help.text"
-msgid "Chr(Expression As Integer)"
-msgstr "Chr(Expressió As Integer)"
+msgid "Chr[$](expression As Integer) As String"
+msgstr ""
#. HnFyY
#: 03120102.xhp
@@ -30662,14 +30653,14 @@ msgctxt ""
msgid "' This example inserts quotation marks (ASCII value 34) in a string."
msgstr "' Aquest exemple insereix cometes (valor ASCII 34) en una cadena."
-#. aCHvq
+#. PpQfe
#: 03120102.xhp
msgctxt ""
"03120102.xhp\n"
"par_id3151380\n"
"help.text"
-msgid "MsgBox \"A \"+ Chr$(34)+\"short\" + Chr$(34)+\" trip.\""
-msgstr "MsgBox \"Un \"+ Chr$(34)+\"viatge\" + Chr$(34)+\" curt.\""
+msgid "MsgBox \"A \"+ Chr$(34)+\"short\" + Chr(34)+\" trip.\""
+msgstr ""
#. iCsGw
#: 03120102.xhp
@@ -30680,15 +30671,6 @@ msgctxt ""
msgid "' The printout appears in the dialog as: A \"short\" trip."
msgstr "' La impressió apareix al diàleg com a: Un viatge \"curt\"."
-#. q8bRB
-#: 03120102.xhp
-msgctxt ""
-"03120102.xhp\n"
-"par_idN10668\n"
-"help.text"
-msgid "<link href=\"text/sbasic/shared/03120101.xhp\">ASC</link>"
-msgstr "<link href=\"text/sbasic/shared/03120101.xhp\">ASC</link>"
-
#. bzZDz
#: 03120103.xhp
msgctxt ""
@@ -31013,14 +30995,14 @@ msgctxt ""
msgid "<bookmark_value>AscW function</bookmark_value>"
msgstr "<bookmark_value>Funció AscW</bookmark_value>"
-#. 4pFSg
+#. 8JuD6
#: 03120111.xhp
msgctxt ""
"03120111.xhp\n"
"hd_id3150499\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/03120111.xhp\" name=\"AscW Function [VBA]\">AscW Function [VBA]</link>"
-msgstr "<link href=\"text/sbasic/shared/03120111.xhp\" name=\"Funció AscW [VBA]\">Funció AscW [VBA]</link>"
+msgid "<variable id=\"AscW_h1\"><link href=\"text/sbasic/shared/03120111.xhp\" name=\"AscW Function [VBA]\">AscW Function [VBA]</link></variable>"
+msgstr ""
#. XujWF
#: 03120111.xhp
@@ -31031,23 +31013,23 @@ msgctxt ""
msgid "Returns the Unicode value of the first character in a string expression."
msgstr "Retorna el valor Unicode del primer caràcter d'una expressió de cadena."
-#. tyhN7
+#. re4di
#: 03120111.xhp
msgctxt ""
"03120111.xhp\n"
"par_id3150669\n"
"help.text"
-msgid "Integer"
-msgstr "Enter"
+msgid "Long"
+msgstr ""
-#. cLSGx
+#. sEFFg
#: 03120111.xhp
msgctxt ""
"03120111.xhp\n"
"par_id3149415\n"
"help.text"
-msgid "<emph>Text:</emph> Any valid string expression. Only the first character in the string is relevant."
-msgstr "<emph>Text:</emph> qualsevol expressió de cadena vàlida. Només és rellevant el primer caràcter de la cadena."
+msgid "<emph>string</emph>: Any valid string expression. Only the first character in the string is relevant."
+msgstr ""
#. PWbGW
#: 03120111.xhp
@@ -31067,14 +31049,14 @@ msgctxt ""
msgid "Print AscW(\"A\") ' returns 65"
msgstr "Print AscW(\"A\") ' retorna 65"
-#. cSPdQ
+#. jFJn8
#: 03120111.xhp
msgctxt ""
"03120111.xhp\n"
"par_id3148797\n"
"help.text"
-msgid "Print AscW(\"Ω\") ' returns 937"
-msgstr "Print AscW(\"Ω\") ' retorna 937"
+msgid "Print AscW(string:=\"Ω\") ' returns 937"
+msgstr ""
#. KNmoP
#: 03120111.xhp
@@ -31085,33 +31067,6 @@ msgctxt ""
msgid "Print AscW(\"Αθήνα\") ' returns 913, since only the first character (Alpha) is taken into account"
msgstr "Print AscW(\"Αθήνα\") ' retorna 913, perquè només es té en compte el primer caràcter"
-#. Z2b5U
-#: 03120111.xhp
-msgctxt ""
-"03120111.xhp\n"
-"par_idN1067B\n"
-"help.text"
-msgid "<link href=\"text/sbasic/shared/03120102.xhp\">Chr</link>"
-msgstr "<link href=\"text/sbasic/shared/03120102.xhp\">Chr</link>"
-
-#. BbWXB
-#: 03120111.xhp
-msgctxt ""
-"03120111.xhp\n"
-"par_id051920171027053197\n"
-"help.text"
-msgid "<link href=\"text/sbasic/shared/03120112.xhp\">ChrW</link>"
-msgstr "<link href=\"text/sbasic/shared/03120112.xhp\">ChrW</link>"
-
-#. GkoG4
-#: 03120111.xhp
-msgctxt ""
-"03120111.xhp\n"
-"par_id051920171027051338\n"
-"help.text"
-msgid "<link href=\"text/sbasic/shared/03120101.xhp\">Asc</link>"
-msgstr "<link href=\"text/sbasic/shared/03120101.xhp\">Asc</link>"
-
#. 9DDYF
#: 03120112.xhp
msgctxt ""
@@ -31130,14 +31085,14 @@ msgctxt ""
msgid "<bookmark_value>ChrW function</bookmark_value>"
msgstr "<bookmark_value>funció ChrW</bookmark_value>"
-#. 4MJ6d
+#. C6uF5
#: 03120112.xhp
msgctxt ""
"03120112.xhp\n"
"hd_id3149205\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/03120112.xhp\" name=\"ChrW Function\">ChrW Function [VBA]</link>"
-msgstr "<link href=\"text/sbasic/shared/03120112.xhp\" name=\"Funció ChrW\">Funció ChrW [VBA]</link>"
+msgid "<variable id=\"ChrW_h1\"><link href=\"text/sbasic/shared/03120112.xhp\" name=\"ChrW Function\">ChrW Function [VBA]</link></variable>"
+msgstr ""
#. yFpZL
#: 03120112.xhp
@@ -31148,14 +31103,14 @@ msgctxt ""
msgid "Returns the Unicode character that corresponds to the specified character code."
msgstr "Retorna el caràcter Unicode que correspon al codi de caràcter especificat."
-#. UVM29
+#. X2EkR
#: 03120112.xhp
msgctxt ""
"03120112.xhp\n"
"par_id3150669\n"
"help.text"
-msgid "ChrW(Expression As Integer)"
-msgstr "ChrW(Expression As Integer)"
+msgid "ChrW(Expression As Integer) As String"
+msgstr ""
#. mA9x6
#: 03120112.xhp
@@ -31203,33 +31158,6 @@ msgctxt ""
msgid "' The printout appears in the dialog as: From Α to Ω"
msgstr "' La impressió apareix al diàleg com a: De Α a Ω"
-#. hSMKc
-#: 03120112.xhp
-msgctxt ""
-"03120112.xhp\n"
-"par_id051920171010491586\n"
-"help.text"
-msgid "<link href=\"text/sbasic/shared/03120102.xhp\">Chr</link>"
-msgstr "<link href=\"text/sbasic/shared/03120102.xhp\">Chr</link>"
-
-#. JJUXA
-#: 03120112.xhp
-msgctxt ""
-"03120112.xhp\n"
-"par_idN10668\n"
-"help.text"
-msgid "<link href=\"text/sbasic/shared/03120101.xhp\">Asc</link>"
-msgstr "<link href=\"text/sbasic/shared/03120101.xhp\">Asc</link>"
-
-#. 2fMt4
-#: 03120112.xhp
-msgctxt ""
-"03120112.xhp\n"
-"par_id051920171009414669\n"
-"help.text"
-msgid "<link href=\"text/sbasic/shared/03120111.xhp\">AscW</link>"
-msgstr "<link href=\"text/sbasic/shared/03120111.xhp\">AscW</link>"
-
#. E7Eoi
#: 03120200.xhp
msgctxt ""