aboutsummaryrefslogtreecommitdiff
path: root/source/fi/helpcontent2/source/text/sbasic
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-04-04 12:35:06 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-04-04 12:37:31 +0200
commit4f65f25bc54fc4078363522caa2623c5de387c6f (patch)
treed5a8e08460e4e77307b78f5923cd3e9cc94f952d /source/fi/helpcontent2/source/text/sbasic
parent149fb7cb5fbb3f555c66b2c93d057776f63e9ce3 (diff)
update translations for master
and force-fix errors using pocheck Change-Id: Iaad2f8d129208996bc1fef023045616b51aeff05
Diffstat (limited to 'source/fi/helpcontent2/source/text/sbasic')
-rw-r--r--source/fi/helpcontent2/source/text/sbasic/shared.po222
-rw-r--r--source/fi/helpcontent2/source/text/sbasic/shared/03.po200
2 files changed, 274 insertions, 148 deletions
diff --git a/source/fi/helpcontent2/source/text/sbasic/shared.po b/source/fi/helpcontent2/source/text/sbasic/shared.po
index ca76bc8fd40..bbdabe5c9a0 100644
--- a/source/fi/helpcontent2/source/text/sbasic/shared.po
+++ b/source/fi/helpcontent2/source/text/sbasic/shared.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-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: 2021-08-08 17:10+0000\n"
"Last-Translator: Tuomas Hietala <tuomas.hietala@iki.fi>\n"
"Language-Team: Finnish <https://translations.documentfoundation.org/projects/libo_help-master/textsbasicshared/fi/>\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
@@ -19119,13 +19119,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
@@ -23061,13 +23061,13 @@ msgctxt ""
msgid "<bookmark_value>Call statement</bookmark_value>"
msgstr "<bookmark_value>Call-lause</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
@@ -23079,15 +23079,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 "Syntaksi:"
-
#. CXLBw
#: 03090401.xhp
msgctxt ""
@@ -23106,15 +23097,6 @@ msgctxt ""
msgid "[Call] name [(] [param :=] value, ... [)]"
msgstr ""
-#. 5MBBJ
-#: 03090401.xhp
-msgctxt ""
-"03090401.xhp\n"
-"hd_id3150771\n"
-"help.text"
-msgid "Parameters:"
-msgstr "Parametrit:"
-
#. C2MXB
#: 03090401.xhp
msgctxt ""
@@ -23160,15 +23142,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 "Esimerkki:"
-
#. eyeVE
#: 03090402.xhp
msgctxt ""
@@ -23736,31 +23709,40 @@ msgctxt ""
msgid "<bookmark_value>Function statement</bookmark_value>"
msgstr "<bookmark_value>Function-lause</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 "Function-lauseella määritellään aliohjelma, jota voidaan käyttää lausekkeena, joka määrittää palautusarvon tyyppeineen."
+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
@@ -23862,6 +23844,15 @@ msgctxt ""
msgid "Exit For ' sItem found"
msgstr "Exit for ' sItem löytyi"
+#. 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 ""
@@ -24060,6 +24051,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 ""
@@ -34374,13 +34374,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
@@ -37254,13 +37254,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
@@ -37272,13 +37272,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
@@ -37416,13 +37416,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
@@ -39972,13 +39972,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
@@ -39990,13 +39990,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
@@ -40008,13 +40035,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
@@ -40044,15 +40071,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 ""
@@ -40062,13 +40080,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
@@ -40080,22 +40098,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"
+"bas_id641645017016611\n"
"help.text"
-msgid "Refer to <link href=\"text/sbasic/python/python_platform.xhp\">Identifying the Operating System</link> and <link href=\"text/sbasic/python/python_session.xhp\">Getting Session Information</link> for <literal>Option Compatible</literal> simple examples, or <link href=\"text/sbasic/guide/access2base.xhp\">Access2Base shared Basic library</link> for other class examples making use of <literal>Option Compatible</literal> compiler mode."
+msgid "CompatibilityMode Enable := False ' Shows only directories"
msgstr ""
#. P7qDB
@@ -40107,15 +40125,6 @@ msgctxt ""
msgid "Variables scope modification in <link href=\"text/sbasic/shared/01020300.xhp\">Using Procedures and Functions</link> with <literal>CompatibilityMode()</literal> function."
msgstr ""
-#. YwBF4
-#: compatible.xhp
-msgctxt ""
-"compatible.xhp\n"
-"N0103\n"
-"help.text"
-msgid "<bookmark_value>VBA compatibility option</bookmark_value>"
-msgstr ""
-
#. imVdb
#: compatible.xhp
msgctxt ""
@@ -40134,15 +40143,6 @@ msgctxt ""
msgid "<literal>Option Compatible</literal> extends %PRODUCTNAME Basic compiler and runtime, allowing supplemental language constructs to Basic."
msgstr ""
-#. SNhhH
-#: compatible.xhp
-msgctxt ""
-"compatible.xhp\n"
-"par_id931561646897105\n"
-"help.text"
-msgid "The function <link href=\"text/sbasic/shared/compatibilitymode.xhp\" name=\"copatibilitymode\"><literal>CompatibilityMode()</literal></link> controls runtime mode and affects all code executed after setting or resetting the mode."
-msgstr ""
-
#. w5NPC
#: compatible.xhp
msgctxt ""
@@ -40170,24 +40170,6 @@ msgctxt ""
msgid "Create <link href=\"text/sbasic/shared/03040000.xhp#addvbaconstants\" name=\"addvbaconstants\">VBA constants including non-printable characters</link>."
msgstr ""
-#. jGHBX
-#: compatible.xhp
-msgctxt ""
-"compatible.xhp\n"
-"N0110\n"
-"help.text"
-msgid "Support <literal>Private</literal>/<literal>Public</literal> keywords for procedures."
-msgstr ""
-
-#. VGYZH
-#: compatible.xhp
-msgctxt ""
-"compatible.xhp\n"
-"N0111\n"
-"help.text"
-msgid "Compulsory <literal>Set</literal> statement for objects."
-msgstr ""
-
#. xwLEC
#: compatible.xhp
msgctxt ""
@@ -40242,13 +40224,13 @@ msgctxt ""
msgid "' With this option the code works, otherwise it causes a compiling error"
msgstr ""
-#. E6GpA
+#. rWE5B
#: compatible.xhp
msgctxt ""
"compatible.xhp\n"
"par_id381561650119146\n"
"help.text"
-msgid "Statement <literal>Option VBAsupport 1</literal> sets <literal>Option Compatible</literal> statement automatically."
+msgid "Statement <literal>Option VBAsupport 1</literal> implies <literal>Option Compatible</literal> statement automatically."
msgstr ""
#. j8iHM
@@ -41421,13 +41403,13 @@ msgctxt ""
msgid "<bookmark_value>Property statement</bookmark_value>"
msgstr ""
-#. 6Gjab
+#. a5AX6
#: property.xhp
msgctxt ""
"property.xhp\n"
"N0182\n"
"help.text"
-msgid "Property Statement"
+msgid "<variable id=\"Property_h1\"><link href=\"text/sbasic/shared/Property.xhp\" name=\"Property statement\">Property Statement</link></variable>"
msgstr ""
#. CxW74
@@ -41574,22 +41556,22 @@ msgctxt ""
msgid "Use <emph>Let</emph> or <emph>Set</emph> when handling UNO services or class objects:"
msgstr ""
-#. KbzAx
+#. mbhy9
#: property.xhp
msgctxt ""
"property.xhp\n"
-"N0237\n"
+"par_id181647247913872\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/03090404.xhp\" name=\"End\">End</link>, <link href=\"text/sbasic/shared/03090412.xhp\" name=\"Exit\">Exit</link> statements"
+msgid "<link href=\"text/sbasic/shared/01010210.xhp\" name=\"Subroutine basics\">Subroutines basics</link>"
msgstr ""
-#. Dh5aG
+#. KbzAx
#: property.xhp
msgctxt ""
"property.xhp\n"
-"N0238\n"
+"N0237\n"
"help.text"
-msgid "<link href=\"text/sbasic/shared/01020300.xhp\" name=\"Using Procedures and Fonctions\">Using Procedures and Functions</link>"
+msgid "<link href=\"text/sbasic/shared/03090404.xhp\" name=\"End\">End</link>, <link href=\"text/sbasic/shared/03090412.xhp\" name=\"Exit\">Exit</link> statements"
msgstr ""
#. uM2zs
diff --git a/source/fi/helpcontent2/source/text/sbasic/shared/03.po b/source/fi/helpcontent2/source/text/sbasic/shared/03.po
index 4d2f5af5814..82f0bb69165 100644
--- a/source/fi/helpcontent2/source/text/sbasic/shared/03.po
+++ b/source/fi/helpcontent2/source/text/sbasic/shared/03.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: 2022-02-18 12:17+0100\n"
+"POT-Creation-Date: 2022-04-04 11:40+0200\n"
"PO-Revision-Date: 2018-07-12 14:29+0000\n"
"Last-Translator: Anonymous Pootle User\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -196,22 +196,22 @@ msgctxt ""
msgid "Invoking ScriptForge services"
msgstr ""
-#. wKZM6
+#. SaBEy
#: lib_ScriptForge.xhp
msgctxt ""
"lib_ScriptForge.xhp\n"
"par_id781606153472028\n"
"help.text"
-msgid "The described modules and classes are invoked from user scripts as \"Services\". A generic constructor of those services has been designed for that purpose for each language:"
+msgid "The described modules and classes are invoked from user scripts as \"Services\". A generic constructor of those services has been designed for that purpose for each language."
msgstr ""
-#. VQNBs
+#. xhj84
#: lib_ScriptForge.xhp
msgctxt ""
"lib_ScriptForge.xhp\n"
"par_id871637256506167\n"
"help.text"
-msgid "The <literal>Dispose</literal> method is available in all services and should be called to free up resources after usage."
+msgid "The <literal>Dispose</literal> method is available in all services and should be called to free up resources after usage:"
msgstr ""
#. Depaw
@@ -2527,6 +2527,15 @@ msgctxt ""
msgid "Service invocation"
msgstr ""
+#. AvW3k
+#: sf_base.xhp
+msgctxt ""
+"sf_base.xhp\n"
+"par_id141609955500101\n"
+"help.text"
+msgid "Before using the <literal>Base</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:"
+msgstr ""
+
#. vi6hS
#: sf_base.xhp
msgctxt ""
@@ -3868,6 +3877,15 @@ msgctxt ""
msgid "Service invocation"
msgstr ""
+#. RAtZX
+#: sf_calc.xhp
+msgctxt ""
+"sf_calc.xhp\n"
+"par_id141609955500101\n"
+"help.text"
+msgid "Before using the <literal>Calc</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:"
+msgstr ""
+
#. z3JcW
#: sf_calc.xhp
msgctxt ""
@@ -4597,6 +4615,33 @@ msgctxt ""
msgid "A sheet reference that can be used as argument of methods like <literal>CopySheet</literal>."
msgstr ""
+#. WanFm
+#: sf_calc.xhp
+msgctxt ""
+"sf_calc.xhp\n"
+"par_id541591025591322\n"
+"help.text"
+msgid "Yes"
+msgstr ""
+
+#. wRCYZ
+#: sf_calc.xhp
+msgctxt ""
+"sf_calc.xhp\n"
+"par_id661591025591188\n"
+"help.text"
+msgid "RangeName As String"
+msgstr ""
+
+#. w7Gft
+#: sf_calc.xhp
+msgctxt ""
+"sf_calc.xhp\n"
+"par_id731591025591006\n"
+"help.text"
+msgid "Returns the sheet name of a given range address."
+msgstr ""
+
#. HLpEQ
#: sf_calc.xhp
msgctxt ""
@@ -7090,6 +7135,15 @@ msgctxt ""
msgid "Service invocation"
msgstr ""
+#. jkE4f
+#: sf_chart.xhp
+msgctxt ""
+"sf_chart.xhp\n"
+"par_id141609955500101\n"
+"help.text"
+msgid "Before using the <literal>Chart</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:"
+msgstr ""
+
#. LvW6m
#: sf_chart.xhp
msgctxt ""
@@ -7783,6 +7837,15 @@ msgctxt ""
msgid "Service invocation"
msgstr ""
+#. 8ASCW
+#: sf_database.xhp
+msgctxt ""
+"sf_database.xhp\n"
+"par_id141609955500101\n"
+"help.text"
+msgid "Before using the <literal>Database</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:"
+msgstr ""
+
#. Cr4oo
#: sf_database.xhp
msgctxt ""
@@ -11770,6 +11833,15 @@ msgctxt ""
msgid "Service invocation"
msgstr ""
+#. XVADJ
+#: sf_document.xhp
+msgctxt ""
+"sf_document.xhp\n"
+"par_id141609955500101\n"
+"help.text"
+msgid "Before using the <literal>Document</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:"
+msgstr ""
+
#. X6BV3
#: sf_document.xhp
msgctxt ""
@@ -12553,13 +12625,13 @@ msgctxt ""
msgid "In Python it is also possible to call <literal>RunCommand</literal> using keyword arguments:"
msgstr ""
-#. DEEhz
+#. m9AyA
#: sf_document.xhp
msgctxt ""
"sf_document.xhp\n"
"par_id191611153511038\n"
"help.text"
-msgid "Each %PRODUCTNAME component has its own set of commands available. One easy way to learn commands is going to <emph>Tools > Customize > Keyboard</emph>. When you position your mouse over a function in the <emph>Function</emph> list, a tooltip will appear with the corresponding UNO command."
+msgid "Each %PRODUCTNAME component has its own set of commands available. One easy way to learn commands is going to <emph>Tools - Customize - Keyboard</emph>. When you position your mouse over a function in the <emph>Function</emph> list, a tooltip will appear with the corresponding UNO command."
msgstr ""
#. enSv9
@@ -15334,6 +15406,15 @@ msgctxt ""
msgid "Service invocation"
msgstr ""
+#. WyEtQ
+#: sf_form.xhp
+msgctxt ""
+"sf_form.xhp\n"
+"par_id141609955500101\n"
+"help.text"
+msgid "Before using the <literal>Form</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:"
+msgstr ""
+
#. KfjEA
#: sf_form.xhp
msgctxt ""
@@ -16549,6 +16630,15 @@ msgctxt ""
msgid "Service invocation"
msgstr ""
+#. pzkhK
+#: sf_formcontrol.xhp
+msgctxt ""
+"sf_formcontrol.xhp\n"
+"par_id141609955500101\n"
+"help.text"
+msgid "Before using the <literal>FormControl</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:"
+msgstr ""
+
#. BeDqF
#: sf_formcontrol.xhp
msgctxt ""
@@ -18727,13 +18817,13 @@ msgctxt ""
msgid "Service invocation"
msgstr ""
-#. nkcFt
+#. 9xE8t
#: sf_l10n.xhp
msgctxt ""
"sf_l10n.xhp\n"
"par_id421614353247163\n"
"help.text"
-msgid "To invoke the <literal>L10N</literal> service, two optional arguments can be specified to determine the folder where PO files are located and the locale to be used, as described below."
+msgid "There are several ways to invoke the <literal>L10N</literal> service using up to five optional arguments that specify the folder where PO files are stored, the locale and encoding to be used, as well as a fallback PO file and its encoding."
msgstr ""
#. cCwBS
@@ -18754,49 +18844,85 @@ msgctxt ""
msgid "<emph>locale</emph>: A string in the form \"la-CO\" (language-COUNTRY) or in the form \"la\" (language) only."
msgstr ""
-#. Z5Pb3
+#. gswGR
#: sf_l10n.xhp
msgctxt ""
"sf_l10n.xhp\n"
-"par_id301614358956087\n"
+"par_id591646219881864\n"
"help.text"
-msgid "Several instances of the <literal>L10N</literal> service may coexist. However, each instance must use a separate directory for its PO files."
+msgid "<emph>encoding</emph>: The character set to be used. The default encoding is \"UTF-8\"."
msgstr ""
-#. 3YPqe
+#. CXd3e
+#: sf_l10n.xhp
+msgctxt ""
+"sf_l10n.xhp\n"
+"par_id281646219882464\n"
+"help.text"
+msgid "<emph>locale2</emph>: A string specifying the fallback locale to be used in case the PO file corresponding to the locale defined the <literal>locale</literal> parameter does not exist. This parameter is expressed in the form \"la-CO\" (language-COUNTRY) or \"la\" (language) only."
+msgstr ""
+
+#. TaFFX
+#: sf_l10n.xhp
+msgctxt ""
+"sf_l10n.xhp\n"
+"par_id881646219882951\n"
+"help.text"
+msgid "<emph>encoding2</emph>: The character set of the fallback PO file corresponding to the <literal>locale2</literal> argument. The default encoding is \"UTF-8\"."
+msgstr ""
+
+#. wbSFz
+#: sf_l10n.xhp
+msgctxt ""
+"sf_l10n.xhp\n"
+"par_id141613001281573\n"
+"help.text"
+msgid "To learn more about the names of character sets, visit <link href=\"https://www.iana.org/assignments/character-sets/character-sets.xhtml\" name=\"Character Sets\">IANA's Character Set</link> page. Beware that %PRODUCTNAME does not implement all existing character sets."
+msgstr ""
+
+#. 3ApdD
#: sf_l10n.xhp
msgctxt ""
"sf_l10n.xhp\n"
"par_id891614358528334\n"
"help.text"
-msgid "The following example instantiates the <literal>L10N</literal> service without any optional arguments. This will only enable the <literal>AddText</literal> and <literal>ExportToPOTFile</literal> methods."
+msgid "The following example instantiates the <literal>L10N</literal> service without any optional arguments. This will only enable the <literal>AddText</literal> and <literal>ExportToPOTFile</literal> methods, which is useful for creating POT files."
msgstr ""
-#. XUTWZ
+#. rFfgF
#: sf_l10n.xhp
msgctxt ""
"sf_l10n.xhp\n"
"par_id611614358672609\n"
"help.text"
-msgid "The example below specifies the folder containing the PO files. Because the locale is not defined, the service instance will use the current %PRODUCTNAME locale settings."
+msgid "The example below specifies the folder containing the PO files. Because the locale is not defined, the service instance will use the locale defined for the %PRODUCTNAME user interface, which is the same locale defined in the <literal>OfficeLocale</literal> property of the <link href=\"text/sbasic/shared/03/sf_platform.xhp\" name=\"OfficeLocale_link\">Platform</link> service."
msgstr ""
-#. F998n
+#. FewYJ
#: sf_l10n.xhp
msgctxt ""
"sf_l10n.xhp\n"
"par_id391625855630975\n"
"help.text"
-msgid "The example above will result in an runtime error if the PO file for the current locale does not exist in the specified folder."
+msgid "The example above will result in an runtime error if the PO file corresponding to the <literal>OfficeLocale</literal> locale does not exist in the specified folder."
msgstr ""
-#. Ab7iH
+#. gSzLN
#: sf_l10n.xhp
msgctxt ""
"sf_l10n.xhp\n"
"par_id321614358809763\n"
"help.text"
-msgid "In the example below, both the folder name and locale settings are explicitly defined to be Belgian French."
+msgid "In the example below, the locale is explicitly defined to be Belgian French (\"fr-BE\"), hence the service will load the file \"fr-BE.po\" from the folder \"C:\\myPOFiles\". If the file does not exist, an error will occur."
+msgstr ""
+
+#. WpYLF
+#: sf_l10n.xhp
+msgctxt ""
+"sf_l10n.xhp\n"
+"par_id271646220649616\n"
+"help.text"
+msgid "To avoid errors, it is possible to specify a preferred and a fallback locale and encoding. The following example will first try to load the file \"fr-BE.po\" from the specified folder and if it does not exist, the file \"en-US.po\" will be loaded."
msgstr ""
#. UGFWB
@@ -18826,6 +18952,15 @@ msgctxt ""
msgid "The examples above can be translated to Python as follows:"
msgstr ""
+#. Z5Pb3
+#: sf_l10n.xhp
+msgctxt ""
+"sf_l10n.xhp\n"
+"par_id301614358956087\n"
+"help.text"
+msgid "Several instances of the <literal>L10N</literal> service may coexist. However, each instance must use a separate directory for its PO files."
+msgstr ""
+
#. 6mcLb
#: sf_l10n.xhp
msgctxt ""
@@ -19492,22 +19627,22 @@ msgctxt ""
msgid "The examples above can be written in Python as follows:"
msgstr ""
-#. ENT7Q
+#. 6LQF4
#: sf_menu.xhp
msgctxt ""
"sf_menu.xhp\n"
"pyc_id981636717957632\n"
"help.text"
-msgid "msg = f\"Menu item: {s_args[0]}\\n\""
+msgid "msg = f\"Menu name: {s_args[0]}\\n\""
msgstr ""
-#. 8MYNj
+#. GPKGe
#: sf_menu.xhp
msgctxt ""
"sf_menu.xhp\n"
"pyc_id851636718008427\n"
"help.text"
-msgid "msg += f\"Menu name: {s_args[1]}\\n\""
+msgid "msg += f\"Menu item: {s_args[1]}\\n\""
msgstr ""
#. EfEaE
@@ -25963,13 +26098,13 @@ msgctxt ""
msgid "In both examples below, the first call to <literal>CreateDocument</literal> method creates a blank Calc document, whereas the second creates a document from a template file."
msgstr ""
-#. TxY93
+#. shCRf
#: sf_ui.xhp
msgctxt ""
"sf_ui.xhp\n"
"par_id201588520551463\n"
"help.text"
-msgid "Returns a document object referring to either the active window, a given window or the active document."
+msgid "Returns an open document object referring to either the active window, a given window or the active document."
msgstr ""
#. xgMAv
@@ -26278,13 +26413,13 @@ msgctxt ""
msgid "In Python it is also possible to call <literal>RunCommand</literal> using keyword arguments:"
msgstr ""
-#. khKSW
+#. Em5in
#: sf_ui.xhp
msgctxt ""
"sf_ui.xhp\n"
"par_id191611153511038\n"
"help.text"
-msgid "Each %PRODUCTNAME component has its own set of commands available. One easy way to learn commands is going to <emph>Tools > Customize > Keyboard</emph>. When you position your mouse over a function in the <emph>Function</emph> list, a tooltip will appear with the corresponding UNO command."
+msgid "Each %PRODUCTNAME component has its own set of commands available. One easy way to learn commands is going to <emph>Tools - Customize - Keyboard</emph>. When you position your mouse over a function in the <emph>Function</emph> list, a tooltip will appear with the corresponding UNO command."
msgstr ""
#. NnBWM
@@ -26440,6 +26575,15 @@ msgctxt ""
msgid "Service invocation"
msgstr ""
+#. YFLf6
+#: sf_writer.xhp
+msgctxt ""
+"sf_writer.xhp\n"
+"par_id141609955500101\n"
+"help.text"
+msgid "Before using the <literal>Writer</literal> service the <literal>ScriptForge</literal> library needs to be loaded or imported:"
+msgstr ""
+
#. 3LPrN
#: sf_writer.xhp
msgctxt ""