diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-04-29 23:23:16 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-04-29 23:28:46 +0200 |
commit | 2a61ce8496f6a5633af3ec710882358c3836abd0 (patch) | |
tree | e7ce6b15f564f773937ba697696b6f89aea04667 /source/nb/helpcontent2/source/text/sbasic | |
parent | 6b2e705c5e47924cfa7c0ae90ab9d5d69cf87cb8 (diff) |
update translations for master
and force-fix errors using pocheck
Change-Id: I9bbea708cab941400c98f6a83b67215bb19469fa
Diffstat (limited to 'source/nb/helpcontent2/source/text/sbasic')
-rw-r--r-- | source/nb/helpcontent2/source/text/sbasic/shared.po | 756 |
1 files changed, 405 insertions, 351 deletions
diff --git a/source/nb/helpcontent2/source/text/sbasic/shared.po b/source/nb/helpcontent2/source/text/sbasic/shared.po index 431eaf173b7..b1d6bf4f699 100644 --- a/source/nb/helpcontent2/source/text/sbasic/shared.po +++ b/source/nb/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: 2020-04-15 12:52+0200\n" +"POT-Creation-Date: 2020-04-29 22:17+0200\n" "PO-Revision-Date: 2020-04-07 11:16+0000\n" "Last-Translator: Karl Morten Ramberg <karl.m.ramberg@gmail.com>\n" "Language-Team: Norwegian Bokmål <https://weblate.documentfoundation.org/projects/libo_help-master/textsbasicshared/nb_NO/>\n" @@ -9223,13 +9223,13 @@ msgctxt "" msgid "<link href=\"text/sbasic/shared/03010305.xhp\" name=\"RGB Function\">RGB Function</link>" msgstr "" -#. 7ME9i +#. iRBsy #: 03010305.xhp msgctxt "" "03010305.xhp\n" "par_id3150447\n" "help.text" -msgid "Returns a <link href=\"text/sbasic/shared/00000003.xhp#farbcodes\" name=\"long integer color value\">long integer color value</link> consisting of red, green, and blue components." +msgid "Returns a <literal>Long</literal> integer color value consisting of red, green, and blue components." msgstr "" #. MiCPe @@ -9304,6 +9304,15 @@ msgctxt "" msgid "<emph>Blue</emph>: Any integer expression that represents the blue component (0-255) of the composite color." msgstr "" +#. dFrtY +#: 03010305.xhp +msgctxt "" +"03010305.xhp\n" +"par_id211587653651037\n" +"help.text" +msgid "The <link href=\"text/shared/optionen.xhp/01010501.xhp\" name=\"color picker dialog\">color picker dialog</link> helps computing red, green and blue components of a composite color. <link href=\"text/shared/guide/text_color.xhp\" name=\"Changing the color of text\">Changing the color of text</link> and selecting <emph>Custom color</emph> displays the color picker dialog." +msgstr "" + #. Vn6Jr #: 03010305.xhp msgctxt "" @@ -13885,13 +13894,13 @@ msgctxt "" msgid "<bookmark_value>WeekDay function</bookmark_value>" msgstr "<bookmark_value>Ukedag-funksjon</bookmark_value>" -#. qnjFp +#. QNFTv #: 03030105.xhp msgctxt "" "03030105.xhp\n" "hd_id3153127\n" "help.text" -msgid "<link href=\"text/sbasic/shared/03030105.xhp\" name=\"WeekDay Function\">WeekDay Function</link>" +msgid "<link href=\"text/sbasic/shared/03030105.xhp\" name=\"WeekDay Function\">WeekDay Function (BASIC)</link>" msgstr "" #. UpMwa @@ -13903,15 +13912,6 @@ msgctxt "" msgid "Returns the number corresponding to the weekday represented by a serial date number that is generated by the DateSerial or the DateValue function." msgstr "" -#. MDM2Q -#: 03030105.xhp -msgctxt "" -"03030105.xhp\n" -"hd_id3145068\n" -"help.text" -msgid "Syntax:" -msgstr "" - #. ExFvM #: 03030105.xhp msgctxt "" @@ -13921,15 +13921,6 @@ msgctxt "" msgid "WeekDay (Number)" msgstr "" -#. WqJFm -#: 03030105.xhp -msgctxt "" -"03030105.xhp\n" -"hd_id3148799\n" -"help.text" -msgid "Return value:" -msgstr "" - #. CPXVo #: 03030105.xhp msgctxt "" @@ -13939,15 +13930,6 @@ msgctxt "" msgid "Integer" msgstr "Heltall" -#. rd8BW -#: 03030105.xhp -msgctxt "" -"03030105.xhp\n" -"hd_id3150768\n" -"help.text" -msgid "Parameters:" -msgstr "" - #. tC2Mw #: 03030105.xhp msgctxt "" @@ -13966,15 +13948,6 @@ msgctxt "" msgid "The following example determines the day of the week using the WeekDay function when you enter a date." msgstr "" -#. hgfzk -#: 03030105.xhp -msgctxt "" -"03030105.xhp\n" -"hd_id3148616\n" -"help.text" -msgid "Example:" -msgstr "Eksempel:" - #. bR8LQ #: 03030105.xhp msgctxt "" @@ -25441,6 +25414,15 @@ msgctxt "" msgid "A Type structure is an ordered collection of data fields, that can be manipulated as a single item." msgstr "" +#. WfsVY +#: 03090413.xhp +msgctxt "" +"03090413.xhp\n" +"par_id491585753339474\n" +"help.text" +msgid "<image src=\"media/helpimg/sbasic/Type_statement.svg\" id=\"img_id4156296484514\"><alt id=\"alt_id15152796484514\">Type statement diagram</alt></image>" +msgstr "" + #. TTALN #: 03090413.xhp msgctxt "" @@ -27628,121 +27610,121 @@ msgctxt "" msgid "<link href=\"text/sbasic/shared/03102100.xhp\" name=\"Dim Statement\">Dim Statement</link>" msgstr "" -#. bm7E7 +#. 9gRSS #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3143271\n" "help.text" -msgid "Declares a variable or an array." +msgid "Declares variables or arrays." msgstr "" -#. QpjCG +#. vWsXg #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3154686\n" "help.text" -msgid "If the variables are separated by commas (for example, DIM sPar1, sPar2, sPar3 AS STRING), only Variant variables can be defined. Use a separate definition line for each variable." +msgid "If the variables are separated by commas - for example <literal>Dim sPar1, sPar2, sPar3 As String</literal> - first ones get defined as Variant variables. A new line, or colon sign (<emph>:</emph>), help separate variable definitions." msgstr "" -#. pGPXy +#. sZ9H8 #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3152576\n" "help.text" -msgid "Dim declares local variables within subroutines. Global variables are declared with the PUBLIC or the PRIVATE statement." +msgid "<literal>Dim</literal> declares local variables within subroutines. Global variables are declared with the <literal>Global</literal>, <literal>Public</literal> or the <literal>Private</literal> statement." msgstr "" -#. BZADe +#. RWfkr #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"hd_id3156443\n" +"par_id971587473488701\n" "help.text" -msgid "Syntax:" -msgstr "Syntaks" +msgid "<image src=\"media/helpimg/sbasic/Dim_statement.svg\" id=\"img_id4156296484514\"><alt id=\"alt_id15152796484514\">Dim Statement diagram</alt></image>" +msgstr "" -#. gcgux +#. yKMdt #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3149412\n" "help.text" -msgid "[ReDim]Dim VarName [(start To end)] [As VarType][, VarName2 [(start To end)] [As VarType][,...]]" +msgid "Dim variable [(start To end)] [As type-name][, variable2[type-char] [(start To end)] [,...]]" msgstr "" -#. DF2ha +#. JBuCh #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"hd_id3147397\n" +"par_id3154730\n" "help.text" -msgid "Parameters:" -msgstr "Parameter" +msgid "<emph>variable:</emph> Any variable or array name." +msgstr "" -#. qPBJU +#. BaEsN #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3154730\n" +"par_id3147125\n" "help.text" -msgid "<emph>VarName:</emph> Any variable or array name." +msgid "<emph>start, end:</emph> Numerical values or constants that define the number of elements (NumberElements=(end-start)+1) and the index range." msgstr "" -#. PPY3B +#. T2g5D #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3147125\n" +"par_id3153877\n" "help.text" -msgid "<emph>Start, End:</emph> Numerical values or constants that define the number of elements (NumberElements=(end-start)+1) and the index range." +msgid "<emph>start</emph> and <emph>end</emph> can be numerical expressions if <literal>ReDim</literal> is applied at the procedure level." msgstr "" -#. 3GDzQ +#. upQJe #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3153877\n" +"par_id3154510\n" "help.text" -msgid "Start and End can be numerical expressions if ReDim is applied at the procedure level." +msgid "<emph>type-name:</emph> Keyword that declares the data type of a variable." msgstr "" -#. oTp9v +#. HDgeB #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3153510\n" +"par_id971587473508701\n" "help.text" -msgid "<emph>VarType:</emph> Key word that declares the data type of a variable." +msgid "<image src=\"media/helpimg/sbasic/type-name_fragment.svg\" id=\"img_id4156296484515\"><alt id=\"alt_id15152796484515\">primitive data types fragment</alt></image>" msgstr "" -#. ESbgw +#. pFWdb #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3154015\n" +"par_id21587557790810\n" "help.text" -msgid "<emph>Keyword:</emph> Variable type" +msgid "<emph>Byte:</emph> Byte variable (0-255)" msgstr "" -#. ybpn5 +#. fQsgi #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3153949\n" "help.text" -msgid "<emph>Bool:</emph> Boolean variable (True, False)" +msgid "<emph>Boolean:</emph> Boolean variable (True, False)" msgstr "" -#. hB7hK +#. PouUE #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3156275\n" "help.text" -msgid "<emph>Currency:</emph> Currency-Variable (Currency with 4 Decimal places)" +msgid "<emph>Currency:</emph> Currency variable (Currency with 4 Decimal places)" msgstr "" #. BHPpy @@ -27754,13 +27736,13 @@ msgctxt "" msgid "<emph>Date:</emph> Date variable" msgstr "" -#. D43GE +#. jyVtV #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3148405\n" "help.text" -msgid "<emph>Double:</emph> Double-precision floating-point variable (1,79769313486232 x 10E308 - 4,94065645841247 x 10E-324)" +msgid "<emph>Double:</emph> Double-precision floating-point variable (1,79769313486232 x 10E308 - 4,94065645841247 x 10E-324)" msgstr "" #. kBUDz @@ -27781,13 +27763,13 @@ msgctxt "" msgid "<emph>Long:</emph> Long integer variable (-2.147.483.648 - 2.147.483.647)" msgstr "" -#. gFGxF +#. z9CEA #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3149255\n" "help.text" -msgid "<emph>Object:</emph> Object variable (Note: this variable can only subsequently be defined with Set!)" +msgid "<emph>Object:</emph> Object variable (Note: this variable can only subsequently be defined with <literal>Set</literal>!)" msgstr "" #. iBZ3a @@ -27808,121 +27790,148 @@ msgctxt "" msgid "<emph>String:</emph> String variable consisting of a maximum of 64,000 ASCII characters." msgstr "" -#. j63Bt +#. UkswY #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3154704\n" "help.text" -msgid "<emph>[Variant]:</emph> Variant variable type (contains all types, specified by definition). If a key word is not specified, variables are automatically defined as Variant Type, unless a statement from DefBool to DefVar is used." +msgid "<emph>Variant:</emph> Variant variable type (contains all types, specified by definition). If a type name is not specified, variables are automatically defined as Variant Type, unless a statement from <literal>DefBool</literal> to <literal>DefVar</literal> is used." +msgstr "" + +#. DPnaK +#: 03102100.xhp +msgctxt "" +"03102100.xhp\n" +"par_id3153510\n" +"help.text" +msgid "<emph>type-char:</emph> Special character that declares the data type of a variable." +msgstr "" + +#. bCFDG +#: 03102100.xhp +msgctxt "" +"03102100.xhp\n" +"par_id971587473518701\n" +"help.text" +msgid "<image src=\"media/helpimg/sbasic/type-car_fragment.svg\" id=\"img_id4156296484516\"><alt id=\"alt_id15152796484516\">Type declaration characters fragment</alt></image>" msgstr "" -#. cyiCt +#. JgnAC #: 03102100.xhp msgctxt "" "03102100.xhp\n" "par_id3146316\n" "help.text" -msgid "In $[officename] Basic, you do not need to declare variables explicitly. However, you need to declare an array before you can use them. You can declare a variable with the Dim statement, using commas to separate multiple declarations. To declare a variable type, enter a type-declaration character following the name or use a corresponding key word." +msgid "In %PRODUCTNAME Basic, you do not need to declare variables explicitly. However, you need to declare arrays before you can use them. You can declare a variable with the <literal>Dim</literal> statement, using commas (<emph>,</emph>) to separate multiple declarations. To declare a variable type, enter a type-declaration character following the name or use a corresponding type keyword name." msgstr "" -#. JkDDD +#. XodQr #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3149924\n" +"par_id411587558178871\n" "help.text" -msgid "$[officename] Basic supports single or multi-dimensional arrays that are defined by a specified variable type. Arrays are suitable if the program contains lists or tables that you want to edit. The advantage of arrays is that it is possible to address individual elements according to indexes, which can be formulated as numeric expressions or variables." +msgid "Declaration character" msgstr "" -#. y72jG +#. 6ZFgR #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3148488\n" +"par_id851587558178871\n" "help.text" -msgid "Arrays are declared with the Dim statement. There are two methods to define the index range:" +msgid "Variable type name" msgstr "" -#. hHahF +#. VDkAN #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3154662\n" +"par_id441587477911298\n" "help.text" -msgid "DIM text(20) as String REM 21 elements numbered from 0 to 20" +msgid "<emph>array:</emph> Array declaration." msgstr "" -#. Hi7Nv +#. TmrKG #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3155604\n" +"par_id971587473519701\n" "help.text" -msgid "DIM text(5 to 25) as String REM 21 elements numbered from 5 to 25" +msgid "<image src=\"media/helpimg/sbasic/array_fragment.svg\" id=\"img_id4156296485516\"><alt id=\"alt_id15152796485516\">array fragment</alt></image>" msgstr "" -#. Y9rBz +#. JkDDD #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3151274\n" +"par_id3149924\n" "help.text" -msgid "DIM text(-15 to 5) as String REM 21 elements (including 0)" +msgid "$[officename] Basic supports single or multi-dimensional arrays that are defined by a specified variable type. Arrays are suitable if the program contains lists or tables that you want to edit. The advantage of arrays is that it is possible to address individual elements according to indexes, which can be formulated as numeric expressions or variables." msgstr "" -#. rgjVA +#. ZuZBj #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3152774\n" +"par_id3148488\n" "help.text" -msgid "REM numbered from -15 to 5" +msgid "Arrays are declared with the <literal>Dim</literal> statement. There are multiple ways to define the index range:" msgstr "" -#. tZwqq +#. iXgDy #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3150829\n" +"bas_id381587475057846\n" "help.text" -msgid "Two-dimensional data field" +msgid "Dim text(20) As String ' 21 elements numbered from 0 to 20" msgstr "" -#. LF3Qa +#. Du5a3 #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3149529\n" +"bas_id1001587475058292\n" "help.text" -msgid "DIM text(20,2) as String REM 63 elements; form 0 to 20 level 1, from 0 to 20 level 2 and from 0 to 20 level 3." +msgid "Dim value(5 to 25) As Integer ' 21 values numbered from 5 to 25" msgstr "" -#. J3Lir +#. 66C57 #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3159239\n" +"bas_id481587475059423\n" "help.text" -msgid "You can declare an array types as dynamic if a ReDim statement defines the number of dimensions in the subroutine or the function that contains the array. Generally, you can only define an array dimension once, and you cannot modify it. Within a subroutine, you can declare an array with ReDim. You can only define dimensions with numeric expressions. This ensures that the fields are only as large as necessary." +msgid "Dim amount(-15 to 5) As Currency ' 21 amounts (including 0), numbered from -15 to 5" msgstr "" -#. EDdP3 +#. Q6d4T #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"hd_id3150344\n" +"bas_id621587475059824\n" "help.text" -msgid "Example:" -msgstr "Eksempel:" +msgid "REM Two-dimensional data field" +msgstr "" -#. cgxpk +#. 9gAsN #: 03102100.xhp msgctxt "" "03102100.xhp\n" -"par_id3154657\n" +"bas_id11587475060830\n" "help.text" -msgid "sVar = \"Office\"" +msgid "Dim table$(20,2) ' 63 items; from 0 to 20 level 1, from 0 to 20 level 2 and from 0 to 20 level 3." +msgstr "" + +#. FLoRP +#: 03102100.xhp +msgctxt "" +"03102100.xhp\n" +"par_id3159239\n" +"help.text" +msgid "You can declare an array types as dynamic if a <literal>ReDim</literal> statement defines the number of dimensions in the subroutine or the function that contains the array. Generally, you can only define an array dimension once, and you cannot modify it. Within a subroutine, you can declare an array with <literal>ReDim</literal>. You can only define dimensions with numeric expressions. This ensures that the fields are only as large as necessary." msgstr "" #. cGpY9 @@ -27970,247 +27979,40 @@ msgctxt "" msgid "<link href=\"text/sbasic/shared/03102101.xhp\" name=\"ReDim Statement\">ReDim Statement</link>" msgstr "" -#. AwErM +#. F9HMw #: 03102101.xhp msgctxt "" "03102101.xhp\n" "par_id3154685\n" "help.text" -msgid "Declares a variable or an array." +msgid "Declares or redefines variables or arrays." msgstr "" -#. fZ9yj +#. dTArZ #: 03102101.xhp msgctxt "" "03102101.xhp\n" -"hd_id3154218\n" +"par_id971587473488701\n" "help.text" -msgid "Syntax:" -msgstr "Syntaks" +msgid "<image src=\"media/helpimg/sbasic/ReDim_statement.svg\" id=\"img_id4156296484514\"><alt id=\"alt_id15152796484514\">ReDim Statement diagram</alt></image>" +msgstr "" -#. dGFJk +#. bD6eG #: 03102101.xhp msgctxt "" "03102101.xhp\n" "par_id3156214\n" "help.text" -msgid "[ReDim]Dim VarName [(start To end)] [As VarType][, VarName2 [(start To end)] [As VarType][,...]]" +msgid "ReDim [Preserve] variable [(start To end)] [As type-name][, variable2 [(start To end)] [As type-name][,...]]" msgstr "" -#. HCVxq +#. 5wDoD #: 03102101.xhp msgctxt "" "03102101.xhp\n" "par_id711996\n" "help.text" -msgid "Optionally, you can add the <emph>Preserve</emph> keyword as a parameter to preserve the contents of the array that is redimensioned." -msgstr "" - -#. KeaqP -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"hd_id3148451\n" -"help.text" -msgid "Parameters:" -msgstr "Parameter" - -#. 5VjHG -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3156423\n" -"help.text" -msgid "<emph>VarName:</emph> Any variable or array name." -msgstr "" - -#. 4gHFh -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3149562\n" -"help.text" -msgid "<emph>Start, End:</emph> Numerical values or constants that define the number of elements (NumberElements=(end-start)+1) and the index range." -msgstr "" - -#. vP6dA -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3155307\n" -"help.text" -msgid "Start and End can be numeric expressions if ReDim is used at the procedure level." -msgstr "" - -#. A3MnD -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3153951\n" -"help.text" -msgid "<emph>VarType:</emph> Keyword that declares the data type of a variable." -msgstr "" - -#. 43NDu -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3147317\n" -"help.text" -msgid "<emph>Keyword:</emph> Variable type" -msgstr "" - -#. hrAde -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3153728\n" -"help.text" -msgid "<emph>Bool: </emph>Boolean variable (True, False)" -msgstr "" - -#. VCYQt -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3146121\n" -"help.text" -msgid "<emph>Date:</emph> Date variable" -msgstr "" - -#. LCL7Q -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3159156\n" -"help.text" -msgid "<emph>Double:</emph> Double floating point variable (1.79769313486232x10E308 - 4.94065645841247x10E-324)" -msgstr "" - -#. wzD36 -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3148616\n" -"help.text" -msgid "<emph>Integer:</emph> Integer variable (-32768 - 32767)" -msgstr "" - -#. ZSesV -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3147348\n" -"help.text" -msgid "<emph>Long:</emph> Long integer variable (-2,147,483,648 - 2,147,483,647)" -msgstr "" - -#. 6EtG6 -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3149412\n" -"help.text" -msgid "<emph>Object:</emph> Object variable (can only be subsequently defined by Set!)" -msgstr "" - -#. EM7eN -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3154729\n" -"help.text" -msgid "<emph>[Single]:</emph> Single floating-point variable (3.402823x10E38 - 1.401298x10E-45). If no key word is specified, a variable is defined as Single, unless a statement from DefBool to DefVar is used." -msgstr "" - -#. LLYEo -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3148458\n" -"help.text" -msgid "<emph>String:</emph> String variable containing a maximum of 64,000 ASCII characters." -msgstr "" - -#. VhzLs -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3149581\n" -"help.text" -msgid "<emph>Variant: </emph>Variant variable type (can contain all types and is set by definition)." -msgstr "" - -#. yxCux -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3155601\n" -"help.text" -msgid "In $[officename] Basic, you do not need to declare variables explicitly. However, you need to declare an array before you can use them. You can declare a variable with the Dim statement, using commas to separate multiple declarations. To declare a variable type, enter a type-declaration character following the name or use a corresponding key word." -msgstr "" - -#. bBe4t -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3153415\n" -"help.text" -msgid "$[officename] Basic supports single or multi-dimensional arrays that are defined by a specified variable type. Arrays are suitable if the program contains lists or tables that you want to edit. The advantage of arrays is that it is possible to address individual elements according to indexes, which can be formulated as numeric expressions or variables." -msgstr "" - -#. zMCfu -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3146971\n" -"help.text" -msgid "There are two ways to set the range of indices for arrays declared with the Dim statement:" -msgstr "" - -#. GC3Bz -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3153950\n" -"help.text" -msgid "DIM text(20) As String REM 21 elements numbered from 0 to 20" -msgstr "" - -#. MYHME -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3146912\n" -"help.text" -msgid "DIM text(5 to 25) As String REM 21 elements numbered from 5 to 25" -msgstr "" - -#. Ynkyg -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3153709\n" -"help.text" -msgid "DIM text$(-15 to 5) As String REM 21 elements (0 inclusive)," -msgstr "" - -#. YCEPk -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3150321\n" -"help.text" -msgid "rem numbered from -15 to 5" -msgstr "" - -#. AvMQE -#: 03102101.xhp -msgctxt "" -"03102101.xhp\n" -"par_id3149018\n" -"help.text" -msgid "Variable fields, regardless of type, can be made dynamic if they are dimensioned by ReDim at the procedure level in subroutines or functions. Normally, you can only set the range of an array once and you cannot modify it. Within a procedure, you can declare an array using the ReDim statement with numeric expressions to define the range of the field sizes." +msgid "Optionally, add the <literal>Preserve</literal> keyword to preserve the contents of the array that is redimensioned. <literal>ReDim</literal> can only be used in subroutines." msgstr "" #. TTGyB @@ -29860,6 +29662,15 @@ msgctxt "" msgid "Boolean variable" msgstr "" +#. zrorE +#: 03103600.xhp +msgctxt "" +"03103600.xhp\n" +"par_id3158645\n" +"help.text" +msgid "Byte variable" +msgstr "" + #. N3udA #: 03103600.xhp msgctxt "" @@ -39751,13 +39562,22 @@ msgctxt "" msgid "<variable id=\"ErrVBAh1\"><link href=\"text/sbasic/shared/ErrVBA.xhp\" name=\"Err object [VBA]\">Err Object [VBA]</link></variable>" msgstr "" -#. KxDJt +#. RZpQL #: ErrVBA.xhp msgctxt "" "ErrVBA.xhp\n" "N0012\n" "help.text" -msgid "Use VBA <literal>Err</literal> object to raise or handle runtime errors. <literal>Err</literal> is a VBA built-in global object which permits:" +msgid "Use VBA <literal>Err</literal> object to raise or handle runtime errors." +msgstr "" + +#. D7JiE +#: ErrVBA.xhp +msgctxt "" +"ErrVBA.xhp\n" +"N0012b\n" +"help.text" +msgid "<literal>Err</literal> is a built-in VBA global object that allows:" msgstr "" #. VpE8g @@ -39814,13 +39634,13 @@ msgctxt "" msgid "Properties" msgstr "" -#. UG8Cx +#. FSwVh #: ErrVBA.xhp msgctxt "" "ErrVBA.xhp\n" "N0020\n" "help.text" -msgid "<emph>Description</emph> property gives the nature of the error. It details the various reasons that may cause the error. Ideally it provides the multiple course of actions that help solve the issue and prevent its reoccurrence. Its alias is Basic <link href=\"text/sbasic/shared/03050300.xhp\" name=\"Error function\">Error</link> function for %PRODUCTNAME predefined errors." +msgid "<emph>Description</emph> property gives the nature of the error. It details the various reasons that may cause the error. Ideally, it provides the multiple course of actions to help solve the issue and prevent its reoccurrence. Its alias is Basic <link href=\"text/sbasic/shared/03050300.xhp\" name=\"Error function\">Error</link> function for %PRODUCTNAME predefined errors." msgstr "" #. PjWUG @@ -40129,31 +39949,31 @@ msgctxt "" msgid "<image src=\"media/helpimg/sbasic/Resume_statement.svg\" id=\"img_id4156296484514\"><alt id=\"alt_id15152796484514\">Resume Statement diagram</alt></image>" msgstr "" -#. KAJEM +#. eafvm #: Resume.xhp msgctxt "" "Resume.xhp\n" "par_id481586090298901\n" "help.text" -msgid "<emph>0: </emph>Resets error information and re-executes the instruction that caused the error. <emph>0</emph> is optional." +msgid "<literal>0</literal>: Resets error information and re-executes the instruction that caused the error. <literal>0</literal> is optional." msgstr "" -#. RTTux +#. uukh4 #: Resume.xhp msgctxt "" "Resume.xhp\n" "par_id331586090532804\n" "help.text" -msgid "<emph>label: </emph>Resets error information and executes the instruction at the given label." +msgid "<emph>label: </emph>: Resets error information and resumes execution at the specified label of the current subroutine." msgstr "" -#. 7RP8z +#. 7NaeS #: Resume.xhp msgctxt "" "Resume.xhp\n" "par_id331586090432804\n" "help.text" -msgid "<emph>Next: </emph>Resets error information and executes the instruction following the one that caused the error." +msgid "<literal>Next</literal>: Resets error information and executes the instruction following the one that caused the error." msgstr "" #. 3Jge7 @@ -40255,13 +40075,13 @@ msgctxt "" msgid "Use <literal>Resume Next</literal>, for example, when reporting anomalies encountered for an iterating process that must not be interrupted. In which case multiple handling routines may be required." msgstr "" -#. AeVfB +#. 4NKFt #: Resume.xhp msgctxt "" "Resume.xhp\n" "par_id461586091018138\n" "help.text" -msgid "Using <literal>Resume</literal> without parameters to re-execute the faulty instruction can fit certain situations. However that may cause a never ending loop." +msgid "Using <literal>Resume</literal> without parameters to re-execute the faulty instruction can fit certain situations. However that may cause a neverending loop." msgstr "" #. MqMrx @@ -40849,6 +40669,231 @@ msgctxt "" msgid "<link href=\"text/sbasic/shared/03090411.xhp\" name=\"With\">With</link> statement" msgstr "" +#. FFWQn +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"tit\n" +"help.text" +msgid "Basic syntax diagrams fragments" +msgstr "" + +#. y2yz2 +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"hd_id541587044867073\n" +"help.text" +msgid "<variable id=\"fragmentsh1\"><link href=\"text/sbasic/shared/fragments.xhp\" name=\"Syntax fragments\">Syntax fragments</link></variable>" +msgstr "" + +#. qdgmB +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id881587044839050\n" +"help.text" +msgid "%PRODUCTNAME Basic syntax fragments." +msgstr "" + +#. ChERt +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"hd_id431587045941514\n" +"help.text" +msgid "<variable id=\"argumenth2\"><link href=\"text/sbasic/shared/fragments.xhp\" name=\"arguments in Function, Sub and Property statements\"/></variable>argument fragment" +msgstr "" + +#. pfHq8 +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id491585753339474\n" +"help.text" +msgid "<image src=\"media/helpimg/sbasic/argument_fragment.svg\" id=\"img_id4156296484514\"><alt id=\"alt_id15152796484514\">argument fragment</alt></image>" +msgstr "" + +#. zqKwG +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"hd_id811587303969210\n" +"help.text" +msgid "Parameters" +msgstr "" + +#. E7GXy +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id481586090298901\n" +"help.text" +msgid "<literal>Optional</literal>: The argument is not mandatory." +msgstr "" + +#. FEs39 +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id331586090532804\n" +"help.text" +msgid "<literal>ByRef</literal>: The argument is passed by reference. <literal>ByRef</literal> is the default." +msgstr "" + +#. WuCPC +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id331586090432804\n" +"help.text" +msgid "<literal>ByVal</literal>: The argument is passed by value. Its value can be modified by the called routine." +msgstr "" + +#. GrfMS +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id651587044335713\n" +"help.text" +msgid "<emph>char:</emph> Type declaration character." +msgstr "" + +#. Naxwg +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id651587044336713\n" +"help.text" +msgid "<emph>typename</emph>: Primitive data type name. Library or module defined types can also be specified." +msgstr "" + +#. KwsyR +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id11587045141290\n" +"help.text" +msgid "<emph>= expression</emph>: Specify a default value for the argument, matching its declared type. <literal>Optional</literal> is necessary for each argument specifying a default value." +msgstr "" + +#. 4Atx8 +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id331586091432804\n" +"help.text" +msgid "<literal>ParamArray</literal>: Use <literal>ParamArray</literal> when the number of parameters is undetermined. A typical scenario is that of a Calc user-defined function. Using <literal>ParamArray</literal> should be limited to the last argument of a routine." +msgstr "" + +#. GWSD4 +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id851587050837107\n" +"help.text" +msgid "Using<literal>ParamArray</literal> or <emph>= expression</emph> require <link href=\"text/sbasic/shared/compatible.xhp\" name=\"Option Compatible\">Option Compatible</link> to be placed before the executable program code in a module." +msgstr "" + +#. EDCLX +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id391587571321063\n" +"help.text" +msgid "When using <link href=\"text/sbasic/shared/vbasupport.xhp\" name=\"Option VBASupport\">Option VBASupport 1</link>, <literal>Optional</literal> arguments with no default value (<emph>= expression</emph>) are initialized according to their data type, except if <literal>Variant</literal>." +msgstr "" + +#. KG4tC +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"hd_id231587046013456\n" +"help.text" +msgid "<variable id=\"arrayh4\"><link href=\"text/sbasic/shared/fragments.xhp\" name=\"array syntax fragment\"/></variable>array fragment" +msgstr "" + +#. YD32W +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id491586753339473\n" +"help.text" +msgid "<image src=\"media/helpimg/sbasic/array_fragment.svg\" id=\"img_id4156296484514\"><alt id=\"alt_id15152796484514\">array fragment</alt></image>" +msgstr "" + +#. zrpkq +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"hd_id731587304120258\n" +"help.text" +msgid "Parameters" +msgstr "" + +#. dUCSu +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id951587051619162\n" +"help.text" +msgid "<emph>start:</emph> Lower bound of a dimension." +msgstr "" + +#. yeb4H +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id951587052619162\n" +"help.text" +msgid "<emph>end:</emph> Upper bound of a dimension." +msgstr "" + +#. wyE23 +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id961587051702571\n" +"help.text" +msgid "Multiple dimensions for an array are denoted using comma (<emph>,</emph>) sign." +msgstr "" + +#. bGJWo +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"hd_id231587046013458\n" +"help.text" +msgid "<variable id=\"typenameh4\"><link href=\"text/sbasic/shared/fragments.xhp\" name=\"data types fragment\"/></variable>typename fragment" +msgstr "" + +#. AqfYj +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id501586753339474\n" +"help.text" +msgid "<image src=\"media/helpimg/sbasic/typename_fragment.svg\" id=\"img_id4157296484514\"><alt id=\"alt_id15152796484515\">primitive data types fragment</alt></image>" +msgstr "" + +#. FcC7c +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"hd_id231587046013459\n" +"help.text" +msgid "<variable id=\"charh4\"><link href=\"text/sbasic/shared/fragments.xhp\" name=\"type declaration characters fragment\"/></variable>type-car fragment" +msgstr "" + +#. JFwPg +#: fragments.xhp +msgctxt "" +"fragments.xhp\n" +"par_id511586753339474\n" +"help.text" +msgid "<image src=\"media/helpimg/sbasic/char_fragment.svg\" id=\"img_id4157296484514\"><alt id=\"alt_id15152796484516\">type declaration characters</alt></image>" +msgstr "" + #. onSEk #: keys.xhp msgctxt "" @@ -41470,13 +41515,13 @@ msgctxt "" msgid "Replaces some string by another." msgstr "" -#. 9uBGG +#. 4cCHs #: replace.xhp msgctxt "" "replace.xhp\n" "par_id931552552227310\n" "help.text" -msgid "Replace (Text As String, SearchStr As String, ReplStr As String [, Start As Long [, Count as long [, Compare As Boolean]]]" +msgid "Replace (Text As String, SearchStr As String, ReplStr As String [, Start As Long [, Count as Long [, Compare As Boolean]]]" msgstr "" #. iMDGH @@ -41515,13 +41560,13 @@ msgctxt "" msgid "<emph>ReplStr:</emph> Any string expression that shall replace the found search string." msgstr "" -#. KfkZ4 +#. y6ZZR #: replace.xhp msgctxt "" "replace.xhp\n" "par_id111552552283060\n" "help.text" -msgid "<emph>Start:</emph> Numeric expression that indicates the character position within the string where the search shall begin. The maximum allowed value is 65535." +msgid "<emph>Start:</emph> Numeric expression that indicates the character position where the search starts and also the start of the substring to be returned." msgstr "" #. bLh8G @@ -41578,6 +41623,15 @@ msgctxt "" msgid "REM * only first (respecting case) occurrence (parameter 5)" msgstr "" +#. QEPtG +#: replace.xhp +msgctxt "" +"replace.xhp\n" +"par_id861587778446685\n" +"help.text" +msgid "REM returns D*FGHI because the search starts at position 4, which is also the start of the returned string." +msgstr "" + #. Z9NfM #: special_vba_func.xhp msgctxt "" |