summaryrefslogtreecommitdiff
path: root/source/zh-TW/helpcontent2/source/text/sbasic/shared.po
diff options
context:
space:
mode:
Diffstat (limited to 'source/zh-TW/helpcontent2/source/text/sbasic/shared.po')
-rw-r--r--source/zh-TW/helpcontent2/source/text/sbasic/shared.po222
1 files changed, 102 insertions, 120 deletions
diff --git a/source/zh-TW/helpcontent2/source/text/sbasic/shared.po b/source/zh-TW/helpcontent2/source/text/sbasic/shared.po
index f0d25c38241..a72bbe4465e 100644
--- a/source/zh-TW/helpcontent2/source/text/sbasic/shared.po
+++ b/source/zh-TW/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: 2022-02-21 15:22+0100\n"
+"POT-Creation-Date: 2022-04-01 00:19+0200\n"
"PO-Revision-Date: 2018-10-21 20:41+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
@@ -19115,13 +19115,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
@@ -23057,13 +23057,13 @@ msgctxt ""
msgid "<bookmark_value>Call statement</bookmark_value>"
msgstr "<bookmark_value>Call 陳述式</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
@@ -23075,15 +23075,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 "<emph>語法</emph>:"
-
#. CXLBw
#: 03090401.xhp
msgctxt ""
@@ -23102,15 +23093,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 ""
@@ -23156,15 +23138,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 "<emph>示例:</emph>"
-
#. eyeVE
#: 03090402.xhp
msgctxt ""
@@ -23732,31 +23705,40 @@ msgctxt ""
msgid "<bookmark_value>Function statement</bookmark_value>"
msgstr "<bookmark_value>Function 陳述式</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 "定義可以用作表示式的子常式,以確定傳回類型。"
+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
@@ -23858,6 +23840,15 @@ msgctxt ""
msgid "Exit For ' sItem found"
msgstr "Exit for REM 找到 sItem"
+#. 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 ""
@@ -24056,6 +24047,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 ""
@@ -34370,13 +34370,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
@@ -37250,13 +37250,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
@@ -37268,13 +37268,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
@@ -37412,13 +37412,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
@@ -39968,13 +39968,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
@@ -39986,13 +39986,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
@@ -40004,13 +40031,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
@@ -40040,15 +40067,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 ""
@@ -40058,13 +40076,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
@@ -40076,22 +40094,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
@@ -40103,15 +40121,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 ""
@@ -40130,15 +40139,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 ""
@@ -40166,24 +40166,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 ""
@@ -40238,13 +40220,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
@@ -41417,13 +41399,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
@@ -41570,22 +41552,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