@@ -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: 2022-02-21 15:22+0100\n"
+"POT-Creation-Date: 2022-04-01 00:19+0200\n"
"PO-Revision-Date: 2018-10-21 20:26+0000\n"
"Last-Translator: Anonymous Pootle User\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -2923,13 +2923,13 @@ msgctxt ""
msgid "<bookmark_value>procedures</bookmark_value> <bookmark_value>functions;using</bookmark_value> <bookmark_value>variables;passing to procedures, functions, properties</bookmark_value> <bookmark_value>parameters;for procedures, functions or properties</bookmark_value> <bookmark_value>parameters;passing by reference or value</bookmark_value> <bookmark_value>variables;scope</bookmark_value> <bookmark_value>scope of variables</bookmark_value> <bookmark_value>GLOBAL variables</bookmark_value> <bookmark_value>PUBLIC variables</bookmark_value> <bookmark_value>PRIVATE variables</bookmark_value> <bookmark_value>functions;return value type</bookmark_value> <bookmark_value>return value type of functions</bookmark_value>"
msgstr ""
-#. AYcBA
+#. RY6Z4
#: 01020300.xhp
msgctxt ""
"01020300.xhp\n"
"hd_id3149456\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/01020300.xhp\">Using Procedures, Functions and Properties</link>"
+msgid "<variable id=\"UsingSubs_h1\"><link href=\"text/sbasic/shared/01020300.xhp\">Using Procedures, Functions and Properties</link></variable>"
msgstr ""
#. DSyYW
@@ -19114,13 +19114,13 @@ msgctxt ""
msgid "Performs the integer division on two numbers and returns the result."
msgstr ""
-#. iN7zc
+#. 7hxCB
#: 03070700.xhp
msgctxt ""
"03070700.xhp\n"
"bm_id3150669\n"
"help.text"
-msgid "<bookmark_value>Operators;Integer division (\\)</bookmark_value> <bookmark_value>\"\\\\\" operator (mathematical)</bookmark_value>"
+msgid "<bookmark_value>Operators;Integer division (\\\\)</bookmark_value> <bookmark_value>\"\\\\\" operator (mathematical)</bookmark_value>"
msgstr ""
#. KDgG2
@@ -23056,13 +23056,13 @@ msgctxt ""
msgid "<bookmark_value>Call statement</bookmark_value>"
msgstr "<bookmark_value>Call statement</bookmark_value>"
-#. LmAwf
+#. HW8av
#: 03090401.xhp
msgctxt ""
"03090401.xhp\n"
"hd_id3154422\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/03090401.xhp\" name=\"Call Statement\">Call Statement</link>"
+msgid "<variable id=\"Call_h1\"><link href=\"text/sbasic/shared/03090401.xhp\" name=\"Call Statement\">Call Statement</link></variable>"
msgstr ""
#. nPKzF
@@ -23074,15 +23074,6 @@ msgctxt ""
msgid "Transfers the control of the program to a subroutine, a function, or a procedure of a <link href=\"text/sbasic/shared/03090403.xhp\" name=\"Dynamic Link Library\">Dynamic Link Library (DLL)</link>. The keyword, type and number of parameters is dependent on the routine that is being called."
msgstr ""
-#. MdeJS
-#: 03090401.xhp
-msgctxt ""
-"03090401.xhp\n"
-"hd_id3153345\n"
-"help.text"
-msgid "Syntax:"
-msgstr "Синтакса"
-
#. CXLBw
#: 03090401.xhp
msgctxt ""
@@ -23101,15 +23092,6 @@ msgctxt ""
msgid "[Call] name [(] [param :=] value, ... [)]"
msgstr ""
-#. 5MBBJ
-#: 03090401.xhp
-msgctxt ""
-"03090401.xhp\n"
-"hd_id3150771\n"
-"help.text"
-msgid "Parameters:"
-msgstr "Параметри:"
-
#. C2MXB
#: 03090401.xhp
msgctxt ""
@@ -23155,15 +23137,6 @@ msgctxt ""
msgid "When a function is used as an expression, enclosing parameters with brackets becomes necessary. Using a <link href=\"text/sbasic/shared/03090403.xhp\" name=\"Declare Statement\">Declare statement</link> is compulsory prior to call a DLL."
msgstr ""
-#. QZZ8c
-#: 03090401.xhp
-msgctxt ""
-"03090401.xhp\n"
-"hd_id3125865\n"
-"help.text"
-msgid "Example:"
-msgstr "Пример"
-
#. eyeVE
#: 03090402.xhp
msgctxt ""
@@ -23731,31 +23704,40 @@ msgctxt ""
msgid "<bookmark_value>Function statement</bookmark_value>"
msgstr "<bookmark_value>Function statement</bookmark_value>"
-#. 4m9Rw
+#. 4AZJf
#: 03090406.xhp
msgctxt ""
"03090406.xhp\n"
"hd_id3153346\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/03090406.xhp\" name=\"Function Statement\">Function Statement</link>"
+msgid "<variable id=\"Function_h1\"><link href=\"text/sbasic/shared/03090406.xhp\" name=\"Function Statement\">Function Statement</link></variable>"
msgstr ""
-#. mLEJz
+#. i3BLj
#: 03090406.xhp
msgctxt ""
"03090406.xhp\n"
"par_id3159158\n"
"help.text"
-msgid "Defines a subroutine that can be used as an expression to determine a return type."
-msgstr "Defines a subroutine that can be used as an expression to determine a return type."
+msgid "A function is a block of code which runs when it is called. A function is usually called in an expression."
+msgstr ""
+
+#. fLBaF
+#: 03090406.xhp
+msgctxt ""
+"03090406.xhp\n"
+"par_id451647246564161\n"
+"help.text"
+msgid "You can pass data, known as parameters or arguments, into a function. You may pass a parameter by value or by reference. When by reference, modifications applied to the parameter in the function will be sent back to the calling code."
+msgstr ""
-#. qCx4G
+#. 9wMCM
#: 03090406.xhp
msgctxt ""
"03090406.xhp\n"
-"par_id661588586825434\n"
+"par_id101647247154065\n"
"help.text"
-msgid "<literal>Sub</literal>, <literal>Function</literal> or <literal>Property</literal> statements are similar methods, without distinction. They receive parameters by reference allowing them to be modified in return. %PRODUCTNAME Basic compiler accepts their respective argument syntax to be used interchangeably."
+msgid "A function usually returns data as a result."
msgstr ""
#. zFnQ7
@@ -23857,6 +23839,15 @@ msgctxt ""
msgid "Exit For ' sItem found"
msgstr "Exit for REM sItem found"
+#. FTf7A
+#: 03090406.xhp
+msgctxt ""
+"03090406.xhp\n"
+"par_id181647247913872\n"
+"help.text"
+msgid "<link href=\"text/sbasic/shared/01010210.xhp\" name=\"Subroutine basics\">Subroutines basics</link>"
+msgstr ""
+
#. yZEAJ
#: 03090407.xhp
msgctxt ""
@@ -24055,6 +24046,15 @@ msgctxt ""
msgid "<emph>arguments:</emph> Optional parameters that you want to pass to the subroutine."
msgstr ""
+#. gPQ9W
+#: 03090409.xhp
+msgctxt ""
+"03090409.xhp\n"
+"par_id181647247913872\n"
+"help.text"
+msgid "<link href=\"text/sbasic/shared/01010210.xhp\" name=\"Subroutine basics\">Subroutines basics</link>"
+msgstr ""
+
#. CCDzt
#: 03090410.xhp
msgctxt ""
@@ -34369,13 +34369,13 @@ msgctxt ""
msgid "oUnoValue = CreateUnoValue( \"[]byte\", MyBasicValue ) ' to get a byte sequence."
msgstr ""
-#. rSTG8
+#. pEjGF
#: 03132300.xhp
msgctxt ""
"03132300.xhp\n"
"par_id3150541\n"
"help.text"
-msgid "If <literal>CreateUnoValue</literal> cannot be converted to the specified Uno type, and error occurs. For the conversion, the <literal>TypeConverter</literal> service is used."
+msgid "If <literal>CreateUnoValue</literal> cannot be converted to the specified Uno type, and error occurs. For the conversion, the <literal>com.sun.star.script.Converter</literal> service is used."
msgstr ""
#. bT3DS
@@ -37249,13 +37249,13 @@ msgctxt ""
msgid "CallByName Function"
msgstr ""
-#. tbCrP
+#. 3957Y
#: CallByName.xhp
msgctxt ""
"CallByName.xhp\n"
"hd_id3150669\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/CallByName.xhp\">CallByName Function</link>"
+msgid "<variable id=\"CallByName_h1\"><link href=\"text/sbasic/shared/CallByName.xhp\">CallByName Function</link></variable>"
msgstr ""
#. 7EWyG
@@ -37267,13 +37267,13 @@ msgctxt ""
msgid "Invokes a subroutine by its string name."
msgstr ""
-#. GSJB7
+#. V4GLV
#: CallByName.xhp
msgctxt ""
"CallByName.xhp\n"
"bm_id3150669\n"
"help.text"
-msgid "<bookmark_value>CallByName function</bookmark_value>"
+msgid "<bookmark_value>CallByName function</bookmark_value> <bookmark_value>API;OfficeFilePicker</bookmark_value>"
msgstr ""
#. kJE7K
@@ -37411,13 +37411,13 @@ msgctxt ""
msgid "<literal>ScriptForge.Platform.Architecture</literal> information is retrieved."
msgstr ""
-#. WR7MJ
+#. rvtXD
#: CallByName.xhp
msgctxt ""
"CallByName.xhp\n"
"par_id651644588404943\n"
"help.text"
-msgid "<literal>DisplayDirectory</literal> property of <link href=\"https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1ui_1_1dialogs_1_1FilePicker-members.html\" name=\"FilePicker\">com.sun.star.ui.dialogs.FilePicker</link> UNO service is assigned a value, its content is read twice."
+msgid "<literal>DisplayDirectory</literal> property of <link href=\"https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1ui_1_1dialogs_1_1FilePicker-members.html\" name=\"FilePicker\">com.sun.star.ui.dialogs.FilePicker</link> UNO service is set to the user home folder, its content is read twice."
msgstr ""
#. 3DsDt
@@ -39967,13 +39967,13 @@ msgctxt ""
msgid "<variable id=\"compatibilitymodeh1\"><link href=\"text/sbasic/shared/compatibilitymode.xhp\" name=\"CompatibilityMode\">CompatibilityMode() Function</link></variable>"
msgstr ""
-#. ipFPG
+#. 4EEry
#: compatibilitymode.xhp
msgctxt ""
"compatibilitymode.xhp\n"
"N0120\n"
"help.text"
-msgid "<literal>CompatibilityMode()</literal> function controls runtime mode and affects all code executed after setting or resetting the mode."
+msgid "<literal>CompatibilityMode()</literal> function controls or queries runtime mode. It affects all code executed after setting or resetting the runtime mode."
msgstr ""
#. YSokk
@@ -39985,13 +39985,40 @@ msgctxt ""
msgid "Use this feature with caution, limit it to document conversion for example."
msgstr ""
-#. GJLGQ
+#. VDnNU
+#: compatibilitymode.xhp
+msgctxt ""
+"compatibilitymode.xhp\n"
+"bas_id751645014686110\n"
+"help.text"
+msgid "CompatibilityMode(Optional Enable As Boolean) As Boolean"
+msgstr ""
+
+#. 34s7C
+#: compatibilitymode.xhp
+msgctxt ""
+"compatibilitymode.xhp\n"
+"par_id551648117368688\n"
+"help.text"
+msgid "<literal>CompatibilityMode</literal> function always returns the mode that is active after its execution. That is if called with argument, it returns the new mode, if called without argument, it returns active mode without modifying it."
+msgstr ""
+
+#. buGpD
#: compatibilitymode.xhp
msgctxt ""
"compatibilitymode.xhp\n"
-"par_id271561645872679\n"
+"par_id971648117815981\n"
"help.text"
-msgid "<literal>Option Compatible</literal> turns on VBA compatibility at module level for the %PRODUCTNAME Basic interpreter."
+msgid "<emph>Enable</emph>: Sets or unsets new compatibility mode when the argument is present."
+msgstr ""
+
+#. ouFEB
+#: compatibilitymode.xhp
+msgctxt ""
+"compatibilitymode.xhp\n"
+"par_id371648123169691\n"
+"help.text"
+msgid "<literal>CompatibilityMode</literal> function relates to <link href=\"text/sbasic/shared/03103350.xhp#vbasupportstatement\" name=\"VBASupport compiler option\">Option VBASupport 1</link>, in which case it always returns <literal>True</literal>. It is unrelated to <link href=\"text/sbasic/shared/compatible.xhp#compatiblestatement\" name=\"Option Compatible compiler directive\">Option Compatible</link> compiler directive."
msgstr ""
#. NM3yP
@@ -40003,13 +40030,13 @@ msgctxt ""
msgid "This function may affect or help in the following situations:"
msgstr ""
-#. 9jVgZ
+#. RSBt2
#: compatibilitymode.xhp
msgctxt ""
"compatibilitymode.xhp\n"
-"N0122\n"
+"par_id301645018760314\n"
"help.text"
-msgid "Creating enumerations with <link href=\"text/sbasic/shared/enum.xhp\" name=\"enum statement\">Enum statement</link>"
+msgid "Scoping of variables."
msgstr ""
#. f6LjG
@@ -40039,15 +40066,6 @@ msgctxt ""
msgid "Color components calculation with the <link href=\"text/sbasic/shared/03010303.xhp\" name=\"linkred\"><literal>Red</literal></link> and <link href=\"text/sbasic/shared/03010301.xhp\" name=\"linkblue\"><literal>Blue</literal></link> functions which <emph>are interchanged</emph> (The <link href=\"text/sbasic/shared/03010302.xhp\" name=\"linkgreen\"><literal>Green</literal></link> function is not affected)."
msgstr ""
-#. piCTC
-#: compatibilitymode.xhp
-msgctxt ""
-"compatibilitymode.xhp\n"
-"N0126\n"
-"help.text"
-msgid "<literal>CompatibilityMode()</literal> function may be necessary when resorting to <literal>Option Compatible</literal> or <literal>Option VBASupport</literal> compiler modes."
-msgstr ""
-
#. cFz7C
#: compatibilitymode.xhp
msgctxt ""
@@ -40057,13 +40075,13 @@ msgctxt ""
msgid "Given a NOT empty directory at <emph>file:///home/me/Test</emph>"
msgstr ""
-#. 7mLBk
+#. yntDo
#: compatibilitymode.xhp
msgctxt ""
"compatibilitymode.xhp\n"
"par_id461561646613414\n"
"help.text"
-msgid "With <literal>CompatibilityMode( true )</literal> the program results in an error, otherwise the Test directory and all its content is deleted."
+msgid "With <literal>CompatibilityMode( True )</literal> the program raises an error, otherwise the <literal>Test</literal> directory and all its content is deleted."
msgstr ""
#. TcWG2
@@ -40075,22 +40093,22 @@ msgctxt ""
msgid "Modifying <literal>Dir</literal> behavior"
msgstr ""
-#. S3VK4
+#. RcnAo
#: compatibilitymode.xhp
msgctxt ""
"compatibilitymode.xhp\n"
"par_id831561647900147\n"
"help.text"
-msgid "CompatibilityMode( true ) ' Shows also normal files"
+msgid "CompatibilityMode( Enable := True ) ' Shows also normal files"
msgstr ""
-#. YJM4j
+#. oBqaD
#: compatibilitymode.xhp
msgctxt ""
"compatibilitymode.xhp\n"
-"N0129\n"