diff --git a/README.md b/README.md index 05cbe4f309dd6f..12cbb49dd02c7d 100644 --- a/README.md +++ b/README.md @@ -77,3 +77,14 @@ Exemple: -> regénérer page des thèmes en anglais +## Classic Commands Update + +- new command: + 1. create a page in commands folder + 2. add reference in: + - commands/theme/ page + - sidebars.js + - commands/command-index.md (includes version added number) +- modified command (moved to commands): + 1. move to commands (use move_command.exe) + 2. same as above diff --git a/crowdin.yml b/crowdin.yml index 1bf1a1ce0a4656..5b79a2667f8327 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -4,6 +4,7 @@ files: - /docs/preprocessing.conf - /docs/commands-legacy/*.* - /docs/WritePro/commands-legacy/*.* + - /docs/*-legacy/*.* translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name% - source: /i18n/en/docusaurus-plugin-content-docs/*.json ignore: @@ -15,6 +16,7 @@ files: - /versioned_docs/**/commands-legacy/*.* - /versioned_docs/**/WritePro/commands-legacy/*.* - /versioned_docs/version-18/ + - /versioned_docs/**/*-legacy/*.* translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/**/%original_file_name% - source: /i18n/en/docusaurus-theme-classic/*.json translation: /i18n/%two_letters_code%/docusaurus-theme-classic/%original_file_name% diff --git a/docs/API/DataStoreClass.md b/docs/API/DataStoreClass.md index 0baaf3cb90a667..c12fb730e956ee 100644 --- a/docs/API/DataStoreClass.md +++ b/docs/API/DataStoreClass.md @@ -467,7 +467,7 @@ The `.getInfo()` function returns On a remote datastore: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1128,7 +1128,7 @@ You can nest several transactions (sub-transactions). Each transaction or sub-tr ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/docs/API/EntityClass.md b/docs/API/EntityClass.md index 011c64dba89be0..f76d5fedaf589c 100644 --- a/docs/API/EntityClass.md +++ b/docs/API/EntityClass.md @@ -600,15 +600,14 @@ The following generic code duplicates any entity: -**.getKey**( { *mode* : Integer } ) : Text
**.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any |Parameter|Type||Description| |---------|--- |:---:|------| |mode|Integer|->|`dk key as string`: primary key is returned as a string, no matter the primary key type| -|Result|Text|<-|Value of the text primary key of the entity| -|Result|Integer|<-|Value of the numeric primary key of the entity| +|Result|any|<-|Value of the primary key of the entity (Integer or Text)| @@ -1603,11 +1602,11 @@ Returns: #### Description -The `.touched()` function tests whether or not an entity attribute has been modified since the entity was loaded into memory or saved. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -If an attribute has been modified or calculated, the function returns True, else it returns False. You can use this function to determine if you need to save the entity. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". -This function returns False for a new entity that has just been created (with [`.new( )`](DataClassClass.md#new)). Note however that if you use a function which calculates an attribute of the entity, the `.touched()` function will then return True. For example, if you call [`.getKey()`](#getkey) to calculate the primary key, `.touched()` returns True. +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. #### Example @@ -1649,7 +1648,7 @@ In this example, we check to see if it is necessary to save the entity: The `.touchedAttributes()` function returns the names of the attributes that have been modified since the entity was loaded into memory. -This applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". In the case of a related entity having been touched (i.e., the foreign key), the name of the related entity and its primary key's name are returned. diff --git a/docs/API/FileClass.md b/docs/API/FileClass.md index fc8c5df82529c3..8c3c3a49835fa0 100644 --- a/docs/API/FileClass.md +++ b/docs/API/FileClass.md @@ -572,7 +572,7 @@ You want to rename "ReadMe.txt" in "ReadMe_new.txt": The `.setAppInfo()` function writes the *info* properties as information contents of an application file. -The function must be used with an existing, supported file: **.plist** (all platforms), **.exe**/**.dll** (Windows), or **macOS executable**. If the file does not exist on disk or is not a supported file, the function does nothing (no error is generated). +The function can only be used with the following file types: **.plist** (all platforms), existing **.exe**/**.dll** (Windows), or **macOS executable**. If used with another file type or with a **.exe**/**.dll** file that does not already exist on disk, the function does nothing (no error is generated). ***info* parameter object with a .plist file (all platforms)** @@ -582,6 +582,8 @@ The function only supports .plist files in xml format (text-based). An error is ::: +If the .plist file already exists on the disk, it is updated. Otherwise, it is created. + Each valid property set in the *info* object parameter is written in the .plist file as a key. Any key name is accepted. Value types are preserved when possible. If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Other existing keys in the .plist file are left untouched. diff --git a/docs/API/WebServerClass.md b/docs/API/WebServerClass.md index 2a402494b44870..e72477524ae3d6 100644 --- a/docs/API/WebServerClass.md +++ b/docs/API/WebServerClass.md @@ -607,7 +607,7 @@ The `.start()` function starts the w The web server starts with default settings defined in the settings file of the project or (host database only) using the `WEB SET OPTION` command. However, using the *settings* parameter, you can define customized properties for the web server session. -All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Customized session settings will be reset when the [`.stop()`](#stop) function is called. diff --git a/docs/Concepts/error-handling.md b/docs/Concepts/error-handling.md index 1c74f36dd60c32..eded3b2fd2274c 100644 --- a/docs/Concepts/error-handling.md +++ b/docs/Concepts/error-handling.md @@ -100,7 +100,7 @@ Within a custom error method, you have access to several pieces of information t 4D automatically maintains a number of variables called [**system variables**](variables.md#system-variables), meeting different needs. ::: -- the [`Last errors`](../commands-legacy/last-errors.md) command that returns a collection of the current stack of errors that occurred in the 4D application. +- the [`Last errors`](../commands/last-errors.md) command that returns a collection of the current stack of errors that occurred in the 4D application. - the `Call chain` command that returns a collection of objects describing each step of the method call chain within the current process. @@ -158,7 +158,7 @@ Try (expression) : any | Undefined If an error occurred during its execution, it is intercepted and no error dialog is displayed, whether an [error-handling method](#installing-an-error-handling-method) was installed or not before the call to `Try()`. If *expression* returns a value, `Try()` returns the last evaluated value, otherwise it returns `Undefined`. -You can handle the error(s) using the [`Last errors`](../commands-legacy/last-errors.md) command. If *expression* throws an error within a stack of `Try()` calls, the execution flow stops and returns to the latest executed `Try()` (the first found back in the call stack). +You can handle the error(s) using the [`Last errors`](../commands/last-errors.md) command. If *expression* throws an error within a stack of `Try()` calls, the execution flow stops and returns to the latest executed `Try()` (the first found back in the call stack). :::note @@ -255,7 +255,7 @@ For more information on *deferred* and *non-deferred* errors, please refer to th ::: -In the `Catch` code block, you can handle the error(s) using standard error handling commands. The [`Last errors`](../commands-legacy/last-errors.md) function contains the last errors collection. You can [declare an error-handling method](#installing-an-error-handling-method) in this code block, in which case it is called in case of error (otherwise the 4D error dialog box is displayed). +In the `Catch` code block, you can handle the error(s) using standard error handling commands. The [`Last errors`](../commands/last-errors.md) function contains the last errors collection. You can [declare an error-handling method](#installing-an-error-handling-method) in this code block, in which case it is called in case of error (otherwise the 4D error dialog box is displayed). :::note @@ -299,58 +299,12 @@ Function createInvoice($customer : cs.customerEntity; $items : Collection; $invo ## Error codes -Exceptions that interrupt code execution are returned by 4D but can have different origins such as the OS, a device, the 4D kernel, a [`throw`](../commands-legacy/throw.md) in your code, etc. A returned error is therefore defined by three elements: +Exceptions that interrupt code execution are returned by 4D but can have different origins such as the OS, a device, the 4D kernel, a [`throw`](../commands-legacy/throw.md) in your code, etc. An error is therefore defined by three elements: -- a **component signature**, which is the origin of the error -- a **message**, wich explains why the error occurred +- a **component signature**, which is the origin of the error (see [`Last errors`](../commands/last-errors.md) to have a list of signatures) +- a **message**, which explains why the error occurred - a **code**, which is an arbitrary number returned by the component -These information are returned for every error (when available) by the [4D error dialog box](../Debugging/basics.md) and the [`Last errors`](../commands-legacy/last-errors.md) command. Keep in mind that, if you intercept and handle errors using a [error-handling method](#installing-an-error-handling-method), you need to process all information since a simple error code could not be correctly interpreted. - -#### 4D component signatures - -|Component Signature|Component| -|--|---| -|4DCM|4D Compiler runtime| -|4DRT|4D runtime| -|bkrs|4D backup & restore manager| -|brdg|SQL 4D bridge| -|cecm|4D code Editor| -|CZip|zip 4D apis| -|dbmg|4D database manager| -|FCGI|fast cgi 4D bridge| -|FiFo|4D file objects| -|HTCL|http client 4D apis| -|HTTP|4D http server| -|IMAP|IMAP 4D apis| -|JFEM|Form Macro apis| -|LD4D|LDAP 4D apis| -|lscm|4D language syntax manager| -|MIME|MIME 4D apis| -|mobi|4D Mobile| -|pdf1|4D pdf apis| -|PHP_|php 4D bridge| -|POP3|POP3 4D apis| -|SMTP|SMTP 4D apis| -|SQLS|4D SQL server| -|srvr|4D network layer apis| -|svg1|SVG 4D apis| -|ugmg|4D users and groups manager| -|UP4D|4D updater| -|VSS |4D VSS support (Windows Volume Snapshot Service) | -|webc|4D Web view| -|xmlc|XML 4D apis| -|wri1|4D Write Pro| - - -#### System component signatures - -|Component Signature|Component| -|--|---| -|CARB|Carbon subsystem| -|COCO|Cocoa subsystem| -|MACH|macOS Mach subsystem| -|POSX|posix/bsd subsystem (mac, linux, win)| -|PW32|Pre-Win32 subsystem| -|WI32|Win32 subsystem| +The [4D error dialog box](../Debugging/basics.md) displays the code and the message to the user. +To have a full description of an error and especially its origin, you need to call the [`Last errors`](../commands/last-errors.md) command. When you intercept and handle errors using an [error-handling method](#installing-an-error-handling-method) in your final applications, use [`Last errors`](../commands/last-errors.md) and make sure you log all properties of the *error* object since error codes depend on the components. diff --git a/docs/Develop-legacy/transactions.md b/docs/Develop-legacy/transactions.md new file mode 100644 index 00000000000000..ec3fc9d7f4065d --- /dev/null +++ b/docs/Develop-legacy/transactions.md @@ -0,0 +1,221 @@ +--- +id: transactions +title: Transactions +--- + +## Description + +Transactions are a series of related data modifications made to a database or datastore within a [process](../Develop/processes.md). A transaction is not saved to a database permanently until the transaction is validated. If a transaction is not completed, either because it is canceled or because of some outside event, the modifications are not saved. + +During a transaction, all changes made to the database data within a process are stored locally in a temporary buffer. If the transaction is accepted with [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) or [`validateTransaction()`](../API/DataStoreClass.md#validatetransaction), the changes are saved permanently. If the transaction is canceled with [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md) or [`cancelTransaction()`](../API/DataStoreClass.md#canceltransaction), the changes are not saved. In all cases, neither the current selection nor the current record are modified by the transaction management commands. + +4D supports nested transactions, i.e. transactions on several hierarchical levels. The number of subtransactions allowed is unlimited. The [`Transaction level`](../commands-legacy/transaction-level.md) command can be used to find out the current transaction level where the code is executed. When you use nested transactions, the result of each subtransaction depends on the validation or cancellation of the higher-level transaction. If the higher-level transaction is validated, the results of the subtransactions are confirmed (validation or cancellation). On the other hand, if the higher-level transaction is cancelled, all the subtransactions are cancelled, regardless of their respective results. + +4D includes a feature allowing you to [suspend and resume transactions](#suspending-transactions) within your 4D code. When a transaction is suspended, you can execute operations independently from the transaction itself and then resume the transaction to validate or cancel it as usual. + +### Example + +In this example, the database is a simple invoicing system. The invoice lines are stored in a table called [Invoice Lines], which is related to the table [Invoices] by means of a relation between the fields [Invoices]Invoice ID and [Invoice Lines]Invoice ID. When an invoice is added, a unique ID is calculated, using the [`Sequence number`](../commands-legacy/sequence-number.md) command. The relation between [Invoices] and [Invoice Lines] is an automatic Relate Many relation. The **Auto assign related value in subform** check box is checked. + +The relation between [Invoice Lines] and [Parts] is manual. + +![](../assets/en/Develop/transactions-structure.png) + + +When a user enters an invoice, the following actions are executed: + +- Add a record in the table [Invoices]. +- Add several records in the table [Invoice Lines]. +- Update the [Parts]In Warehouse field of each part listed in the invoice. + +This example is a typical situation in which you need to use a transaction. You must be sure that you can save all these records during the operation or that you will be able to cancel the transaction if a record cannot be added or updated. In other words, you must save related data. If you do not use a transaction, you cannot guarantee the logical data integrity of your database. For example, if one record of the [Parts] records is locked, you will not be able to update the quantity stored in the field [Parts]In Warehouse. Therefore, this field will become logically incorrect. The sum of the parts sold and the parts remaining in the warehouse will not be equal to the original quantity entered in the record. You can avoid such a situation by using transactions. + +There are several ways of performing data entry using transactions: + +1. You can handle the transactions yourself by using the transaction commands [`START TRANSACTION`](../commands-legacy/start-transaction.md), [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) and [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md). You can write, for example: + +```4d + READ WRITE([Invoice Lines]) + READ WRITE([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + START TRANSACTION + ADD RECORD([Invoices]) + If(OK=1) + VALIDATE TRANSACTION + Else + CANCEL TRANSACTION + End if + Until(OK=0) + READ ONLY(*) +``` + +2. To reduce record locking while performing the data entry, you can also choose to manage transactions from within the form method and access the tables in `READ WRITE` only when it becomes necessary. You perform the data entry using the input form for [Invoices], which contains the related table [Invoice Lines] in a subform. The form has two buttons: *bCancel* and *bOK*, both of which are no action buttons. + +The adding loop becomes: + +```4d + READ WRITE([Invoice Lines]) + READ ONLY([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + ADD RECORD([Invoices]) + Until(bOK=0) + READ ONLY([Invoice Lines]) +``` + +Note that the [Parts] table is now in read-only access mode during data entry. Read/write access will be available only if the data entry is validated. + +The transaction is started in the [Invoices] input form method listed here: + +```4d + Case of + :(Form event code=On Load) + START TRANSACTION + [Invoices]Invoice ID:=Sequence number([Invoices]Invoice ID) + Else + [Invoices]Total Invoice:=Sum([Invoice Lines]Total line) + End case +``` + +If you click the *bCancel* button, the data entry as well as the transaction must be canceled. Here is the object method of the *bCancel* button: + +```4d + Case of + :(Form event code=On Clicked) + CANCEL TRANSACTION + CANCEL + End case +``` + +If you click the *bOK* button, the data entry must be accepted and the transaction must be validated. Here is the object method of the *bOK* button: + +```4d + Case of + :(Form event code=On Clicked) + var $NbLines:=Records in selection([Invoice Lines]) + READ WRITE([Parts]) //Switch to Read/Write access for the [Parts] table + FIRST RECORD([Invoice Lines]) //Start at the first line + var $ValidTrans:=True //Assume everything will be OK + var $Line : Integer + For($Line;1;$NbLines) //For each line + RELATE ONE([Invoice Lines]Part No) + OK:=1 //Assume you want to continue + While(Locked([Parts]) & (OK=1)) //Try getting the record in Read/Write access + CONFIRM("The Part "+[Invoice Lines]Part No+" is in use. Wait?") + If(OK=1) + DELAY PROCESS(Current process;60) + LOAD RECORD([Parts]) + End if + End while + If(OK=1) + //Update quantity in the warehouse + [Parts]In Warehouse:=[Parts]In Warehouse-[Invoice Lines]Quantity + SAVE RECORD([Parts]) //Save the record + Else + $Line:=$NbLines+1 //Leave the loop + $ValidTrans:=False + End if + NEXT RECORD([Invoice Lines]) //Go next line + End for + READ ONLY([Parts]) //Set the table state to read only + If($ValidTrans) + SAVE RECORD([Invoices]) //Save the Invoices record + VALIDATE TRANSACTION //Validate all database modifications + Else + CANCEL TRANSACTION //Cancel everything + End if + CANCEL //Leave the form + End case +``` + +In this code, we call the `CANCEL` command regardless of the button clicked. The new record is not validated by a call to [`ACCEPT`](../commands-legacy/accept.md), but by the [`SAVE RECORD`](../commands-legacy/save-record.md) command. In addition, note that `SAVE RECORD` is called just before the [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) command. Therefore, saving the [Invoices] record is actually a part of the transaction. Calling the `ACCEPT` command would also validate the record, but in this case the transaction would be validated before the [Invoices] record was saved. In other words, the record would be saved outside the transaction. + +Depending on your needs, you can customize your database, as shown in these examples. In the last example, the handling of locked records in the [Parts] table could be developed further. + + +## Suspending transactions + +### Principle + +Suspending a transaction is useful when you need to perform, from within a transaction, certain operations that do not need to be executed under the control of this transaction. For example, imagine the case where a customer places an order, thus within a transaction, and also updates their address. Next the customer changes their mind and cancels the order. The transaction is cancelled, but you do not want the address change to be reverted. This is a typical example where suspending the transaction is useful. Three commands are used to suspend and resume transactions: + +- [`SUSPEND TRANSACTION`](../commands-legacy/suspend-transaction.md): pauses current transaction. Any updated or added records remain locked. +- [`RESUME TRANSACTION`](../commands-legacy/resume-transaction.md): reactivates a suspended transaction. +- [`Active transaction`](../commands-legacy/active-transaction.md): returns False if the transaction is suspended or if there is no current transaction, and True if it is started or resumed. + +### Example + +This example illustrates the need for a suspended transaction. In an Invoices database, we want to get a new invoice number during a transaction. This number is computed and stored in a [Settings] table. In a multi-user environment, concurrent accesses must be protected; however, because of the transaction, the [Settings] table could be locked by another user even though this data is independent from the main transaction. In this case, you can suspend the transaction when accessing the table. + +```4d + //Standard method that creates an invoice + START TRANSACTION + ... + CREATE RECORD([Invoices]) + //call the method to get an available number + [Invoices]InvoiceID:=GetInvoiceNum + ... + SAVE RECORD([Invoices]) + VALIDATE TRANSACTION + + ``` + +The *GetInvoiceNum* method suspends the transaction before executing. Note that this code will work even when the method is called from outside of a transaction: + +```4d + //GetInvoiceNum project method + //GetInvoiceNum -> Next available invoice number + #DECLARE -> $freeNum : Integer + SUSPEND TRANSACTION + ALL RECORDS([Settings]) + If(Locked([Settings])) //multi-user access + While(Locked([Settings])) + MESSAGE("Waiting for locked Settings record") + DELAY PROCESS(Current process;30) + LOAD RECORD([Settings]) + End while + End if + [Settings]InvoiceNum:=[Settings]InvoiceNum+1 + $freeNum:=[Settings]InvoiceNum + SAVE RECORD([Settings]) + UNLOAD RECORD([Settings]) + RESUME TRANSACTION + +``` + +### Detailed operation + +#### How does a suspended transaction work? + +When a transaction is suspended, the following principles are implemented: + +- You can access records that were added or modified during the transaction, and you cannot see any records that were deleted during the transaction. +- You can create, save, delete, or modify records outside the transaction. +- You can start a new transaction, but within this included transaction you will not be able to see any records or record values that were added or modified during the suspended transaction. In fact, this new transaction is totally independent from the suspended one, similar to a transaction of another process, and since the suspended transaction could later be resumed or canceled, any added or modified records are automatically hidden for the new transaction. As soon as you commit or cancel the new transaction, you can see these records again. +- Any records that are modified, deleted or added within the suspended transaction remain locked for other processes. If you try to modify or delete these records outside the transaction or in a new transaction, an error is generated. + +These implementations are summarized in the following graphic: + +![](../assets/en/Develop/transactions-schema1.png) + + +*Values edited during transaction A (ID1 record gets Val11) are not available in a new transaction (B) created during the "suspended" period. Values edited during the "suspended" period (ID2 record gets Val22 and ID3 record gets Val33) are saved even after transaction A is cancelled.* + +Specific features have been added to handle errors: + +- The current record of each table becomes temporarily locked if it is modified during the transaction and is automatically unlocked when the transaction is resumed. This mechanism is important to prevent unwanted saves on parts of the transaction. +- If you execute an invalid sequence such as start transaction / suspend transaction / start transaction / resume transaction, an error is generated. This mechanism prevents developers from forgetting to commit or cancel any included transactions before resuming the suspended transaction. + + +#### Suspended transactions and process status + +The [`In transaction`](../commands-legacy/in-transaction.md) command returns True when a transaction has been started, even if it is suspended. To find out whether the current transaction is suspended, you need to use the [`Active transaction`](../commands-legacy/active-transaction.md) command, which returns False in this case. + +Both commands, however, also return False if no transaction has been started. You may then need to use the [`Transaction level`](../commands-legacy/transaction-level.md) command, which returns 0 in this context (no transaction started). + +The following graphic illustrates the various transaction contexts and the corresponding values returned by the transaction commands: + +![](../assets/en/Develop/transactions-schema2.png) + + diff --git a/docs/Notes/updates.md b/docs/Notes/updates.md index 8e6491ad5095ee..04e687e8d08511 100644 --- a/docs/Notes/updates.md +++ b/docs/Notes/updates.md @@ -11,7 +11,7 @@ Read [**What’s new in 4D 20 R10**](https://blog.4d.com/en-whats-new-in-4d-20-R #### Highlights - New `connectionTimeout` option in the [`options`](../API/TCPConnectionClass.md#options-parameter) parameter of the [`4D.TCPConnection.new()`](../API/TCPConnectionClass.md#4dtcpconnectionnew) function. - +- UUIDs in 4D are now generated in **version 7**. In previous 4D releases, they were generated in version 4. - 4D Language: - For consistency, [`Create entity selection`](../commands/create-entity-selection.md) and [`USE ENTITY SELECTION`](../commands/use-entity-selection.md) commands have been moved from the ["4D Environment"](../commands/theme/4D_Environment.md) to the ["Selection"](../commands/theme/Selection.md) themes. diff --git a/docs/assets/en/Develop/transactions-schema1.png b/docs/assets/en/Develop/transactions-schema1.png new file mode 100644 index 00000000000000..e3e42329c20e16 Binary files /dev/null and b/docs/assets/en/Develop/transactions-schema1.png differ diff --git a/docs/assets/en/Develop/transactions-schema2.png b/docs/assets/en/Develop/transactions-schema2.png new file mode 100644 index 00000000000000..79cf0060952bcd Binary files /dev/null and b/docs/assets/en/Develop/transactions-schema2.png differ diff --git a/docs/assets/en/Develop/transactions-structure.png b/docs/assets/en/Develop/transactions-structure.png new file mode 100644 index 00000000000000..d7f45b3788d414 Binary files /dev/null and b/docs/assets/en/Develop/transactions-structure.png differ diff --git a/docs/commands-legacy/active-transaction.md b/docs/commands-legacy/active-transaction.md index b404bbc9951176..266bbc4159b4f0 100644 --- a/docs/commands-legacy/active-transaction.md +++ b/docs/commands-legacy/active-transaction.md @@ -19,7 +19,7 @@ displayed_sidebar: docs Since the command will also return **False** if the current process is not in transaction, you may need to check using the [In transaction](in-transaction.md) command to know whether the process is in transaction. -For more information, please refer to *Suspending transactions*. +For more information, please refer to the [Suspending transactions](../Develop-legacy/transactions.md#suspending-transactions) section. ## Description @@ -42,7 +42,7 @@ You want to know the current transaction status: [In transaction](in-transaction.md) [RESUME TRANSACTION](resume-transaction.md) [SUSPEND TRANSACTION](suspend-transaction.md) -*Suspending transactions* +[Suspending transactions](../Develop-legacy/transactions.md#suspending-transactions) ## Properties diff --git a/docs/commands-legacy/cancel-transaction.md b/docs/commands-legacy/cancel-transaction.md index d66dc9d4fe47fa..fcb260effb51a7 100644 --- a/docs/commands-legacy/cancel-transaction.md +++ b/docs/commands-legacy/cancel-transaction.md @@ -9,12 +9,11 @@ displayed_sidebar: docs | Does not require any parameters | | | --- | --- | - ## Description -**CANCEL TRANSACTION** cancels the transaction that was started with [START TRANSACTION](start-transaction.md) of the corresponding level in the current process.cancels the operations executed on the data and stored during the transaction. +**CANCEL TRANSACTION** cancels the [transaction](../Develop-legacy/transactions.md) that was started with [START TRANSACTION](start-transaction.md) of the corresponding level in the current process.cancels the operations executed on the data and stored during the transaction. **Note:** **CANCEL TRANSACTION** does not have an effect on any changes made in the current records that were not saved - they remain displayed after the command is executed. @@ -23,7 +22,7 @@ displayed_sidebar: docs [In transaction](in-transaction.md) [START TRANSACTION](start-transaction.md) [Transaction level](transaction-level.md) -*Using Transactions* +[Transactions](../Develop-legacy/transactions.md) [VALIDATE TRANSACTION](validate-transaction.md) ## Properties diff --git a/docs/commands-legacy/constant-list.md b/docs/commands-legacy/constant-list.md new file mode 100644 index 00000000000000..53e99d53fd9fa4 --- /dev/null +++ b/docs/commands-legacy/constant-list.md @@ -0,0 +1,1693 @@ +--- +id: constant-list +title: Constant List +slug: /commands/constant-list +displayed_sidebar: docs +--- + + +| English | French | +|---------|--------| +| 4D Client Database Folder | Dossier base 4D Client | +| 4D Client SOAP License | Licence SOAP 4D Client | +| 4D Client Web License | Licence Web 4D Client | +| 4D Desktop | 4D Desktop | +| 4D For OCI License | Licence 4D For OCI | +| 4D Local Mode | 4D mode local | +| 4D ODBC Pro License | Licence 4D ODBC Pro | +| 4D REST Test license | 4D REST Test license | +| 4D Remote Mode | 4D mode distant | +| 4D Remote Mode Timeout | Timeout 4D mode distant | +| 4D SOAP License | Licence 4D SOAP | +| 4D SOAP Local License | Licence 4D SOAP locale | +| 4D SOAP One Connection License | Licence 4D SOAP une connexion | +| 4D SQL Server License | Licence Serveur SQL 4D | +| 4D SQL Server Local License | Licence Serveur SQL 4D locale | +| 4D SQL Server One Conn License | Licence Serveur SQL 4D 1 conn | +| 4D Server | 4D Server | +| 4D Server Log Recording | Enreg requêtes 4D Server | +| 4D Server Timeout | Timeout 4D Server | +| 4D View License | Licence 4D View | +| 4D Volume Desktop | 4D Volume Desktop | +| 4D Web License | Licence 4D Web | +| 4D Web Local License | Licence 4D Web locale | +| 4D Web One Connection License | Licence 4D Web une connexion | +| 4D Write License | Licence 4D Write | +| 4D user account | Compte utilisateur 4D | +| 4D user alias | Alias utilisateur 4D | +| 4D user alias or account | Alias ou compte utilisateur 4D | +| 64 bit Version | Version 64 bits | +| ACK ASCII code | ASCII ACK | +| Aborted | Détruit | +| Absolute path | Chemin absolu | +| Access Privileges | Autorisations d’accès | +| Activate event | Activation fenêtre | +| Activate window bit | Bit activation fenêtre | +| Activate window mask | Masque activation fenêtre | +| Active 4D Folder | Dossier 4D actif | +| Activity all | Activités toutes | +| Activity language | Activité langage | +| Activity network | Activité réseau | +| Activity operations | Activité opérations | +| Additional text | Texte supplémentaire | +| Align Top | Aligné en haut | +| Align bottom | Aligné en bas | +| Align center | Aligné au centre | +| Align default | Aligné par défaut | +| Align left | Aligné à gauche | +| Align right | Aligné à droite | +| Allow alias files | Sélection alias | +| Allow deletion | Suppression autorisée | +| Alternate dialog box | Dialogue ombré | +| Apple Event Manager | Gestionnaire Apple Event | +| Applications or Program Files | Applications ou Program Files | +| April | Avril | +| Array 2D | Est un tableau 2D | +| Associated Standard Action | Action standard associée | +| Associated standard action name | Associer action standard | +| At sign | Arobase | +| At the Bottom | En bas | +| At the Top | En haut | +| Attribute Executed on server | Attribut exécutée sur serveur | +| Attribute Invisible | Attribut invisible | +| Attribute Published SOAP | Attribut publiée SOAP | +| Attribute Published SQL | Attribut publiée SQL | +| Attribute Published WSDL | Attribut publiée WSDL | +| Attribute Published Web | Attribut publiée Web | +| Attribute Shared | Attribut partagée | +| Attribute background color | Attribut couleur fond | +| Attribute bold style | Attribut style gras | +| Attribute folder name | Attribut nom dossier | +| Attribute font name | Attribut nom de police | +| Attribute italic style | Attribut style italique | +| Attribute strikethrough style | Attribut style barré | +| Attribute text color | Attribut couleur texte | +| Attribute text size | Attribut taille texte | +| Attribute underline style | Attribut style souligné | +| August | Août | +| Austrian Schilling | Schilling autrichien | +| Auto Synchro Resources Folder | Synchro auto dossier Resources | +| Auto insertion | Insertion automatique | +| Auto key event | Répétition touche | +| Auto repair mode | Mode réparation auto | +| Automatic | Automatique | +| Automatic style sheet | Feuille de style automatique | +| Automatic style sheet_additional | Feuille de style automatique_additionnel | +| Automatic style sheet_main text | Feuille de style automatique_texte principal | +| BEL ASCII code | ASCII BEL | +| BS ASCII code | ASCII BS | +| Background color | Coul arrière plan | +| Background color none | Coul fond transparent | +| Backspace | Retour arrière | +| Backspace Key | Touche retour arrière | +| Backup Process | Process de sauvegarde | +| Backup data settings | Fichier configuration sauvegarde pour le fichier de données | +| Backup history file | Fichier historique des sauvegardes | +| Backup log file | Fichier log sauvegarde | +| Backup structure settings | Fichier configuration sauvegarde | +| Belgian Franc | Franc belge | +| Black | Noir | +| Black and white | Noir et blanc | +| Blank if null date | Vide si date nulle | +| Blank if null time | Vide si heure nulle | +| Blob array | Est un tableau blob | +| Blue | Bleu | +| Bold | Gras | +| Bold and Italic | Gras et italique | +| Bold and Underline | Gras et souligné | +| Boolean array | Est un tableau booléen | +| Border Dotted | Bordure Trait pointillé | +| Border Double | Bordure Double | +| Border None | Bordure Aucune | +| Border Plain | Bordure Normal | +| Border Raised | Bordure Relief | +| Border Sunken | Bordure Relief inversé | +| Border System | Bordure Système | +| Brown | Marron | +| Build application log file | Fichier log application générée | +| Build application settings | Fichier de configuration application | +| CAN ASCII code | ASCII CAN | +| CR ASCII code | ASCII CR | +| Cache Manager | Gestionnaire du cache | +| Cache Priority high | Cache priorité haute | +| Cache Priority low | Cache priorité basse | +| Cache Priority normal | Cache priorité normal | +| Cache Priority very high | Cache priorité très haute | +| Cache Priority very low | Cache priorité très basse | +| Cache flush periodicity | Périodicité écriture cache | +| Cache unload minimum size | Taille minimum libération cache | +| Caps Lock key bit | Bit touche verrouillage maj | +| Caps Lock key mask | Masque touche verrouillage maj | +| Carriage return | Retour chariot | +| Changed resource bit | Bit ressource modifiée | +| Changed resource mask | Masque ressource modifiée | +| Character set | Jeu de caractères | +| Choice list | Liste énumération | +| Circular log limitation | Limitation nombre journaux | +| Client HTTPS Port ID | Client numéro de port HTTPS | +| Client Manager Process | Process gestionnaire clients | +| Client Max Concurrent Web Proc | Client proc Web simultanés maxi | +| Client Server Port ID | Numéro du port client serveur | +| Client Web Log Recording | Client enreg requêtes Web | +| Client character set | Client jeu de caractères | +| Client log Recording | Enreg requêtes client | +| Client port ID | Client numéro de port | +| Cluster BTree Index | Index BTree cluster | +| Code with tokens | Code avec tokens | +| Color option | Option couleur | +| Command key bit | Bit touche commande | +| Command key mask | Masque touche commande | +| Compact address table | Compacter table adresses | +| Compact compression mode | Méthode de compression compacte | +| Compacting log file | Fichier log compactage | +| Compiler process | Process de compilation | +| Control key bit | Bit touche contrôle | +| Control key mask | Masque touche contrôle | +| Controller form window | Form fenêtre contrôleur | +| Copy XML Data Source | Copier source données XML | +| Create process | Créer un process | +| Created from Menu Command | Créé par commande de menu | +| Created from execution dialog | Créé par dialogue d’exécution | +| Crop | Recadrage | +| Currency symbol | Symbole monétaire | +| Current Resources folder | Dossier Resources courant | +| Current backup settings file | Fichier configuration sauvegarde courant | +| Current localization | Langue courante | +| Current process debug log recording | Enreg historique débogage du process courant | +| DB4D Cron | Process DB4D Cron | +| DB4D Flush cache | Process DB4D Ecriture cache | +| DB4D Garbage collector | Process DB4D Garbage collector | +| DB4D Index builder | Process DB4D Index builder | +| DB4D Listener | Process DB4D Listener | +| DB4D Mirror | Process DB4D Miroir | +| DB4D Worker pool user | Process DB4D Worker pool utilisateur | +| DC1 ASCII code | ASCII DC1 | +| DC2 ASCII code | ASCII DC2 | +| DC3 ASCII code | ASCII DC3 | +| DC4 ASCII code | ASCII DC4 | +| DEL ASCII code | ASCII DEL | +| DLE ASCII code | ASCII DLE | +| DOCTYPE Name | Nom DOCTYPE | +| Dark Blue | Bleu foncé | +| Dark Brown | Marron foncé | +| Dark Green | Vert foncé | +| Dark Grey | Gris foncé | +| Dark shadow color | Coul sombre | +| Data bits 5 | Bits de données 5 | +| Data bits 6 | Bits de données 6 | +| Data bits 7 | Bits de données 7 | +| Data bits 8 | Bits de données 8 | +| Data folder | Dossier données | +| Database Folder | Dossier base | +| Database Folder Unix Syntax | Dossier base syntaxe UNIX | +| Date RFC 1123 | Date RFC 1123 | +| Date array | Est un tableau date | +| Date separator | Séparateur date | +| Date type | Type date | +| Dates inside objects | Dates dans les objets | +| Debug Log Recording | Enreg événements debogage | +| Debug log file | Fichier log débogage | +| December | Décembre | +| Decimal separator | Séparateur décimal | +| Default Index Type | Type index par défaut | +| Default localization | Langue par défaut | +| Degree | Degré | +| Delayed | Endormi | +| Delete only if empty | Supprimer si vide | +| Delete with contents | Supprimer avec contenu | +| Demo Version | Version de démonstration | +| Description in Text Format | Description format Texte | +| Description in XML Format | Description format XML | +| Design Process | Process développement | +| Desktop | Bureau | +| Destination option | Option destination | +| Deutsche Mark | Mark allemand | +| Diagnostic Log Recording | Enreg diagnostic | +| Diagnostic log file | Fichier log diagnostic | +| Diagnostic log level | Log niveau diagnostic | +| Direct2D disabled | Direct2D désactivé | +| Direct2D get active status | Direct2D lire statut actif | +| Direct2D hardware | Direct2D matériel | +| Direct2D software | Direct2D logiciel | +| Direct2D status | Direct2D statut | +| Directory file | Directory file | +| Disable events others unchanged | Inactiver événements autres inchangés | +| Disable highlight item color | Coul fond élément sélect désact | +| Disk event | Evénement disque | +| Do not compact index | Ne pas compacter les index | +| Do not create log file | Ne pas créer d’historique | +| Do not modify | Ne pas changer | +| Document URI | URI document | +| Document unchanged | Document inchangé | +| Document with CR | Document avec CR | +| Document with CRLF | Document avec CRLF | +| Document with LF | Document avec LF | +| Document with native format | Document avec format natif | +| Documents folder | Dossier documents | +| Does not exist | Inexistant | +| Double quote | Guillemets | +| Double sided option | Option recto verso | +| Down Arrow Key | Touche bas | +| EM ASCII code | ASCII EM | +| ENQ ASCII code | ASCII ENQ | +| EOT ASCII code | ASCII EOT | +| ESC ASCII code | ASCII ESC | +| ETB ASCII code | ASCII ETB | +| ETX ASCII code | ASCII ETX | +| EXIF Action | EXIF Action | +| EXIF Adobe RGB | EXIF Adobe RGB | +| EXIF Aperture priority AE | EXIF Aperture priority AE | +| EXIF Auto | EXIF Auto | +| EXIF Auto bracket | EXIF Auto bracket | +| EXIF Auto mode | EXIF Auto mode | +| EXIF Average | EXIF Average | +| EXIF B | EXIF B | +| EXIF Cb | EXIF Cb | +| EXIF Center weighted average | EXIF Center weighted average | +| EXIF Close | EXIF Close | +| EXIF Cloudy | EXIF Cloudy | +| EXIF Color sequential area | EXIF Color sequential area | +| EXIF Color sequential linear | EXIF Color sequential linear | +| EXIF Compulsory flash firing | EXIF Compulsory flash firing | +| EXIF Compulsory flash suppression | EXIF Compulsory flash suppression | +| EXIF Cool white fluorescent | EXIF Cool white fluorescent | +| EXIF Cr | EXIF Cr | +| EXIF Creative | EXIF Creative | +| EXIF Custom | EXIF Custom | +| EXIF D50 | EXIF D50 | +| EXIF D55 | EXIF D55 | +| EXIF D65 | EXIF D65 | +| EXIF D75 | EXIF D75 | +| EXIF Day white fluorescent | EXIF Day white fluorescent | +| EXIF Daylight | EXIF Daylight | +| EXIF Daylight fluorescent | EXIF Daylight fluorescent | +| EXIF Detected | EXIF Detected | +| EXIF Digital camera | EXIF Digital camera | +| EXIF Distant | EXIF Distant | +| EXIF EXIF version | EXIF EXIF version | +| EXIF Exposure portrait | EXIF Exposure portrait | +| EXIF F number | EXIF F number | +| EXIF Film scanner | EXIF Film scanner | +| EXIF Fine weather | EXIF Fine weather | +| EXIF Flash fired | EXIF Flash fired | +| EXIF Flashlight | EXIF Flashlight | +| EXIF G | EXIF G | +| EXIF High | EXIF High | +| EXIF High gain down | EXIF High gain down | +| EXIF High gain up | EXIF High gain up | +| EXIF ISO speed ratings | EXIF ISO speed ratings | +| EXIF ISOStudio tungsten | EXIF ISOStudio tungsten | +| EXIF Landscape | EXIF Landscape | +| EXIF Light fluorescent | EXIF Light fluorescent | +| EXIF Low | EXIF Low | +| EXIF Low gain down | EXIF Low gain down | +| EXIF Low gain up | EXIF Low gain up | +| EXIF Macro | EXIF Macro | +| EXIF Manual | EXIF Manual | +| EXIF Multi segment | EXIF Multi segment | +| EXIF Multi spot | EXIF Multi spot | +| EXIF Night | EXIF Night | +| EXIF No detection function | EXIF No detection function | +| EXIF None | EXIF None | +| EXIF Normal | EXIF Normal | +| EXIF Not defined | EXIF Not defined | +| EXIF Not detected | EXIF Not detected | +| EXIF One chip color area | EXIF One chip color area | +| EXIF Other | EXIF Other | +| EXIF Partial | EXIF Partial | +| EXIF Program AE | EXIF Program AE | +| EXIF R | EXIF R | +| EXIF Reflection print scanner | EXIF Reflection print scanner | +| EXIF Reserved | EXIF Reserved | +| EXIF Scene landscape | EXIF Scene landscape | +| EXIF Scene portrait | EXIF Scene portrait | +| EXIF Shade | EXIF Shade | +| EXIF Shutter speed priority AE | EXIF Shutter speed priority AE | +| EXIF Spot | EXIF Spot | +| EXIF Standard | EXIF Standard | +| EXIF Standard light A | EXIF Standard light A | +| EXIF Standard light B | EXIF Standard light B | +| EXIF Standard light C | EXIF Standard light C | +| EXIF Three chip color area | EXIF Three chip color area | +| EXIF Trilinear | EXIF Trilinear | +| EXIF Tungsten | EXIF Tungsten | +| EXIF Two chip color area | EXIF Two chip color area | +| EXIF Uncalibrated | EXIF Uncalibrated | +| EXIF Unknown | EXIF Unknown | +| EXIF Unused | EXIF Unused | +| EXIF White fluorescent | EXIF White fluorescent | +| EXIF Y | EXIF Y | +| EXIF aperture value | EXIF aperture value | +| EXIF brightness value | EXIF brightness value | +| EXIF color space | EXIF color space | +| EXIF components configuration | EXIF components configuration | +| EXIF compressed bits per pixel | EXIF compressed bits per pixel | +| EXIF contrast | EXIF contrast | +| EXIF custom rendered | EXIF custom rendered | +| EXIF date time digitized | EXIF date time digitized | +| EXIF date time original | EXIF date time original | +| EXIF digital zoom ratio | EXIF digital zoom ratio | +| EXIF exposure bias value | EXIF exposure bias value | +| EXIF exposure index | EXIF exposure index | +| EXIF exposure mode | EXIF exposure mode | +| EXIF exposure program | EXIF exposure program | +| EXIF exposure time | EXIF exposure time | +| EXIF file source | EXIF file source | +| EXIF flash | EXIF flash | +| EXIF flash energy | EXIF flash energy | +| EXIF flash function present | EXIF flash function present | +| EXIF flash mode | EXIF flash mode | +| EXIF flash pix version | EXIF flash pix version | +| EXIF flash red eye reduction | EXIF flash red eye reduction | +| EXIF flash return light | EXIF flash return light | +| EXIF focal len in 35 mm film | EXIF focal lens in 35 mm film | +| EXIF focal length | EXIF focal length | +| EXIF focal plane X resolution | EXIF focal plane X resolution | +| EXIF focal plane Y resolution | EXIF focal plane Y resolution | +| EXIF focal plane resolution unit | EXIF focal plane resolution unit | +| EXIF gain control | EXIF gain control | +| EXIF gamma | EXIF gamma | +| EXIF image unique ID | EXIF image unique ID | +| EXIF light source | EXIF light source | +| EXIF maker note | EXIF maker note | +| EXIF max aperture value | EXIF max aperture value | +| EXIF metering Mode | EXIF metering mode | +| EXIF pixel X dimension | EXIF pixel X dimension | +| EXIF pixel Y dimension | EXIF pixel Y dimension | +| EXIF related sound file | EXIF related sound file | +| EXIF s RGB | EXIF s RGB | +| EXIF saturation | EXIF saturation | +| EXIF scene capture type | EXIF scene capture type | +| EXIF scene type | EXIF scene type | +| EXIF sensing method | EXIF sensing method | +| EXIF sharpness | EXIF sharpness | +| EXIF shutter speed value | EXIF shutter speed value | +| EXIF spectral sensitivity | EXIF spectral sensitivity | +| EXIF subject Distance | EXIF subject distance | +| EXIF subject area | EXIF subject area | +| EXIF subject dist range | EXIF subject dist range | +| EXIF subject location | EXIF subject location | +| EXIF user comment | EXIF user comment | +| EXIF white balance | EXIF white balance | +| Editor theme folder | Dossier des thèmes éditeur | +| Enable events disable others | Activer événements inactiver autres | +| Enable events others unchanged | Activer événements autres inchangés | +| Encoding | Encoding | +| End Key | Touche fin | +| Enter | Entrée | +| Enter Key | Touche entrée | +| Error Message | Message d’erreur | +| Escape | Échappement | +| Escape Key | Touche échappement | +| Euro | Euro | +| Event Manager | Gestionnaire d’événement | +| Excluded list | Liste exclusions | +| Execute on Client Process | Process exécuté sur client | +| Execute on Server Process | Process exécuté sur serveur | +| Executing | En exécution | +| Extended real format | Format réel étendu | +| External Task | Tâche externe | +| External window | Fenêtre externe | +| F1 Key | Touche F1 | +| F10 Key | Touche F10 | +| F11 Key | Touche F11 | +| F12 Key | Touche F12 | +| F13 Key | Touche F13 | +| F14 Key | Touche F14 | +| F15 Key | Touche F15 | +| F2 Key | Touche F2 | +| F3 Key | Touche F3 | +| F4 Key | Touche F4 | +| F5 Key | Touche F5 | +| F6 Key | Touche F6 | +| F7 Key | Touche F7 | +| F8 Key | Touche F8 | +| F9 Key | Touche F9 | +| FF ASCII code | ASCII FF | +| FS ASCII code | ASCII FS | +| Fade to grey scale | Passage en niveaux de gris | +| Fast compression mode | Méthode de compression rapide | +| Favorite fonts | Polices favorites | +| Favorites Win | Favoris Win | +| February | Février | +| Field attribute with name | Attribut champ nom | +| Field attribute with number | Attribut champ numéro | +| File name entry | Saisie nom de fichier | +| Finnish Markka | Mark finlandais | +| Flip horizontally | Miroir horizontal | +| Flip vertically | Miroir vertical | +| Floating window | Fenêtre flottante | +| Folder separator | Séparateur dossier | +| Folder separator | Séparateur dossier | +| Folder separator | Séparateur dossier | +| Fonts | Polices | +| Foreground color | Coul premier plan | +| Form Break0 | Rupture formulaire0 | +| Form Break1 | Rupture formulaire1 | +| Form Break2 | Rupture formulaire2 | +| Form Break3 | Rupture formulaire3 | +| Form Break4 | Rupture formulaire4 | +| Form Break5 | Rupture formulaire5 | +| Form Break6 | Rupture formulaire6 | +| Form Break7 | Rupture formulaire7 | +| Form Break8 | Rupture formulaire8 | +| Form Break9 | Rupture formulaire9 | +| Form Detail | Corps formulaire | +| Form Footer | Pied de page formulaire | +| Form Header | Entête formulaire | +| Form Header1 | Entête formulaire1 | +| Form Header10 | Entête formulaire10 | +| Form Header2 | Entête formulaire2 | +| Form Header3 | Entête formulaire3 | +| Form Header4 | Entête formulaire4 | +| Form Header5 | Entête formulaire5 | +| Form Header6 | Entête formulaire6 | +| Form Header7 | Entête formulaire7 | +| Form Header8 | Entête formulaire8 | +| Form Header9 | Entête formulaire9 | +| Form all pages | Form toutes les pages | +| Form current page | Form page courante | +| Form has full screen mode Mac | Form avec mode plein écran Mac | +| Form has no menu bar | Form sans barre de menus | +| Form inherited | Form hérité | +| Formula in with virtual structure | Formule entrée avec structure virtuelle | +| Formula out with tokens | Formule sortie avec tokens | +| Formula out with virtual structure | Formule sortie avec structure virtuelle | +| Four colors | Quatre couleurs | +| French Franc | Franc français | +| Friday | Vendredi | +| Full method text | Texte méthode | +| GPS 2D | GPS 2D | +| GPS 3D | GPS 3D | +| GPS Above sea level | GPS Above sea level | +| GPS Below sea level | GPS Below sea level | +| GPS Correction applied | GPS Correction applied | +| GPS Correction not applied | GPS Correction not applied | +| GPS DOP | GPS DOP | +| GPS East | GPS East | +| GPS Processing method | GPS Processing method | +| GPS Satellites | GPS Satellites | +| GPS Speed | GPS Speed | +| GPS Speed ref | GPS Speed ref | +| GPS Status | GPS Status | +| GPS Track | GPS Track | +| GPS Track ref | GPS Track ref | +| GPS Version ID | GPS Version ID | +| GPS altitude | GPS altitude | +| GPS altitude ref | GPS altitude ref | +| GPS area information | GPS area information | +| GPS date time | GPS date time | +| GPS dest bearing | GPS dest bearing | +| GPS dest bearing ref | GPS dest bearing ref | +| GPS dest distance | GPS dest distance | +| GPS dest distance ref | GPS dest distance ref | +| GPS dest latitude | GPS dest latitude | +| GPS dest latitude deg | GPS dest latitude deg | +| GPS dest latitude dir | GPS dest latitude dir | +| GPS dest latitude min | GPS dest latitude min | +| GPS dest latitude sec | GPS dest latitude sec | +| GPS dest longitude | GPS dest longitude | +| GPS dest longitude deg | GPS dest longitude deg | +| GPS dest longitude dir | GPS dest longitude dir | +| GPS dest longitude min | GPS dest longitude min | +| GPS dest longitude sec | GPS dest longitude sec | +| GPS differential | GPS differential | +| GPS img direction | GPS img direction | +| GPS img direction ref | GPS img direction ref | +| GPS km h | GPS km h | +| GPS knots h | GPS knots h | +| GPS latitude | GPS latitude | +| GPS latitude deg | GPS latitude deg | +| GPS latitude dir | GPS latitude dir | +| GPS latitude min | GPS latitude min | +| GPS latitude sec | GPS latitude sec | +| GPS longitude | GPS longitude | +| GPS longitude deg | GPS longitude deg | +| GPS longitude dir | GPS longitude dir | +| GPS longitude min | GPS longitude min | +| GPS longitude sec | GPS longitude sec | +| GPS magnetic north | GPS magnetic north | +| GPS map datum | GPS map datum | +| GPS measure mode | GPS measure mode | +| GPS measurement Interoperability | GPS measurement Interoperability | +| GPS measurement in progress | GPS measurement in progress | +| GPS miles h | GPS niles h | +| GPS north | GPS north | +| GPS south | GPS south | +| GPS true north | GPS true north | +| GPS west | GPS west | +| GS ASCII code | ASCII GS | +| GZIP best compression mode | GZIP méthode de compression compacte | +| GZIP fast compression mode | GZIP méthode de compression rapide | +| Generic PDF driver | Driver PDF générique | +| Get Pathname | Lire chemin accès | +| Get XML Data Source | Lire source données XML | +| Graph background color | Graphe couleur fond | +| Graph background opacity | Graphe opacité fond | +| Graph background shadow color | Graphe couleur ombre | +| Graph bottom margin | Graphe marge basse | +| Graph colors | Graphe couleurs | +| Graph column gap | Graphe espacement colonnes | +| Graph column width max | Graphe largeur max colonne | +| Graph column width min | Graphe largeur min colonne | +| Graph default height | Graphe hauteur par défaut | +| Graph default width | Graphe largeur par défaut | +| Graph display legend | Graphe afficher la légende | +| Graph document background color | Graphe couleur fond document | +| Graph document background opacity | Graphe opacité fond document | +| Graph font color | Graphe couleur police | +| Graph font family | Graphe famille police | +| Graph font size | Graphe taille police | +| Graph left margin | Graphe marge gauche | +| Graph legend font color | Graphe couleur police légende | +| Graph legend icon gap | Graphe espacement icônes légende | +| Graph legend icon height | Graphe hauteur icônes légende | +| Graph legend icon width | Graphe largeur icônes légende | +| Graph legend labels | Graphe libellés légende | +| Graph line width | Graphe épaisseur des lignes | +| Graph number format | Graphe format des nombres | +| Graph pie direction | Graphe direction secteurs | +| Graph pie font size | Graphe taille police des secteurs | +| Graph pie shift | Graphe décalage secteurs | +| Graph pie start angle | Graphe angle départ secteurs | +| Graph plot height | Graphe hauteur des points | +| Graph plot radius | Graphe rayon des points | +| Graph plot width | Graphe largeur des points | +| Graph right margin | Graphe marge droite | +| Graph top margin | Graphe marge haute | +| Graph type | Graphe type | +| Graph xGrid | Graphe xGrille | +| Graph xMax | Graphe xMax | +| Graph xMin | Graphe xMin | +| Graph xProp | Graphe xProp | +| Graph yGrid | Graphe yGrille | +| Graph yMax | Graphe yMax | +| Graph yMin | Graphe yMin | +| Greek Drachma | Drachme grecque | +| Green | Vert | +| Grey | Gris | +| HH MM | h mn | +| HH MM AM PM | h mn Matin Après Midi | +| HH MM SS | h mn s | +| HT ASCII code | ASCII HT | +| HTML Root Folder | Dossier racine HTML | +| HTTP Client log file | Fichier log HTTP Client | +| HTTP Compression Level | Niveau de compression HTTP | +| HTTP Compression Threshold | Seuil de compression HTTP | +| HTTP DELETE method | HTTP méthode DELETE | +| HTTP GET method | HTTP méthode GET | +| HTTP HEAD method | HTTP méthode HEAD | +| HTTP Listener | Process HTTP Listener | +| HTTP Log flusher | Process HTTP Ecriture historique | +| HTTP OPTIONS method | HTTP méthode OPTIONS | +| HTTP POST method | HTTP méthode POST | +| HTTP PUT method | HTTP méthode PUT | +| HTTP TRACE method | HTTP méthode TRACE | +| HTTP Worker pool server | Process HTTP Worker pool serveur | +| HTTP basic | HTTP basic | +| HTTP client log | HTTP client log | +| HTTP compression | HTTP compression | +| HTTP debug log file | Fichier log débogage HTTP | +| HTTP digest | HTTP digest | +| HTTP disable log | HTTP désactiver log | +| HTTP display auth dial | HTTP afficher dial auth | +| HTTP enable log with all body parts | HTTP activer log avec tous body | +| HTTP enable log with request body | HTTP activer log avec body request | +| HTTP enable log with response body | HTTP activer log avec body response | +| HTTP enable log without body | HTTP activer log sans body | +| HTTP follow redirect | HTTP suivre redirection | +| HTTP log file | Fichier log HTTP | +| HTTP max redirect | HTTP redirections max | +| HTTP reset auth settings | HTTP effacer infos auth | +| HTTP timeout | HTTP timeout | +| HTTPS port ID | Numéro de port HTTPS | +| Has full screen mode Mac | Avec mode plein écran Mac | +| Has grow box | Avec case de contrôle de taille | +| Has highlight | Avec barre de titre active | +| Has window title | Avec titre de fenêtre | +| Has zoom box | Avec case de zoom | +| Help Key | Touche aide | +| Highlight menu background color | Coul fond ligne menu sélect | +| Highlight menu text color | Coul texte ligne menu sélect | +| Highlight text background color | Coul de fond texte sélect | +| Highlight text color | Coul texte sélect | +| Highlighted method text | Texte méthode surligné | +| Home Key | Touche début | +| Home folder | Dossier personnel | +| Horizontal concatenation | Concaténation horizontale | +| Horizontally Centered | Centrée horizontalement | +| Hour Min Sec | Heures minutes secondes | +| Hour min | Heures minutes | +| IMAP Log | IMAP Enreg historique | +| IMAP all | IMAP all | +| IMAP authentication CRAM MD5 | IMAP authentication CRAM MD5 | +| IMAP authentication OAUTH2 | IMAP authentication OAUTH2 | +| IMAP authentication login | IMAP authentication login | +| IMAP authentication plain | IMAP authentication plain | +| IMAP log file | Fichier log IMAP | +| IMAP read only state | IMAP read only state | +| IMAP read write state | IMAP read write state | +| IPTC Byline | IPTC Byline | +| IPTC Byline title | IPTC Byline title | +| IPTC Date time created | IPTC date time created | +| IPTC Digital creation date time | IPTC digital creation date time | +| IPTC Image orientation | IPTC Image orientation | +| IPTC Image type | IPTC Image type | +| IPTC Keywords | IPTC Keywords | +| IPTC Language identifier | IPTC Language identifier | +| IPTC Object Attribute reference | IPTC Object attribute reference | +| IPTC Object cycle | IPTC Object cycle | +| IPTC Object name | IPTC Object name | +| IPTC Original transmission reference | IPTC Original transmission reference | +| IPTC Originating program | IPTC Originating program | +| IPTC Release date time | IPTC Release date time | +| IPTC Urgency | IPTC Urgency | +| IPTC Writer editor | IPTC Writer editor | +| IPTC action | IPTC action | +| IPTC aerial view | IPTC aerial view | +| IPTC caption abstract | IPTC caption abstract | +| IPTC category | IPTC category | +| IPTC city | IPTC city | +| IPTC close up | IPTC close up | +| IPTC contact | IPTC contact | +| IPTC content location code | IPTC content location code | +| IPTC content location name | IPTC content location name | +| IPTC copyright notice | IPTC copyright notice | +| IPTC country primary location code | IPTC country primary location code | +| IPTC country primary location name | IPTC country primary location name | +| IPTC couple | IPTC couple | +| IPTC credit | IPTC credit | +| IPTC edit status | IPTC edit status | +| IPTC expiration date time | IPTC expiration date time | +| IPTC exterior view | IPTC exterior view | +| IPTC fixture identifier | IPTC fixture identifier | +| IPTC full length | IPTC full length | +| IPTC general view | IPTC general view | +| IPTC group | IPTC group | +| IPTC half length | IPTC half length | +| IPTC headline | IPTC headline | +| IPTC headshot | IPTC headshot | +| IPTC interior view | IPTC interior view | +| IPTC movie scene | IPTC movie scene | +| IPTC night scene | IPTC night scene | +| IPTC off beat | IPTC off beat | +| IPTC panoramic view | IPTC panoramic view | +| IPTC performing | IPTC performing | +| IPTC posing | IPTC posing | +| IPTC profile | IPTC profile | +| IPTC program version | IPTC program version | +| IPTC province state | IPTC province state | +| IPTC rear view | IPTC rear view | +| IPTC satellite | IPTC satellite | +| IPTC scene | IPTC scene | +| IPTC single | IPTC single | +| IPTC source | IPTC source | +| IPTC special instructions | IPTC special instructions | +| IPTC star rating | IPTC star rating | +| IPTC sub Location | IPTC sub location | +| IPTC subject reference | IPTC subject reference | +| IPTC supplemental category | IPTC supplemental category | +| IPTC symbolic | IPTC symbolic | +| IPTC two | IPTC two | +| IPTC under water | IPTC under water | +| ISO L1 Ampersand | ISO L1 Et commercial | +| ISO L1 Cap A acute | ISO L1 A majus aigu | +| ISO L1 Cap A circumflex | ISO L1 A majus circonflexe | +| ISO L1 Cap A grave | ISO L1 A majus grave | +| ISO L1 Cap A ring | ISO L1 A majus rond | +| ISO L1 Cap A tilde | ISO L1 A majus tilde | +| ISO L1 Cap A umlaut | ISO L1 A majus umlaut | +| ISO L1 Cap AE ligature | ISO L1 AE majus ligature | +| ISO L1 Cap C cedilla | ISO L1 C majus cédille | +| ISO L1 Cap E acute | ISO L1 E majus aigu | +| ISO L1 Cap E circumflex | ISO L1 E majus circonflexe | +| ISO L1 Cap E grave | ISO L1 E majus grave | +| ISO L1 Cap E umlaut | ISO L1 E majus umlaut | +| ISO L1 Cap Eth Icelandic | ISO L1 Eth majus islandais | +| ISO L1 Cap I acute | ISO L1 I majus aigu | +| ISO L1 Cap I circumflex | ISO L1 I majus circonflexe | +| ISO L1 Cap I grave | ISO L1 I majus grave | +| ISO L1 Cap I umlaut | ISO L1 I majus umlaut | +| ISO L1 Cap N tilde | ISO L1 N majus tilde | +| ISO L1 Cap O acute | ISO L1 O majus aigu | +| ISO L1 Cap O circumflex | ISO L1 O majus circonflexe | +| ISO L1 Cap O grave | ISO L1 O majus grave | +| ISO L1 Cap O slash | ISO L1 O majus barré | +| ISO L1 Cap O tilde | ISO L1 O majus tilde | +| ISO L1 Cap O umlaut | ISO L1 O majus umlaut | +| ISO L1 Cap THORN Icelandic | ISO L1 THORN majus islandais | +| ISO L1 Cap U acute | ISO L1 U majus aigu | +| ISO L1 Cap U circumflex | ISO L1 U majus circonflexe | +| ISO L1 Cap U grave | ISO L1 U majus grave | +| ISO L1 Cap U umlaut | ISO L1 U majus umlaut | +| ISO L1 Cap Y acute | ISO L1 Y majus aigu | +| ISO L1 Copyright | ISO L1 Copyright | +| ISO L1 Greater than | ISO L1 Supérieur à | +| ISO L1 Less than | ISO L1 Inférieur à | +| ISO L1 Quotation mark | ISO L1 Guillemets | +| ISO L1 Registered | ISO L1 Marque déposée | +| ISO L1 a acute | ISO L1 a aigu | +| ISO L1 a circumflex | ISO L1 a circonflexe | +| ISO L1 a grave | ISO L1 a grave | +| ISO L1 a ring | ISO L1 a rond | +| ISO L1 a tilde | ISO L1 a tilde | +| ISO L1 a umlaut | ISO L1 a umlaut | +| ISO L1 ae ligature | ISO L1 ae ligature | +| ISO L1 c cedilla | ISO L1 c cédille | +| ISO L1 e acute | ISO L1 e aigu | +| ISO L1 e circumflex | ISO L1 e circonflexe | +| ISO L1 e grave | ISO L1 e grave | +| ISO L1 e umlaut | ISO L1 e umlaut | +| ISO L1 eth Icelandic | ISO L1 eth islandais | +| ISO L1 i acute | ISO L1 i aigu | +| ISO L1 i circumflex | ISO L1 i circonflexe | +| ISO L1 i grave | ISO L1 i grave | +| ISO L1 i umlaut | ISO L1 i umlaut | +| ISO L1 n tilde | ISO L1 n tilde | +| ISO L1 o acute | ISO L1 o aigu | +| ISO L1 o circumflex | ISO L1 o circonflexe | +| ISO L1 o grave | ISO L1 o grave | +| ISO L1 o slash | ISO L1 o barré | +| ISO L1 o tilde | ISO L1 o tilde | +| ISO L1 o umlaut | ISO L1 o umlaut | +| ISO L1 sharp s German | ISO L1 s Es zett allemand | +| ISO L1 thorn Icelandic | ISO L1 thorn islandais | +| ISO L1 u acute | ISO L1 u aigu | +| ISO L1 u circumflex | ISO L1 u circonflexe | +| ISO L1 u grave | ISO L1 u grave | +| ISO L1 u umlaut | ISO L1 u umlaut | +| ISO L1 y acute | ISO L1 y aigu | +| ISO L1 y umlaut | ISO L1 y umlaut | +| ISO date | ISO date | +| ISO date GMT | ISO date GMT | +| ISO time | ISO heure | +| Idle Connections Timeout | Timeout connexions inactives | +| Ignore invisible | Ignorer invisibles | +| In contents | Dans zone contenu | +| Indexing Process | Gestionnaire d’index | +| Indicator Asynchronous progress bar | Indicateur de progression asynchrone | +| Indicator Barber shop | Indicateur Barber shop | +| Indicator Progress bar | Indicateur Barre de progression | +| Information Message | Message d’information | +| Integer array | Est un tableau entier | +| Intel Compatible | Compatible Intel | +| Internal 4D Server Process | Process 4D Server interne | +| Internal 4D localization | Langue interne 4D | +| Internal Timer Process | Process minuteur interne | +| Internal date abbreviated | Interne date abrégé | +| Internal date long | Interne date long | +| Internal date short | Interne date court | +| Internal date short special | Interne date court spécial | +| Into 4D Commands Log | Vers historique commandes 4D | +| Into 4D Debug Message | Vers message débogage | +| Into 4D Diagnostic Log | Vers historique diagnostic | +| Into 4D Request Log | Vers historique requêtes 4D | +| Into Windows Log Events | Vers observateur Windows | +| Into current selection | Vers sélection courante | +| Into named selection | Vers sélection temporaire | +| Into set | Vers ensemble | +| Into system standard outputs | Vers sorties standard système | +| Into variable | Vers variable | +| Irish Pound | Livre irlandaise | +| Is Alpha Field | Est un champ alpha | +| Is BLOB | Est un BLOB | +| Is DOM reference | Est une référence DOM | +| Is Date | Est une date | +| Is Integer | Est un entier | +| Is Integer 64 bits | Est un entier 64 bits | +| Is LongInt | Est un entier long | +| Is Picture | Est une image | +| Is Pointer | Est un pointeur | +| Is Real | Est un numérique | +| Is String Var | Est une variable chaîne | +| Is Subtable | Est une sous table | +| Is Text | Est un texte | +| Is Time | Est une heure | +| Is Undefined | Est une variable indéfinie | +| Is XML | Est un XML | +| Is a document | Est un document | +| Is a folder | Est un dossier | +| Is boolean | Est un booléen | +| Is collection | Est une collection | +| Is color | Est en couleurs | +| Is current database a project | Base courante est projet | +| Is gray scale | Est en niveaux de gris | +| Is host database a project | Base hôte est projet | +| Is host database writable | Base hôte est en écriture | +| Is not compressed | Non compressé | +| Is null | Est un null | +| Is object | Est un objet | +| Is variant | Est un variant | +| Italian Lira | Lire italienne | +| Italic | Italique | +| Italic and Underline | Italique et souligné | +| January | Janvier | +| July | Juillet | +| June | Juin | +| Key down event | Touche enfoncée | +| Key up event | Touche relâchée | +| Keywords Index | Index de mots clés | +| LDAP all levels | LDAP tous niveaux | +| LDAP clear password | LDAP mot de passe en clair | +| LDAP digest MD5 password | LDAP mot de passe en digest MD5 | +| LDAP root and next | LDAP racine et suivant | +| LDAP root only | LDAP racine uniquement | +| LF ASCII code | ASCII LF | +| Last Backup Date | Date dernière sauvegarde | +| Last Backup Status | Statut dernière sauvegarde | +| Last Backup information | Information dernière sauvegarde | +| Last Restore Date | Date dernière restitution | +| Last Restore Status | Statut dernière restitution | +| Last backup file | Fichier dernière sauvegarde | +| Last journal integration log file | Fichier dernière intégration historique | +| Left Arrow Key | Touche gauche | +| Legacy printing layer option | Option ancienne couche impression | +| Libldap version | Version Libldap | +| Libsasl version | Version Libsasl | +| Libzip version | Version Libzip | +| Licenses Folder | Dossier Licenses | +| Light Blue | Bleu clair | +| Light Grey | Gris clair | +| Light shadow color | Coul claire | +| Line feed | Retour à la ligne | +| Locked resource bit | Bit ressource verrouillée | +| Locked resource mask | Masque ressource verrouillée | +| Log Command list | Liste commandes enreg | +| Log File Process | Process du fichier d’historique | +| Log debug | Log débogue | +| Log error | Log erreur | +| Log info | Log info | +| Log trace | Log trace | +| Log warn | Log avertissement | +| Logger process | Process Logger | +| Logs Folder | Dossier Logs | +| LongInt array | Est un tableau entierlong | +| Luxembourg Franc | Franc luxembourgeois | +| MAXINT | MAXENT | +| MAXLONG | MAXLONG | +| MAXTEXTLENBEFOREV11 | MAXLONGTEXTEAVANTV11 | +| MD5 digest | Digest MD5 | +| MM SS | mn s | +| MSC Process | Process CSM | +| Mac C string | Mac chaîne en C | +| Mac OS | Mac OS | +| Mac Pascal string | Mac chaîne pascal | +| Mac spool file format option | Option mode impression Mac | +| Mac text with length | Mac texte avec longueur | +| Mac text without length | Mac texte sans longueur | +| MacOS Printer Port | Port imprimante MacOS | +| MacOS Serial Port | Port série MacOS | +| Macintosh byte ordering | Ordre octets Macintosh | +| Macintosh double real format | Format réel double Macintosh | +| Main 4D process | Process principal 4D | +| Main Process | Process principal | +| Manual | Manuel | +| March | Mars | +| Max Concurrent Web Processes | Process Web simultanés maxi | +| Maximum Web requests size | Taille maximum requêtes Web | +| May | Mai | +| Merged application | Application fusionnée | +| Method editor macro Process | Process macro éditeur de méthod | +| Millions of colors 24 bit | Millions de couleurs 24 bits | +| Millions of colors 32 bit | Millions de couleurs 32 bits | +| Min Sec | Minutes secondes | +| Min TLS version | Min version TLS | +| MobileApps folder | Dossier MobileApps | +| Modal dialog | Fenêtre modale | +| Modal dialog box | Dialogue modal | +| Modal form dialog box | Form dialogue modal | +| Monday | Lundi | +| Monitor Process | Process d’activité | +| Mouse button bit | Bit bouton souris | +| Mouse button mask | Masque bouton souris | +| Mouse down event | Bouton souris enfoncé | +| Mouse up event | Bouton souris relâché | +| Movable dialog box | Dialogue modal déplaçable | +| Movable form dialog box | Form dialogue modal déplaçable | +| Movable form dialog box no title | Form dialogue modal déplaçable sans titre | +| Move to Replaced files folder | Déplacer dans Replaced files | +| Multiline Auto | Multiligne Auto | +| Multiline No | Multiligne Non | +| Multiline Yes | Multiligne Oui | +| Multiple Selection | Sélection multiple | +| Multiple files | Fichiers multiples | +| NAK ASCII code | ASCII NAK | +| NBSP ASCII CODE | ASCII Espace insécable | +| NUL ASCII code | ASCII NUL | +| Native byte ordering | Ordre octets natif | +| Native real format | Format réel natif | +| Netherlands Guilder | Florin néerlandais | +| New file | Nouveau fichier | +| New file dialog | Dialogue nouveau fichier | +| New record | Est un nouvel enregistrement | +| Next Backup Date | Date prochaine sauvegarde | +| No Selection | Pas de sélection | +| No current record | Aucun enregistrement courant | +| No relation | Pas de lien | +| No such data in pasteboard | Données absentes conteneur | +| None | Aucun | +| Normal | Normal | +| November | Novembre | +| Null event | Evénement nul | +| Number of copies option | Option nombre copies | +| Number of formulas in cache | Nombre de formules en cache | +| Object First in entry order | Objet Premier ordre saisie | +| Object array | Est un tableau objet | +| Object current | Objet courant | +| Object named | Objet nommé | +| Object subform container | Objet conteneur sous formulaire | +| Object type 3D button | Objet type bouton 3D | +| Object type 3D checkbox | Objet type case à cocher 3D | +| Object type 3D radio button | Objet type bouton radio 3D | +| Object type button grid | Objet type grille de boutons | +| Object type checkbox | Objet type case à cocher | +| Object type combobox | Objet type combobox | +| Object type dial | Objet type cadran | +| Object type group | Objet type groupe | +| Object type groupbox | Objet type zone de groupe | +| Object type hierarchical list | Objet type liste hiérarchique | +| Object type hierarchical popup menu | Objet type menu déroulant hiérarchique | +| Object type highlight button | Objet type bouton inversé | +| Object type invisible button | Objet type bouton invisible | +| Object type line | Objet type ligne | +| Object type listbox | Objet type listbox | +| Object type listbox column | Objet type listbox colonne | +| Object type listbox footer | Objet type listbox pied | +| Object type listbox header | Objet type listbox entête | +| Object type matrix | Objet type matrice | +| Object type oval | Objet type ovale | +| Object type picture button | Objet type bouton image | +| Object type picture input | Objet type saisie image | +| Object type picture popup menu | Objet type popup menu image | +| Object type picture radio button | Objet type bouton radio image | +| Object type plugin area | Objet type zone plug in | +| Object type popup dropdown list | Objet type popup liste déroulante | +| Object type progress indicator | Objet type indicateur de progression | +| Object type push button | Objet type bouton poussoir | +| Object type radio button | Objet type bouton radio | +| Object type radio button field | Objet type champ radio bouton | +| Object type rectangle | Objet type rectangle | +| Object type rounded rectangle | Objet type rectangle arrondi | +| Object type ruler | Objet type règle | +| Object type splitter | Objet type séparateur | +| Object type static picture | Objet type image statique | +| Object type static text | Objet type texte statique | +| Object type subform | Objet type sous formulaire | +| Object type tab control | Objet type onglet | +| Object type text input | Objet type saisie texte | +| Object type unknown | Objet type inconnu | +| Object type view pro area | Objet type zone view pro | +| Object type web area | Objet type zone web | +| Object type write pro area | Objet type zone write pro | +| Object with focus | Objet avec focus | +| October | Octobre | +| On Activate | Sur activation | +| On After Edit | Sur après modification | +| On After Keystroke | Sur après frappe clavier | +| On After Sort | Sur après tri | +| On Alternative Click | Sur clic alternatif | +| On Background | Sur fond | +| On Before Data Entry | Sur avant saisie | +| On Before Keystroke | Sur avant frappe clavier | +| On Begin Drag Over | Sur début glisser | +| On Begin URL Loading | Sur début chargement URL | +| On Bound Variable Change | Sur modif variable liée | +| On Clicked | Sur clic | +| On Close Box | Sur case de fermeture | +| On Close Detail | Sur fermeture corps | +| On Collapse | Sur contracter | +| On Column Moved | Sur déplacement colonne | +| On Column Resize | Sur redimensionnement colonne | +| On Data Change | Sur données modifiées | +| On Deactivate | Sur désactivation | +| On Delete Action | Sur action suppression | +| On Deleting Record Event | Sur suppression enregistrement | +| On Display Detail | Sur affichage corps | +| On Double Clicked | Sur double clic | +| On Drag Over | Sur glisser | +| On Drop | Sur déposer | +| On End URL Loading | Sur fin chargement URL | +| On Exit Process | Process sur fermeture | +| On Expand | Sur déployer | +| On Footer Click | Sur clic pied | +| On Getting Focus | Sur gain focus | +| On Header | Sur entête | +| On Header Click | Sur clic entête | +| On Load | Sur chargement | +| On Load Record | Sur chargement ligne | +| On Long Click | Sur clic long | +| On Losing Focus | Sur perte focus | +| On Menu Selected | Sur menu sélectionné | +| On Mouse Enter | Sur début survol | +| On Mouse Leave | Sur fin survol | +| On Mouse Move | Sur survol | +| On Mouse Up | Sur relâchement bouton | +| On Open Detail | Sur ouverture corps | +| On Open External Link | Sur ouverture lien externe | +| On Outside Call | Sur appel extérieur | +| On Page Change | Sur changement de page | +| On Plug in Area | Sur appel zone du plug in | +| On Printing Break | Sur impression sous total | +| On Printing Detail | Sur impression corps | +| On Printing Footer | Sur impression pied de page | +| On Resize | Sur redimensionnement | +| On Row Moved | Sur déplacement ligne | +| On Row Resize | Sur redimensionnement ligne | +| On Saving Existing Record Event | Sur sauvegarde enregistrement | +| On Saving New Record Event | Sur sauvegarde nouvel enreg | +| On Scroll | Sur défilement | +| On Selection Change | Sur nouvelle sélection | +| On Timer | Sur minuteur | +| On URL Filtering | Sur filtrage URL | +| On URL Loading Error | Sur erreur chargement URL | +| On URL Resource Loading | Sur chargement ressource URL | +| On Unload | Sur libération | +| On VP Range Changed | Sur VP plage changée | +| On VP Ready | Sur VP prêt | +| On Validate | Sur validation | +| On Window Opening Denied | Sur refus ouverture fenêtre | +| On after host database exit | Sur après fermeture base hôte | +| On after host database startup | Sur après ouverture base hôte | +| On application background move | Sur passage arrière plan | +| On application foreground move | Sur passage premier plan | +| On before host database exit | Sur avant fermeture base hôte | +| On before host database startup | Sur avant ouverture base hôte | +| On object locked abort | Sur objet verrouillé abandonner | +| On object locked confirm | Sur objet verrouillé confirmer | +| On object locked retry | Sur objet verrouillé réessayer | +| On the Left | À gauche | +| On the Right | À droite | +| OpenSSL version | Version OpenSSL | +| Operating system event | Evénement système | +| Option key bit | Bit touche option | +| Option key mask | Masque touche option | +| Orange | Orange | +| Order By Formula On Server | Trier par formule serveur | +| Orientation 0° | Orientation 0° | +| Orientation 180° | Orientation 180° | +| Orientation 90° left | Orientation 90° gauche | +| Orientation 90° right | Orientation 90° droite | +| Orientation option | Option orientation | +| Other 4D Process | Autre process 4D | +| Other User Process | Autre process utilisateur | +| Other internal process | Autre process interne | +| Own XML Data Source | Posséder source données XML | +| PC byte ordering | Ordre octets PC | +| PC double real format | Format réel double PC | +| PHP Raw result | PHP résultat brut | +| PHP interpreter IP address | PHP adresse IP interpréteur | +| PHP interpreter port | PHP port interpréteur | +| POP3 Log | POP3 Enreg historique | +| POP3 authentication APOP | POP3 authentification APOP | +| POP3 authentication CRAM MD5 | POP3 authentification CRAM MD5 | +| POP3 authentication OAUTH2 | POP3 authentication OAUTH2 | +| POP3 authentication login | POP3 authentification login | +| POP3 authentication plain | POP3 authentification simple | +| POP3 authentication user | POP3 authentication user | +| POP3 log file | Fichier log POP3 | +| PUBLIC ID | ID PUBLIC | +| Package open | Ouverture progiciel | +| Package selection | Sélection progiciel | +| Page Down Key | Touche page suivante | +| Page Up Key | Touche page précédente | +| Page range option | Option intervalle de page | +| Page setup dialog | Dialogue de format impression | +| Palette form window | Form fenêtre palette | +| Palette window | Fenêtre palette | +| Paper option | Option papier | +| Paper source option | Option alimentation | +| Parity Even | Parité paire | +| Parity None | Pas de parité | +| Parity Odd | Parité impaire | +| Path All objects | Chemin tous les objets | +| Path Database method | Chemin méthode base | +| Path Project form | Chemin formulaire projet | +| Path Project method | Chemin méthode projet | +| Path Table form | Chemin formulaire table | +| Path Trigger | Chemin trigger | +| Path class | Chemin classe | +| Path is POSIX | Chemin est POSIX | +| Path is system | Chemin est système | +| Pause logging | Pause journaux | +| Paused | Suspendu | +| Period | Point | +| Pi | Pi | +| Picture Document | Document image | +| Picture array | Est un tableau image | +| Picture data | Données image | +| Plain | Normal | +| Plain dialog box | Dialogue simple | +| Plain fixed size window | Fenêtre standard de taille fixe | +| Plain form window | Form fenêtre standard | +| Plain form window no title | Form fenêtre standard sans titre | +| Plain no zoom box window | Fenêtre standard sans zoom | +| Plain window | Fenêtre standard | +| Pointer array | Est un tableau pointeur | +| Pop up form window | Form fenêtre pop up | +| Pop up window | Fenêtre pop up | +| Port ID | Numéro du port | +| Portuguese Escudo | Escudo portugais | +| Posix path | Chemin POSIX | +| Power PC | Power PC | +| Preloaded resource bit | Bit ressource préchargée | +| Preloaded resource mask | Masque ressource préchargée | +| Print Frame fixed with multiple records | Impression limitée avec report | +| Print Frame fixed with truncation | Impression limitée par le cadre | +| Print dialog | Dialogue impression | +| Print preview option | Option aperçu avant impression | +| Processes and sessions | Process et sessions | +| Processes only | Process seulement | +| Protected resource bit | Bit ressource protégée | +| Protected resource mask | Masque ressource protégée | +| Protocol DTR | Protocole DTR | +| Protocol None | Protocole Aucun | +| Protocol XONXOFF | Protocole XONXOFF | +| Purgeable resource bit | Bit ressource purgeable | +| Purgeable resource mask | Masque ressource purgeable | +| Purple | Violet | +| Query by formula joins | Jointures chercher par formule | +| Query by formula on server | Chercher par formule serveur | +| Quote | Apostrophe | +| RDP Optimization | Optimisation RDP | +| RS ASCII code | ASCII RS | +| Radian | Radian | +| Read Mode | Mode lecture | +| Read and Write | Lecture et écriture | +| Real array | Est un tableau numérique | +| Recent fonts | Polices récentes | +| Recursive parsing | Chemin récursif | +| Red | Rouge | +| Redim horizontal grow | Redim horizontal agrandir | +| Redim horizontal move | Redim horizontal déplacer | +| Redim vertical grow | Redim vertical agrandir | +| Redim vertical move | Redim vertical déplacer | +| Redim vertical none | Redim vertical aucun | +| Regular window | Fenêtre normale | +| Remote connection sleep timeout | Timeout mise en veille connexion à distance | +| Renumber records | Renuméroter les enregistrements | +| Repair log file | Fichier log réparation | +| Replicated | Mosaïque | +| Request log file | Fichier log requêtes | +| Required list | Liste obligations | +| Reset | Réinitialisation | +| Resizable sheet window | Fenêtre feuille redim | +| Resize horizontal none | Redim horizontal aucun | +| Restore Process | Process de restitution | +| ReturnKey | Touche retour chariot | +| Right Arrow Key | Touche droite | +| Right control key bit | Bit touche contrôle droite | +| Right control key mask | Masque touche contrôle droite | +| Right option key bit | Bit touche option droite | +| Right option key mask | Masque touche option droite | +| Right shift key bit | Bit touche majuscule droite | +| Right shift key mask | Masque touche majuscule droite | +| Round corner window | Fenêtre à coins arrondis | +| SHA1 digest | Digest SHA1 | +| SHA256 digest | Digest SHA256 | +| SHA512 digest | Digest SHA512 | +| SI ASCII code | ASCII SI | +| SMTP Log | SMTP Enreg historique | +| SMTP authentication CRAM MD5 | SMTP authentification CRAM MD5 | +| SMTP authentication OAUTH2 | SMTP authentication OAUTH2 | +| SMTP authentication login | SMTP authentification login | +| SMTP authentication plain | SMTP authentification simple | +| SMTP log file | Fichier log SMTP | +| SO ASCII code | ASCII SO | +| SOAP Client Fault | SOAP erreur client | +| SOAP Input | SOAP entrée | +| SOAP Method Name | SOAP nom méthode | +| SOAP Output | SOAP sortie | +| SOAP Process | Process SOAP | +| SOAP Server Fault | SOAP erreur serveur | +| SOAP Service Name | SOAP nom service | +| SOH ASCII code | ASCII SOH | +| SP ASCII code | ASCII SP | +| SQL All Records | SQL tous les enregistrements | +| SQL Asynchronous | SQL asynchrone | +| SQL Charset | SQL jeu de caractères | +| SQL Connection Time Out | SQL timeout connexion | +| SQL Listener | Process SQL Listener | +| SQL Max Data Length | SQL longueur maxi données | +| SQL Max Rows | SQL nombre maxi lignes | +| SQL Method Execution Process | Process exécution méthode SQL | +| SQL Net Session manager | Gestionnaire de session SQL Net | +| SQL On error abort | SQL abandonner si erreur | +| SQL On error confirm | SQL confirmer si erreur | +| SQL On error continue | SQL continuer si erreur | +| SQL Param In | SQL paramètre entrée | +| SQL Param In Out | SQL paramètre entrée sortie | +| SQL Param Out | SQL paramètre sortie | +| SQL Param Set Size | SQL paramètre fixer taille | +| SQL Query Time Out | SQL timeout requête | +| SQL Server Port ID | Numéro de port Serveur SQL | +| SQL Use Access Rights | SQL utiliser les droits d’accès | +| SQL Worker pool server | Process SQL Worker pool serveur | +| SQL autocommit | SQL autocommit | +| SQL data chunk size | SQL taille fragment données | +| SQL engine case Sensitivity | Casse caractères moteur SQL | +| SQL_INTERNAL | SQL_INTERNAL | +| SSL cipher List | Liste de chiffrement SSL | +| ST 4D Expressions as sources | ST Expressions 4D comme sources | +| ST 4D Expressions as values | ST Expressions 4D comme valeurs | +| ST End highlight | ST Fin sélection | +| ST End text | ST Fin texte | +| ST Expression type | ST Type expression | +| ST Expressions display mode | ST Mode affichage expressions | +| ST Mixed type | ST Type mixte | +| ST Picture type | ST Type image | +| ST Plain type | ST Type brut | +| ST References | ST Références | +| ST References as spaces | ST Références comme espaces | +| ST Start highlight | ST Début sélection | +| ST Start text | ST Début texte | +| ST Tags as XML code | ST Balises comme code XML | +| ST Tags as plain text | ST Balises comme texte brut | +| ST Text displayed with 4D Expression sources | ST Texte visible avec Expressions 4D comme sources | +| ST Text displayed with 4D Expression values | ST Texte visible avec Expressions 4D comme valeurs | +| ST URL as labels | ST URL comme libellés | +| ST URL as links | ST URL comme liens | +| ST Unknown tag type | ST Type balise inconnue | +| ST Url type | ST Type URL | +| ST User links as labels | ST Liens utilisateur comme libellés | +| ST User links as links | ST Liens utilisateur comme liens | +| ST User type | ST Type utilisateur | +| ST Values | ST Valeurs | +| STX ASCII code | ASCII STX | +| SUB ASCII code | ASCII SUB | +| SYN ASCII code | ASCII SYN | +| SYSTEM ID | ID SYSTEM | +| Saturday | Samedi | +| Scale | Redimensionnement | +| Scale option | Option échelle | +| Scaled to Fit | Non tronquée | +| Scaled to fit prop centered | Proportionnelle centrée | +| Scaled to fit proportional | Proportionnelle | +| Screen size | Taille écran | +| Screen work area | Zone de travail | +| September | Septembre | +| Serial Port Manager | Gestionnaire du port série | +| Server Base Process Stack Size | Taille pile process base server | +| Server Interface Process | Process interface serveur | +| ServerNet Listener | Process ServerNet Listener | +| ServerNet Session manager | Gestionnaire de session ServerNet | +| Sessions only | Sessions seulement | +| Sheet form window | Form fenêtre feuille | +| Sheet window | Fenêtre feuille | +| Shift key bit | Bit touche majuscule | +| Shift key mask | Masque touche majuscule | +| Short date day position | Position jour date courte | +| Short date month position | Position mois date courte | +| Short date year position | Position année date courte | +| Shortcut with Backspace | Raccourci avec Effacement Arrière | +| Shortcut with Carriage Return | Raccourci avec Retour Charriot | +| Shortcut with Delete | Raccourci avec Suppression | +| Shortcut with Down Arrow | Raccourci avec Flèche bas | +| Shortcut with End | Raccourci avec Fin | +| Shortcut with Enter | Raccourci avec Entrée | +| Shortcut with Escape | Raccourci avec Echappement | +| Shortcut with F1 | Raccourci avec F1 | +| Shortcut with F10 | Raccourci avec F10 | +| Shortcut with F11 | Raccourci avec F11 | +| Shortcut with F12 | Raccourci avec F12 | +| Shortcut with F13 | Raccourci avec F13 | +| Shortcut with F14 | Raccourci avec F14 | +| Shortcut with F15 | Raccourci avec F15 | +| Shortcut with F2 | Raccourci avec F2 | +| Shortcut with F3 | Raccourci avec F3 | +| Shortcut with F4 | Raccourci avec F4 | +| Shortcut with F5 | Raccourci avec F5 | +| Shortcut with F6 | Raccourci avec F6 | +| Shortcut with F7 | Raccourci avec F7 | +| Shortcut with F8 | Raccourci avec F8 | +| Shortcut with F9 | Raccourci avec F9 | +| Shortcut with Help | Raccourci avec Aide | +| Shortcut with Home | Raccourci avec Début | +| Shortcut with Left Arrow | Raccourci avec Flèche gauche | +| Shortcut with Page Down | Raccourci avec Page suiv | +| Shortcut with Page Up | Raccourci avec Page préc | +| Shortcut with Right Arrow | Raccourci avec Flèche droite | +| Shortcut with Tabulation | Raccourci avec Tabulation | +| Shortcut with Up Arrow | Raccourci avec Flèche haut | +| Single Selection | Sélection unique | +| Sixteen colors | Seize couleurs | +| Space | Espacement | +| Spanish Peseta | Peseta espagnole | +| Speed 115200 | Vitesse 115200 | +| Speed 1200 | Vitesse 1200 | +| Speed 1800 | Vitesse 1800 | +| Speed 19200 | Vitesse 19200 | +| Speed 230400 | Vitesse 230400 | +| Speed 2400 | Vitesse 2400 | +| Speed 300 | Vitesse 300 | +| Speed 3600 | Vitesse 3600 | +| Speed 4800 | Vitesse 4800 | +| Speed 57600 | Vitesse 57600 | +| Speed 600 | Vitesse 600 | +| Speed 7200 | Vitesse 7200 | +| Speed 9600 | Vitesse 9600 | +| Spellchecker | Correcteur orthographique | +| Spooler document name option | Option nom document à imprimer | +| Standard BTree Index | Index BTree standard | +| Start Menu Win_All | Menu Démarrer Win_Tous | +| Start Menu Win_User | Menu Démarrer Win | +| Start a New Process | Démarrer un process | +| Startup Win_All | Démarrage Win_Tous | +| Startup Win_User | Démarrage Win | +| Stop bits One | Bit de stop un | +| Stop bits One and a half | Bit de stop un et demi | +| Stop bits Two | Bits de stop deux | +| Strict mode | Mode strict | +| String array | Est un tableau chaîne | +| String type with time zone | Type chaine avec fuseau horaire | +| String type without time zone | Type chaine sans fuseau horaire | +| Structure Settings | Propriétés structure | +| Structure configuration | Configuration structure | +| Sunday | Dimanche | +| Superimposition | Superposition | +| System | Système | +| System Data Source | Source de données système | +| System Win | System Win | +| System date abbreviated | Système date abrégé | +| System date long | Système date long | +| System date long pattern | Motif date long | +| System date medium pattern | Motif date abrégé | +| System date short | Système date court | +| System date short pattern | Motif date court | +| System fonts | Polices système | +| System heap resource bit | Bit ressource heap système | +| System heap resource mask | Masque ressource heap système | +| System time AM label | Libellé AM heure système | +| System time PM label | Libellé PM heure système | +| System time long | Système heure long | +| System time long abbreviated | Système heure long abrégé | +| System time long pattern | Motif heure long | +| System time medium pattern | Motif heure abrégé | +| System time short | Système heure court | +| System time short pattern | Motif heure court | +| System32 Win | System32 Win | +| TCP DNS | TCP DNS | +| TCP FTP Control | TCP FTP Control | +| TCP FTP Data | TCP FTP Data | +| TCP HTTP WWW | TCP HTTP WWW | +| TCP IMAP3 | TCP IMAP3 | +| TCP KLogin | TCP KLogin | +| TCP Kerberos | TCP Kerberos | +| TCP NNTP | TCP NNTP | +| TCP NTP | TCP NTP | +| TCP NTalk | TCP NTalk | +| TCP PMCP | TCP PMCP | +| TCP PMD | TCP PMD | +| TCP POP3 | TCP POP3 | +| TCP RADACCT | TCP RADACCT | +| TCP RADIUS | TCP RADIUS | +| TCP Router | TCP Router | +| TCP SMTP | TCP SMTP | +| TCP SNMP | TCP SNMP | +| TCP SNMPTRAP | TCP SNMPTRAP | +| TCP SUN RPC | TCP SUN RPC | +| TCP TFTP | TCP TFTP | +| TCP Talk | TCP Talk | +| TCP Telnet | TCP Telnet | +| TCP UUCP | TCP UUCP | +| TCP UUCP RLOGIN | TCP UUCP RLOGIN | +| TCP authentication | TCP authentication | +| TCP finger | TCP finger | +| TCP gopher | TCP gopher | +| TCP log recording | TCP enreg historique | +| TCP nickname | TCP nickname | +| TCP printer | TCP printer | +| TCP remote Cmd | TCP remote Cmd | +| TCP remote Exec | TCP remote Exec | +| TCP remote Login | TCP remote Login | +| TCP_NODELAY | TCP_NODELAY | +| TIFF Adobe deflate | TIFF Adobe deflate | +| TIFF Artist | TIFF Artist | +| TIFF CCIRLEW | TIFF CCIRLEW | +| TIFF CCITT1D | TIFF CCITT1D | +| TIFF CIELab | TIFF CIELab | +| TIFF CM | TIFF CM | +| TIFF CMYK | TIFF CMYK | +| TIFF Compression | TIFF Compression | +| TIFF Copyright | TIFF Copyright | +| TIFF DCS | TIFF DCS | +| TIFF Date time | TIFF Date time | +| TIFF Document name | TIFF Document name | +| TIFF Epson ERF | TIFF Epson ERF | +| TIFF Host computer | TIFF Host computer | +| TIFF ICCLab | TIFF ICCLab | +| TIFF IT8BL | TIFF IT8BL | +| TIFF IT8CTPAD | TIFF IT8CTPAD | +| TIFF IT8LW | TIFF IT8LW | +| TIFF IT8MP | TIFF IT8MP | +| TIFF ITULab | TIFF ITULab | +| TIFF Image description | TIFF Image description | +| TIFF JBIG | TIFF JBIG | +| TIFF JBIG Black and White | TIFF JBIG Black and White | +| TIFF JBIGColor | TIFF JBIGColor | +| TIFF JPEG | TIFF JPEG | +| TIFF JPEG2000 | TIFF JPEG2000 | +| TIFF JPEGThumbs Only | TIFF JPEGThumbs Only | +| TIFF Kodak DCR | TIFF Kodak DCR | +| TIFF Kodak KDC | TIFF Kodak KDC | +| TIFF Kodak262 | TIFF Kodak262 | +| TIFF LZW | TIFF LZW | +| TIFF MDIBinary level codec | TIFF MDIBinary level codec | +| TIFF MDIProgressive transform codec | TIFF MDIProgressive transform codec | +| TIFF MDIVector | TIFF MDIVector | +| TIFF MM | TIFF MM | +| TIFF Make | TIFF Make | +| TIFF Model | TIFF Model | +| TIFF Nikon NEF | TIFF Nikon NEF | +| TIFF Orientation | TIFF Orientation | +| TIFF Pentax PEF | TIFF Pentax PEF | +| TIFF Photometric interpretation | TIFF Photometric interpretation | +| TIFF Pixar film | TIFF Pixar film | +| TIFF Pixar log | TIFF Pixar log | +| TIFF Pixar log L | TIFF Pixar log L | +| TIFF Pixar log Luv | TIFF Pixar log Luv | +| TIFF RGB | TIFF RGB | +| TIFF RGBPalette | TIFF RGBPalette | +| TIFF Resolution unit | TIFF Resolution unit | +| TIFF SGILog | TIFF SGILog | +| TIFF SGILog24 | TIFF SGILog24 | +| TIFF Software | TIFF Software | +| TIFF Sony ARW | TIFF Sony ARW | +| TIFF T4Group3Fax | TIFF T4Group3Fax | +| TIFF T6Group4Fax | TIFF T6Group4Fax | +| TIFF Thunderscan | TIFF Thunderscan | +| TIFF UM | TIFF UM | +| TIFF XResolution | TIFF XResolution | +| TIFF YCb Cr | TIFF YCb Cr | +| TIFF YResolution | TIFF YResolution | +| TIFF black is zero | TIFF black is zero | +| TIFF color Filter Array | TIFF color Filter Array | +| TIFF deflate | TIFF deflate | +| TIFF horizontal | TIFF horizontal | +| TIFF inches | TIFF inches | +| TIFF linear Raw | TIFF linear Raw | +| TIFF mirror horizontal | TIFF mirror horizontal | +| TIFF mirror horizontal and Rotate90cw | TIFF mirror horizontal and Rotate90cw | +| TIFF mirror horizontal and rotate270cw | TIFF mirror horizontal and rotate270cw | +| TIFF mirror vertical | TIFF mirror vertical | +| TIFF next | TIFF next | +| TIFF none | TIFF none | +| TIFF pack bits | TIFF pack bits | +| TIFF rotate180 | TIFF rotate180 | +| TIFF rotate270CW | TIFF rotate270CW | +| TIFF rotate90CW | TIFF rotate90CW | +| TIFF transparency mask | TIFF transparency mask | +| TIFF uncompressed | TIFF uncompressed | +| TIFF white is zero | TIFF white is zero | +| TLSv1_2 | TLSv1_2 | +| TLSv1_3 | TLSv1_3 | +| Tab | Tabulation | +| Tab Key | Touche tab | +| Table Sequence Number | Numéro automatique table | +| Text Document | Document texte | +| Text array | Est un tableau texte | +| Text data | Données texte | +| Texture appearance | Aspect texture | +| Thousand separator | Séparateur de milliers | +| Thousands of colors | Milliers de couleurs | +| Thursday | Jeudi | +| Time array | Est un tableau heure | +| Time separator | Séparateur heure | +| Times in milliseconds | Heures en millisecondes | +| Times in seconds | Heures en secondes | +| Times inside objects | Heures dans les objets | +| Timestamp log file name | Nom historique avec date heure | +| Tips delay | Messages aide délai | +| Tips duration | Messages aide durée | +| Tips enabled | Messages aide activation | +| Toolbar form window | Form fenêtre barre outils | +| Translate | Translation | +| Transparency | Transparence | +| Truncated Centered | Tronquée centrée | +| Truncated non Centered | Tronquée non centrée | +| Tuesday | Mardi | +| Two fifty six colors | Deux cent cinquante six coul | +| US ASCII code | ASCII US | +| UTF8 C string | UTF8 chaîne en C | +| UTF8 text with length | UTF8 texte avec longueur | +| UTF8 text without length | UTF8 texte sans longueur | +| Uncooperative process threshold | Seuil process peu cooperatif | +| Underline | Souligné | +| Up Arrow Key | Touche haut | +| Update event | Mise à jour fenêtre | +| Update records | Mettre à jour enregistrements | +| Use AST interpreter | Utiliser interpreter AST | +| Use PicRef | Utiliser réf image | +| Use Sheet Window | Utiliser fenêtre feuille | +| Use default folder | Utiliser dossier par défaut | +| Use legacy Network Layer | Utiliser ancienne couche réseau | +| Use selected file | Utiliser fichier sélectionné | +| Use structure definition | Utiliser définition structure | +| User Data Source | Source de données utilisateur | +| User Preferences_All | Préférences utilisateur_Tous | +| User Preferences_User | Préférences utilisateur | +| User Settings | Propriétés utilisateur | +| User param value | Valeur User param | +| User settings file | Fichier propriétés utilisateur | +| User settings file for data | Fichier propriétés utilisateur pour données | +| User settings for data file | Propriétés utilisateur pour le fichier de données | +| User system localization | Langue système utilisateur | +| VT ASCII code | ASCII VT | +| Verification log file | Fichier log vérification | +| Verify All | Tout vérifier | +| Verify Indexes | Vérifier index | +| Verify Records | Vérifier enregistrements | +| Version | Version | +| Vertical concatenation | Concaténation verticale | +| Vertically Centered | Centrée verticalement | +| WA Enable Web inspector | WA autoriser inspecteur Web | +| WA Enable contextual menu | WA autoriser menu contextuel | +| WA Next URLs | WA URLs suivants | +| WA Previous URLs | WA URLs précédents | +| WA enable URL drop | WA autoriser déposer URL | +| Waiting for input output | En attente entrée sortie | +| Waiting for internal flag | En attente drapeau interne | +| Waiting for user event | En attente événement | +| Warning Message | Message d’avertissement | +| Web CORS enabled | Web CORS activé | +| Web CORS settings | Web propriétés CORS | +| Web Character set | Web jeu de caractères | +| Web Client IP address to listen | Web client adresse IP d’écoute | +| Web HSTS enabled | Web HSTS activé | +| Web HSTS max age | Web HSTS max age | +| Web HTTP Compression Level | Web niveau de compression HTTP | +| Web HTTP Compression Threshold | Web seuil de compression HTTP | +| Web HTTP TRACE | Web TRACE HTTP | +| Web HTTP enabled | Web HTTP activé | +| Web HTTPS Port ID | Web numéro de port HTTPS | +| Web HTTPS enabled | Web HTTPS activé | +| Web IP address to listen | Web adresse IP d’écoute | +| Web Inactive process timeout | Web timeout process | +| Web Inactive session timeout | Web timeout session | +| Web Log Recording | Web enreg requêtes | +| Web Max Concurrent Processes | Web process Web simultanés maxi | +| Web Max sessions | Web nombre de sessions max | +| Web Maximum requests size | Web taille max requêtes | +| Web Port ID | Web numéro du port | +| Web Process on 4D Remote | Process Web 4D distant | +| Web Process with no Context | Process Web sans contexte | +| Web SameSite Lax | Web SameSite Lax | +| Web SameSite None | Web SameSite Aucun | +| Web SameSite Strict | Web SameSite Strict | +| Web Service Compression | Web Service compression | +| Web Service Detailed Message | Web Service message | +| Web Service Dynamic | Web Service dynamique | +| Web Service Error Code | Web Service code erreur | +| Web Service Fault Actor | Web Service origine erreur | +| Web Service HTTP Compression | Web Service compression HTTP | +| Web Service HTTP Status code | Web Service code statut HTTP | +| Web Service HTTP Timeout | Web Service timeout HTTP | +| Web Service Manual | Web Service manuel | +| Web Service Manual In | Web Service entrée manuel | +| Web Service Manual Out | Web Service sortie manuel | +| Web Service SOAP Header | Web Service header SOAP | +| Web Service SOAP Version | Web Service version SOAP | +| Web Service SOAP_1_1 | Web Service SOAP_1_1 | +| Web Service SOAP_1_2 | Web Service SOAP_1_2 | +| Web Service display auth dialog | Web Service afficher dial auth | +| Web Service reset auth settings | Web Service effacer infos auth | +| Web Session IP address validation enabled | Web validation adresse IP de session acctivé | +| Web Session cookie domain | Web domaine du cookie de session | +| Web Session cookie name | Web nom du cookie de session | +| Web Session cookie path | Web chemin du cookie de session | +| Web debug log | Web debug log | +| Web legacy session | Web sessions anciennes | +| Web scalable session | Web session extensible | +| Web server Process | Process du serveur Web | +| Web server database | Web serveur de base de données | +| Web server host database | Web serveur de base de données hôte | +| Web server receiving request | Web serveur recevant requête | +| Wednesday | Mercredi | +| White | Blanc | +| Windows | Windows | +| Windows MIDI Document | Document MIDI Windows | +| Windows Sound Document | Document son Windows | +| Windows Video Document | Document vidéo Windows | +| Worker pool in use | Process Worker pool utilisé | +| Worker pool spare | Process Worker pool réserve | +| Worker process | Process worker | +| Write Mode | Mode écriture | +| XML BOM | XML BOM | +| XML Base64 | XML Base64 | +| XML CDATA | XML CDATA | +| XML CR | XML CR | +| XML CRLF | XML CRLF | +| XML Convert to PNG | XML convertir en PNG | +| XML DATA | XML DATA | +| XML DOCTYPE | XML DOCTYPE | +| XML DOM case sensitivity | XML DOM sensibilité à la casse | +| XML ISO | XML ISO | +| XML LF | XML LF | +| XML Native codec | XML codec natif | +| XML UTC | XML UTC | +| XML binary encoding | XML encodage binaire | +| XML case insensitive | XML casse insensible | +| XML case sensitive | XML casse sensible | +| XML comment | XML commentaire | +| XML data URI scheme | XML data URI scheme | +| XML date encoding | XML encodage dates | +| XML datetime UTC | XML datetime UTC | +| XML datetime local | XML datetime local | +| XML datetime local absolute | XML datetime local absolu | +| XML default | XML valeur par défaut | +| XML disabled | XML désactivé | +| XML duration | XML durée | +| XML element | XML élément | +| XML enabled | XML activé | +| XML end Document | XML fin document | +| XML end Element | XML fin élément | +| XML entity | XML entité | +| XML external entity resolution | XML résolution des entités externes | +| XML indentation | XML indentation | +| XML line ending | XML fin de ligne | +| XML local | XML local | +| XML no indentation | XML sans indentation | +| XML picture encoding | XML encodage images | +| XML processing Instruction | XML instruction de traitement | +| XML raw data | XML données brutes | +| XML seconds | XML secondes | +| XML start Document | XML début document | +| XML start Element | XML début élément | +| XML string encoding | XML encodage chaînes | +| XML time encoding | XML encodage heures | +| XML with escaping | XML avec échappement | +| XML with indentation | XML avec indentation | +| XY Current form | XY Formulaire courant | +| XY Current window | XY Fenêtre courante | +| XY Main window | XY Fenêtre principale | +| XY Screen | XY Ecran | +| Yellow | Jaune | +| ZIP Compression LZMA | ZIP Compression LZMA | +| ZIP Compression XZ | ZIP Compression XZ | +| ZIP Compression none | ZIP Compression aucune | +| ZIP Compression standard | ZIP Compression standard | +| ZIP Encryption AES128 | ZIP Chiffrement AES128 | +| ZIP Encryption AES192 | ZIP Chiffrement AES192 | +| ZIP Encryption AES256 | ZIP Chiffrement AES256 | +| ZIP Encryption none | ZIP Chiffrement aucun | +| ZIP Ignore invisible files | ZIP Ignorer fichier invisible | +| ZIP Without enclosing folder | ZIP Sans dossier parent | diff --git a/docs/commands-legacy/delete-folder.md b/docs/commands-legacy/delete-folder.md index 9f02df5a5b91d3..79fc7c2c92132d 100644 --- a/docs/commands-legacy/delete-folder.md +++ b/docs/commands-legacy/delete-folder.md @@ -31,7 +31,7 @@ By default, for security reasons, if you omit the *deleteOption* parameter, **DE * When Delete with contents (1) is passed: * The folder along with all of its contents are deleted. **Warning:** Even when this folder and/or its contents are locked or set to read-only, if the current user has suitable access rights, they are still deleted. - * If this folder, or any of the files it contains, cannot be deleted, deletion is aborted as soon as the first inaccessible element is detected, and an error(\*) is returned. In this case, the folder may be only partially deleted. When deletion is aborted, you can use [Last errors](last-errors.md) command to retrieve the name and path of the offending file. + * If this folder, or any of the files it contains, cannot be deleted, deletion is aborted as soon as the first inaccessible element is detected, and an error(\*) is returned. In this case, the folder may be only partially deleted. When deletion is aborted, you can use [Last errors](../commands/last-errors.md) command to retrieve the name and path of the offending file. * If the folder specified does not exist, the command does nothing and no error is returned. (\*) under Windows: -54 (Attempt to open locked file for writing) under macOS: -45 (The file is locked or the pathname is not correct) diff --git a/docs/commands-legacy/generate-password-hash.md b/docs/commands-legacy/generate-password-hash.md index da902e10c25ca0..ab07a5c5fffdb7 100644 --- a/docs/commands-legacy/generate-password-hash.md +++ b/docs/commands-legacy/generate-password-hash.md @@ -32,7 +32,7 @@ In the *options* object, pass the properties to use when generating the password ### Error management -The following errors may be returned. You can review an error with the [Last errors](last-errors.md) and [ON ERR CALL](on-err-call.md) commands. +The following errors may be returned. You can review an error with the [Last errors](../commands/last-errors.md) and [ON ERR CALL](on-err-call.md) commands. | **Number** | **Message** | | ---------- | ------------------------------------------------------------------------------------------ | diff --git a/docs/commands-legacy/in-transaction.md b/docs/commands-legacy/in-transaction.md index 1cdc3afe75c8b0..75cb2fa9956a06 100644 --- a/docs/commands-legacy/in-transaction.md +++ b/docs/commands-legacy/in-transaction.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Description -The In transaction command returns **TRUE** if the current process is in a transaction, otherwise it returns **FALSE**. +The `In transaction` command returns **TRUE** if the current process is in a [transaction](../Develop-legacy/transactions.md), otherwise it returns **FALSE**. ## Example diff --git a/docs/commands-legacy/last-errors.md b/docs/commands-legacy/last-errors.md deleted file mode 100644 index 19eb7d54831aca..00000000000000 --- a/docs/commands-legacy/last-errors.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -id: last-errors -title: Last errors -slug: /commands/last-errors -displayed_sidebar: docs ---- - -**Last errors** : Collection - -| Parameter | Type | | Description | -| --- | --- | --- | --- | -| Function result | Collection | ← | Collection of error objects | - - - -## Description - -The **Last errors** command returns the current stack of errors of the 4D application as a collection of error objects, or **null** if no error occurred. The stack of errors includes objects sent by the [throw](throw.md) command, if any. - -Each error object contains the following attributes: - -| **Property** | **Type** | **Description** | -| ------------------ | -------- | ------------------------------------------------------------ | -| errCode | number | Error code | -| message | text | Description of the error | -| componentSignature | text | Signature of the internal component which returned the error | - -:::note - -For a description of component signatures, please refer to the [Error codes](../Concepts/error-handling.md#error-codes) section. - -::: - - - -This command must be called from an on error call method installed by the [ON ERR CALL](on-err-call.md) command. - - -## See also - -[ON ERR CALL](on-err-call.md) -[throw](throw.md) -[Error handling](../Concepts/error-handling.md) - -## Properties - -| | | -| --- | --- | -| Command number | 1799 | -| Thread safe | ✓ | - - diff --git a/docs/commands-legacy/mobile-app-refresh-sessions.md b/docs/commands-legacy/mobile-app-refresh-sessions.md index 2ea130ef81a441..c0d713fee0be8c 100644 --- a/docs/commands-legacy/mobile-app-refresh-sessions.md +++ b/docs/commands-legacy/mobile-app-refresh-sessions.md @@ -22,7 +22,7 @@ The command checks the compliance of each session file in the MobileApps folder If a session file is not valid or has been deleted, the corresponding session is removed from memory. -The command can return one of the following errors, that can be handled through [ON ERR CALL](on-err-call.md) and [Last errors](last-errors.md) commands: +The command can return one of the following errors, that can be handled through [ON ERR CALL](on-err-call.md) and [Last errors](../commands/last-errors.md) commands: | **Component name** | **Error code** | **Description** | | ------------------ | -------------- | -------------------------------------------------------------- | diff --git a/docs/commands-legacy/object-get-coordinates.md b/docs/commands-legacy/object-get-coordinates.md index 990f6a6b158fec..e360948bd864b8 100644 --- a/docs/commands-legacy/object-get-coordinates.md +++ b/docs/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ For interface needs, you want to surround the clicked area with a red rectangle: In the object method of the list box, you can write: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //initialize a red rectangle + OBJECT SET VISIBLE(*;"RedRect";False) //initialize a red rectangle  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/docs/commands-legacy/on-err-call.md b/docs/commands-legacy/on-err-call.md index 33a33741efbfaf..b5012216ac8296 100644 --- a/docs/commands-legacy/on-err-call.md +++ b/docs/commands-legacy/on-err-call.md @@ -41,7 +41,7 @@ To stop the trapping of errors, call **ON ERR CALL** again with the desired *sco You can identify errors by reading the Error system variable, which contains the code number of the error. Error codes are listed in the *Error Codes* theme. For example, you can see the section *Syntax Errors (1 -> 81)*. The Error variable value is significant only within the error-handling method; if you need the error code within the method that provoked the error, copy the Error variable to your own process variable. You can also access the Error method, Error line and Error formula system variables which contain, respectively, the name of the method, the line number and the text of the formula where the error occurred (see [Handling errors within the method](../Concepts/error-handling.md#handling-errors-within-the-method)). -You can use the [Last errors](last-errors.md) or [Last errors](last-errors.md) command to obtain the error sequence (i.e., the error "stack") at the origin of the interruption. +You can use the [Last errors](../commands/last-errors.md) or [Last errors](../commands/last-errors.md) command to obtain the error sequence (i.e., the error "stack") at the origin of the interruption. The error-handling method should manage the error in an appropriate way or present an error message to the user. Errors can be generated during processing performed by: @@ -176,8 +176,8 @@ The following error-handling method ignores the user interruptions and displays [ABORT](abort.md) *Error Handler* -[Last errors](last-errors.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) +[Last errors](../commands/last-errors.md) [Method called on error](method-called-on-error.md) *System Variables* diff --git a/docs/commands-legacy/php-execute.md b/docs/commands-legacy/php-execute.md index a736e961f257f0..1ec7aeb048e3e1 100644 --- a/docs/commands-legacy/php-execute.md +++ b/docs/commands-legacy/php-execute.md @@ -49,7 +49,7 @@ The *param1...N* parameters are sent in PHP in the JSON format in UTF-8\. They a **Note:** For technical reasons, the size of parameters passed via the FastCGI protocol must not exceed 64 KB. You need to take this limitation into account if you use parameters of the Text type. -The command returns True if the execution has been carried out correctly on the 4D side, in other words, if the launching of the execution environment, the opening of the script and the establishing of the communication with the PHP interpreter were successful. Otherwise, an error is generated, which you can intercept with the [ON ERR CALL](on-err-call.md) command and analyze with [Last errors](last-errors.md) . +The command returns True if the execution has been carried out correctly on the 4D side, in other words, if the launching of the execution environment, the opening of the script and the establishing of the communication with the PHP interpreter were successful. Otherwise, an error is generated, which you can intercept with the [ON ERR CALL](on-err-call.md) command and analyze with [Last errors](../commands/last-errors.md) . In addition, the script itself may generate PHP errors. In this case, you must use the [PHP GET FULL RESPONSE](php-get-full-response.md) command in order to analyze the source of the error (see example 4). **Note:** PHP can be used to configure error management. For more information, please refer, for example, to the following page: . diff --git a/docs/commands-legacy/printing-page.md b/docs/commands-legacy/printing-page.md index 360358ce5adc39..fc4773f8eb2ba6 100644 --- a/docs/commands-legacy/printing-page.md +++ b/docs/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Description -**Printing page** returns the printing page number. It can be used only when you are printing with [PRINT SELECTION](print-selection.md) or the Print menu in the Design environment. +The **Printing page** command returns the printing page number. ## Example diff --git a/docs/commands-legacy/resume-transaction.md b/docs/commands-legacy/resume-transaction.md index cfe1944f6099cb..b5c1f03b310dcd 100644 --- a/docs/commands-legacy/resume-transaction.md +++ b/docs/commands-legacy/resume-transaction.md @@ -16,13 +16,13 @@ displayed_sidebar: docs The **RESUME TRANSACTION** command resumes the transaction that was paused using [SUSPEND TRANSACTION](suspend-transaction.md) at the corresponding level in the current process. Any operations that are executed after this command are carried out under transaction control (except when several suspended transactions are nested). -For more information, please refer to *Suspending transactions*. +For more information, please refer to the [Suspending transactions](../Develop-legacy/transactions.md#suspending-transactions) section. ## See also [Active transaction](active-transaction.md) [SUSPEND TRANSACTION](suspend-transaction.md) -*Suspending transactions* +[Suspending transactions](../Develop-legacy/transactions.md#suspending-transactions) ## Properties diff --git a/docs/commands-legacy/sql-get-last-error.md b/docs/commands-legacy/sql-get-last-error.md index cd8f88325f464f..2f97c682992fb4 100644 --- a/docs/commands-legacy/sql-get-last-error.md +++ b/docs/commands-legacy/sql-get-last-error.md @@ -32,7 +32,7 @@ The last two parameters are only filled when the error comes from the ODBC sourc ## See also -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## Properties diff --git a/docs/commands-legacy/start-transaction.md b/docs/commands-legacy/start-transaction.md index dd57f7b57e0dbf..ef461a61b8d415 100644 --- a/docs/commands-legacy/start-transaction.md +++ b/docs/commands-legacy/start-transaction.md @@ -14,16 +14,16 @@ displayed_sidebar: docs ## Description -START TRANSACTION starts a transaction in the current process. All changes to the data (records) of the database within the transaction are stored temporarily until the transaction is accepted (validated) or canceled. +START TRANSACTION starts a [transaction](../Develop-legacy/transactions.md) in the current process. All changes to the data (records) of the database within the transaction are stored temporarily until the transaction is accepted (validated) or canceled. -Beginning with version 11 of 4D, you can nest several transactions (sub-transactions). Each transaction or sub-transaction must eventually be cancelled or validated. Note that if the main transaction is cancelled, all the sub-transactions are cancelled as well, regardless of their result. +You can nest several transactions (sub-transactions). Each transaction or sub-transaction must eventually be cancelled or validated. Note that if the main transaction is cancelled, all the sub-transactions are cancelled as well, regardless of their result. ## See also [CANCEL TRANSACTION](cancel-transaction.md) [In transaction](in-transaction.md) [Transaction level](transaction-level.md) -*Using Transactions* +[Transactions](../Develop-legacy/transactions.md) [VALIDATE TRANSACTION](validate-transaction.md) ## Properties diff --git a/docs/commands-legacy/suspend-transaction.md b/docs/commands-legacy/suspend-transaction.md index 54644ae8a2fbb1..e7a38540599582 100644 --- a/docs/commands-legacy/suspend-transaction.md +++ b/docs/commands-legacy/suspend-transaction.md @@ -16,13 +16,13 @@ displayed_sidebar: docs The **SUSPEND TRANSACTION** command pauses the current transaction in the current process. You can then handle data in other parts of the database, for example, without it being included in the transaction, and while preserving the transaction context untouched. Any records that have been updated or added in the transaction are locked until the transaction is resumed using the [RESUME TRANSACTION](resume-transaction.md) command. -For more information, please refer to the *Suspending transactions* section. +For more information, please refer to the [Suspending transactions](../Develop-legacy/transactions.md#suspending-transactions) section. ## See also [Active transaction](active-transaction.md) [RESUME TRANSACTION](resume-transaction.md) -*Suspending transactions* +[Suspending transactions](../Develop-legacy/transactions.md#suspending-transactions) ## Properties diff --git a/docs/commands-legacy/throw.md b/docs/commands-legacy/throw.md index c2627716c69e14..cf4e280735d112 100644 --- a/docs/commands-legacy/throw.md +++ b/docs/commands-legacy/throw.md @@ -47,7 +47,7 @@ If no description is provided, it is filled with: | message | text | Description of the error.
The **message** may contain placeholders that will be replaced by custom properties added to the errorObj object. Each placeholder must be specified using braces {} enclosing the name of the property to be used. If the **message** is not provided or is an empty string, the command will look for a description in the current database xliff files with a resname built as follows: ERR\_{componentSignature}\_{errCode}". | | deferred | boolean | True if the error should be deferred when the current method returns or at the end of the [Try block](https:developer.4d.com/docs/Concepts/error-handling#trycatchend-try). Default value is false. | -When you use this syntax, the *errorObj* object is returned in [Last errors](last-errors.md). +When you use this syntax, the *errorObj* object is returned in [Last errors](../commands/last-errors.md). **Note:** It is possible to call the command several times in the same project method to generate several errors. You can use the deferred option to send all errors at once. @@ -55,7 +55,7 @@ When you use this syntax, the *errorObj* object is returned in [Last errors](las It throws all current errors in **deferred mode**, meaning they will be added to a stack and handled when the calling method returns. This is typically done from within an [ON ERR CALL](on-err-call.md) callback. -* **In an application:** When an error occurs, it is added to the error stack and the [ON ERR CALL](on-err-call.md) method of the application is called at the end of the current method. The [Last errors](last-errors.md) function returns the stack of errors. +* **In an application:** When an error occurs, it is added to the error stack and the [ON ERR CALL](on-err-call.md) method of the application is called at the end of the current method. The [Last errors](../commands/last-errors.md) function returns the stack of errors. * **As a consequence, in a component:** The stack of errors can be sent to the host application and the [ON ERR CALL](on-err-call.md) method of the host application is called. ## Example 1 @@ -101,7 +101,7 @@ throw({componentSignature: "xbox"; errCode: 600; name: "myFileName"; path: "myFi ## See also [ASSERT](assert.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## Properties diff --git a/docs/commands-legacy/transaction-level.md b/docs/commands-legacy/transaction-level.md index 3294a173d263a5..50c7e0d36cf35f 100644 --- a/docs/commands-legacy/transaction-level.md +++ b/docs/commands-legacy/transaction-level.md @@ -21,7 +21,7 @@ displayed_sidebar: docs [In transaction](in-transaction.md) [START TRANSACTION](start-transaction.md) -*Using Transactions* +[Transactions](../Develop-legacy/transactions.md) ## Properties diff --git a/docs/commands-legacy/validate-transaction.md b/docs/commands-legacy/validate-transaction.md index 2b65ff48a115fa..6e220b994f2541 100644 --- a/docs/commands-legacy/validate-transaction.md +++ b/docs/commands-legacy/validate-transaction.md @@ -14,9 +14,9 @@ displayed_sidebar: docs ## Description -**VALIDATE TRANSACTION** accepts the transaction that was started with [START TRANSACTION](start-transaction.md) of the corresponding level in the current process. The command saves the changes to the data of the database that occurred during the transaction. +**VALIDATE TRANSACTION** accepts the [transaction](../Develop-legacy/transactions.md) that was started with [START TRANSACTION](start-transaction.md) of the corresponding level in the current process. The command saves the changes to the data of the database that occurred during the transaction. -Starting with version 11 of 4D, you can nest several transactions (sub-transactions). If the main transaction is cancelled, all the sub-transactions are cancelled, even if they have been validated individually using this command. +You can nest several transactions (sub-transactions). If the main transaction is cancelled, all the sub-transactions are cancelled, even if they have been validated individually using this command. ## System variables and sets @@ -29,7 +29,7 @@ Note that when OK is set to 0, the transaction is automatically cancelled intern [CANCEL TRANSACTION](cancel-transaction.md) [In transaction](in-transaction.md) [START TRANSACTION](start-transaction.md) -*Using Transactions* +[Transactions](../Develop-legacy/transactions.md) ## Properties diff --git a/docs/commands-legacy/verify-password-hash.md b/docs/commands-legacy/verify-password-hash.md index eef1a50aff5796..9dde6aaa9b2cc2 100644 --- a/docs/commands-legacy/verify-password-hash.md +++ b/docs/commands-legacy/verify-password-hash.md @@ -23,7 +23,7 @@ This function compares *password* to a *hash* generated by the [Generate passwor ### Error management -The following errors may be returned. You can review an error with the [Last errors](last-errors.md) and [ON ERR CALL](on-err-call.md) commands. +The following errors may be returned. You can review an error with the [Last errors](../commands/last-errors.md) and [ON ERR CALL](on-err-call.md) commands. | **Number** | **Message** | | ---------- | ----------------------------------------- | diff --git a/docs/commands/call-chain.md b/docs/commands/call-chain.md index ce0b1c5fdd5688..1db9a7354b0918 100644 --- a/docs/commands/call-chain.md +++ b/docs/commands/call-chain.md @@ -33,7 +33,7 @@ The command facilitates debugging by enabling the identification of the method o | database | Text | Name of the database calling the method (to distinguish host methods and component methods) | "database":"contactInfo" | | formula|Text (if any)| Contents of the current line of code at the current level of the call chain (raw text). Corresponds to the contents of the line referenced by the `line` property in the source file indicated by method. If the source code is not available, `formula` property is omitted (Undefined).|"var $stack:=Call chain"| | line | Integer | Line number of call to the method | "line":6 | -| name | Ttext | Name of the called method | "name":"On Load" | +| name | Text | Name of the called method | "name":"On Load" | | type | Text | Type of the method:
  • "projectMethod"
  • "formObjectMethod"
  • "formmethod"
  • "databaseMethod"
  • "triggerMethod"
  • "executeOnServer" (when calling a project method with the *Execute on Server attribute*)
  • "executeFormula" (when executing a formula via [PROCESS 4D TAGS](../commands-legacy/process-4d-tags.md) or the evaluation of a formula in a 4D Write Pro document)
  • "classFunction"
  • "formMethod"
  • | "type":"formMethod" | :::note diff --git a/docs/commands/command-index.md b/docs/commands/command-index.md index 1ef195327c3411..11b25994c3ce6d 100644 --- a/docs/commands/command-index.md +++ b/docs/commands/command-index.md @@ -531,7 +531,7 @@ title: Index L -[`Last errors`](../commands-legacy/last-errors.md)
    +[`Last errors`](last-errors.md)
    [`Last field number`](../commands-legacy/last-field-number.md)
    [`Last query path`](../commands-legacy/last-query-path.md)
    [`Last query plan`](../commands-legacy/last-query-plan.md)
    diff --git a/docs/commands/last-errors.md b/docs/commands/last-errors.md new file mode 100644 index 00000000000000..b8c7f1775da1ea --- /dev/null +++ b/docs/commands/last-errors.md @@ -0,0 +1,95 @@ +--- +id: last-errors +title: Last errors +slug: /commands/last-errors +displayed_sidebar: docs +--- + +**Last errors** : Collection + +| Parameter | Type | | Description | +| --- | --- | --- | --- | +| Function result | Collection | ← | Collection of error objects | + + + +## Description + +The **Last errors** command returns the current stack of errors of the 4D application as a collection of error objects, or **null** if no error occurred. The stack of errors includes objects sent by the [throw](../commands-legacy/throw.md) command, if any. + +This command must be called from an on error call method installed by the [ON ERR CALL](../commands-legacy/on-err-call.md) command or within a [Try or Try/Catch](../Concepts/error-handling.md#tryexpression) context. + +Each error object contains the following properties: + +| **Property** | **Type** | **Description** | +| ------------------ | -------- | ------------------------------------------------------------ | +| errCode | number | Error code | +| message | text | Description of the error | +| componentSignature | text | Signature of the internal component which returned the error (see below) | + + +#### Internal component signatures (4D) + +|Component Signature|Component| +|--|---| +|4DCM|4D Compiler runtime| +|4DRT|4D runtime| +|bkrs|4D backup & restore manager| +|brdg|SQL 4D bridge| +|cecm|4D code Editor| +|CZip|zip 4D apis| +|dbmg|4D database manager| +|FCGI|fast cgi 4D bridge| +|FiFo|4D file objects| +|HTCL|http client 4D apis| +|HTTP|4D http server| +|IMAP|IMAP 4D apis| +|JFEM|Form Macro apis| +|LD4D|LDAP 4D apis| +|lscm|4D language syntax manager| +|MIME|MIME 4D apis| +|mobi|4D Mobile| +|pdf1|4D pdf apis| +|PHP_|php 4D bridge| +|POP3|POP3 4D apis| +|SMTP|SMTP 4D apis| +|SQLS|4D SQL server| +|srvr|4D network layer apis| +|svg1|SVG 4D apis| +|ugmg|4D users and groups manager| +|UP4D|4D updater| +|VSS |4D VSS support (Windows Volume Snapshot Service) | +|webc|4D Web view| +|xmlc|XML 4D apis| +|wri1|4D Write Pro| + + +#### Internal component signatures (System) + +|Component Signature|Component| +|--|---| +|CARB|Carbon subsystem| +|COCO|Cocoa subsystem| +|MACH|macOS Mach subsystem| +|POSX|posix/bsd subsystem (mac, linux, win)| +|PW32|Pre-Win32 subsystem| +|WI32|Win32 subsystem| + + + + + +## See also + +[ON ERR CALL](../commands-legacy/on-err-call.md) +[throw](../commands-legacy/throw.md) +[Error handling](../Concepts/error-handling.md) + +## Properties + +| | | +| --- | --- | +| Command number | 1799 | +| Thread safe | ✓ | + + diff --git a/docs/commands/print-form.md b/docs/commands/print-form.md index 7543ada19bb045..53f37c6f1b41e4 100644 --- a/docs/commands/print-form.md +++ b/docs/commands/print-form.md @@ -19,7 +19,7 @@ displayed_sidebar: docs ## Description -**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. In the *form* parameter, you can pass: diff --git a/docs/commands/process-number.md b/docs/commands/process-number.md index 21f03d4aab9998..2ba12522cbf5a6 100644 --- a/docs/commands/process-number.md +++ b/docs/commands/process-number.md @@ -27,7 +27,7 @@ displayed_sidebar: docs ## Description -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter. If no process is found, `Process number` returns 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter. If no process is found, `Process number` returns 0. The optional parameter \* allows you to retrieve, from a remote 4D, the number of a process that is executed on the server. In this case, the returned value is negative. This option is especially useful when using the [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) and [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md) commands. diff --git a/docs/commands/theme/Interruptions.md b/docs/commands/theme/Interruptions.md index 0a31a2169a29fb..831a3f076fdb9f 100644 --- a/docs/commands/theme/Interruptions.md +++ b/docs/commands/theme/Interruptions.md @@ -12,7 +12,7 @@ slug: /commands/theme/Interruptions |[](../../commands-legacy/asserted.md)
    | |[](../../commands-legacy/filter-event.md)
    | |[](../../commands-legacy/get-assert-enabled.md)
    | -|[](../../commands-legacy/last-errors.md)
    | +|[](../../commands/last-errors.md)
    | |[](../../commands-legacy/method-called-on-error.md)
    | |[](../../commands-legacy/method-called-on-event.md)
    | |[](../../commands-legacy/on-err-call.md)
    | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/DataStoreClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/DataStoreClass.md index e1b8b1a34897b1..591bcc459345fa 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/DataStoreClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/DataStoreClass.md @@ -460,7 +460,7 @@ La función `.getInfo()` devuelve En un almacén de datos remoto: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1123,7 +1123,7 @@ Puede anidar varias transacciones (subtransacciones). Cada transacción o sub-tr ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/EntityClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/EntityClass.md index 1df38bdaf52d52..0204236620245b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/EntityClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/EntityClass.md @@ -614,15 +614,14 @@ El siguiente código genérico duplica cualquier entidad: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parámetros | Tipo | | Descripción | | ---------- | ------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: la llave primaria se devuelve como una cadena, sin importar el tipo de llave primaria | -| Resultado | Text | <- | Valor de la llave primaria de texto de la entidad | -| Resultado | Integer | <- | Valor de la llave primaria numérica de la entidad | +| Resultado | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1640,11 +1639,11 @@ Ejemplo con el tipo relatedEntity con una forma simple: #### Descripción -La función `.touched()` comprueba si un atributo de la entidad ha sido modificado o no desde que la entidad fue cargada en memoria o guardada. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -Si un atributo ha sido modificado o calculado, la función devuelve True, en caso contrario devuelve False. Puede utilizar esta función para determinar si necesita guardar la entidad. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". -Esta función devuelve False para una nueva entidad que acaba de ser creada (con [`.new( )`](DataClassClass.md#new)). Tenga en cuenta, sin embargo, que si utiliza una función que calcula un atributo de la entidad, la función `.touched()` devolverá entonces True. Por ejemplo, si llama [`.getKey()`](#getkey) para calcular la llave primaria, `.touched()` devuelve True. +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. #### Ejemplo @@ -1688,7 +1687,7 @@ En este ejemplo, comprobamos si es necesario guardar la entidad: La función`.touchedAttributes()` devuelve los nombres de los atributos que han sido modificados desde que la entidad fue cargada en memoria. -Esta función se aplica a los atributos cuyo [kind](DataClassClass.md#attributename) es `storage` o `relatedEntity`. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". En el caso de que se haya tocado una entidad relacionada (es decir, la llave externa), se devuelve el nombre de la entidad relacionada y el nombre de su llave primaria. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/FileClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/FileClass.md index fee13d7920793b..48f3a6de18f4fb 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/FileClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/FileClass.md @@ -590,7 +590,7 @@ Quiere renombrar "ReadMe.txt" como "ReadMe_new.txt": La función `.setAppInfo()` escribe las propiedades *info* como contenido informativo de un archivo de aplicación. -The function must be used with an existing, supported file: **.plist** (all platforms), **.exe**/**.dll** (Windows), or **macOS executable**. If the file does not exist on disk or is not a supported file, the function does nothing (no error is generated). +The function can only be used with the following file types: **.plist** (all platforms), existing **.exe**/**.dll** (Windows), or **macOS executable**. If used with another file type or with a **.exe**/**.dll** file that does not already exist on disk, the function does nothing (no error is generated). Parámetro ***info* con un archivo .plist (todas las plataformas)** @@ -600,9 +600,11 @@ La función sólo admite archivos .plist en formato xml (basados en texto). Se d ::: -Cada propiedad válida definida en el parámetro objeto *info* se escribe en el archivo .plist en forma de llave. Se aceptan todos los nombre de llaves. Los tipos de valores se conservan cuando es posible. +If the .plist file already exists on the disk, it is updated. Otherwise, it is created. -Si un conjunto de llaves en el parámetro *info* ya está definido en el archivo .plist, su valor se actualiza manteniendo su tipo original. Las demás llaves existentes en el archivo .plist no se modifican. +Each valid property set in the *info* object parameter is written in the .plist file as a key. Se aceptan todos los nombre de llaves. Los tipos de valores se conservan cuando es posible. + +If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Las demás llaves existentes en el archivo .plist no se modifican. :::note @@ -610,9 +612,9 @@ Para definir un valor de tipo Fecha, el formato a utilizar es una cadena de time ::: -Parámetro ***info* con un archivo .exe o .dll (sólo Windows)** +***info* parameter object with a .exe or .dll file (Windows only)** -Cada propiedad válida definida en el parámetro objeto *info* se escribe en el recurso de versión del archivo .exe o .dll. Las propiedades disponibles son (toda otra propiedad será ignorada): +Each valid property set in the *info* object parameter is written in the version resource of the .exe or .dll file. Las propiedades disponibles son (toda otra propiedad será ignorada): | Propiedad | Tipo | Comentario | | ---------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -626,13 +628,13 @@ Cada propiedad válida definida en el parámetro objeto *info* se escribe en el | OriginalFilename | Text | | | WinIcon | Text | Ruta Posix del archivo .ico. Esta propiedad sólo se aplica a los archivos ejecutables generados por 4D. | -Para todas las propiedades excepto `WinIcon`, si se pasa un texto nulo o vacío como valor, se escribe una cadena vacía en la propiedad. Si pasa un valor de tipo diferente a texto, se convierte en una cadena. +For all properties except `WinIcon`, if you pass a null or empty text as value, an empty string is written in the property. Si pasa un valor de tipo diferente a texto, se convierte en una cadena. -Para la propiedad `WinIcon`, si el archivo del icono no existe o tiene un formato incorrecto, se genera un error. +For the `WinIcon` property, if the icon file does not exist or has an incorrect format, an error is generated. -Parámetro ***info* con un archivo ejecutable macOS (sólo macOS)** +***info* parameter object with a macOS executable file (macOS only)** -*info* debe ser un objeto con una única propiedad llamada `archs` que es una colección de objetos en el formato devuelto por [`getAppInfo()`](#getappinfo). Each object must contain at least the `type` and `uuid` properties (`name` is not used). +*info* must be an object with a single property named `archs` that is a collection of objects in the format returned by [`getAppInfo()`](#getappinfo). Each object must contain at least the `type` and `uuid` properties (`name` is not used). Every object in the *info*.archs collection must contain the following properties: @@ -644,7 +646,7 @@ Every object in the *info*.archs collection must contain the following propertie #### Ejemplo 1 ```4d - // definir algunas llaves en un archivo info.plist (todas las plataformas) + // set some keys in an info.plist file (all platforms) var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") @@ -659,7 +661,7 @@ $infoPlistFile.setAppInfo($info) #### Ejemplo 2 ```4d - // definir el copyright y versión de un archivo .exe (Windows) + // set copyright, version and icon of a .exe file (Windows) var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file; fk platform path) @@ -709,15 +711,15 @@ $app.setAppInfo($info) -| Parámetros | Tipo | | Descripción | -| ---------- | ---- | -- | --------------------------------- | -| content | BLOB | -> | Nuevos contenidos para el archivo | +| Parámetros | Tipo | | Descripción | +| ---------- | ---- | -- | ------------------------- | +| content | BLOB | -> | New contents for the file | #### Descripción -La función .setContent( ) reescribe todo el contenido del archivo utilizando los datos almacenados en el BLOBcontent. Para obtener información sobre BLOBs, consulte la sección [BLOB](Concepts/dt_blob.md). +The `.setContent( )` function rewrites the entire content of the file using the data stored in the *content* BLOB. Para obtener información sobre BLOBs, consulte la sección [BLOB](Concepts/dt_blob.md). #### Ejemplo @@ -756,11 +758,11 @@ La función .setContent( ) reescrib #### Descripción -La función `.setText()` escribe *text* como el nuevo contenido del archivo. +The `.setText()` function writes *text* as the new contents of the file. -Comentario Cuando el archivo ya existe en el disco, se borra su contenido anterior, excepto si ya está abierto, en cuyo caso se bloquea su contenido y se genera un error. +If the file referenced in the `File` object does not exist on the disk, it is created by the function. Cuando el archivo ya existe en el disco, se borra su contenido anterior, excepto si ya está abierto, en cuyo caso se bloquea su contenido y se genera un error. -En *text*, pase el texto a escribir en el archivo. Puede ser un texto literal ("my text"), o un campo / variable texto 4D. +In *text*, pass the text to write to the file. Puede ser un texto literal ("my text"), o un campo / variable texto 4D. Opcionalmente, puede designar el conjunto de caracteres que se utilizará para la escritura del contenido. Puede pasar: @@ -771,7 +773,7 @@ Opcionalmente, puede designar el conjunto de caracteres que se utilizará para l Si existe una marca de orden de bytes (BOM) para el conjunto de caracteres, 4D la inserta en el archivo a menos que el conjunto de caracteres utilizado contenga el sufijo "-no-bom" (por ejemplo, "UTF-8-no-bom"). Si no especifica un conjunto de caracteres, por defecto 4D utiliza el conjunto de caracteres "UTF-8" sin BOM. -En *breakMode*, se puede pasar un número que indica el procesamiento a aplicar a los caracteres de fin de línea antes de guardarlos en el archivo. Las siguientes constantes, que se encuentran en el tema **Documentos sistema**, están disponibles: +In *breakMode*, you can pass a number indicating the processing to apply to end-of-line characters before saving them in the file. The following constants, found in the **System Documents** theme, are available: | Constante | Valor | Comentario | | ----------------------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -783,7 +785,7 @@ En *breakMode*, se puede pasar un número que indica el procesamiento a aplicar Por defecto, cuando se omite el parámetro *breakMode*, los saltos de línea se procesan en modo nativo (1). -> **Nota de compatibilidad**: las opciones de compatibilidad están disponibles para la gestión de EOL y de BOM. Ver la [página Compatibilidad](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) en doc.4d.com. +> **Compatibility Note**: Compatibility options are available for EOL and BOM management. See [Compatibility page](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) on doc.4d.com. #### Ejemplo diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md index 9ed37d5de78753..733e28d5a1424c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md @@ -5,7 +5,7 @@ title: OutgoingMessage The `4D.OutgoingMessage` class allows you to build messages to be returned by your application functions in response to [REST requests](../REST/REST_requests.md). If the response is of type `4D.OutgoingMessage`, the REST server does not return an object but the object instance of the `OutgoingMessage` class. -Normalmente, esta clase puede ser usada en funciones personalizadas [HTTP request handler](../WebServer/http-request-handler.md#function-configuration) o en funciones declaradas con la palabra clave [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) y diseñadas para manejar peticiones HTTP GET. Such requests are used, for example, to implement features such as download file, generate and download picture as well as receiving any content-type via a browser. +Typically, this class can be used in custom [HTTP request handler functions](../WebServer/http-request-handler.md#function-configuration) or in functions declared with the [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keyword and designed to handle HTTP GET requests. Such requests are used, for example, to implement features such as download file, generate and download picture as well as receiving any content-type via a browser. An instance of this class is built on 4D Server and can be sent to the browser by the [4D REST Server](../REST/gettingStarted.md) only. This class allows to use other technologies than HTTP (e.g. mobile). diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/SignalClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/SignalClass.md index 4ff67537b767d1..066ebac47d17f2 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/SignalClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/SignalClass.md @@ -196,7 +196,7 @@ If the signal is already in the signaled state (i.e. the `.signaled` property is La función devuelve el valor de la propiedad `.signaled`. - **true** si la señal se activó (se llamó a `.trigger()`). -- **false** if the timeout expired before the signal was triggered. +- **false** si el tiempo de espera expiró antes de que se activara la señal. :::note Atención diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md index 6a3c7a73543727..e3afbecb0afcbc 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md @@ -90,8 +90,8 @@ In the *options* parameter, pass an object to configure the listener and all the | Propiedad | Tipo | Descripción | Por defecto | | ------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | onConnection | Formula | Callback when a new connection is established. The Formula receives two parameters (*$listener* and *$event*, see below) and must return either null/undefined to prevent the connection or an *option* object that will be used to create the [`TCPConnection`](./TCPConnectionClass.md). | Indefinido | -| onError | Formula | Callback triggered in case of an error. The Formula receives the `TCPListener` object in *$listener* | Indefinido | -| onTerminate | Formula | Callback triggered just before the TCPListener is closed. The Formula receives the `TCPListener` object in *$listener* | Indefinido | +| onError | Formula | Callback triggered in case of an error. La fórmula recibe el objeto `TCPListener` en *$listener* | Indefinido | +| onTerminate | Formula | Callback triggered just before the TCPListener is closed. La fórmula recibe el objeto `TCPListener` en *$listener* | Indefinido | #### Función callback (retrollamada) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/WebServerClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/WebServerClass.md index 286c89b45bf8d0..69522d794f4328 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/WebServerClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/WebServerClass.md @@ -568,7 +568,7 @@ La función `.start()` inicia el ser El servidor web se inicia con los parámetros por defecto definidos en el archivo de configuración del proyecto o (base host únicamente) utilizando el comando `WEB SET OPTION`. Sin embargo, utilizando el parámetro *settings*, se pueden definir propiedades personalizadas para la sesión del servidor web. -Todas los parámetros de los [objetos Servidor Web](../commands/web-server.md-object) pueden personalizarse, excepto las propiedades de sólo lectura ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy) y [.sessionCookieName](#sessioncookiename)). +All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Los parámetros de sesión personalizados se reiniciarán cuando se llame la función [`.stop()`](#stop). diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Admin/licenses.md b/i18n/es/docusaurus-plugin-content-docs/current/Admin/licenses.md index 3405674f1e4bc6..5107436934850a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Admin/licenses.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Admin/licenses.md @@ -107,7 +107,7 @@ Licenses are usually automatically updated at startup of your 4D application. Puede utilizar el botón **Refrescar** en los siguientes contextos: - Cuando haya comprado una expansión adicional y quiera activarla, -- When you need to update an expired number (Partners or evolutions). +- Cuando necesite actualizar un número de licencia caducado (Partners o evoluciones). Elija el comando **Administrador de licencias...** del menú **Ayuda** de la aplicación 4D o 4D Server, y luego haga clic en el botón **Refrescar**: diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/classes.md b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/classes.md index 006a122f772a50..bd4e1c078d6b67 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/classes.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/classes.md @@ -752,7 +752,7 @@ Se declaran clases singleton añadiendo la(s) palabra(s) clave(s) apropiada(s) a :::note - Los singletons de sesión son automáticamente singletons compartidos (no hay necesidad de usar la palabra clave `shared` en el constructor de clases). -- Las funciones compartidas Singleton soportan [palabra clave `onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). +- Singleton shared functions support [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/error-handling.md b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/error-handling.md index 348aa6265a8e41..5c2472c35234c6 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/error-handling.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/error-handling.md @@ -25,7 +25,7 @@ Es muy recomendable instalar un método global de gestión de errores en 4D Serv Muchas funciones de clase 4D, como `entity.save()` o `transporter.send()`, devuelven un objeto *status*. Este objeto se utiliza para almacenar errores "predecibles" en el contexto de ejecución, por ejemplo, una contraseña no válida, una entidad bloqueada, etc., que no detienen la ejecución del programa. Esta categoría de errores puede ser manejada por el código habitual. -Otros errores "imprevisibles" son el error de escritura en el disco, el fallo de la red o, en general, cualquier interrupción inesperada. Esta categoría de errores genera excepciones y debe gestionarse mediante un método de gestión de errores o una palabra clave `Try()`. +Otros errores "imprevisibles" son el error de escritura en el disco, el fallo de la red o, en general, cualquier interrupción inesperada. This category of errors generates exceptions defined by [a *code*, a *message* and a *signature*](#error-codes) and needs to be handled through an error-handling method or a `Try()` keyword. ## Instalación de un método de gestión de errores @@ -97,7 +97,7 @@ Dentro de un método de gestión de errores personalizado, tiene acceso a varios 4D mantiene automáticamente una serie de variables denominadas [**variables sistema**](variables.md#system-variables), que responden a diferentes necesidades. ::: -- el comando [`Last errors`](../commands-legacy/last-errors.md) que devuelve una colección de la pila actual de errores ocurridos en la aplicación 4D. +- the [`Last errors`](../commands/last-errors.md) command that returns a collection of the current stack of errors that occurred in the 4D application. - el comando `Call chain` que devuelve una colección de objetos que describen cada paso de la cadena de llamadas a métodos dentro del proceso actual. #### Ejemplo @@ -153,7 +153,7 @@ Try (expression) : any | Undefined Si se produce un error durante su ejecución, se intercepta y no se muestra ningún diálogo de error, si un [método de gestión de errores](#installing-an-error-handling-method) fue instalado o no antes de la llamada a `Try()`. Si *expression* devuelve un valor, `Try()` devuelve el último valor evaluado, en caso contrario devuelve `Define`. -Puede manejar los errores utilizando el comando [`Last errors`](../commands-legacy/last-errors.md). Si *expression* arroja un error dentro de una pila de llamadas `Try()`, el flujo de ejecución se detiene y devuelve a la última ejecución `Try()` (la primera encontrada de nuevo en la pila de llamadas). +Puede manejar los errores utilizando el comando [`Last errors`](../commands/last-errors.md). Si *expression* arroja un error dentro de una pila de llamadas `Try()`, el flujo de ejecución se detiene y devuelve a la última ejecución `Try()` (la primera encontrada de nuevo en la pila de llamadas). :::note @@ -244,7 +244,7 @@ Para más información sobre errores *diferidos* y *no diferidos*, por favor con ::: -En el bloque de código `Catch`, puede gestionar los errores utilizando los comandos estándar de gestión de errores. La función [`Last errors`](../commands-legacy/last-errors.md) contiene la colección de los últimos errores. En este bloque de código puede declarar [un método de gestión de errores](#installing-an-error-handling-method), en cuyo caso se llama en caso de error (de lo contrario se muestra el diálogo de error de 4D). +En el bloque de código `Catch`, puede gestionar los errores utilizando los comandos estándar de gestión de errores. La función [`Last errors`](../commands/last-errors.md) contiene la colección de los últimos errores. En este bloque de código puede declarar [un método de gestión de errores](#installing-an-error-handling-method), en cuyo caso se llama en caso de error (de lo contrario se muestra el diálogo de error de 4D). :::note @@ -284,3 +284,15 @@ Function createInvoice($customer : cs.customerEntity; $items : Collection; $invo return $newInvoice ``` + +## Error codes + +Exceptions that interrupt code execution are returned by 4D but can have different origins such as the OS, a device, the 4D kernel, a [`throw`](../commands-legacy/throw.md) in your code, etc. An error is therefore defined by three elements: + +- a **component signature**, which is the origin of the error (see [`Last errors`](../commands/last-errors.md) to have a list of signatures) +- a **message**, which explains why the error occurred +- un **código**, que es un número arbitrario devuelto por el componente + +The [4D error dialog box](../Debugging/basics.md) displays the code and the message to the user. + +To have a full description of an error and especially its origin, you need to call the [`Last errors`](../commands/last-errors.md) command. When you intercept and handle errors using an [error-handling method](#installing-an-error-handling-method) in your final applications, use [`Last errors`](../commands/last-errors.md) and make sure you log all properties of the *error* object since error codes depend on the components. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Debugging/debugLogFiles.md b/i18n/es/docusaurus-plugin-content-docs/current/Debugging/debugLogFiles.md index 52e7744708cdd4..49a741a46d75d7 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Debugging/debugLogFiles.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Debugging/debugLogFiles.md @@ -480,18 +480,18 @@ Como iniciar este historial: Los siguientes campos se registran para cada evento: -| Nombre del campo | Tipo | Descripción | -| ---------------- | ---------- | ----------------------------------------------------------------------------------------- | -| time | Fecha/Hora | Fecha y hora del evento en formato ISO 8601 | -| localPort | Number | Local port used for the connection | -| peerAddress | Text | Dirección IP del peer remoto | -| peerPort | Number | Puerto del peer remoto | -| protocol | Text | Indicates whether the event is related to `TCP` | -| evento | Text | El tipo de evento:`open`, `close`, `error`, `send`, `receive`, o `listen` | -| size | Number | The amount of data sent or received (in bytes), 0 if not applicable | -| excerpt | Number | First 10 bytes of data in hexadecimal format | -| textExcerpt | Text | First 10 bytes of data in text format | -| comment | Text | Additional information about the event, such as error details or encryption status | +| Nombre del campo | Tipo | Descripción | +| ---------------- | ---------- | --------------------------------------------------------------------------------------------- | +| time | Fecha/Hora | Fecha y hora del evento en formato ISO 8601 | +| localPort | Number | Local port used for the connection | +| peerAddress | Text | Dirección IP del peer remoto | +| peerPort | Number | Puerto del peer remoto | +| protocol | Text | Indicates whether the event is related to `TCP` | +| evento | Text | El tipo de evento:`open`, `close`, `error`, `send`, `receive`, o `listen` | +| size | Number | La cantidad de datos enviados o recibidos (en bytes), 0 si no es aplicable | +| excerpt | Number | First 10 bytes of data in hexadecimal format | +| textExcerpt | Text | First 10 bytes of data in text format | +| comment | Text | Additional information about the event, such as error details or encryption status | ## Utilización de un archivo de configuración de log diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Debugging/debugger.md b/i18n/es/docusaurus-plugin-content-docs/current/Debugging/debugger.md index c0f769d0211f30..a9d1d6f53d7e23 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Debugging/debugger.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Debugging/debugger.md @@ -29,7 +29,7 @@ Hay varias formas de conseguir que el depurador se muestre: Cuando se llama, la ventana del depurador ofrece el nombre del método o de la función de clase que se está rastreando en ese momento, y la acción que provoca la aparición inicial de la ventana del depurador. Por ejemplo, en la ventana del depurador arriba: -- *drop* is the method being traced +- *drop* es el método rastreado - The debugger window appeared because of a break point. La visualización de una nueva ventana del depurador utiliza la misma configuración que la última ventana visualizada en la misma sesión. Si ejecuta varios procesos usuario, puede rastrearlos independientemente y tener una ventana de depuración abierta para cada proceso. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Desktop/labels.md b/i18n/es/docusaurus-plugin-content-docs/current/Desktop/labels.md index 4011bac750de32..af9d5e51260688 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Desktop/labels.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Desktop/labels.md @@ -162,7 +162,7 @@ The **For each: Record or Label** options are used to specify whether to run the You can use dedicated table forms and project methods to print labels with calculated variables. This simple example shows how to configure the different elements. -1. In a dedicated table form, add your label field(s) and variable(s). +1. En un formulario tabla dedicado, añada su(s) campo(s) de etiqueta y su(s) variable(s). Here, in a table form named "label", we added the *myVar* variable: ![](../assets/en/Desktop/label-example1.png) @@ -195,13 +195,13 @@ Then you can print your labels: The Label editor includes an advanced feature allowing you to restrict which project forms and methods (within "allowed" methods) can be selected in the dialog box: -- in the **Form to use** menu on the "Label" page and/or +- en el menú **Formulario a utilizar** de la página "Etiqueta" y/o - en el menú **Aplicar (método)** de la página "Diseño". 1. Crea un archivo JSON llamado **labels.json** y ponlo en la [carpeta de recursos](../Project/architecture.md#resources) del proyecto. 2. In this file, add the names of forms and/or project methods that you want to be able to select in the Label editor menus. -The contents of the **labels.json** file should be similar to: +El contenido del archivo **labels.json** debe ser similar a: ```json [ diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md b/i18n/es/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md new file mode 100644 index 00000000000000..84adbd9996a1cd --- /dev/null +++ b/i18n/es/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md @@ -0,0 +1,222 @@ +--- +id: transactions +title: Transactions +--- + +## Descripción + +Las transacciones son una serie de modificaciones de datos relacionadas que se realizan en una base de datos o almacén de datos dentro de un [proceso](./processes.md). Una transacción no se guarda en una base de datos de forma permanente hasta que se valida la transacción. Si una transacción no se completa, ya sea porque se cancela o por algún evento externo, las modificaciones no se guardan. + +Durante una transacción, todos los cambios realizados en los datos de la base de datos dentro de un proceso se almacenan localmente en un buffer temporal. Si la transacción se acepta con [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) o [`validateTransaction()`](../API/DataStoreClass.md#validatetransaction), los cambios se guardan permanentemente. Si la transacción se cancela con [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md) o [`cancelTransaction()`](../API/DataStoreClass.md#canceltransaction), los cambios no se guardan. En todos los casos, ni la selección actual ni el registro actual son modificados por los comandos de gestión de transacciones. + +4D soporta transacciones anidadas, es decir, transacciones en varios niveles jerárquicos. El número de subtransacciones permitidas es ilimitado. El comando [`Transaction level`](../commands-legacy/transaction-level.md) puede utilizarse para averiguar el nivel de transacción actual en el que se ejecuta el código. Cuando se utilizan transacciones anidadas, el resultado de cada subtransacción depende de la validación o cancelación de la transacción de nivel superior. Si se valida la transacción de nivel superior, se confirman los resultados de las subtransacciones (validación o cancelación). Por el contrario, si se anula la operación de nivel superior, se anulan todas las suboperaciones, independientemente de sus respectivos resultados. + +4D incluye una funcionalidad que le permite [suspender y resumir transacciones](#suspending-transactions) dentro de su código 4D. Cuando una transacción está suspendida, puede ejecutar operaciones independientemente de la transacción misma y luego reanudar la transacción para validarla o cancelarla como de costumbre. + +### Ejemplo + +En este ejemplo, la base de datos es un simple sistema de facturación. Las líneas de factura se almacenan en una tabla llamada [Invoice Lines], que está relacionada con la tabla [Invoices] mediante una relación entre los campos [Invoices]Invoice ID y [Invoice Lines]Invoice ID. Cuando se añade una factura, se calcula un ID único, utilizando el comando [`Sequence number`](../commands-legacy/sequence-number.md). La relación entre [Invoices] e [Invoice Lines] es una relación automática Relate Many. La casilla **Asignar automáticamente valor relacionado en subformulario** está marcada. + +La relación entre [Invoice Lines] y [Parts] es manual. + +![](../assets/en/Develop/transactions-structure.png) + + +Cuando un usuario introduce una factura, se ejecutan las siguientes acciones: + +- Añadir un registro en la tabla [Invoices]. +- Añadir varios registros en la tabla [Invoice Lines]. +- Actualizar el campo [Parts]In Warehouse de cada parte listada en la factura. + +Este ejemplo es una situación típica en la que necesita utilizar una transacción. Debe estar seguro de que podrá guardar todos estos registros durante la operación o de que podrá cancelar la transacción si no se puede añadir o actualizar un registro. En otras palabras, debe guardar los datos relacionados. Si no utiliza una transacción, no podrá garantizar la integridad lógica de los datos de su base de datos. Por ejemplo, si uno de los registros de [Parts] está bloqueado, no podrá actualizar la cantidad almacenada en el campo [Parts]In Warehouse. Por lo tanto, este campo será lógicamente incorrecto. La suma de las piezas vendidas y las piezas que quedan en el almacén no será igual a la cantidad original introducida en el registro. Puede evitar esta situación utilizando transacciones. + +Existen varias formas de realizar la introducción de datos utilizando transacciones: + +1. Puede gestionar las transacciones usted mismo utilizando los comandos de transacción [`START TRANSACTION`](../commands-legacy/start-transaction.md), [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) y [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md). Puede escribir, por ejemplo: + +```4d + READ WRITE([Invoice Lines]) + READ WRITE([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + START TRANSACTION + ADD RECORD([Invoices]) + If(OK=1) + VALIDATE TRANSACTION + Else + CANCEL TRANSACTION + End if + Until(OK=0) + READ ONLY(*) +``` + +2. Para reducir el bloqueo de registros mientras se realiza la entrada de datos, también puede optar por gestionar las transacciones desde el método del formulario y acceder a las tablas en `READ WRITE` sólo cuando sea necesario. La entrada de datos se realiza mediante el formulario de entrada de [Invoices], que contiene la tabla relacionada [Invoice Lines] en un subformulario. El formulario tiene dos botones: *bCancel* y *bOK*, ue no son botones de acción. + +El bucle de adición se convierte en: + +```4d + READ WRITE([Invoice Lines]) + READ ONLY([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + ADD RECORD([Invoices]) + Until(bOK=0) + READ ONLY([Invoice Lines]) +``` + +Tenga en cuenta que la tabla [Parts] está ahora en modo de acceso de sólo lectura durante la entrada de datos. El acceso de lectura/escritura sólo estará disponible si se valida la entrada de datos. + +La transacción se inicia en el método del formulario de entrada [Invoices] que se indica a continuación: + +```4d + Case of + :(Form event code=On Load) + START TRANSACTION + [Invoices]Invoice ID:=Sequence number([Invoices]Invoice ID) + Else + [Invoices]Total Invoice:=Sum([Invoice Lines]Total line) + End case +``` + +Si hace clic en el botón *bCancel*, e cancelará tanto la entrada de datos como la transacción. Este es el método objeto del botón *bCancel*: + +```4d + Case of + :(Form event code=On Clicked) + CANCEL TRANSACTION + CANCEL + End case +``` + +Si hace clic en el botón *bOK*, la entrada de datos debe ser aceptada y la transacción debe ser validada. Este es el método objeto del botón *bOK*: + +```4d + Case of + :(Form event code=On Clicked) + var $NbLines:=Records in selection([Invoice Lines]) + READ WRITE([Parts]) //Switch to Read/Write access for the [Parts] table + FIRST RECORD([Invoice Lines]) //Start at the first line + var $ValidTrans:=True //Assume everything will be OK + var $Line : Integer + For($Line;1;$NbLines) //For each line + RELATE ONE([Invoice Lines]Part No) + OK:=1 //Assume you want to continue + While(Locked([Parts]) & (OK=1)) //Try getting the record in Read/Write access + CONFIRM("The Part "+[Invoice Lines]Part No+" is in use. Wait?") + If(OK=1) + DELAY PROCESS(Current process;60) + LOAD RECORD([Parts]) + End if + End while + If(OK=1) + //Update quantity in the warehouse + [Parts]In Warehouse:=[Parts]In Warehouse-[Invoice Lines]Quantity + SAVE RECORD([Parts]) //Save the record + Else + $Line:=$NbLines+1 //Leave the loop + $ValidTrans:=False + End if + NEXT RECORD([Invoice Lines]) //Go next line + End for + READ ONLY([Parts]) //Set the table state to read only + If($ValidTrans) + SAVE RECORD([Invoices]) //Save the Invoices record + VALIDATE TRANSACTION //Validate all database modifications + Else + CANCEL TRANSACTION //Cancel everything + End if + CANCEL //Salir del formulario + End case +``` + +En este código, llamamos al comando `CANCEL` independientemente del botón pulsado. El nuevo registro no se valida mediante una llamada a [`ACCEPT`](../commands-legacy/accept.md), sino mediante el comando [`SAVE RECORD`](../commands-legacy/save-record.md). Además, tenga en cuenta que `SAVE RECORD` se ejecuta justo antes del comando [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md). Por lo tanto, guardar el registro [Invoices] es en realidad una parte de la transacción. El comando `ACCEPT` también validaría el registro, pero en este caso la transacción se validaría antes de guardar el registro [Invoices]. En otras palabras, el registro se guardaría fuera de la transacción. + +Dependiendo de sus necesidades, puede personalizar su base de datos, como se muestra en estos ejemplos. En el último ejemplo, la gestión de registros bloqueados en la tabla [Parts] podría desarrollarse aún más. + + +## Suspender transacciones + +### Principio + +Suspender una transacción es útil cuando necesita realizar, desde dentro de una transacción, ciertas operaciones que no necesitan ser ejecutadas bajo el control de esta transacción. Por ejemplo, imagine el caso en el que un cliente realiza un pedido, por tanto dentro de una transacción, y también actualiza su dirección. A continuación, el cliente cambia de opinión y cancela el pedido. La transacción se cancela, pero usted no desea que se revierta el cambio de dirección. Este es un ejemplo típico en el que resulta útil suspender la transacción. Se utilizan tres comandos para suspender y reanudar transacciones: + +- [`SUSPEND TRANSACTION`](../commands-legacy/suspend-transaction.md): pausa la transacción actual. Los registros actualizados o añadidos permanecen bloqueados. +- [`RESUME TRANSACTION`](../commands-legacy/resume-transaction.md): reactiva una transacción suspendida. +- [`Active transaction`](../commands-legacy/active-transaction.md): devuelve False si la transacción está suspendida o si no hay transacción en curso, y True si se ha iniciado o reanudado. + +### Ejemplo + +Este ejemplo ilustra la necesidad de una transacción suspendida. En una base Invoices, queremos obtener un nuevo número de factura durante una transacción. Este número se calcula y almacena en una tabla [Settings]. En un entorno multiusuario, los accesos concurrentes deben estar protegidos; sin embargo, debido a la transacción, la tabla [Settings] podría estar bloqueada por otro usuario, aunque estos datos sean independientes de la transacción principal. En este caso, puede suspender la transacción cuando acceda a la tabla. + +```4d + //Método estándar que crea una factura + START TRANSACTION + ... + CREATE RECORD([Invoices]) + //llamar al método para obtener un número disponible + [Invoices]InvoiceID:=GetInvoiceNum + ... + SAVE RECORD([Invoices]) + VALIDATE TRANSACTION + + ``` + +El método *GetInvoiceNum* suspende la transacción antes de ejecutarse. Tenga en cuenta que este código funcionará incluso cuando el método sea llamado desde fuera de una transacción: + +```4d + //Método proyecto GetInvoiceNum + //GetInvoiceNum -> Siguiente número de factura disponible + #DECLARE -> $freeNum : Integer + SUSPEND TRANSACTION + ALL RECORDS([Settings]) + If(Locked([Settings])) //acceso multiusuario + While(Locked([Settings])) + MESSAGE("Waiting for locked Settings record") + DELAY PROCESS(Current process;30) + LOAD RECORD([Settings]) + End while + End if + [Settings]InvoiceNum:=[Settings]InvoiceNum+1 + $freeNum:=[Settings]InvoiceNum + SAVE RECORD([Settings]) + UNLOAD RECORD([Settings]) + RESUME TRANSACTION + +``` + +### Operación detallada + +#### ¿Cómo funciona una transacción suspendida? + +Cuando se suspende una transacción, se aplican los siguientes principios: + +- Puede acceder a los registros que se añadieron o modificaron durante la transacción, y no puede ver los registros que se eliminaron durante la transacción. +- Puede crear, guardar, eliminar o modificar registros fuera de la transacción. +- Puede iniciar una nueva transacción, pero dentro de esta transacción incluida no podrá ver ningún registro o valor de registro que se haya añadido o modificado durante la transacción suspendida. De hecho, esta nueva transacción es totalmente independiente de la suspendida, similar a una transacción de otro proceso, y dado que la transacción suspendida podría reanudarse o cancelarse posteriormente, cualquier registro añadido o modificado se oculta automáticamente para la nueva transacción. En cuanto se reanude o cancele la nueva transacción, se podrán ver de nuevo estos registros. +- Los registros modificados, borrados o añadidos dentro de la transacción suspendida permanecen bloqueados para otros procesos. Si se intenta modificar o eliminar estos registros fuera de la transacción o en una nueva transacción, se genera un error. + +Estas implementaciones se resumen en el siguiente gráfico: + +![](../assets/en/Develop/transactions-schema1.png) + + +*Los valores editados durante la transacción A (el registro ID1 obtiene Val11) no están disponibles en una nueva transacción (B) creada durante el periodo «suspendido». Los valores editados durante el periodo «suspendido» (el registro ID2 obtiene Val22 y el registro ID3 obtiene Val33) se guardan incluso después de cancelar la transacción A.* + +Se han añadido funcionalidades específicas para gestionar los errores: + +- El registro actual de cada tabla se bloquea temporalmente si se modifica durante la transacción y se desbloquea automáticamente cuando ésta se reanuda. Este mecanismo es importante para evitar guardados no deseados en partes de la transacción. +- Si se ejecuta una secuencia no válida como iniciar transacción / suspender transacción / iniciar transacción / reanudar transacción, se genera un error. Este mecanismo evita que los desarrolladores olviden consignar o cancelar cualquier transacción incluida antes de reanudar la transacción suspendida. + + +#### Transacciones suspendidas y estado del proceso + +El comando [`In transaction`](../commands-legacy/in-transaction.md) devuelve True cuando se ha iniciado una transacción, aunque esté suspendida. Para saber si la transacción actual está suspendida, es necesario utilizar el comando [`Active transaction`](../commands-legacy/active-transaction.md), que devuelve False en este caso. + +Ambos comandos, sin embargo, también devuelven False si no se ha iniciado ninguna transacción. En ese caso, es posible que tenga que utilizar el comando [`Transaction level`](../commands-legacy/transaction-level.md), que devuelve 0 en este contexto (no se ha iniciado ninguna transacción). + + +El siguiente gráfico ilustra los distintos contextos de transacción y los valores correspondientes devueltos por los comandos de transacción: + +![](../assets/en/Develop/transactions-schema2.png) + + diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md index 30688d182e2bfd..995323b1cb3f15 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -10,6 +10,9 @@ Read [**What’s new in 4D 20 R10**](https://blog.4d.com/en-whats-new-in-4d-20-R #### Lo más destacado - Nueva opción `connectionTimeout` en el parámetro [`options`](../API/TCPConnectionClass.md#options-parameter) de la función [`4D.TCPConnection.new()`](../API/TCPConnectionClass.md#4dtcpconnectionnew). +- UUIDs in 4D are now generated in **version 7**. In previous 4D releases, they were generated in version 4. +- Lenguaje 4D: + - For consistency, [`Create entity selection`](../commands/create-entity-selection.md) and [`USE ENTITY SELECTION`](../commands/use-entity-selection.md) commands have been moved from the ["4D Environment"](../commands/theme/4D_Environment.md) to the ["Selection"](../commands/theme/Selection.md) themes. ## 4D 20 R9 @@ -72,7 +75,7 @@ Lea [**Novedades en 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7/), - Ahora puede [añadir y eliminar componentes utilizando la interfaz del gestor de componentes](../Project/components.md#monitoring-project-dependencies). - Nuevo [**modo de tipado directo**](../Project/compiler.md#enabling-direct-typing) en el que declara todas las variables y parámetros en su código usando las palabras clave `var` y `#DECLARE`/`Function` (sólo modo soportado en nuevos proyectos). [La función de verificación de sintaxis](../Project/compiler.md#check-syntax) se ha mejorado en consecuencia. - Soporte de [singletones de sesión](../Concepts/classes.md#singleton-classes) y nueva propiedad de clase [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton). -- Nueva palabra clave de función [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) para definir funciones singleton u ORDA que pueden ser llamadas a través de [peticiones HTTP REST GET](../REST/ClassFunctions.md#function-calls). +- New [`onHTTPGet` function keyword](../ORDA/ordaClasses.md#onhttpget-keyword) to define singleton or ORDA functions that can be called through [HTTP REST GET requests](../REST/ClassFunctions.md#function-calls). - Nueva clase [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) para que el servidor REST devuelva cualquier contenido web. - Qodly Studio: ahora puede [adjuntar el depurador Qodly a 4D Server](../WebServer/qodly-studio.md#using-qodly-debugger-on-4d-server). - Nuevas llaves Build Application para que las aplicaciones 4D remotas validen las [signatures](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateAuthoritiesCertificates.300-7425900.en.html) y/o los [dominios](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.en.html). @@ -150,7 +153,7 @@ Lea [**Novedades en 4D 20 R4**](https://blog.4d.com/en-whats-new-in-4d-v20-R4/), #### Lo más destacado -- Soporte de [formato de cifrado ECDSA\\\\\\\\\\\\\\\\\\\\\`](../Admin/tls.md#encryption) para certificados TLS. +- Soporte de [formato de cifrado ECDSA\`](../Admin/tls.md#encryption) para certificados TLS. - Las conexiones TLS cliente/servidor y servidor SQL ahora se [configuran dinámicamente](../Admin/tls.md#enabling-tls-with-the-other-servers) (no se requieren archivos de certificado). - Formato HTML directo para [exportaciones de definición de estructura](https://doc.4d.com/4Dv20R4/4D/20-R4/Exporting-and-importing-structure-definitions.300-6654851.en.html). - Nuevo [Code Live Checker](../code-editor/write-class-method.md#warnings-and-errors) que mejora el control del código durante los pasos de declaración, comprobación de sintaxis y compilación para evitar errores de ejecución. @@ -169,7 +172,7 @@ Lea [**Novedades en 4D 20 R4**](https://blog.4d.com/en-whats-new-in-4d-v20-R4/), - El uso de una sintaxis heredada para declarar parámetros (por ejemplo, `C_TEXT($1)` o `var $1 : Text`) es obsoleto y genera advertencias en los pasos de escritura de código, verificación de sintaxis y compilación. - La coherencia de las selecciones ahora se mantiene después de que se hayan eliminado algunos registros y se hayan creado otros (ver [esta entrada de blog](https://blog.4d.com/4d-keeps-your-selections-of-records-consistent-regarding-deletion-of-records/)). - En la actualización de [la librería OpenSSL](#library-table), el nivel de seguridad SSL/TLS por defecto se ha cambiado de 1 a 2. Las llaves RSA, DSA y DH de 1024 bits o más y menos de 2048 bits, así como las llaves ECC de 160 bits o más y menos de 224 bits, ya no están permitidas. Por defecto, la compresión TLS ya estaba desactivada en versiones anteriores de OpenSSL. En el nivel de seguridad 2 no se puede activar. -- Asegúrese de que su método base "On REST authentication" puede manejar contraseñas en claro (el tercer parámetro es entonces **False**) y que `Open datastore` encripta su conexión pasando la opción "tls" a **True** en *connectionInfo*. In order to allow password verification when the [4D user directory uses the bcrypt algorithm](https://blog.4d.com/bcrypt-support-for-passwords/), the "password" value in the *connectionInfo* parameter of the [`Open datastore`](../commands/open-datastore.md) command is now sent in clear form by default. En casos concretos, también se puede utilizar una nueva opción "passwordAlgorithm" por compatibilidad (ver el comando [`Open datastore`](../commands/open-datastore.md)). +- Asegúrese de que su método base "On REST authentication" puede manejar contraseñas en claro (el tercer parámetro es entonces **False**) y que `Open datastore` encripta su conexión pasando la opción "tls" a **True** en *connectionInfo*. Asegúrese de que su método base "On REST authentication" puede manejar contraseñas en claro (el tercer parámetro es entonces **False**) y que `Open datastore` encripta su conexión pasando la opción "tls" a **True** en *connectionInfo*. En casos concretos, también se puede utilizar una nueva opción "passwordAlgorithm" por compatibilidad (ver el comando [`Open datastore`](../commands/open-datastore.md)). ## 4D 20 R3 diff --git a/i18n/es/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md b/i18n/es/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md index eadf74650c2fed..efa587866241af 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md @@ -822,7 +822,7 @@ $status:=$remoteDS.Schools.registerNewStudent($student) // OK $id:=$remoteDS.Schools.computeIDNumber() // Error "Unknown member method" ``` -## Palabra clave onHTTPGet +## onHTTPGet keyword Use the `onHTTPGet` keyword to declare functions that can be called through HTTP requests using the `GET` verb. Such functions can return any web contents, for example using the [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) class. @@ -864,7 +864,7 @@ Consulte la sección [Parámetros](../REST/classFunctions#parameters) en la docu ### resultado -Una función con la palabra clave `onHTTPGet` puede devolver cualquier valor de un tipo soportado (igual que para [parámetros](../REST/classFunctions#parameters) REST). +A function with `onHTTPGet` keyword can return any value of a supported type (same as for REST [parameters](../REST/classFunctions#parameters)). :::info diff --git a/i18n/es/docusaurus-plugin-content-docs/current/REST/$singleton.md b/i18n/es/docusaurus-plugin-content-docs/current/REST/$singleton.md index 44ccb9cee32494..bdbecb9f43f2a5 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/REST/$singleton.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/REST/$singleton.md @@ -43,7 +43,7 @@ with data in the body of the POST request: `["myparam"]` :::note -La función `SingletonClassFunction()` debe haber sido declarada con la palabra clave `onHTTPGet` para ser invocable con `GET` (ver [Configuración de funciones](ClassFunctions#function-configuration)). +The `SingletonClassFunction()` function must have been declared with the `onHTTPGet` keyword to be callable with `GET` (see [Function configuration](ClassFunctions#function-configuration)). ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md b/i18n/es/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md index b25de812cc0ea9..6c9707b517aefe 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md @@ -49,7 +49,7 @@ con los datos en el cuerpo de la petición POST: `["Aguada"]` :::note -La función `getCity()` debe haber sido declarada con la palabra clave `onHTTPGet` (ver [Configuración de la función](#function-configuration)). +The `getCity()` function must have been declared with the `onHTTPGet` keyword (see [Function configuration](#function-configuration) below). ::: @@ -73,7 +73,7 @@ Ver la sección [Funciones expuestas vs. no expuestas](../ORDA/ordaClasses.md#ex ### `onHTTPGet` -Las funciones permitidas para ser llamadas desde solicitudes HTTP `GET` también deben ser declaradas específicamente con la [palabra clave `onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). Por ejemplo: +Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). Por ejemplo: ```4d //allowing GET requests diff --git a/i18n/es/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-from-object.md b/i18n/es/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-from-object.md index a6692ede39610e..09fc0ba5c910c3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-from-object.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-from-object.md @@ -35,7 +35,7 @@ En *viewPro*, pase un objeto 4D View Pro válido. Este objeto puede haber sido c Se devuelve un error si el objeto *viewPro* no es válido. -In *paramObj*, you can pass the following property: +En *paramObj*, puede pasar la siguiente propiedad: | Propiedad | Tipo | Descripción | | --------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md b/i18n/es/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md index ed1342da696620..e25281a0f67e67 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md @@ -243,7 +243,7 @@ Request handler functions are not necessarily shared, unless some request handle :::note -**no es recomendado** exponer las funciones del gestor de solicitudes a llamadas REST externas usando las palabras claves [`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) o [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). +It is **not recommended** to expose request handler functions to external REST calls using [`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) or [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keywords. ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-add-picture.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-add-picture.md index 078d56ea3bde43..25d185850bbe8e 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-add-picture.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-add-picture.md @@ -48,8 +48,8 @@ The location, layer (inline, in front/behind text), visibility, and any properti **Nota:** el comando [WP Selection range](../commands-legacy/wp-selection-range.md) devuelve un objeto *referencia a imagen* si se selecciona una imagen anclada y un objeto *rango* si se selecciona una imagen en línea. You can determine if a selected object is a picture object by checking the `wk type` attribute: -- **Value = 2**: The selected object is a picture object. -- **Value = 0**: The selected object is a range object. +- **Value = 2**: el objeto seleccionado es un objeto imagen. +- **Valor = 0**: el objeto seleccionado es un objeto de rango. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-delete-subsection.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-delete-subsection.md index 5750453eca572c..433b9658718564 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-delete-subsection.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-delete-subsection.md @@ -23,7 +23,7 @@ El comando **WP DELETE SUBSECTION** exporta el objeto *wpDoc* 4D Write Pro a un documento en disco de acuerdo con el parámetro *filePath* o *fileObj*, así como cualquier parámetro opcional. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +En *wpDoc*, pase el objeto 4D Write Pro que desea exportar. You can pass either a *filePath* or *fileObj*: @@ -62,7 +62,7 @@ Pase un [objeto](# "Datos estructurados como un objeto nativo 4D") en *option* c | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Se utiliza para reducir imágenes a la resolución preferida. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Nota:** el índice de páginas es independiente de la numeración de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Valores posibles: True/False | @@ -105,7 +105,7 @@ The wk files property allows you to [export a PDF with attachments](https://blog | name | Text | Nombre de archivo. Optional if the *file* property is used, in which case the name is inferred by default from the file name. Mandatory if the *data* property is used (except for the first file of a Factur-X export, in which case the name for the file is automatically "factur-x.xml", see below) | | description | Text | Opcional. If omitted, default value for the first export file to Factur-X is "Factur-X/ZUGFeRD Invoice", otherwise empty. | | mimeType | Text | Opcional. If omitted, default value can usually be guessed from file extension; otherwise, "application/octet-stream" is used. If passed, make sure to use an ISO mime type, otherwise the exported file could be invalid. | -| data | Texto o BLOB | Mandatory if *file* property is missing | +| data | Texto o BLOB | Obligatorio si falta la propiedad *file* | | file | Objeto 4D.File | Mandatory if *data* property is missing, ignored otherwise. | | relationship | Text | Opcional. If omitted, default value is "Data". Possible values for Factur-X first file:for BASIC, EN 16931 or EXTENDED profiles: "Alternative", "Source" or "Data" ("Alternative" only for German invoice)for MINIMUM and BASIC WL profiles: "Data" only.for other profiles: "Alternative", "Source" or "Data" (with restrictions perhaps depending on country: see profile specification for more info about other profiles - for instance for RECHNUNG profile only "Alternative" is allowed)for other files (but Factur-X invoice xml file) : "Alternative", "Source", "Data", "Supplement" or "Unspecified"any other value generates an error. | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md index 11497402b2e0e6..edbcc94645786f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md @@ -22,7 +22,7 @@ displayed_sidebar: docs The **WP EXPORT VARIABLE** command exports the *wpDoc* 4D Write Pro object to the 4D *destination* variable in the specified *format*. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +En *wpDoc*, pase el objeto 4D Write Pro que desea exportar. In *destination*, pass the variable that you want to fill with the exported 4D Write Pro object. The type of this variable depends on the export format specified in the *format* parameter: @@ -62,7 +62,7 @@ Pase un [objeto](# "Datos estructurados como un objeto nativo 4D") en *option* c | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Se utiliza para reducir imágenes a la resolución preferida. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Nota:** el índice de páginas es independiente de la numeración de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Valores posibles: True/False | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-import-document.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-import-document.md index de071ab4391140..8527426e767099 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-import-document.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-import-document.md @@ -53,7 +53,7 @@ You can pass an object to define how the following attributes are handled during | **Atributo** | **Tipo** | **Description** | | ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| anchoredTextAreas | Text | Sólo para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- Anchored text areas are ignored. **Note**: The layout and the number of pages in the document may change. See also *How to import .docx format* | +| anchoredTextAreas | Text | Sólo para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- Anchored text areas are ignored. **Note**: The layout and the number of pages in the document may change. Ver también *Cómo importar formato .docx* | | anchoredImages | Text | Sólo para documentos MS Word (.docx). Specifies how anchored images are handled. Available values:

    **all** (default) - All anchored images are imported as anchored images with their text wrapping properties (exception: the .docx wrapping option "tight" is imported as wrap square). **ignoreWrap** \- Anchored images are imported, but any text wrapping around the image is ignored. **ignore** \- Anchored images are not imported. | | secciones | Text | Sólo para documentos MS Word (.docx). Specifies how section are handled. Valores disponibles:

    **all** (por defecto) - Se importan todas las secciones. Continuous, even, or odd sections are converted to standard sections. **ignore** \- Sections are converted to default 4D Write Pro sections (A4 portrait layout without header or footer). **Note**: Section breaks of any type but continuous are converted to section breaks with page break. Continuous section breaks are imported as continuous section breaks. | | fields | Text | Sólo para documentos MS Word (.docx). Specifies how .docx fields that can't be converted to 4D Write Pro formulas are handled. Available values:

    **ignore** \- .docx fields are ignored. **label** \- .docx field references are imported as labels within double curly braces ("{{ }}"). Ex: The "ClientName" field would be imported as {{ClientName}}. **value** (default) - The last computed value for the .docx field (if available) is imported. **Note**: If a .docx field corresponds to a 4D Write Pro variable, the field is imported as a formula and this option is ignored. | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-break.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-break.md index 5f95550147fb10..29dafd431ffb4a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-break.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-break.md @@ -56,7 +56,7 @@ In the *mode* parameter, pass a constant to indicate the insertion mode to be us If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-document-body.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-document-body.md index b127d0f9aace47..ebae39a7a5ba2b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-document-body.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-document-body.md @@ -54,7 +54,7 @@ In the *rangeUpdate* parameter (Optional); if *targetObj* is a range, you can pa If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-formula.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-formula.md index c0e880542a9d5f..c12bc5b7e63c02 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-formula.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-formula.md @@ -57,7 +57,7 @@ In the *mode* parameter, pass one of the following constants to indicate the ins If you do not pass a *rangeUpdate* parameter, by default the inserted *formula* is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. :::note diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-picture.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-picture.md index 7d606cf717537b..db22e3c51cc214 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-picture.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-picture.md @@ -35,7 +35,7 @@ For the second parameter, you can pass either: - A picture field or variable - A string containing a path to a picture file stored on disk, in the system syntax. If you use a string, you can pass either a full pathname, or a pathname relative to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. -- In *pictureFileObj* : a `File` object representing a picture file. +- En *pictureFileObj* : un objeto `File` que representa un archivo imagen. Todo formato imagen [soportado por 4D](../../FormEditor/pictures.md#native-formats-supported) puede ser usado. You can get the list of available picture formats using the [PICTURE CODEC LIST](../../commands-legacy/picture-codec-list.md) command. If the picture encapsulates several formats (codecs), 4D Write Pro only keeps one format for display and one format for printing (if different) in the document; the "best" formats are automatically selected. @@ -56,7 +56,7 @@ If *targetObj* is a range, you can optionally use the *rangeUpdate* parameter to If you do not pass a *rangeUpdate* parameter, by default the inserted picture is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md index d159b8d69db3b7..6ed247d6872da8 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md @@ -29,7 +29,7 @@ En *targetObj*, puede pasar : You can specify attributes to set for *targetObj* in one of two ways: -- Use the *attribName* and *attribValue* parameters. In *attribName*, pass the name of the attribute to set for the target and in *attribValue*, pass the new value to set. You can pass as many *attribName*/*attribValue* pairs as you want in a single call. +- Utilice los parámetros *attribName* y *attribValue*. In *attribName*, pass the name of the attribute to set for the target and in *attribValue*, pass the new value to set. You can pass as many *attribName*/*attribValue* pairs as you want in a single call. - Use the *attribObj* parameter to pass a single object containing attribute names and their corresponding values as object properties. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md index ef1d5e9db362da..e0e3db910e1c49 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md @@ -127,7 +127,7 @@ When a document is displayed in "display expressions" mode, references to tables You can control how formulas are displayed in your documents: -- as *values* or as *references* +- como *valores* o como \*referencias - when shown as references, display source text, symbol, or name. ### Referencias o Valores diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/writeprointerface.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/writeprointerface.md index a8e4be3743d146..1282b89b0fe68b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/writeprointerface.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/writeprointerface.md @@ -327,7 +327,7 @@ The AI dialog box is available by clicking on a button in the 4D Write Pro inter To display the AI dialog box button, you need to: -1. Get an API key from the [OpenAI website](https://openai.com/api/). +1. Obtener una clave API del [sitio web OpenAI](https://openai.com/api/). 2. Execute the following 4D code: ```4d @@ -338,16 +338,16 @@ WP SetAIKey ("") // :::note -No checking is done on the OpenAI key validity. If it is invalid, the *chatGPT* box will stay empty. +No checking is done on the OpenAI key validity. Si no es válida, la casilla *chatGPT* permanecerá vacía. ::: -The **A.I.** button is then displayed: +A continuación, aparece el botón **I.A**: ![ai button](../assets/en/WritePro/ai-button.png) - in the 4D Write Pro Toolbar, in the **Import Export** tab, -- in the 4D Write Pro Widget, in the **Font Style** tab. +- en el widget 4D Write Pro, en la pestaña **Estilo de fuente**. Click on the button to display the AI dialog box. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/aikit/Classes/_ImageUtils.md b/i18n/es/docusaurus-plugin-content-docs/current/aikit/Classes/_ImageUtils.md index 217bf85ef2d896..b19cc0dcc6e465 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/aikit/Classes/_ImageUtils.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/aikit/Classes/_ImageUtils.md @@ -45,7 +45,7 @@ Converts various types of image representations to a Blob object. | ---------- | ------- | ----------------------------------------------------------------------------------------------- | | $imageInfo | Variant | The image information, which can be a picture, a file object, a URL, or a text. | -**Returns**: Blob or Null if the input is invalid. +**Devuelve**: Blob o Null si la entrada no es válida. ```4d var $blob:=cs._ImageUtils.me.toBlob($image) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema1.png b/i18n/es/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema1.png new file mode 100644 index 00000000000000..e3e42329c20e16 Binary files /dev/null and b/i18n/es/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema1.png differ diff --git a/i18n/es/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema2.png b/i18n/es/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema2.png new file mode 100644 index 00000000000000..79cf0060952bcd Binary files /dev/null and b/i18n/es/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema2.png differ diff --git a/i18n/es/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-structure.png b/i18n/es/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-structure.png new file mode 100644 index 00000000000000..d7f45b3788d414 Binary files /dev/null and b/i18n/es/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-structure.png differ diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/constant-list.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/constant-list.md new file mode 100644 index 00000000000000..53e99d53fd9fa4 --- /dev/null +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/constant-list.md @@ -0,0 +1,1693 @@ +--- +id: constant-list +title: Constant List +slug: /commands/constant-list +displayed_sidebar: docs +--- + + +| English | French | +|---------|--------| +| 4D Client Database Folder | Dossier base 4D Client | +| 4D Client SOAP License | Licence SOAP 4D Client | +| 4D Client Web License | Licence Web 4D Client | +| 4D Desktop | 4D Desktop | +| 4D For OCI License | Licence 4D For OCI | +| 4D Local Mode | 4D mode local | +| 4D ODBC Pro License | Licence 4D ODBC Pro | +| 4D REST Test license | 4D REST Test license | +| 4D Remote Mode | 4D mode distant | +| 4D Remote Mode Timeout | Timeout 4D mode distant | +| 4D SOAP License | Licence 4D SOAP | +| 4D SOAP Local License | Licence 4D SOAP locale | +| 4D SOAP One Connection License | Licence 4D SOAP une connexion | +| 4D SQL Server License | Licence Serveur SQL 4D | +| 4D SQL Server Local License | Licence Serveur SQL 4D locale | +| 4D SQL Server One Conn License | Licence Serveur SQL 4D 1 conn | +| 4D Server | 4D Server | +| 4D Server Log Recording | Enreg requêtes 4D Server | +| 4D Server Timeout | Timeout 4D Server | +| 4D View License | Licence 4D View | +| 4D Volume Desktop | 4D Volume Desktop | +| 4D Web License | Licence 4D Web | +| 4D Web Local License | Licence 4D Web locale | +| 4D Web One Connection License | Licence 4D Web une connexion | +| 4D Write License | Licence 4D Write | +| 4D user account | Compte utilisateur 4D | +| 4D user alias | Alias utilisateur 4D | +| 4D user alias or account | Alias ou compte utilisateur 4D | +| 64 bit Version | Version 64 bits | +| ACK ASCII code | ASCII ACK | +| Aborted | Détruit | +| Absolute path | Chemin absolu | +| Access Privileges | Autorisations d’accès | +| Activate event | Activation fenêtre | +| Activate window bit | Bit activation fenêtre | +| Activate window mask | Masque activation fenêtre | +| Active 4D Folder | Dossier 4D actif | +| Activity all | Activités toutes | +| Activity language | Activité langage | +| Activity network | Activité réseau | +| Activity operations | Activité opérations | +| Additional text | Texte supplémentaire | +| Align Top | Aligné en haut | +| Align bottom | Aligné en bas | +| Align center | Aligné au centre | +| Align default | Aligné par défaut | +| Align left | Aligné à gauche | +| Align right | Aligné à droite | +| Allow alias files | Sélection alias | +| Allow deletion | Suppression autorisée | +| Alternate dialog box | Dialogue ombré | +| Apple Event Manager | Gestionnaire Apple Event | +| Applications or Program Files | Applications ou Program Files | +| April | Avril | +| Array 2D | Est un tableau 2D | +| Associated Standard Action | Action standard associée | +| Associated standard action name | Associer action standard | +| At sign | Arobase | +| At the Bottom | En bas | +| At the Top | En haut | +| Attribute Executed on server | Attribut exécutée sur serveur | +| Attribute Invisible | Attribut invisible | +| Attribute Published SOAP | Attribut publiée SOAP | +| Attribute Published SQL | Attribut publiée SQL | +| Attribute Published WSDL | Attribut publiée WSDL | +| Attribute Published Web | Attribut publiée Web | +| Attribute Shared | Attribut partagée | +| Attribute background color | Attribut couleur fond | +| Attribute bold style | Attribut style gras | +| Attribute folder name | Attribut nom dossier | +| Attribute font name | Attribut nom de police | +| Attribute italic style | Attribut style italique | +| Attribute strikethrough style | Attribut style barré | +| Attribute text color | Attribut couleur texte | +| Attribute text size | Attribut taille texte | +| Attribute underline style | Attribut style souligné | +| August | Août | +| Austrian Schilling | Schilling autrichien | +| Auto Synchro Resources Folder | Synchro auto dossier Resources | +| Auto insertion | Insertion automatique | +| Auto key event | Répétition touche | +| Auto repair mode | Mode réparation auto | +| Automatic | Automatique | +| Automatic style sheet | Feuille de style automatique | +| Automatic style sheet_additional | Feuille de style automatique_additionnel | +| Automatic style sheet_main text | Feuille de style automatique_texte principal | +| BEL ASCII code | ASCII BEL | +| BS ASCII code | ASCII BS | +| Background color | Coul arrière plan | +| Background color none | Coul fond transparent | +| Backspace | Retour arrière | +| Backspace Key | Touche retour arrière | +| Backup Process | Process de sauvegarde | +| Backup data settings | Fichier configuration sauvegarde pour le fichier de données | +| Backup history file | Fichier historique des sauvegardes | +| Backup log file | Fichier log sauvegarde | +| Backup structure settings | Fichier configuration sauvegarde | +| Belgian Franc | Franc belge | +| Black | Noir | +| Black and white | Noir et blanc | +| Blank if null date | Vide si date nulle | +| Blank if null time | Vide si heure nulle | +| Blob array | Est un tableau blob | +| Blue | Bleu | +| Bold | Gras | +| Bold and Italic | Gras et italique | +| Bold and Underline | Gras et souligné | +| Boolean array | Est un tableau booléen | +| Border Dotted | Bordure Trait pointillé | +| Border Double | Bordure Double | +| Border None | Bordure Aucune | +| Border Plain | Bordure Normal | +| Border Raised | Bordure Relief | +| Border Sunken | Bordure Relief inversé | +| Border System | Bordure Système | +| Brown | Marron | +| Build application log file | Fichier log application générée | +| Build application settings | Fichier de configuration application | +| CAN ASCII code | ASCII CAN | +| CR ASCII code | ASCII CR | +| Cache Manager | Gestionnaire du cache | +| Cache Priority high | Cache priorité haute | +| Cache Priority low | Cache priorité basse | +| Cache Priority normal | Cache priorité normal | +| Cache Priority very high | Cache priorité très haute | +| Cache Priority very low | Cache priorité très basse | +| Cache flush periodicity | Périodicité écriture cache | +| Cache unload minimum size | Taille minimum libération cache | +| Caps Lock key bit | Bit touche verrouillage maj | +| Caps Lock key mask | Masque touche verrouillage maj | +| Carriage return | Retour chariot | +| Changed resource bit | Bit ressource modifiée | +| Changed resource mask | Masque ressource modifiée | +| Character set | Jeu de caractères | +| Choice list | Liste énumération | +| Circular log limitation | Limitation nombre journaux | +| Client HTTPS Port ID | Client numéro de port HTTPS | +| Client Manager Process | Process gestionnaire clients | +| Client Max Concurrent Web Proc | Client proc Web simultanés maxi | +| Client Server Port ID | Numéro du port client serveur | +| Client Web Log Recording | Client enreg requêtes Web | +| Client character set | Client jeu de caractères | +| Client log Recording | Enreg requêtes client | +| Client port ID | Client numéro de port | +| Cluster BTree Index | Index BTree cluster | +| Code with tokens | Code avec tokens | +| Color option | Option couleur | +| Command key bit | Bit touche commande | +| Command key mask | Masque touche commande | +| Compact address table | Compacter table adresses | +| Compact compression mode | Méthode de compression compacte | +| Compacting log file | Fichier log compactage | +| Compiler process | Process de compilation | +| Control key bit | Bit touche contrôle | +| Control key mask | Masque touche contrôle | +| Controller form window | Form fenêtre contrôleur | +| Copy XML Data Source | Copier source données XML | +| Create process | Créer un process | +| Created from Menu Command | Créé par commande de menu | +| Created from execution dialog | Créé par dialogue d’exécution | +| Crop | Recadrage | +| Currency symbol | Symbole monétaire | +| Current Resources folder | Dossier Resources courant | +| Current backup settings file | Fichier configuration sauvegarde courant | +| Current localization | Langue courante | +| Current process debug log recording | Enreg historique débogage du process courant | +| DB4D Cron | Process DB4D Cron | +| DB4D Flush cache | Process DB4D Ecriture cache | +| DB4D Garbage collector | Process DB4D Garbage collector | +| DB4D Index builder | Process DB4D Index builder | +| DB4D Listener | Process DB4D Listener | +| DB4D Mirror | Process DB4D Miroir | +| DB4D Worker pool user | Process DB4D Worker pool utilisateur | +| DC1 ASCII code | ASCII DC1 | +| DC2 ASCII code | ASCII DC2 | +| DC3 ASCII code | ASCII DC3 | +| DC4 ASCII code | ASCII DC4 | +| DEL ASCII code | ASCII DEL | +| DLE ASCII code | ASCII DLE | +| DOCTYPE Name | Nom DOCTYPE | +| Dark Blue | Bleu foncé | +| Dark Brown | Marron foncé | +| Dark Green | Vert foncé | +| Dark Grey | Gris foncé | +| Dark shadow color | Coul sombre | +| Data bits 5 | Bits de données 5 | +| Data bits 6 | Bits de données 6 | +| Data bits 7 | Bits de données 7 | +| Data bits 8 | Bits de données 8 | +| Data folder | Dossier données | +| Database Folder | Dossier base | +| Database Folder Unix Syntax | Dossier base syntaxe UNIX | +| Date RFC 1123 | Date RFC 1123 | +| Date array | Est un tableau date | +| Date separator | Séparateur date | +| Date type | Type date | +| Dates inside objects | Dates dans les objets | +| Debug Log Recording | Enreg événements debogage | +| Debug log file | Fichier log débogage | +| December | Décembre | +| Decimal separator | Séparateur décimal | +| Default Index Type | Type index par défaut | +| Default localization | Langue par défaut | +| Degree | Degré | +| Delayed | Endormi | +| Delete only if empty | Supprimer si vide | +| Delete with contents | Supprimer avec contenu | +| Demo Version | Version de démonstration | +| Description in Text Format | Description format Texte | +| Description in XML Format | Description format XML | +| Design Process | Process développement | +| Desktop | Bureau | +| Destination option | Option destination | +| Deutsche Mark | Mark allemand | +| Diagnostic Log Recording | Enreg diagnostic | +| Diagnostic log file | Fichier log diagnostic | +| Diagnostic log level | Log niveau diagnostic | +| Direct2D disabled | Direct2D désactivé | +| Direct2D get active status | Direct2D lire statut actif | +| Direct2D hardware | Direct2D matériel | +| Direct2D software | Direct2D logiciel | +| Direct2D status | Direct2D statut | +| Directory file | Directory file | +| Disable events others unchanged | Inactiver événements autres inchangés | +| Disable highlight item color | Coul fond élément sélect désact | +| Disk event | Evénement disque | +| Do not compact index | Ne pas compacter les index | +| Do not create log file | Ne pas créer d’historique | +| Do not modify | Ne pas changer | +| Document URI | URI document | +| Document unchanged | Document inchangé | +| Document with CR | Document avec CR | +| Document with CRLF | Document avec CRLF | +| Document with LF | Document avec LF | +| Document with native format | Document avec format natif | +| Documents folder | Dossier documents | +| Does not exist | Inexistant | +| Double quote | Guillemets | +| Double sided option | Option recto verso | +| Down Arrow Key | Touche bas | +| EM ASCII code | ASCII EM | +| ENQ ASCII code | ASCII ENQ | +| EOT ASCII code | ASCII EOT | +| ESC ASCII code | ASCII ESC | +| ETB ASCII code | ASCII ETB | +| ETX ASCII code | ASCII ETX | +| EXIF Action | EXIF Action | +| EXIF Adobe RGB | EXIF Adobe RGB | +| EXIF Aperture priority AE | EXIF Aperture priority AE | +| EXIF Auto | EXIF Auto | +| EXIF Auto bracket | EXIF Auto bracket | +| EXIF Auto mode | EXIF Auto mode | +| EXIF Average | EXIF Average | +| EXIF B | EXIF B | +| EXIF Cb | EXIF Cb | +| EXIF Center weighted average | EXIF Center weighted average | +| EXIF Close | EXIF Close | +| EXIF Cloudy | EXIF Cloudy | +| EXIF Color sequential area | EXIF Color sequential area | +| EXIF Color sequential linear | EXIF Color sequential linear | +| EXIF Compulsory flash firing | EXIF Compulsory flash firing | +| EXIF Compulsory flash suppression | EXIF Compulsory flash suppression | +| EXIF Cool white fluorescent | EXIF Cool white fluorescent | +| EXIF Cr | EXIF Cr | +| EXIF Creative | EXIF Creative | +| EXIF Custom | EXIF Custom | +| EXIF D50 | EXIF D50 | +| EXIF D55 | EXIF D55 | +| EXIF D65 | EXIF D65 | +| EXIF D75 | EXIF D75 | +| EXIF Day white fluorescent | EXIF Day white fluorescent | +| EXIF Daylight | EXIF Daylight | +| EXIF Daylight fluorescent | EXIF Daylight fluorescent | +| EXIF Detected | EXIF Detected | +| EXIF Digital camera | EXIF Digital camera | +| EXIF Distant | EXIF Distant | +| EXIF EXIF version | EXIF EXIF version | +| EXIF Exposure portrait | EXIF Exposure portrait | +| EXIF F number | EXIF F number | +| EXIF Film scanner | EXIF Film scanner | +| EXIF Fine weather | EXIF Fine weather | +| EXIF Flash fired | EXIF Flash fired | +| EXIF Flashlight | EXIF Flashlight | +| EXIF G | EXIF G | +| EXIF High | EXIF High | +| EXIF High gain down | EXIF High gain down | +| EXIF High gain up | EXIF High gain up | +| EXIF ISO speed ratings | EXIF ISO speed ratings | +| EXIF ISOStudio tungsten | EXIF ISOStudio tungsten | +| EXIF Landscape | EXIF Landscape | +| EXIF Light fluorescent | EXIF Light fluorescent | +| EXIF Low | EXIF Low | +| EXIF Low gain down | EXIF Low gain down | +| EXIF Low gain up | EXIF Low gain up | +| EXIF Macro | EXIF Macro | +| EXIF Manual | EXIF Manual | +| EXIF Multi segment | EXIF Multi segment | +| EXIF Multi spot | EXIF Multi spot | +| EXIF Night | EXIF Night | +| EXIF No detection function | EXIF No detection function | +| EXIF None | EXIF None | +| EXIF Normal | EXIF Normal | +| EXIF Not defined | EXIF Not defined | +| EXIF Not detected | EXIF Not detected | +| EXIF One chip color area | EXIF One chip color area | +| EXIF Other | EXIF Other | +| EXIF Partial | EXIF Partial | +| EXIF Program AE | EXIF Program AE | +| EXIF R | EXIF R | +| EXIF Reflection print scanner | EXIF Reflection print scanner | +| EXIF Reserved | EXIF Reserved | +| EXIF Scene landscape | EXIF Scene landscape | +| EXIF Scene portrait | EXIF Scene portrait | +| EXIF Shade | EXIF Shade | +| EXIF Shutter speed priority AE | EXIF Shutter speed priority AE | +| EXIF Spot | EXIF Spot | +| EXIF Standard | EXIF Standard | +| EXIF Standard light A | EXIF Standard light A | +| EXIF Standard light B | EXIF Standard light B | +| EXIF Standard light C | EXIF Standard light C | +| EXIF Three chip color area | EXIF Three chip color area | +| EXIF Trilinear | EXIF Trilinear | +| EXIF Tungsten | EXIF Tungsten | +| EXIF Two chip color area | EXIF Two chip color area | +| EXIF Uncalibrated | EXIF Uncalibrated | +| EXIF Unknown | EXIF Unknown | +| EXIF Unused | EXIF Unused | +| EXIF White fluorescent | EXIF White fluorescent | +| EXIF Y | EXIF Y | +| EXIF aperture value | EXIF aperture value | +| EXIF brightness value | EXIF brightness value | +| EXIF color space | EXIF color space | +| EXIF components configuration | EXIF components configuration | +| EXIF compressed bits per pixel | EXIF compressed bits per pixel | +| EXIF contrast | EXIF contrast | +| EXIF custom rendered | EXIF custom rendered | +| EXIF date time digitized | EXIF date time digitized | +| EXIF date time original | EXIF date time original | +| EXIF digital zoom ratio | EXIF digital zoom ratio | +| EXIF exposure bias value | EXIF exposure bias value | +| EXIF exposure index | EXIF exposure index | +| EXIF exposure mode | EXIF exposure mode | +| EXIF exposure program | EXIF exposure program | +| EXIF exposure time | EXIF exposure time | +| EXIF file source | EXIF file source | +| EXIF flash | EXIF flash | +| EXIF flash energy | EXIF flash energy | +| EXIF flash function present | EXIF flash function present | +| EXIF flash mode | EXIF flash mode | +| EXIF flash pix version | EXIF flash pix version | +| EXIF flash red eye reduction | EXIF flash red eye reduction | +| EXIF flash return light | EXIF flash return light | +| EXIF focal len in 35 mm film | EXIF focal lens in 35 mm film | +| EXIF focal length | EXIF focal length | +| EXIF focal plane X resolution | EXIF focal plane X resolution | +| EXIF focal plane Y resolution | EXIF focal plane Y resolution | +| EXIF focal plane resolution unit | EXIF focal plane resolution unit | +| EXIF gain control | EXIF gain control | +| EXIF gamma | EXIF gamma | +| EXIF image unique ID | EXIF image unique ID | +| EXIF light source | EXIF light source | +| EXIF maker note | EXIF maker note | +| EXIF max aperture value | EXIF max aperture value | +| EXIF metering Mode | EXIF metering mode | +| EXIF pixel X dimension | EXIF pixel X dimension | +| EXIF pixel Y dimension | EXIF pixel Y dimension | +| EXIF related sound file | EXIF related sound file | +| EXIF s RGB | EXIF s RGB | +| EXIF saturation | EXIF saturation | +| EXIF scene capture type | EXIF scene capture type | +| EXIF scene type | EXIF scene type | +| EXIF sensing method | EXIF sensing method | +| EXIF sharpness | EXIF sharpness | +| EXIF shutter speed value | EXIF shutter speed value | +| EXIF spectral sensitivity | EXIF spectral sensitivity | +| EXIF subject Distance | EXIF subject distance | +| EXIF subject area | EXIF subject area | +| EXIF subject dist range | EXIF subject dist range | +| EXIF subject location | EXIF subject location | +| EXIF user comment | EXIF user comment | +| EXIF white balance | EXIF white balance | +| Editor theme folder | Dossier des thèmes éditeur | +| Enable events disable others | Activer événements inactiver autres | +| Enable events others unchanged | Activer événements autres inchangés | +| Encoding | Encoding | +| End Key | Touche fin | +| Enter | Entrée | +| Enter Key | Touche entrée | +| Error Message | Message d’erreur | +| Escape | Échappement | +| Escape Key | Touche échappement | +| Euro | Euro | +| Event Manager | Gestionnaire d’événement | +| Excluded list | Liste exclusions | +| Execute on Client Process | Process exécuté sur client | +| Execute on Server Process | Process exécuté sur serveur | +| Executing | En exécution | +| Extended real format | Format réel étendu | +| External Task | Tâche externe | +| External window | Fenêtre externe | +| F1 Key | Touche F1 | +| F10 Key | Touche F10 | +| F11 Key | Touche F11 | +| F12 Key | Touche F12 | +| F13 Key | Touche F13 | +| F14 Key | Touche F14 | +| F15 Key | Touche F15 | +| F2 Key | Touche F2 | +| F3 Key | Touche F3 | +| F4 Key | Touche F4 | +| F5 Key | Touche F5 | +| F6 Key | Touche F6 | +| F7 Key | Touche F7 | +| F8 Key | Touche F8 | +| F9 Key | Touche F9 | +| FF ASCII code | ASCII FF | +| FS ASCII code | ASCII FS | +| Fade to grey scale | Passage en niveaux de gris | +| Fast compression mode | Méthode de compression rapide | +| Favorite fonts | Polices favorites | +| Favorites Win | Favoris Win | +| February | Février | +| Field attribute with name | Attribut champ nom | +| Field attribute with number | Attribut champ numéro | +| File name entry | Saisie nom de fichier | +| Finnish Markka | Mark finlandais | +| Flip horizontally | Miroir horizontal | +| Flip vertically | Miroir vertical | +| Floating window | Fenêtre flottante | +| Folder separator | Séparateur dossier | +| Folder separator | Séparateur dossier | +| Folder separator | Séparateur dossier | +| Fonts | Polices | +| Foreground color | Coul premier plan | +| Form Break0 | Rupture formulaire0 | +| Form Break1 | Rupture formulaire1 | +| Form Break2 | Rupture formulaire2 | +| Form Break3 | Rupture formulaire3 | +| Form Break4 | Rupture formulaire4 | +| Form Break5 | Rupture formulaire5 | +| Form Break6 | Rupture formulaire6 | +| Form Break7 | Rupture formulaire7 | +| Form Break8 | Rupture formulaire8 | +| Form Break9 | Rupture formulaire9 | +| Form Detail | Corps formulaire | +| Form Footer | Pied de page formulaire | +| Form Header | Entête formulaire | +| Form Header1 | Entête formulaire1 | +| Form Header10 | Entête formulaire10 | +| Form Header2 | Entête formulaire2 | +| Form Header3 | Entête formulaire3 | +| Form Header4 | Entête formulaire4 | +| Form Header5 | Entête formulaire5 | +| Form Header6 | Entête formulaire6 | +| Form Header7 | Entête formulaire7 | +| Form Header8 | Entête formulaire8 | +| Form Header9 | Entête formulaire9 | +| Form all pages | Form toutes les pages | +| Form current page | Form page courante | +| Form has full screen mode Mac | Form avec mode plein écran Mac | +| Form has no menu bar | Form sans barre de menus | +| Form inherited | Form hérité | +| Formula in with virtual structure | Formule entrée avec structure virtuelle | +| Formula out with tokens | Formule sortie avec tokens | +| Formula out with virtual structure | Formule sortie avec structure virtuelle | +| Four colors | Quatre couleurs | +| French Franc | Franc français | +| Friday | Vendredi | +| Full method text | Texte méthode | +| GPS 2D | GPS 2D | +| GPS 3D | GPS 3D | +| GPS Above sea level | GPS Above sea level | +| GPS Below sea level | GPS Below sea level | +| GPS Correction applied | GPS Correction applied | +| GPS Correction not applied | GPS Correction not applied | +| GPS DOP | GPS DOP | +| GPS East | GPS East | +| GPS Processing method | GPS Processing method | +| GPS Satellites | GPS Satellites | +| GPS Speed | GPS Speed | +| GPS Speed ref | GPS Speed ref | +| GPS Status | GPS Status | +| GPS Track | GPS Track | +| GPS Track ref | GPS Track ref | +| GPS Version ID | GPS Version ID | +| GPS altitude | GPS altitude | +| GPS altitude ref | GPS altitude ref | +| GPS area information | GPS area information | +| GPS date time | GPS date time | +| GPS dest bearing | GPS dest bearing | +| GPS dest bearing ref | GPS dest bearing ref | +| GPS dest distance | GPS dest distance | +| GPS dest distance ref | GPS dest distance ref | +| GPS dest latitude | GPS dest latitude | +| GPS dest latitude deg | GPS dest latitude deg | +| GPS dest latitude dir | GPS dest latitude dir | +| GPS dest latitude min | GPS dest latitude min | +| GPS dest latitude sec | GPS dest latitude sec | +| GPS dest longitude | GPS dest longitude | +| GPS dest longitude deg | GPS dest longitude deg | +| GPS dest longitude dir | GPS dest longitude dir | +| GPS dest longitude min | GPS dest longitude min | +| GPS dest longitude sec | GPS dest longitude sec | +| GPS differential | GPS differential | +| GPS img direction | GPS img direction | +| GPS img direction ref | GPS img direction ref | +| GPS km h | GPS km h | +| GPS knots h | GPS knots h | +| GPS latitude | GPS latitude | +| GPS latitude deg | GPS latitude deg | +| GPS latitude dir | GPS latitude dir | +| GPS latitude min | GPS latitude min | +| GPS latitude sec | GPS latitude sec | +| GPS longitude | GPS longitude | +| GPS longitude deg | GPS longitude deg | +| GPS longitude dir | GPS longitude dir | +| GPS longitude min | GPS longitude min | +| GPS longitude sec | GPS longitude sec | +| GPS magnetic north | GPS magnetic north | +| GPS map datum | GPS map datum | +| GPS measure mode | GPS measure mode | +| GPS measurement Interoperability | GPS measurement Interoperability | +| GPS measurement in progress | GPS measurement in progress | +| GPS miles h | GPS niles h | +| GPS north | GPS north | +| GPS south | GPS south | +| GPS true north | GPS true north | +| GPS west | GPS west | +| GS ASCII code | ASCII GS | +| GZIP best compression mode | GZIP méthode de compression compacte | +| GZIP fast compression mode | GZIP méthode de compression rapide | +| Generic PDF driver | Driver PDF générique | +| Get Pathname | Lire chemin accès | +| Get XML Data Source | Lire source données XML | +| Graph background color | Graphe couleur fond | +| Graph background opacity | Graphe opacité fond | +| Graph background shadow color | Graphe couleur ombre | +| Graph bottom margin | Graphe marge basse | +| Graph colors | Graphe couleurs | +| Graph column gap | Graphe espacement colonnes | +| Graph column width max | Graphe largeur max colonne | +| Graph column width min | Graphe largeur min colonne | +| Graph default height | Graphe hauteur par défaut | +| Graph default width | Graphe largeur par défaut | +| Graph display legend | Graphe afficher la légende | +| Graph document background color | Graphe couleur fond document | +| Graph document background opacity | Graphe opacité fond document | +| Graph font color | Graphe couleur police | +| Graph font family | Graphe famille police | +| Graph font size | Graphe taille police | +| Graph left margin | Graphe marge gauche | +| Graph legend font color | Graphe couleur police légende | +| Graph legend icon gap | Graphe espacement icônes légende | +| Graph legend icon height | Graphe hauteur icônes légende | +| Graph legend icon width | Graphe largeur icônes légende | +| Graph legend labels | Graphe libellés légende | +| Graph line width | Graphe épaisseur des lignes | +| Graph number format | Graphe format des nombres | +| Graph pie direction | Graphe direction secteurs | +| Graph pie font size | Graphe taille police des secteurs | +| Graph pie shift | Graphe décalage secteurs | +| Graph pie start angle | Graphe angle départ secteurs | +| Graph plot height | Graphe hauteur des points | +| Graph plot radius | Graphe rayon des points | +| Graph plot width | Graphe largeur des points | +| Graph right margin | Graphe marge droite | +| Graph top margin | Graphe marge haute | +| Graph type | Graphe type | +| Graph xGrid | Graphe xGrille | +| Graph xMax | Graphe xMax | +| Graph xMin | Graphe xMin | +| Graph xProp | Graphe xProp | +| Graph yGrid | Graphe yGrille | +| Graph yMax | Graphe yMax | +| Graph yMin | Graphe yMin | +| Greek Drachma | Drachme grecque | +| Green | Vert | +| Grey | Gris | +| HH MM | h mn | +| HH MM AM PM | h mn Matin Après Midi | +| HH MM SS | h mn s | +| HT ASCII code | ASCII HT | +| HTML Root Folder | Dossier racine HTML | +| HTTP Client log file | Fichier log HTTP Client | +| HTTP Compression Level | Niveau de compression HTTP | +| HTTP Compression Threshold | Seuil de compression HTTP | +| HTTP DELETE method | HTTP méthode DELETE | +| HTTP GET method | HTTP méthode GET | +| HTTP HEAD method | HTTP méthode HEAD | +| HTTP Listener | Process HTTP Listener | +| HTTP Log flusher | Process HTTP Ecriture historique | +| HTTP OPTIONS method | HTTP méthode OPTIONS | +| HTTP POST method | HTTP méthode POST | +| HTTP PUT method | HTTP méthode PUT | +| HTTP TRACE method | HTTP méthode TRACE | +| HTTP Worker pool server | Process HTTP Worker pool serveur | +| HTTP basic | HTTP basic | +| HTTP client log | HTTP client log | +| HTTP compression | HTTP compression | +| HTTP debug log file | Fichier log débogage HTTP | +| HTTP digest | HTTP digest | +| HTTP disable log | HTTP désactiver log | +| HTTP display auth dial | HTTP afficher dial auth | +| HTTP enable log with all body parts | HTTP activer log avec tous body | +| HTTP enable log with request body | HTTP activer log avec body request | +| HTTP enable log with response body | HTTP activer log avec body response | +| HTTP enable log without body | HTTP activer log sans body | +| HTTP follow redirect | HTTP suivre redirection | +| HTTP log file | Fichier log HTTP | +| HTTP max redirect | HTTP redirections max | +| HTTP reset auth settings | HTTP effacer infos auth | +| HTTP timeout | HTTP timeout | +| HTTPS port ID | Numéro de port HTTPS | +| Has full screen mode Mac | Avec mode plein écran Mac | +| Has grow box | Avec case de contrôle de taille | +| Has highlight | Avec barre de titre active | +| Has window title | Avec titre de fenêtre | +| Has zoom box | Avec case de zoom | +| Help Key | Touche aide | +| Highlight menu background color | Coul fond ligne menu sélect | +| Highlight menu text color | Coul texte ligne menu sélect | +| Highlight text background color | Coul de fond texte sélect | +| Highlight text color | Coul texte sélect | +| Highlighted method text | Texte méthode surligné | +| Home Key | Touche début | +| Home folder | Dossier personnel | +| Horizontal concatenation | Concaténation horizontale | +| Horizontally Centered | Centrée horizontalement | +| Hour Min Sec | Heures minutes secondes | +| Hour min | Heures minutes | +| IMAP Log | IMAP Enreg historique | +| IMAP all | IMAP all | +| IMAP authentication CRAM MD5 | IMAP authentication CRAM MD5 | +| IMAP authentication OAUTH2 | IMAP authentication OAUTH2 | +| IMAP authentication login | IMAP authentication login | +| IMAP authentication plain | IMAP authentication plain | +| IMAP log file | Fichier log IMAP | +| IMAP read only state | IMAP read only state | +| IMAP read write state | IMAP read write state | +| IPTC Byline | IPTC Byline | +| IPTC Byline title | IPTC Byline title | +| IPTC Date time created | IPTC date time created | +| IPTC Digital creation date time | IPTC digital creation date time | +| IPTC Image orientation | IPTC Image orientation | +| IPTC Image type | IPTC Image type | +| IPTC Keywords | IPTC Keywords | +| IPTC Language identifier | IPTC Language identifier | +| IPTC Object Attribute reference | IPTC Object attribute reference | +| IPTC Object cycle | IPTC Object cycle | +| IPTC Object name | IPTC Object name | +| IPTC Original transmission reference | IPTC Original transmission reference | +| IPTC Originating program | IPTC Originating program | +| IPTC Release date time | IPTC Release date time | +| IPTC Urgency | IPTC Urgency | +| IPTC Writer editor | IPTC Writer editor | +| IPTC action | IPTC action | +| IPTC aerial view | IPTC aerial view | +| IPTC caption abstract | IPTC caption abstract | +| IPTC category | IPTC category | +| IPTC city | IPTC city | +| IPTC close up | IPTC close up | +| IPTC contact | IPTC contact | +| IPTC content location code | IPTC content location code | +| IPTC content location name | IPTC content location name | +| IPTC copyright notice | IPTC copyright notice | +| IPTC country primary location code | IPTC country primary location code | +| IPTC country primary location name | IPTC country primary location name | +| IPTC couple | IPTC couple | +| IPTC credit | IPTC credit | +| IPTC edit status | IPTC edit status | +| IPTC expiration date time | IPTC expiration date time | +| IPTC exterior view | IPTC exterior view | +| IPTC fixture identifier | IPTC fixture identifier | +| IPTC full length | IPTC full length | +| IPTC general view | IPTC general view | +| IPTC group | IPTC group | +| IPTC half length | IPTC half length | +| IPTC headline | IPTC headline | +| IPTC headshot | IPTC headshot | +| IPTC interior view | IPTC interior view | +| IPTC movie scene | IPTC movie scene | +| IPTC night scene | IPTC night scene | +| IPTC off beat | IPTC off beat | +| IPTC panoramic view | IPTC panoramic view | +| IPTC performing | IPTC performing | +| IPTC posing | IPTC posing | +| IPTC profile | IPTC profile | +| IPTC program version | IPTC program version | +| IPTC province state | IPTC province state | +| IPTC rear view | IPTC rear view | +| IPTC satellite | IPTC satellite | +| IPTC scene | IPTC scene | +| IPTC single | IPTC single | +| IPTC source | IPTC source | +| IPTC special instructions | IPTC special instructions | +| IPTC star rating | IPTC star rating | +| IPTC sub Location | IPTC sub location | +| IPTC subject reference | IPTC subject reference | +| IPTC supplemental category | IPTC supplemental category | +| IPTC symbolic | IPTC symbolic | +| IPTC two | IPTC two | +| IPTC under water | IPTC under water | +| ISO L1 Ampersand | ISO L1 Et commercial | +| ISO L1 Cap A acute | ISO L1 A majus aigu | +| ISO L1 Cap A circumflex | ISO L1 A majus circonflexe | +| ISO L1 Cap A grave | ISO L1 A majus grave | +| ISO L1 Cap A ring | ISO L1 A majus rond | +| ISO L1 Cap A tilde | ISO L1 A majus tilde | +| ISO L1 Cap A umlaut | ISO L1 A majus umlaut | +| ISO L1 Cap AE ligature | ISO L1 AE majus ligature | +| ISO L1 Cap C cedilla | ISO L1 C majus cédille | +| ISO L1 Cap E acute | ISO L1 E majus aigu | +| ISO L1 Cap E circumflex | ISO L1 E majus circonflexe | +| ISO L1 Cap E grave | ISO L1 E majus grave | +| ISO L1 Cap E umlaut | ISO L1 E majus umlaut | +| ISO L1 Cap Eth Icelandic | ISO L1 Eth majus islandais | +| ISO L1 Cap I acute | ISO L1 I majus aigu | +| ISO L1 Cap I circumflex | ISO L1 I majus circonflexe | +| ISO L1 Cap I grave | ISO L1 I majus grave | +| ISO L1 Cap I umlaut | ISO L1 I majus umlaut | +| ISO L1 Cap N tilde | ISO L1 N majus tilde | +| ISO L1 Cap O acute | ISO L1 O majus aigu | +| ISO L1 Cap O circumflex | ISO L1 O majus circonflexe | +| ISO L1 Cap O grave | ISO L1 O majus grave | +| ISO L1 Cap O slash | ISO L1 O majus barré | +| ISO L1 Cap O tilde | ISO L1 O majus tilde | +| ISO L1 Cap O umlaut | ISO L1 O majus umlaut | +| ISO L1 Cap THORN Icelandic | ISO L1 THORN majus islandais | +| ISO L1 Cap U acute | ISO L1 U majus aigu | +| ISO L1 Cap U circumflex | ISO L1 U majus circonflexe | +| ISO L1 Cap U grave | ISO L1 U majus grave | +| ISO L1 Cap U umlaut | ISO L1 U majus umlaut | +| ISO L1 Cap Y acute | ISO L1 Y majus aigu | +| ISO L1 Copyright | ISO L1 Copyright | +| ISO L1 Greater than | ISO L1 Supérieur à | +| ISO L1 Less than | ISO L1 Inférieur à | +| ISO L1 Quotation mark | ISO L1 Guillemets | +| ISO L1 Registered | ISO L1 Marque déposée | +| ISO L1 a acute | ISO L1 a aigu | +| ISO L1 a circumflex | ISO L1 a circonflexe | +| ISO L1 a grave | ISO L1 a grave | +| ISO L1 a ring | ISO L1 a rond | +| ISO L1 a tilde | ISO L1 a tilde | +| ISO L1 a umlaut | ISO L1 a umlaut | +| ISO L1 ae ligature | ISO L1 ae ligature | +| ISO L1 c cedilla | ISO L1 c cédille | +| ISO L1 e acute | ISO L1 e aigu | +| ISO L1 e circumflex | ISO L1 e circonflexe | +| ISO L1 e grave | ISO L1 e grave | +| ISO L1 e umlaut | ISO L1 e umlaut | +| ISO L1 eth Icelandic | ISO L1 eth islandais | +| ISO L1 i acute | ISO L1 i aigu | +| ISO L1 i circumflex | ISO L1 i circonflexe | +| ISO L1 i grave | ISO L1 i grave | +| ISO L1 i umlaut | ISO L1 i umlaut | +| ISO L1 n tilde | ISO L1 n tilde | +| ISO L1 o acute | ISO L1 o aigu | +| ISO L1 o circumflex | ISO L1 o circonflexe | +| ISO L1 o grave | ISO L1 o grave | +| ISO L1 o slash | ISO L1 o barré | +| ISO L1 o tilde | ISO L1 o tilde | +| ISO L1 o umlaut | ISO L1 o umlaut | +| ISO L1 sharp s German | ISO L1 s Es zett allemand | +| ISO L1 thorn Icelandic | ISO L1 thorn islandais | +| ISO L1 u acute | ISO L1 u aigu | +| ISO L1 u circumflex | ISO L1 u circonflexe | +| ISO L1 u grave | ISO L1 u grave | +| ISO L1 u umlaut | ISO L1 u umlaut | +| ISO L1 y acute | ISO L1 y aigu | +| ISO L1 y umlaut | ISO L1 y umlaut | +| ISO date | ISO date | +| ISO date GMT | ISO date GMT | +| ISO time | ISO heure | +| Idle Connections Timeout | Timeout connexions inactives | +| Ignore invisible | Ignorer invisibles | +| In contents | Dans zone contenu | +| Indexing Process | Gestionnaire d’index | +| Indicator Asynchronous progress bar | Indicateur de progression asynchrone | +| Indicator Barber shop | Indicateur Barber shop | +| Indicator Progress bar | Indicateur Barre de progression | +| Information Message | Message d’information | +| Integer array | Est un tableau entier | +| Intel Compatible | Compatible Intel | +| Internal 4D Server Process | Process 4D Server interne | +| Internal 4D localization | Langue interne 4D | +| Internal Timer Process | Process minuteur interne | +| Internal date abbreviated | Interne date abrégé | +| Internal date long | Interne date long | +| Internal date short | Interne date court | +| Internal date short special | Interne date court spécial | +| Into 4D Commands Log | Vers historique commandes 4D | +| Into 4D Debug Message | Vers message débogage | +| Into 4D Diagnostic Log | Vers historique diagnostic | +| Into 4D Request Log | Vers historique requêtes 4D | +| Into Windows Log Events | Vers observateur Windows | +| Into current selection | Vers sélection courante | +| Into named selection | Vers sélection temporaire | +| Into set | Vers ensemble | +| Into system standard outputs | Vers sorties standard système | +| Into variable | Vers variable | +| Irish Pound | Livre irlandaise | +| Is Alpha Field | Est un champ alpha | +| Is BLOB | Est un BLOB | +| Is DOM reference | Est une référence DOM | +| Is Date | Est une date | +| Is Integer | Est un entier | +| Is Integer 64 bits | Est un entier 64 bits | +| Is LongInt | Est un entier long | +| Is Picture | Est une image | +| Is Pointer | Est un pointeur | +| Is Real | Est un numérique | +| Is String Var | Est une variable chaîne | +| Is Subtable | Est une sous table | +| Is Text | Est un texte | +| Is Time | Est une heure | +| Is Undefined | Est une variable indéfinie | +| Is XML | Est un XML | +| Is a document | Est un document | +| Is a folder | Est un dossier | +| Is boolean | Est un booléen | +| Is collection | Est une collection | +| Is color | Est en couleurs | +| Is current database a project | Base courante est projet | +| Is gray scale | Est en niveaux de gris | +| Is host database a project | Base hôte est projet | +| Is host database writable | Base hôte est en écriture | +| Is not compressed | Non compressé | +| Is null | Est un null | +| Is object | Est un objet | +| Is variant | Est un variant | +| Italian Lira | Lire italienne | +| Italic | Italique | +| Italic and Underline | Italique et souligné | +| January | Janvier | +| July | Juillet | +| June | Juin | +| Key down event | Touche enfoncée | +| Key up event | Touche relâchée | +| Keywords Index | Index de mots clés | +| LDAP all levels | LDAP tous niveaux | +| LDAP clear password | LDAP mot de passe en clair | +| LDAP digest MD5 password | LDAP mot de passe en digest MD5 | +| LDAP root and next | LDAP racine et suivant | +| LDAP root only | LDAP racine uniquement | +| LF ASCII code | ASCII LF | +| Last Backup Date | Date dernière sauvegarde | +| Last Backup Status | Statut dernière sauvegarde | +| Last Backup information | Information dernière sauvegarde | +| Last Restore Date | Date dernière restitution | +| Last Restore Status | Statut dernière restitution | +| Last backup file | Fichier dernière sauvegarde | +| Last journal integration log file | Fichier dernière intégration historique | +| Left Arrow Key | Touche gauche | +| Legacy printing layer option | Option ancienne couche impression | +| Libldap version | Version Libldap | +| Libsasl version | Version Libsasl | +| Libzip version | Version Libzip | +| Licenses Folder | Dossier Licenses | +| Light Blue | Bleu clair | +| Light Grey | Gris clair | +| Light shadow color | Coul claire | +| Line feed | Retour à la ligne | +| Locked resource bit | Bit ressource verrouillée | +| Locked resource mask | Masque ressource verrouillée | +| Log Command list | Liste commandes enreg | +| Log File Process | Process du fichier d’historique | +| Log debug | Log débogue | +| Log error | Log erreur | +| Log info | Log info | +| Log trace | Log trace | +| Log warn | Log avertissement | +| Logger process | Process Logger | +| Logs Folder | Dossier Logs | +| LongInt array | Est un tableau entierlong | +| Luxembourg Franc | Franc luxembourgeois | +| MAXINT | MAXENT | +| MAXLONG | MAXLONG | +| MAXTEXTLENBEFOREV11 | MAXLONGTEXTEAVANTV11 | +| MD5 digest | Digest MD5 | +| MM SS | mn s | +| MSC Process | Process CSM | +| Mac C string | Mac chaîne en C | +| Mac OS | Mac OS | +| Mac Pascal string | Mac chaîne pascal | +| Mac spool file format option | Option mode impression Mac | +| Mac text with length | Mac texte avec longueur | +| Mac text without length | Mac texte sans longueur | +| MacOS Printer Port | Port imprimante MacOS | +| MacOS Serial Port | Port série MacOS | +| Macintosh byte ordering | Ordre octets Macintosh | +| Macintosh double real format | Format réel double Macintosh | +| Main 4D process | Process principal 4D | +| Main Process | Process principal | +| Manual | Manuel | +| March | Mars | +| Max Concurrent Web Processes | Process Web simultanés maxi | +| Maximum Web requests size | Taille maximum requêtes Web | +| May | Mai | +| Merged application | Application fusionnée | +| Method editor macro Process | Process macro éditeur de méthod | +| Millions of colors 24 bit | Millions de couleurs 24 bits | +| Millions of colors 32 bit | Millions de couleurs 32 bits | +| Min Sec | Minutes secondes | +| Min TLS version | Min version TLS | +| MobileApps folder | Dossier MobileApps | +| Modal dialog | Fenêtre modale | +| Modal dialog box | Dialogue modal | +| Modal form dialog box | Form dialogue modal | +| Monday | Lundi | +| Monitor Process | Process d’activité | +| Mouse button bit | Bit bouton souris | +| Mouse button mask | Masque bouton souris | +| Mouse down event | Bouton souris enfoncé | +| Mouse up event | Bouton souris relâché | +| Movable dialog box | Dialogue modal déplaçable | +| Movable form dialog box | Form dialogue modal déplaçable | +| Movable form dialog box no title | Form dialogue modal déplaçable sans titre | +| Move to Replaced files folder | Déplacer dans Replaced files | +| Multiline Auto | Multiligne Auto | +| Multiline No | Multiligne Non | +| Multiline Yes | Multiligne Oui | +| Multiple Selection | Sélection multiple | +| Multiple files | Fichiers multiples | +| NAK ASCII code | ASCII NAK | +| NBSP ASCII CODE | ASCII Espace insécable | +| NUL ASCII code | ASCII NUL | +| Native byte ordering | Ordre octets natif | +| Native real format | Format réel natif | +| Netherlands Guilder | Florin néerlandais | +| New file | Nouveau fichier | +| New file dialog | Dialogue nouveau fichier | +| New record | Est un nouvel enregistrement | +| Next Backup Date | Date prochaine sauvegarde | +| No Selection | Pas de sélection | +| No current record | Aucun enregistrement courant | +| No relation | Pas de lien | +| No such data in pasteboard | Données absentes conteneur | +| None | Aucun | +| Normal | Normal | +| November | Novembre | +| Null event | Evénement nul | +| Number of copies option | Option nombre copies | +| Number of formulas in cache | Nombre de formules en cache | +| Object First in entry order | Objet Premier ordre saisie | +| Object array | Est un tableau objet | +| Object current | Objet courant | +| Object named | Objet nommé | +| Object subform container | Objet conteneur sous formulaire | +| Object type 3D button | Objet type bouton 3D | +| Object type 3D checkbox | Objet type case à cocher 3D | +| Object type 3D radio button | Objet type bouton radio 3D | +| Object type button grid | Objet type grille de boutons | +| Object type checkbox | Objet type case à cocher | +| Object type combobox | Objet type combobox | +| Object type dial | Objet type cadran | +| Object type group | Objet type groupe | +| Object type groupbox | Objet type zone de groupe | +| Object type hierarchical list | Objet type liste hiérarchique | +| Object type hierarchical popup menu | Objet type menu déroulant hiérarchique | +| Object type highlight button | Objet type bouton inversé | +| Object type invisible button | Objet type bouton invisible | +| Object type line | Objet type ligne | +| Object type listbox | Objet type listbox | +| Object type listbox column | Objet type listbox colonne | +| Object type listbox footer | Objet type listbox pied | +| Object type listbox header | Objet type listbox entête | +| Object type matrix | Objet type matrice | +| Object type oval | Objet type ovale | +| Object type picture button | Objet type bouton image | +| Object type picture input | Objet type saisie image | +| Object type picture popup menu | Objet type popup menu image | +| Object type picture radio button | Objet type bouton radio image | +| Object type plugin area | Objet type zone plug in | +| Object type popup dropdown list | Objet type popup liste déroulante | +| Object type progress indicator | Objet type indicateur de progression | +| Object type push button | Objet type bouton poussoir | +| Object type radio button | Objet type bouton radio | +| Object type radio button field | Objet type champ radio bouton | +| Object type rectangle | Objet type rectangle | +| Object type rounded rectangle | Objet type rectangle arrondi | +| Object type ruler | Objet type règle | +| Object type splitter | Objet type séparateur | +| Object type static picture | Objet type image statique | +| Object type static text | Objet type texte statique | +| Object type subform | Objet type sous formulaire | +| Object type tab control | Objet type onglet | +| Object type text input | Objet type saisie texte | +| Object type unknown | Objet type inconnu | +| Object type view pro area | Objet type zone view pro | +| Object type web area | Objet type zone web | +| Object type write pro area | Objet type zone write pro | +| Object with focus | Objet avec focus | +| October | Octobre | +| On Activate | Sur activation | +| On After Edit | Sur après modification | +| On After Keystroke | Sur après frappe clavier | +| On After Sort | Sur après tri | +| On Alternative Click | Sur clic alternatif | +| On Background | Sur fond | +| On Before Data Entry | Sur avant saisie | +| On Before Keystroke | Sur avant frappe clavier | +| On Begin Drag Over | Sur début glisser | +| On Begin URL Loading | Sur début chargement URL | +| On Bound Variable Change | Sur modif variable liée | +| On Clicked | Sur clic | +| On Close Box | Sur case de fermeture | +| On Close Detail | Sur fermeture corps | +| On Collapse | Sur contracter | +| On Column Moved | Sur déplacement colonne | +| On Column Resize | Sur redimensionnement colonne | +| On Data Change | Sur données modifiées | +| On Deactivate | Sur désactivation | +| On Delete Action | Sur action suppression | +| On Deleting Record Event | Sur suppression enregistrement | +| On Display Detail | Sur affichage corps | +| On Double Clicked | Sur double clic | +| On Drag Over | Sur glisser | +| On Drop | Sur déposer | +| On End URL Loading | Sur fin chargement URL | +| On Exit Process | Process sur fermeture | +| On Expand | Sur déployer | +| On Footer Click | Sur clic pied | +| On Getting Focus | Sur gain focus | +| On Header | Sur entête | +| On Header Click | Sur clic entête | +| On Load | Sur chargement | +| On Load Record | Sur chargement ligne | +| On Long Click | Sur clic long | +| On Losing Focus | Sur perte focus | +| On Menu Selected | Sur menu sélectionné | +| On Mouse Enter | Sur début survol | +| On Mouse Leave | Sur fin survol | +| On Mouse Move | Sur survol | +| On Mouse Up | Sur relâchement bouton | +| On Open Detail | Sur ouverture corps | +| On Open External Link | Sur ouverture lien externe | +| On Outside Call | Sur appel extérieur | +| On Page Change | Sur changement de page | +| On Plug in Area | Sur appel zone du plug in | +| On Printing Break | Sur impression sous total | +| On Printing Detail | Sur impression corps | +| On Printing Footer | Sur impression pied de page | +| On Resize | Sur redimensionnement | +| On Row Moved | Sur déplacement ligne | +| On Row Resize | Sur redimensionnement ligne | +| On Saving Existing Record Event | Sur sauvegarde enregistrement | +| On Saving New Record Event | Sur sauvegarde nouvel enreg | +| On Scroll | Sur défilement | +| On Selection Change | Sur nouvelle sélection | +| On Timer | Sur minuteur | +| On URL Filtering | Sur filtrage URL | +| On URL Loading Error | Sur erreur chargement URL | +| On URL Resource Loading | Sur chargement ressource URL | +| On Unload | Sur libération | +| On VP Range Changed | Sur VP plage changée | +| On VP Ready | Sur VP prêt | +| On Validate | Sur validation | +| On Window Opening Denied | Sur refus ouverture fenêtre | +| On after host database exit | Sur après fermeture base hôte | +| On after host database startup | Sur après ouverture base hôte | +| On application background move | Sur passage arrière plan | +| On application foreground move | Sur passage premier plan | +| On before host database exit | Sur avant fermeture base hôte | +| On before host database startup | Sur avant ouverture base hôte | +| On object locked abort | Sur objet verrouillé abandonner | +| On object locked confirm | Sur objet verrouillé confirmer | +| On object locked retry | Sur objet verrouillé réessayer | +| On the Left | À gauche | +| On the Right | À droite | +| OpenSSL version | Version OpenSSL | +| Operating system event | Evénement système | +| Option key bit | Bit touche option | +| Option key mask | Masque touche option | +| Orange | Orange | +| Order By Formula On Server | Trier par formule serveur | +| Orientation 0° | Orientation 0° | +| Orientation 180° | Orientation 180° | +| Orientation 90° left | Orientation 90° gauche | +| Orientation 90° right | Orientation 90° droite | +| Orientation option | Option orientation | +| Other 4D Process | Autre process 4D | +| Other User Process | Autre process utilisateur | +| Other internal process | Autre process interne | +| Own XML Data Source | Posséder source données XML | +| PC byte ordering | Ordre octets PC | +| PC double real format | Format réel double PC | +| PHP Raw result | PHP résultat brut | +| PHP interpreter IP address | PHP adresse IP interpréteur | +| PHP interpreter port | PHP port interpréteur | +| POP3 Log | POP3 Enreg historique | +| POP3 authentication APOP | POP3 authentification APOP | +| POP3 authentication CRAM MD5 | POP3 authentification CRAM MD5 | +| POP3 authentication OAUTH2 | POP3 authentication OAUTH2 | +| POP3 authentication login | POP3 authentification login | +| POP3 authentication plain | POP3 authentification simple | +| POP3 authentication user | POP3 authentication user | +| POP3 log file | Fichier log POP3 | +| PUBLIC ID | ID PUBLIC | +| Package open | Ouverture progiciel | +| Package selection | Sélection progiciel | +| Page Down Key | Touche page suivante | +| Page Up Key | Touche page précédente | +| Page range option | Option intervalle de page | +| Page setup dialog | Dialogue de format impression | +| Palette form window | Form fenêtre palette | +| Palette window | Fenêtre palette | +| Paper option | Option papier | +| Paper source option | Option alimentation | +| Parity Even | Parité paire | +| Parity None | Pas de parité | +| Parity Odd | Parité impaire | +| Path All objects | Chemin tous les objets | +| Path Database method | Chemin méthode base | +| Path Project form | Chemin formulaire projet | +| Path Project method | Chemin méthode projet | +| Path Table form | Chemin formulaire table | +| Path Trigger | Chemin trigger | +| Path class | Chemin classe | +| Path is POSIX | Chemin est POSIX | +| Path is system | Chemin est système | +| Pause logging | Pause journaux | +| Paused | Suspendu | +| Period | Point | +| Pi | Pi | +| Picture Document | Document image | +| Picture array | Est un tableau image | +| Picture data | Données image | +| Plain | Normal | +| Plain dialog box | Dialogue simple | +| Plain fixed size window | Fenêtre standard de taille fixe | +| Plain form window | Form fenêtre standard | +| Plain form window no title | Form fenêtre standard sans titre | +| Plain no zoom box window | Fenêtre standard sans zoom | +| Plain window | Fenêtre standard | +| Pointer array | Est un tableau pointeur | +| Pop up form window | Form fenêtre pop up | +| Pop up window | Fenêtre pop up | +| Port ID | Numéro du port | +| Portuguese Escudo | Escudo portugais | +| Posix path | Chemin POSIX | +| Power PC | Power PC | +| Preloaded resource bit | Bit ressource préchargée | +| Preloaded resource mask | Masque ressource préchargée | +| Print Frame fixed with multiple records | Impression limitée avec report | +| Print Frame fixed with truncation | Impression limitée par le cadre | +| Print dialog | Dialogue impression | +| Print preview option | Option aperçu avant impression | +| Processes and sessions | Process et sessions | +| Processes only | Process seulement | +| Protected resource bit | Bit ressource protégée | +| Protected resource mask | Masque ressource protégée | +| Protocol DTR | Protocole DTR | +| Protocol None | Protocole Aucun | +| Protocol XONXOFF | Protocole XONXOFF | +| Purgeable resource bit | Bit ressource purgeable | +| Purgeable resource mask | Masque ressource purgeable | +| Purple | Violet | +| Query by formula joins | Jointures chercher par formule | +| Query by formula on server | Chercher par formule serveur | +| Quote | Apostrophe | +| RDP Optimization | Optimisation RDP | +| RS ASCII code | ASCII RS | +| Radian | Radian | +| Read Mode | Mode lecture | +| Read and Write | Lecture et écriture | +| Real array | Est un tableau numérique | +| Recent fonts | Polices récentes | +| Recursive parsing | Chemin récursif | +| Red | Rouge | +| Redim horizontal grow | Redim horizontal agrandir | +| Redim horizontal move | Redim horizontal déplacer | +| Redim vertical grow | Redim vertical agrandir | +| Redim vertical move | Redim vertical déplacer | +| Redim vertical none | Redim vertical aucun | +| Regular window | Fenêtre normale | +| Remote connection sleep timeout | Timeout mise en veille connexion à distance | +| Renumber records | Renuméroter les enregistrements | +| Repair log file | Fichier log réparation | +| Replicated | Mosaïque | +| Request log file | Fichier log requêtes | +| Required list | Liste obligations | +| Reset | Réinitialisation | +| Resizable sheet window | Fenêtre feuille redim | +| Resize horizontal none | Redim horizontal aucun | +| Restore Process | Process de restitution | +| ReturnKey | Touche retour chariot | +| Right Arrow Key | Touche droite | +| Right control key bit | Bit touche contrôle droite | +| Right control key mask | Masque touche contrôle droite | +| Right option key bit | Bit touche option droite | +| Right option key mask | Masque touche option droite | +| Right shift key bit | Bit touche majuscule droite | +| Right shift key mask | Masque touche majuscule droite | +| Round corner window | Fenêtre à coins arrondis | +| SHA1 digest | Digest SHA1 | +| SHA256 digest | Digest SHA256 | +| SHA512 digest | Digest SHA512 | +| SI ASCII code | ASCII SI | +| SMTP Log | SMTP Enreg historique | +| SMTP authentication CRAM MD5 | SMTP authentification CRAM MD5 | +| SMTP authentication OAUTH2 | SMTP authentication OAUTH2 | +| SMTP authentication login | SMTP authentification login | +| SMTP authentication plain | SMTP authentification simple | +| SMTP log file | Fichier log SMTP | +| SO ASCII code | ASCII SO | +| SOAP Client Fault | SOAP erreur client | +| SOAP Input | SOAP entrée | +| SOAP Method Name | SOAP nom méthode | +| SOAP Output | SOAP sortie | +| SOAP Process | Process SOAP | +| SOAP Server Fault | SOAP erreur serveur | +| SOAP Service Name | SOAP nom service | +| SOH ASCII code | ASCII SOH | +| SP ASCII code | ASCII SP | +| SQL All Records | SQL tous les enregistrements | +| SQL Asynchronous | SQL asynchrone | +| SQL Charset | SQL jeu de caractères | +| SQL Connection Time Out | SQL timeout connexion | +| SQL Listener | Process SQL Listener | +| SQL Max Data Length | SQL longueur maxi données | +| SQL Max Rows | SQL nombre maxi lignes | +| SQL Method Execution Process | Process exécution méthode SQL | +| SQL Net Session manager | Gestionnaire de session SQL Net | +| SQL On error abort | SQL abandonner si erreur | +| SQL On error confirm | SQL confirmer si erreur | +| SQL On error continue | SQL continuer si erreur | +| SQL Param In | SQL paramètre entrée | +| SQL Param In Out | SQL paramètre entrée sortie | +| SQL Param Out | SQL paramètre sortie | +| SQL Param Set Size | SQL paramètre fixer taille | +| SQL Query Time Out | SQL timeout requête | +| SQL Server Port ID | Numéro de port Serveur SQL | +| SQL Use Access Rights | SQL utiliser les droits d’accès | +| SQL Worker pool server | Process SQL Worker pool serveur | +| SQL autocommit | SQL autocommit | +| SQL data chunk size | SQL taille fragment données | +| SQL engine case Sensitivity | Casse caractères moteur SQL | +| SQL_INTERNAL | SQL_INTERNAL | +| SSL cipher List | Liste de chiffrement SSL | +| ST 4D Expressions as sources | ST Expressions 4D comme sources | +| ST 4D Expressions as values | ST Expressions 4D comme valeurs | +| ST End highlight | ST Fin sélection | +| ST End text | ST Fin texte | +| ST Expression type | ST Type expression | +| ST Expressions display mode | ST Mode affichage expressions | +| ST Mixed type | ST Type mixte | +| ST Picture type | ST Type image | +| ST Plain type | ST Type brut | +| ST References | ST Références | +| ST References as spaces | ST Références comme espaces | +| ST Start highlight | ST Début sélection | +| ST Start text | ST Début texte | +| ST Tags as XML code | ST Balises comme code XML | +| ST Tags as plain text | ST Balises comme texte brut | +| ST Text displayed with 4D Expression sources | ST Texte visible avec Expressions 4D comme sources | +| ST Text displayed with 4D Expression values | ST Texte visible avec Expressions 4D comme valeurs | +| ST URL as labels | ST URL comme libellés | +| ST URL as links | ST URL comme liens | +| ST Unknown tag type | ST Type balise inconnue | +| ST Url type | ST Type URL | +| ST User links as labels | ST Liens utilisateur comme libellés | +| ST User links as links | ST Liens utilisateur comme liens | +| ST User type | ST Type utilisateur | +| ST Values | ST Valeurs | +| STX ASCII code | ASCII STX | +| SUB ASCII code | ASCII SUB | +| SYN ASCII code | ASCII SYN | +| SYSTEM ID | ID SYSTEM | +| Saturday | Samedi | +| Scale | Redimensionnement | +| Scale option | Option échelle | +| Scaled to Fit | Non tronquée | +| Scaled to fit prop centered | Proportionnelle centrée | +| Scaled to fit proportional | Proportionnelle | +| Screen size | Taille écran | +| Screen work area | Zone de travail | +| September | Septembre | +| Serial Port Manager | Gestionnaire du port série | +| Server Base Process Stack Size | Taille pile process base server | +| Server Interface Process | Process interface serveur | +| ServerNet Listener | Process ServerNet Listener | +| ServerNet Session manager | Gestionnaire de session ServerNet | +| Sessions only | Sessions seulement | +| Sheet form window | Form fenêtre feuille | +| Sheet window | Fenêtre feuille | +| Shift key bit | Bit touche majuscule | +| Shift key mask | Masque touche majuscule | +| Short date day position | Position jour date courte | +| Short date month position | Position mois date courte | +| Short date year position | Position année date courte | +| Shortcut with Backspace | Raccourci avec Effacement Arrière | +| Shortcut with Carriage Return | Raccourci avec Retour Charriot | +| Shortcut with Delete | Raccourci avec Suppression | +| Shortcut with Down Arrow | Raccourci avec Flèche bas | +| Shortcut with End | Raccourci avec Fin | +| Shortcut with Enter | Raccourci avec Entrée | +| Shortcut with Escape | Raccourci avec Echappement | +| Shortcut with F1 | Raccourci avec F1 | +| Shortcut with F10 | Raccourci avec F10 | +| Shortcut with F11 | Raccourci avec F11 | +| Shortcut with F12 | Raccourci avec F12 | +| Shortcut with F13 | Raccourci avec F13 | +| Shortcut with F14 | Raccourci avec F14 | +| Shortcut with F15 | Raccourci avec F15 | +| Shortcut with F2 | Raccourci avec F2 | +| Shortcut with F3 | Raccourci avec F3 | +| Shortcut with F4 | Raccourci avec F4 | +| Shortcut with F5 | Raccourci avec F5 | +| Shortcut with F6 | Raccourci avec F6 | +| Shortcut with F7 | Raccourci avec F7 | +| Shortcut with F8 | Raccourci avec F8 | +| Shortcut with F9 | Raccourci avec F9 | +| Shortcut with Help | Raccourci avec Aide | +| Shortcut with Home | Raccourci avec Début | +| Shortcut with Left Arrow | Raccourci avec Flèche gauche | +| Shortcut with Page Down | Raccourci avec Page suiv | +| Shortcut with Page Up | Raccourci avec Page préc | +| Shortcut with Right Arrow | Raccourci avec Flèche droite | +| Shortcut with Tabulation | Raccourci avec Tabulation | +| Shortcut with Up Arrow | Raccourci avec Flèche haut | +| Single Selection | Sélection unique | +| Sixteen colors | Seize couleurs | +| Space | Espacement | +| Spanish Peseta | Peseta espagnole | +| Speed 115200 | Vitesse 115200 | +| Speed 1200 | Vitesse 1200 | +| Speed 1800 | Vitesse 1800 | +| Speed 19200 | Vitesse 19200 | +| Speed 230400 | Vitesse 230400 | +| Speed 2400 | Vitesse 2400 | +| Speed 300 | Vitesse 300 | +| Speed 3600 | Vitesse 3600 | +| Speed 4800 | Vitesse 4800 | +| Speed 57600 | Vitesse 57600 | +| Speed 600 | Vitesse 600 | +| Speed 7200 | Vitesse 7200 | +| Speed 9600 | Vitesse 9600 | +| Spellchecker | Correcteur orthographique | +| Spooler document name option | Option nom document à imprimer | +| Standard BTree Index | Index BTree standard | +| Start Menu Win_All | Menu Démarrer Win_Tous | +| Start Menu Win_User | Menu Démarrer Win | +| Start a New Process | Démarrer un process | +| Startup Win_All | Démarrage Win_Tous | +| Startup Win_User | Démarrage Win | +| Stop bits One | Bit de stop un | +| Stop bits One and a half | Bit de stop un et demi | +| Stop bits Two | Bits de stop deux | +| Strict mode | Mode strict | +| String array | Est un tableau chaîne | +| String type with time zone | Type chaine avec fuseau horaire | +| String type without time zone | Type chaine sans fuseau horaire | +| Structure Settings | Propriétés structure | +| Structure configuration | Configuration structure | +| Sunday | Dimanche | +| Superimposition | Superposition | +| System | Système | +| System Data Source | Source de données système | +| System Win | System Win | +| System date abbreviated | Système date abrégé | +| System date long | Système date long | +| System date long pattern | Motif date long | +| System date medium pattern | Motif date abrégé | +| System date short | Système date court | +| System date short pattern | Motif date court | +| System fonts | Polices système | +| System heap resource bit | Bit ressource heap système | +| System heap resource mask | Masque ressource heap système | +| System time AM label | Libellé AM heure système | +| System time PM label | Libellé PM heure système | +| System time long | Système heure long | +| System time long abbreviated | Système heure long abrégé | +| System time long pattern | Motif heure long | +| System time medium pattern | Motif heure abrégé | +| System time short | Système heure court | +| System time short pattern | Motif heure court | +| System32 Win | System32 Win | +| TCP DNS | TCP DNS | +| TCP FTP Control | TCP FTP Control | +| TCP FTP Data | TCP FTP Data | +| TCP HTTP WWW | TCP HTTP WWW | +| TCP IMAP3 | TCP IMAP3 | +| TCP KLogin | TCP KLogin | +| TCP Kerberos | TCP Kerberos | +| TCP NNTP | TCP NNTP | +| TCP NTP | TCP NTP | +| TCP NTalk | TCP NTalk | +| TCP PMCP | TCP PMCP | +| TCP PMD | TCP PMD | +| TCP POP3 | TCP POP3 | +| TCP RADACCT | TCP RADACCT | +| TCP RADIUS | TCP RADIUS | +| TCP Router | TCP Router | +| TCP SMTP | TCP SMTP | +| TCP SNMP | TCP SNMP | +| TCP SNMPTRAP | TCP SNMPTRAP | +| TCP SUN RPC | TCP SUN RPC | +| TCP TFTP | TCP TFTP | +| TCP Talk | TCP Talk | +| TCP Telnet | TCP Telnet | +| TCP UUCP | TCP UUCP | +| TCP UUCP RLOGIN | TCP UUCP RLOGIN | +| TCP authentication | TCP authentication | +| TCP finger | TCP finger | +| TCP gopher | TCP gopher | +| TCP log recording | TCP enreg historique | +| TCP nickname | TCP nickname | +| TCP printer | TCP printer | +| TCP remote Cmd | TCP remote Cmd | +| TCP remote Exec | TCP remote Exec | +| TCP remote Login | TCP remote Login | +| TCP_NODELAY | TCP_NODELAY | +| TIFF Adobe deflate | TIFF Adobe deflate | +| TIFF Artist | TIFF Artist | +| TIFF CCIRLEW | TIFF CCIRLEW | +| TIFF CCITT1D | TIFF CCITT1D | +| TIFF CIELab | TIFF CIELab | +| TIFF CM | TIFF CM | +| TIFF CMYK | TIFF CMYK | +| TIFF Compression | TIFF Compression | +| TIFF Copyright | TIFF Copyright | +| TIFF DCS | TIFF DCS | +| TIFF Date time | TIFF Date time | +| TIFF Document name | TIFF Document name | +| TIFF Epson ERF | TIFF Epson ERF | +| TIFF Host computer | TIFF Host computer | +| TIFF ICCLab | TIFF ICCLab | +| TIFF IT8BL | TIFF IT8BL | +| TIFF IT8CTPAD | TIFF IT8CTPAD | +| TIFF IT8LW | TIFF IT8LW | +| TIFF IT8MP | TIFF IT8MP | +| TIFF ITULab | TIFF ITULab | +| TIFF Image description | TIFF Image description | +| TIFF JBIG | TIFF JBIG | +| TIFF JBIG Black and White | TIFF JBIG Black and White | +| TIFF JBIGColor | TIFF JBIGColor | +| TIFF JPEG | TIFF JPEG | +| TIFF JPEG2000 | TIFF JPEG2000 | +| TIFF JPEGThumbs Only | TIFF JPEGThumbs Only | +| TIFF Kodak DCR | TIFF Kodak DCR | +| TIFF Kodak KDC | TIFF Kodak KDC | +| TIFF Kodak262 | TIFF Kodak262 | +| TIFF LZW | TIFF LZW | +| TIFF MDIBinary level codec | TIFF MDIBinary level codec | +| TIFF MDIProgressive transform codec | TIFF MDIProgressive transform codec | +| TIFF MDIVector | TIFF MDIVector | +| TIFF MM | TIFF MM | +| TIFF Make | TIFF Make | +| TIFF Model | TIFF Model | +| TIFF Nikon NEF | TIFF Nikon NEF | +| TIFF Orientation | TIFF Orientation | +| TIFF Pentax PEF | TIFF Pentax PEF | +| TIFF Photometric interpretation | TIFF Photometric interpretation | +| TIFF Pixar film | TIFF Pixar film | +| TIFF Pixar log | TIFF Pixar log | +| TIFF Pixar log L | TIFF Pixar log L | +| TIFF Pixar log Luv | TIFF Pixar log Luv | +| TIFF RGB | TIFF RGB | +| TIFF RGBPalette | TIFF RGBPalette | +| TIFF Resolution unit | TIFF Resolution unit | +| TIFF SGILog | TIFF SGILog | +| TIFF SGILog24 | TIFF SGILog24 | +| TIFF Software | TIFF Software | +| TIFF Sony ARW | TIFF Sony ARW | +| TIFF T4Group3Fax | TIFF T4Group3Fax | +| TIFF T6Group4Fax | TIFF T6Group4Fax | +| TIFF Thunderscan | TIFF Thunderscan | +| TIFF UM | TIFF UM | +| TIFF XResolution | TIFF XResolution | +| TIFF YCb Cr | TIFF YCb Cr | +| TIFF YResolution | TIFF YResolution | +| TIFF black is zero | TIFF black is zero | +| TIFF color Filter Array | TIFF color Filter Array | +| TIFF deflate | TIFF deflate | +| TIFF horizontal | TIFF horizontal | +| TIFF inches | TIFF inches | +| TIFF linear Raw | TIFF linear Raw | +| TIFF mirror horizontal | TIFF mirror horizontal | +| TIFF mirror horizontal and Rotate90cw | TIFF mirror horizontal and Rotate90cw | +| TIFF mirror horizontal and rotate270cw | TIFF mirror horizontal and rotate270cw | +| TIFF mirror vertical | TIFF mirror vertical | +| TIFF next | TIFF next | +| TIFF none | TIFF none | +| TIFF pack bits | TIFF pack bits | +| TIFF rotate180 | TIFF rotate180 | +| TIFF rotate270CW | TIFF rotate270CW | +| TIFF rotate90CW | TIFF rotate90CW | +| TIFF transparency mask | TIFF transparency mask | +| TIFF uncompressed | TIFF uncompressed | +| TIFF white is zero | TIFF white is zero | +| TLSv1_2 | TLSv1_2 | +| TLSv1_3 | TLSv1_3 | +| Tab | Tabulation | +| Tab Key | Touche tab | +| Table Sequence Number | Numéro automatique table | +| Text Document | Document texte | +| Text array | Est un tableau texte | +| Text data | Données texte | +| Texture appearance | Aspect texture | +| Thousand separator | Séparateur de milliers | +| Thousands of colors | Milliers de couleurs | +| Thursday | Jeudi | +| Time array | Est un tableau heure | +| Time separator | Séparateur heure | +| Times in milliseconds | Heures en millisecondes | +| Times in seconds | Heures en secondes | +| Times inside objects | Heures dans les objets | +| Timestamp log file name | Nom historique avec date heure | +| Tips delay | Messages aide délai | +| Tips duration | Messages aide durée | +| Tips enabled | Messages aide activation | +| Toolbar form window | Form fenêtre barre outils | +| Translate | Translation | +| Transparency | Transparence | +| Truncated Centered | Tronquée centrée | +| Truncated non Centered | Tronquée non centrée | +| Tuesday | Mardi | +| Two fifty six colors | Deux cent cinquante six coul | +| US ASCII code | ASCII US | +| UTF8 C string | UTF8 chaîne en C | +| UTF8 text with length | UTF8 texte avec longueur | +| UTF8 text without length | UTF8 texte sans longueur | +| Uncooperative process threshold | Seuil process peu cooperatif | +| Underline | Souligné | +| Up Arrow Key | Touche haut | +| Update event | Mise à jour fenêtre | +| Update records | Mettre à jour enregistrements | +| Use AST interpreter | Utiliser interpreter AST | +| Use PicRef | Utiliser réf image | +| Use Sheet Window | Utiliser fenêtre feuille | +| Use default folder | Utiliser dossier par défaut | +| Use legacy Network Layer | Utiliser ancienne couche réseau | +| Use selected file | Utiliser fichier sélectionné | +| Use structure definition | Utiliser définition structure | +| User Data Source | Source de données utilisateur | +| User Preferences_All | Préférences utilisateur_Tous | +| User Preferences_User | Préférences utilisateur | +| User Settings | Propriétés utilisateur | +| User param value | Valeur User param | +| User settings file | Fichier propriétés utilisateur | +| User settings file for data | Fichier propriétés utilisateur pour données | +| User settings for data file | Propriétés utilisateur pour le fichier de données | +| User system localization | Langue système utilisateur | +| VT ASCII code | ASCII VT | +| Verification log file | Fichier log vérification | +| Verify All | Tout vérifier | +| Verify Indexes | Vérifier index | +| Verify Records | Vérifier enregistrements | +| Version | Version | +| Vertical concatenation | Concaténation verticale | +| Vertically Centered | Centrée verticalement | +| WA Enable Web inspector | WA autoriser inspecteur Web | +| WA Enable contextual menu | WA autoriser menu contextuel | +| WA Next URLs | WA URLs suivants | +| WA Previous URLs | WA URLs précédents | +| WA enable URL drop | WA autoriser déposer URL | +| Waiting for input output | En attente entrée sortie | +| Waiting for internal flag | En attente drapeau interne | +| Waiting for user event | En attente événement | +| Warning Message | Message d’avertissement | +| Web CORS enabled | Web CORS activé | +| Web CORS settings | Web propriétés CORS | +| Web Character set | Web jeu de caractères | +| Web Client IP address to listen | Web client adresse IP d’écoute | +| Web HSTS enabled | Web HSTS activé | +| Web HSTS max age | Web HSTS max age | +| Web HTTP Compression Level | Web niveau de compression HTTP | +| Web HTTP Compression Threshold | Web seuil de compression HTTP | +| Web HTTP TRACE | Web TRACE HTTP | +| Web HTTP enabled | Web HTTP activé | +| Web HTTPS Port ID | Web numéro de port HTTPS | +| Web HTTPS enabled | Web HTTPS activé | +| Web IP address to listen | Web adresse IP d’écoute | +| Web Inactive process timeout | Web timeout process | +| Web Inactive session timeout | Web timeout session | +| Web Log Recording | Web enreg requêtes | +| Web Max Concurrent Processes | Web process Web simultanés maxi | +| Web Max sessions | Web nombre de sessions max | +| Web Maximum requests size | Web taille max requêtes | +| Web Port ID | Web numéro du port | +| Web Process on 4D Remote | Process Web 4D distant | +| Web Process with no Context | Process Web sans contexte | +| Web SameSite Lax | Web SameSite Lax | +| Web SameSite None | Web SameSite Aucun | +| Web SameSite Strict | Web SameSite Strict | +| Web Service Compression | Web Service compression | +| Web Service Detailed Message | Web Service message | +| Web Service Dynamic | Web Service dynamique | +| Web Service Error Code | Web Service code erreur | +| Web Service Fault Actor | Web Service origine erreur | +| Web Service HTTP Compression | Web Service compression HTTP | +| Web Service HTTP Status code | Web Service code statut HTTP | +| Web Service HTTP Timeout | Web Service timeout HTTP | +| Web Service Manual | Web Service manuel | +| Web Service Manual In | Web Service entrée manuel | +| Web Service Manual Out | Web Service sortie manuel | +| Web Service SOAP Header | Web Service header SOAP | +| Web Service SOAP Version | Web Service version SOAP | +| Web Service SOAP_1_1 | Web Service SOAP_1_1 | +| Web Service SOAP_1_2 | Web Service SOAP_1_2 | +| Web Service display auth dialog | Web Service afficher dial auth | +| Web Service reset auth settings | Web Service effacer infos auth | +| Web Session IP address validation enabled | Web validation adresse IP de session acctivé | +| Web Session cookie domain | Web domaine du cookie de session | +| Web Session cookie name | Web nom du cookie de session | +| Web Session cookie path | Web chemin du cookie de session | +| Web debug log | Web debug log | +| Web legacy session | Web sessions anciennes | +| Web scalable session | Web session extensible | +| Web server Process | Process du serveur Web | +| Web server database | Web serveur de base de données | +| Web server host database | Web serveur de base de données hôte | +| Web server receiving request | Web serveur recevant requête | +| Wednesday | Mercredi | +| White | Blanc | +| Windows | Windows | +| Windows MIDI Document | Document MIDI Windows | +| Windows Sound Document | Document son Windows | +| Windows Video Document | Document vidéo Windows | +| Worker pool in use | Process Worker pool utilisé | +| Worker pool spare | Process Worker pool réserve | +| Worker process | Process worker | +| Write Mode | Mode écriture | +| XML BOM | XML BOM | +| XML Base64 | XML Base64 | +| XML CDATA | XML CDATA | +| XML CR | XML CR | +| XML CRLF | XML CRLF | +| XML Convert to PNG | XML convertir en PNG | +| XML DATA | XML DATA | +| XML DOCTYPE | XML DOCTYPE | +| XML DOM case sensitivity | XML DOM sensibilité à la casse | +| XML ISO | XML ISO | +| XML LF | XML LF | +| XML Native codec | XML codec natif | +| XML UTC | XML UTC | +| XML binary encoding | XML encodage binaire | +| XML case insensitive | XML casse insensible | +| XML case sensitive | XML casse sensible | +| XML comment | XML commentaire | +| XML data URI scheme | XML data URI scheme | +| XML date encoding | XML encodage dates | +| XML datetime UTC | XML datetime UTC | +| XML datetime local | XML datetime local | +| XML datetime local absolute | XML datetime local absolu | +| XML default | XML valeur par défaut | +| XML disabled | XML désactivé | +| XML duration | XML durée | +| XML element | XML élément | +| XML enabled | XML activé | +| XML end Document | XML fin document | +| XML end Element | XML fin élément | +| XML entity | XML entité | +| XML external entity resolution | XML résolution des entités externes | +| XML indentation | XML indentation | +| XML line ending | XML fin de ligne | +| XML local | XML local | +| XML no indentation | XML sans indentation | +| XML picture encoding | XML encodage images | +| XML processing Instruction | XML instruction de traitement | +| XML raw data | XML données brutes | +| XML seconds | XML secondes | +| XML start Document | XML début document | +| XML start Element | XML début élément | +| XML string encoding | XML encodage chaînes | +| XML time encoding | XML encodage heures | +| XML with escaping | XML avec échappement | +| XML with indentation | XML avec indentation | +| XY Current form | XY Formulaire courant | +| XY Current window | XY Fenêtre courante | +| XY Main window | XY Fenêtre principale | +| XY Screen | XY Ecran | +| Yellow | Jaune | +| ZIP Compression LZMA | ZIP Compression LZMA | +| ZIP Compression XZ | ZIP Compression XZ | +| ZIP Compression none | ZIP Compression aucune | +| ZIP Compression standard | ZIP Compression standard | +| ZIP Encryption AES128 | ZIP Chiffrement AES128 | +| ZIP Encryption AES192 | ZIP Chiffrement AES192 | +| ZIP Encryption AES256 | ZIP Chiffrement AES256 | +| ZIP Encryption none | ZIP Chiffrement aucun | +| ZIP Ignore invisible files | ZIP Ignorer fichier invisible | +| ZIP Without enclosing folder | ZIP Sans dossier parent | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md index 25f55791dfdae6..4420f1c263f3f7 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md @@ -32,7 +32,7 @@ En el objeto *opciones*, pase las propiedades que se utilizarán al generar el h ### Gestión de errores -Se pueden devolver los siguientes errores. Puede revisar un error con los comandos [Last errors](last-errors.md) y [ON ERR CALL](on-err-call.md). +Se pueden devolver los siguientes errores. Puede revisar un error con los comandos [Last errors](../commands/last-errors.md) y [ON ERR CALL](on-err-call.md). | **Número** | **Mensaje** | | ---------- | ----------------------------------------------------------------------------------- | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/last-errors.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/last-errors.md deleted file mode 100644 index a0e18e25cb00c7..00000000000000 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/last-errors.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -id: last-errors -title: Last errors -slug: /commands/last-errors -displayed_sidebar: docs ---- - -**Last errors** : Collection - -| Parámetro | Tipo | | Descripción | -| --- | --- | --- | --- | -| Resultado | Collection | ← | Colección de objetos de error | - - - -## Descripción - -El comando **Last errors** devuelve la pila actual de errores de la aplicación 4D como una colección de objetos de error, o **null** si no se ha producido ningún error. La pila de errores incluye los objetos enviados por el comando [throw](throw.md), si los hay. - -Cada objeto de error contiene los siguientes atributos: - -| **Propiedad** | **Tipo** | **Descripción** | -| ------------------ | -------- | -------------------------------------------------- | -| errCode | number | Código de error | -| message | text | Descripción del error | -| componentSignature | text | Firma del componente interno que devolvió el error | - - -:::nota - -Para una descripción de las firmas de los componentes, consulte la sección [Códigos de error](../Concepts/error-handling.md#error-codes). - -::: - -Este comando debe ser llamado desde un método de llamada de error instalado por el comando [ON ERR CALL](on-err-call.md). - - -## Ver también - -[ON ERR CALL](on-err-call.md) -[throw](throw.md) -[Error handling](../Concepts/error-handling.md) - -## Propiedades - -| | | -| --- | --- | -| Número de comando | 1799 | -| Hilo seguro | ✓ | - - diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md index 01b1a7a7809214..b0fc9097495809 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md @@ -22,7 +22,7 @@ El comando verifica el cumplimiento de cada archivo de sesión en la carpeta Mob Si un archivo de sesión no es válido o ha sido eliminado, la sesión correspondiente se elimina de la memoria. -El comando puede devolver uno de los siguientes errores, que se puede manejar a través de los comandos [ON ERR CALL](on-err-call.md) y [Last errors](last-errors.md) : +El comando puede devolver uno de los siguientes errores, que se puede manejar a través de los comandos [ON ERR CALL](on-err-call.md) y [Last errors](../commands/last-errors.md) : | **Nombre del componente** | **Código de error** | **Descripción** | | ------------------------- | ------------------- | ---------------------------------------------------------- | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md index 44c0aec3d49b9e..561f519193c12b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ Para las necesidades de su interfaz, usted desea rodear el área en la que el us En el método objeto del listbox, puede escribir: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //inicializar un rectángulo rojo + OBJECT SET VISIBLE(*;"RedRect";False) //inicializar un rectángulo rojo  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md index a05b60327ab5c4..8c4b874c13dddb 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md @@ -41,7 +41,7 @@ Para desinstalar un método de gestión de errores, llame a **ON ERR CALL** de n Puede identificar errores leyendo la variable sistema Error, la cual contiene el número de código del error. Los códigos de errores se listan en el tema *Códigos de error*. Por ejemplo, puede ver la sección *Errores de sintaxis*. El valor de la variable Error es significativo sólo en el método de gestión de errores; si necesita el código del error en el método que provocó el error, copie la variable Error en su propia variable proceso. También puede acceder a las variables sistema Error method, Error line y Error formula las cuales contienen respectivamente, el nombre del método, el número de línea y el texto de la fórmula donde ocurrió el error (ver [Gestión de errores dentro del método](../Concepts/error-handling.md#handling-errors-within-the-method)). -Puede utilizar el comando [Last errors](last-errors.md) o [Last errors](last-errors.md) para obtener la secuencia de errores (la "pila" de errores) en el origen de la interrupción. +Puede utilizar el comando [Last errors](../commands/last-errors.md) o [Last errors](../commands/last-errors.md) para obtener la secuencia de errores (la "pila" de errores) en el origen de la interrupción. El método de gestión de errores debe tratar los errores de manera apropiada o mostrar un mensaje de error al usuario. Los errores pueden ser generados durante los procesos efectuados por: @@ -180,8 +180,8 @@ El siguiente método de gestión de errores ignora las interrupciones del usuari [ABORT](abort.md) *Gestión de errores* -[Last errors](last-errors.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) +[Last errors](../commands/last-errors.md) [Method called on error](method-called-on-error.md) *Variables sistema* diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md index bd80a1a2733785..ee3f5222181460 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md @@ -48,7 +48,7 @@ El parámetro *resultPHP* puede ser de tipo texto, entero largo, real, booleano **Nota:** por razones técnicas, el tamaño de los parámetros pasados vía el protocolo FastCGI no debe pasar los 64 KB. Debe tener en cuenta esta limitación si utiliza parámetros de tipo Texto. -El comando devuelve True si la ejecución se ha efectuado correctamente del lado de 4D, en otras palabras, si el lanzamiento del entorno de ejecución, la apertura del script y el establecimiento de la comunicación con el intérprete PHP fueron exitosos. De lo contrario, se genera un error, que puede interceptar con el comando [ON ERR CALL](on-err-call.md "ON ERR CALL") y analizar con [Last errors](last-errors.md). +El comando devuelve True si la ejecución se ha efectuado correctamente del lado de 4D, en otras palabras, si el lanzamiento del entorno de ejecución, la apertura del script y el establecimiento de la comunicación con el intérprete PHP fueron exitosos. De lo contrario, se genera un error, que puede interceptar con el comando [ON ERR CALL](on-err-call.md "ON ERR CALL") y analizar con [Last errors](../commands/last-errors.md). Además, el script mismo puede generar errores PHP. En este caso, debe utilizar el comando [PHP GET FULL RESPONSE](php-get-full-response.md "PHP GET FULL RESPONSE") para analizar la fuente del error (ver ejemplo 4). **Nota:** PHP permite configurar la gestión de errores. Para mayor información, consulte por ejemplo la página: . diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md index b76cdd087c7728..b01454266e2fca 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Descripción -**Printing page** devuelve el número de la página en impresión. Puede utilizarse sólo cuando esté imprimiendo con [PRINT SELECTION](print-selection.md) o con el menú Impresión en el entorno Diseño. +**Printing page** devuelve el número de la página en impresión.. ## Ejemplo diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md index 77229544aa71b0..f0e0f85824b8fd 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md @@ -32,7 +32,7 @@ Los dos últimos parámetros sólo se llenan cuando el error viene de la fuente ## Ver también -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## Propiedades diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/throw.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/throw.md index 9a6fd8ae1b85db..bd403da2a0d3a5 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/throw.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/throw.md @@ -57,7 +57,7 @@ Cuando se utiliza esta sintaxis, el objeto *errorObj* se devuelve en Últimos er Lanza todos los errores actuales en **modo diferido**, lo que significa que se añadirán a una pila y se gestionarán cuando vuelva el método que los llama. Esto se hace típicamente desde dentro de una retrollamada [ON ERR CALL](on-err-call.md). -* **En una aplicación**: cuando se produce un error, se añade a la pila de errores y se llama al método [ON ERR CALL](on-err-call.md) de la aplicación al final del método actual. La función [Last errors](last-errors.md) devuelve la pila de errores. +* **En una aplicación**: cuando se produce un error, se añade a la pila de errores y se llama al método [ON ERR CALL](on-err-call.md) de la aplicación al final del método actual. La función [Last errors](../commands/last-errors.md) devuelve la pila de errores. * **Como consecuencia, en un componente:** la pila de errores se puede enviar a la aplicación local y se llama al método [ON ERR CALL](on-err-call.md) de la aplicación local. ## Ejemplo 1 @@ -103,7 +103,7 @@ throw({componentSignature: "xbox"; errCode: 600; name: "myFileName"; path: "myFi ## Ver también [ASSERT](assert.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## Propiedades diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md index b5aae64a011dd8..d19802bb6125b7 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md @@ -23,7 +23,7 @@ Esta función compara la *contrasena* con un *hash* generado por la función [Ge ### Gestión de errores -Se pueden devolver los errores siguientes. Puede revisar un error con los comandos [Last errors](last-errors.md) y [ON ERR CALL](on-err-call.md). +Se pueden devolver los errores siguientes. Puede revisar un error con los comandos [Last errors](../commands/last-errors.md) y [ON ERR CALL](on-err-call.md). | **Número** | **Mensaje** | | ---------- | ----------------------------------------------------- | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/command-index.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/command-index.md index bb01a31eb1daf6..c7303d1fb9df0e 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/command-index.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/command-index.md @@ -530,7 +530,7 @@ title: Índice L -[`Last errors`](../commands-legacy/last-errors.md)
    +[`Last errors`](last-errors.md)
    [`Last field number`](../commands-legacy/last-field-number.md)
    [`Last query path`](../commands-legacy/last-query-path.md)
    [`Last query plan`](../commands-legacy/last-query-plan.md)
    diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/command-name.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/command-name.md index 29fd064a7c3478..0cb1f230e42a06 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/command-name.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/command-name.md @@ -34,7 +34,7 @@ El comando **Command name** devuelve e Two optional parameters are available: -- *info*: properties of the command. The returned value is a *bit field*, where the following bits are meaningful: +- *info*: propiedades del comando. The returned value is a *bit field*, where the following bits are meaningful: - Primer bit (bit 0): definido en 1 si el comando es [**hilo-seguro**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (es decir, compatible con la ejecución en un proceso apropiativo) y 0 si es **hilo-inseguro**. Only thread-safe commands can be used in [preemptive processes](../Develop/preemptive.md). - Second bit (bit 1): set to 1 if the command is **deprecated**, and 0 if it is not. A deprecated command will continue to work normally as long as it is supported, but should be replaced whenever possible and must no longer be used in new code. Deprecated commands in your code generate warnings in the [live checker and the compiler](../code-editor/write-class-method.md#warnings-and-errors). diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/compile-project.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/compile-project.md index 91c91b464f3f38..c39df35afa3f2e 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/compile-project.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/compile-project.md @@ -29,14 +29,14 @@ displayed_sidebar: docs **Compile project** permite compilar el proyecto local actual o el proyecto especificado en el parámetro *projectFile*. Para más información sobre compilación, consultr la [página de compilación](../Project/compiler.md). -By default, the command uses the compiler options defined in the Structure Settings. You can override them by passing an *options* parameter. Se soportan las siguientes sintaxis: +By default, the command uses the compiler options defined in the Structure Settings. Puede sobreescribirlas pasando un parámetro *options*. Se soportan las siguientes sintaxis: - **Compile project**(): compiles the opened project using the options defined in the Structure Settings -- **Compile project**(*options*): compila el proyecto abierto. The *options* defined override the Structure Settings +- **Compile project**(*options*): compila el proyecto abierto. Las *options* definidas reemplazan los parámetros de la estructura - **Compile project**(*projectFile*): compiles the *projectFile* 4DProject using the options defined in the Structure Settings - **Compile project**(*projectFile*; *options*): compiles the *projectFile* 4DProject and the *options* defined override the Structure Settings -**Note:** Binary databases cannot be compiled using this command. +**Nota:** las bases de datos binarias no pueden compilarse con este comando. Unlike the Compiler window, this command requires that you explicitly designate the component(s) to compile. When compiling a project with **Compile project**, you need to declare its components using the *components* property of the *options* parameter. Keep in mind that the components must already be compiled (binary components are supported). @@ -50,7 +50,7 @@ Compilation errors, if any, are returned as objects in the *errors* collection. ### Parámetro options -The *options* parameter is an object. Here are the available compilation options: +El parámetro *options* es un objeto. Here are the available compilation options: | **Propiedad** | **Tipo** | **Description** | | ---------------------------------------------------------------------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -60,7 +60,7 @@ The *options* parameter is an object. Here are the available compilation options | generateSymbols | Boolean | True to generate symbol information in the .symbols returned object | | generateSyntaxFile | Boolean | True para generar un [archivo de sintaxis para la finalización del código](../settings/general.md).md#generate-syntax-file-for-code-completion-when en-compiled) en la carpeta \\Resources\\en.lproj del proyecto | | generateTypingMethods | Text | "reset" or "append" to generate typing methods. If value is "append", existing variable declarations won't be modified (compiler window behavior). If value is "reset" existing variable declarations are removed beforehand. | -| plugins | Objeto 4D.Folder | Carpeta de Plug-ins a usar en lugar de [Carpeta de Plug-ins del proyecto actual](../Project/architecture.md#plugins). This property is only available with the *projectFile* syntax. | +| plugins | Objeto 4D.Folder | Carpeta de Plug-ins a usar en lugar de [Carpeta de Plug-ins del proyecto actual](../Project/architecture.md#plugins). Esta propiedad solo está disponible con la sintaxis *projectFile*. | | targets | Colección de cadenas | Possible values: "x86_64_generic", "arm64_macOS_lib". Pass an empty collection to execute syntax check only | | typeInference | Text | "all": el compilador deduce los tipos de todas las variables no declaradas explícitamente, "locals": el compilador deduce los tipos de variables locales no declaradas explícitamente, "none": todas las variables deben ser explícitamente declaradas en el código (modo antiguo), "direct": todas las variables deben ser explícitamente declaradas en el código ([escritura directa](../Project/compiler.md#enabling-direct-typing)). | | warnings | Colección de objetos | Define el estado de las advertencias | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/form-event.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/form-event.md index 4537871ba8dbcc..7a1cd053401abd 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/form-event.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/form-event.md @@ -17,11 +17,11 @@ displayed_sidebar: docs ## Descripción -**FORM Event** returns an object containing information about the form event that has just occurred.**FORM Event** returns an object containing information about the form event that has just occurred. Usually, you will use **FORM Event** from within a form or object method. +**FORM Event** returns an object containing information about the form event that has just occurred.**FORM Event** devuelve un objeto que contiene información sobre el evento formulario que acaba de ocurrir. Por lo general, utilizará **FORM Event** en un método formulario u objeto. **Objeto devuelto** -Each returned object includes the following main properties: +Cada objeto devuelto incluye las siguientes propiedades principales: | **Propiedad** | **Tipo** | **Description** | | ------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -29,22 +29,22 @@ Each returned object includes the following main properties: | code | integer | Valor numérico del evento de formulario. | | description | text | Nombre del evento de formulario (*por ejemplo*, "On After Edit"). Consulte la sección [**Eventos formulario**](../Events/overview.md). | -For example, in the case of a click on a button, the object contains the following properties: +Por ejemplo, en el caso de un clic en un botón, el objeto contiene las siguientes propiedades: ```json {"code":4,"description":"On Clicked","objectName":"Button2"} ``` -The event object can contain additional properties, depending on the object for which the event occurs. For *eventObj* objects generated on: +El objeto evento puede contener propiedades adicionales, dependiendo del objeto para el que se produzca el evento. Para objetos *eventObj* generados en: - los objetos list box o columna de list box, ver [esta sección](../FormObjects/listbox_overview.md#additional-properties). - áreas 4D View Pro, ver [On VP Ready form event](../Events/onVpReady.md). -**Note:** If there is no current event, **FORM Event** returns a null object. +**Nota:** si no hay ningún evento actual, **FORM Event** devuelve un objeto null. ## Ejemplo 1 -You want to handle the On Clicked event on a button: +Desea manejar el evento On Clicked en un botón: ```4d  If(FORM Event.code=On Clicked) @@ -54,11 +54,11 @@ You want to handle the On Clicked event on a button: ## Ejemplo 2 -If you set the column object name with a real attribute name of a dataclass like this: +Si define el nombre del objeto columna con un nombre de atributo real de una dataclass como esta: ![](../assets/en/commands/pict4843820.en.png) -You can sort the column using the On Header Click event: +Puede ordenar la columna utilizando el evento On Header Click: ```4d  Form.event:=FORM Event @@ -72,7 +72,7 @@ You can sort the column using the On Header Click event: ## Ejemplo 3 -You want to handle the On Display Details on a list box object with a method set in the *Meta info expression* property: +Desea gestionar los detalles de visualización en un objeto list box con un método definido en la propiedad *Meta info expression*: ![](../assets/en/commands/pict4843812.en.png) @@ -92,7 +92,7 @@ El método *setColor*:  $0:=$meta ``` -The resulting list box when rows are selected: +El list box resultante cuando se seleccionan líneas: ![](../assets/en/commands/pict4843808.en.png) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/form-load.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/form-load.md index 1e7a9f1a3f3cdd..7c76bc727aab85 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/form-load.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/form-load.md @@ -8,18 +8,18 @@ displayed_sidebar: docs -| Parámetros | Tipo | | Descripción | -| ---------- | ------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| aTable | Tabla | → | Formulario tabla a cargar (si se omite, carga un formulario proyecto) | -| form | Text, Object | → | Name (string) of form (project or table), ora POSIX path (string) to a .json file describing the form, or an object describing the form to open | -| formData | Object | → | Datos a asociar al formulario | -| \* | Operador | → | If passed = command applies to host database when it is executed from a component (parameter ignored outside of this context) | +| Parámetros | Tipo | | Descripción | +| ---------- | ------------ | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| aTable | Tabla | → | Formulario tabla a cargar (si se omite, carga un formulario proyecto) | +| form | Text, Object | → | Nombre (cadena) del formulario (proyecto o tabla), o una ruta POSIX (cadena) a un archivo .json que describa el formulario, o un objeto que describa el formulario a abrir | +| formData | Object | → | Datos a asociar al formulario | +| \* | Operador | → | Si se pasa = el comando se aplica a la base de datos del host cuando se ejecuta desde un componente (parámetro ignorado fuera de este contexto) | ## Descripción -The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents.The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents. There can only be one current form per process. +The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents.El comando **FORM LOAD** se utiliza para cargar el *form* en memoria en el proceso actual junto con *formData* (opcional) para imprimir sus datos o analizar su contenido. Sólo puede haber un formulario actual por proceso. En el parámetro *form*, puede pasar: @@ -48,7 +48,7 @@ To preserve the graphic consistency of forms, it is recommended to apply the "Pr The current printing form is automatically closed when the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command is called. -### Parsing form contents +### Análisis del contenido del formulario This consists in loading an off-screen form for parsing purposes. To do this, just call **FORM LOAD** outside the context of a print job. In this case, form events are not executed. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/form.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/form.md index 44c952c6f0f1f9..bd1a3b064ca416 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/form.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/form.md @@ -34,7 +34,7 @@ displayed_sidebar: docs If the current form is being displayed or loaded by a call to the [DIALOG](dialog.md), [`Print form`](print-form.md), or [`FORM LOAD`](form-load.md) commands, **Form** returns either: -- the *formData* object passed as parameter to this command, if any, +- el objeto *formData* pasado como parámetro a este comando, si existe, - o, un objeto instanciado de la [clase de usuario asociada al formulario](../FormEditor/properties_FormProperties.md#form-class), si existe, - o, un objeto vacío. @@ -52,7 +52,7 @@ If the current form is a subform, the returned object depends on the parent cont - If the variable associated to the parent container has not been typed as an object, **Form** returns an empty object, maintained by 4D in the subform context. -For more information, please refer to the *Page subforms* section. +Para más información, consulte la sección *Subformularios de página*. ### Formulario tabla diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/last-errors.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/last-errors.md new file mode 100644 index 00000000000000..4e3dcf321b1933 --- /dev/null +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/last-errors.md @@ -0,0 +1,91 @@ +--- +id: last-errors +title: Last errors +slug: /commands/last-errors +displayed_sidebar: docs +--- + +**Last errors** : Collection + + + +| Parámetros | Tipo | | Descripción | +| ---------- | ---------- | --------------------------- | --------------------------- | +| Resultado | Collection | ← | Collection of error objects | + + + +## Descripción + +The **Last errors** command returns the current stack of errors of the 4D application as a collection of error objects, or **null** if no error occurred. The stack of errors includes objects sent by the [throw](../commands-legacy/throw.md) command, if any. + +This command must be called from an on error call method installed by the [ON ERR CALL](../commands-legacy/on-err-call.md) command or within a [Try or Try/Catch](../Concepts/error-handling.md#tryexpression) context. + +Each error object contains the following properties: + +| **Propiedad** | **Tipo** | **Description** | +| ------------------ | -------- | ------------------------------------------------------------------------------------------- | +| errCode | number | Código de error | +| message | text | Descripción del error | +| componentSignature | text | Signature of the internal component which returned the error (see below) | + +#### Internal component signatures (4D) + +| Component Signature | Componente | +| ------------------------- | ------------------------------------------------------------------- | +| 4DCM | 4D Compiler runtime | +| 4DRT | 4D runtime | +| bkrs | 4D backup & restore manager | +| brdg | SQL 4D bridge | +| cecm | 4D code Editor | +| CZip | zip 4D apis | +| dbmg | 4D database manager | +| FCGI | fast cgi 4D bridge | +| FiFo | 4D file objects | +| HTCL | http client 4D apis | +| HTTP | 4D http server | +| IMAP | IMAP 4D apis | +| JFEM | Form Macro apis | +| LD4D | LDAP 4D apis | +| lscm | 4D language syntax manager | +| MIME | MIME 4D apis | +| mobi | 4D Mobile | +| pdf1 | 4D pdf apis | +| PHP_ | php 4D bridge | +| POP3 | POP3 4D apis | +| SMTP | SMTP 4D apis | +| SQLS | 4D SQL server | +| srvr | 4D network layer apis | +| svg1 | SVG 4D apis | +| ugmg | 4D users and groups manager | +| UP4D | 4D updater | +| VSS | 4D VSS support (Windows Volume Snapshot Service) | +| webc | 4D Web view | +| xmlc | XML 4D apis | +| wri1 | 4D Write Pro | + +#### Internal component signatures (System) + +| Component Signature | Componente | +| ------------------- | -------------------------------------------------------- | +| CARB | Carbon subsystem | +| COCO | Cocoa subsystem | +| MACH | macOS Mach subsystem | +| POSX | posix/bsd subsystem (mac, linux, win) | +| PW32 | Pre-Win32 subsystem | +| WI32 | Win32 subsystem | + +## Ver también + +[ON ERR CALL](../commands-legacy/on-err-call.md) +[throw](../commands-legacy/throw.md)\ +[Error handling](../Concepts/error-handling.md) + +## Propiedades + +| | | +| ----------------- | --------------------------- | +| Número de comando | 1799 | +| Hilo seguro | ✓ | + + diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/license-info.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/license-info.md index 779d12afb9f6f6..b91b70ea7aecc2 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/license-info.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/license-info.md @@ -92,7 +92,7 @@ You want to get information on your current 4D Server license:  $obj:=License info ``` -*$obj* can contain, for example: +*$obj* puede contener, por ejemplo: ```json { diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/new-log-file.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/new-log-file.md index 75fad9f3eb4dab..0077f617c07f59 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/new-log-file.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/new-log-file.md @@ -16,7 +16,7 @@ displayed_sidebar: docs ## Descripción -**Preliminary note:** This command only works with 4D Server. Sólo puede ejecutarse mediante el comando [Execute on server](../commands-legacy/execute-on-server.md) o en un procedimiento almacenado. +**Nota preliminar:** este comando sólo funciona con 4D Server. Sólo puede ejecutarse mediante el comando [Execute on server](../commands-legacy/execute-on-server.md) o en un procedimiento almacenado. The **New log file** command closes the current log file, renames it and creates a new one with the same name in the same location as the previous one. This command is meant to be used for setting up a backup system using a logical mirror (see the section *Setting up a logical mirror* in the [4D Server Reference Manual](https://doc/4d.com)). diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/print-form.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/print-form.md index 9a9ec1c5afcb90..6bfe689e33dd8a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/print-form.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/print-form.md @@ -21,7 +21,7 @@ displayed_sidebar: docs ## Descripción -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*.The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. En el parámetro *form*, puede pasar: @@ -33,7 +33,7 @@ Since **Print form** does not issue a page break after printing the form, it is Se pueden utilizar tres sintaxis diferentes: -- **Detail area printing** +- **Impresión de área de detalle** Sintaxis: @@ -104,7 +104,7 @@ The printer dialog boxes do not appear when you use **Print form**. The report d - Llamar a [PRINT SETTINGS](../commands-legacy/print-settings.md). In this case, you let the user choose the settings. - Llame a [SET PRINT OPTION](../commands-legacy/set-print-option.md) y [GET PRINT OPTION](../commands-legacy/get-print-option.md). In this case, print settings are specified programmatically. -**Print form** builds each printed page in memory. Cada página se imprime cuando la página en memoria está llena o cuando se llama a [PAGE BREAK](../commands-legacy/page-break.md). Para asegurar la impresión de la última página después de cualquier uso de **Print form**, debe concluir con el comando [PAGE BREAK](../commands-legacy/page-break.md) (excepto en el contexto de un [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), ver nota). Otherwise, if the last page is not full, it stays in memory and is not printed. +**Print form** crea cada página impresa en la memoria. Cada página se imprime cuando la página en memoria está llena o cuando se llama a [PAGE BREAK](../commands-legacy/page-break.md). Para asegurar la impresión de la última página después de cualquier uso de **Print form**, debe concluir con el comando [PAGE BREAK](../commands-legacy/page-break.md) (excepto en el contexto de un [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), ver nota). Otherwise, if the last page is not full, it stays in memory and is not printed. **Warning:** If the command is called in the context of a printing job opened with [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), you must NOT call [PAGE BREAK](../commands-legacy/page-break.md) for the last page because it is automatically printed by the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command. Si llama a [PAGE BREAK](../commands-legacy/page-break.md) en este caso, se imprime una página en blanco. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/process-activity.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/process-activity.md index 32a77d624ec9d9..45d54ee004f96d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/process-activity.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/process-activity.md @@ -8,19 +8,19 @@ displayed_sidebar: docs -| Parámetros | Tipo | | Descripción | -| ---------- | ------- | --------------------------- | -------------------------------------------------------------------------------------- | -| sessionID | Text | → | ID de sesión | -| options | Integer | → | Opciones de retorno | -| Resultado | Object | ← | Snapshot of running processes and/or (4D Server only) user sessions | +| Parámetros | Tipo | | Descripción | +| ---------- | ------- | --------------------------- | ---------------------------------------------------------------------------------------------------- | +| sessionID | Text | → | ID de sesión | +| options | Integer | → | Opciones de retorno | +| Resultado | Object | ← | Instantánea de los procesos en ejecución y/o sesiones de usuario (sólo 4D Server) |
    Historia -| Lanzamiento | Modificaciones | -| ----------- | -------------------------------- | -| 20 R7 | Support of *sessionID* parameter | +| Lanzamiento | Modificaciones | +| ----------- | --------------------------------- | +| 20 R7 | Soporte del parámetro *sessionID* |
    @@ -35,7 +35,7 @@ By default when used without any parameters, **Process activity** returns an obj On 4D Server, you can filter information to be returned using the optional *sessionID* and *options* parameters: -- If you pass a user session ID in the *sessionID* parameter, the command only returns information related to this session. By default if the *options* parameter is omitted, the returned object contains a collection with all processes related to the session and a collection with a single object describing the session. If you pass an invalid session ID, a **null** object is returned. +- If you pass a user session ID in the *sessionID* parameter, the command only returns information related to this session. By default if the *options* parameter is omitted, the returned object contains a collection with all processes related to the session and a collection with a single object describing the session. Si se pasa un ID de sesión inválido, se devuelve un objeto **null**. - You can select the collection(s) to return by passing one of the following constants in the *options* parameter: | Constante | Valor | Comentario | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/process-number.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/process-number.md index 1cf6c506c50b3b..6546f59cd20562 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/process-number.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/process-number.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## Descripción -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` devuelve el número del proceso cuyo *name* o *id* pasa en el primer parámetro. Si no se encuentra ningún proceso, `Process number` devuelve 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameterThe `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter. Si no se encuentra ningún proceso, `Process number` devuelve 0. El parámetro opcional \* permite recuperar, de un 4D remoto, el número de un proceso que se ejecuta en el servidor. En este caso, el valor devuelto es negativo. Esta opción es especialmente útil cuando se utilizan los comandos [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) y [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md). diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/session.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/session.md index 75cc0189b30385..0f601e9de36d68 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/session.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/session.md @@ -33,7 +33,7 @@ Dependiendo del proceso desde el que se llame al comando, la sesión de usuario - una sesión web (cuando las [sesiones escalables están activadas](WebServer/sessions.md#enabling-web-sessions)), - una sesión de cliente remoto, - la sesión de procedimientos almacenados, -- the *designer* session in a standalone application. +- la sesión del ***Print form*** en una aplicación independiente. Para obtener más información, consulte el párrafo [Tipos de sesion](../API/SessionClass.md#session-types). diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md index bfe462d42a24ab..f6231c2a60061d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md @@ -14,7 +14,6 @@ slug: /commands/theme/4D-Environment | [](../../commands-legacy/compact-data-file.md)
    | | [](../../commands-legacy/component-list.md)
    | | [](../../commands-legacy/create-data-file.md)
    | -| [](../../commands/create-entity-selection.md)
    | | [](../../commands-legacy/data-file.md)
    | | [](../../commands-legacy/database-measures.md)
    | | [](../../commands-legacy/drop-remote-user.md)
    | @@ -46,7 +45,6 @@ slug: /commands/theme/4D-Environment | [](../../commands-legacy/set-update-folder.md)
    | | [](../../commands-legacy/structure-file.md)
    | | [](../../commands-legacy/table-fragmentation.md)
    | -| [](../../commands/use-entity-selection.md)
    | | [](../../commands-legacy/verify-current-data-file.md)
    | | [](../../commands-legacy/verify-data-file.md)
    | | [](../../commands-legacy/version-type.md)
    | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md index 51f20da1d8ad45..aa3ed1c5728313 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md @@ -11,7 +11,7 @@ slug: /commands/theme/Interruptions | [](../../commands-legacy/asserted.md)
    | | [](../../commands-legacy/filter-event.md)
    | | [](../../commands-legacy/get-assert-enabled.md)
    | -| [](../../commands-legacy/last-errors.md)
    | +| [](../../commands/last-errors.md)
    | | [](../../commands-legacy/method-called-on-error.md)
    | | [](../../commands-legacy/method-called-on-event.md)
    | | [](../../commands-legacy/on-err-call.md)
    | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/Selection.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/Selection.md index 02c773aaf6c587..0588ac168763cb 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/Selection.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/theme/Selection.md @@ -9,6 +9,7 @@ slug: /commands/theme/Selection | [](../../commands-legacy/all-records.md)
    | | [](../../commands-legacy/apply-to-selection.md)
    | | [](../../commands-legacy/before-selection.md)
    | +| [](../../commands/create-entity-selection.md)
    | | [](../../commands-legacy/create-selection-from-array.md)
    | | [](../../commands-legacy/delete-selection.md)
    | | [](../../commands-legacy/display-selection.md)
    | @@ -28,3 +29,4 @@ slug: /commands/theme/Selection | [](../../commands-legacy/scan-index.md)
    | | [](../../commands-legacy/selected-record-number.md)
    | | [](../../commands-legacy/truncate-table.md)
    | +| [](../../commands/use-entity-selection.md)
    | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/this.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/this.md index 8c3d7891c2153a..fa647a893a6dd3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/this.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/this.md @@ -22,7 +22,7 @@ En la mayoría de los casos, el valor de `This` está determinado por cómo se l This command can be used in different contexts, described below. Within these contexts, you will access object/collection element properties or entity attributes through **This.<*propertyPath*\>**. For example, *This.name* or *This.employer.lastName* are valid pathes to object, element or entity properties. -In any other context, the command returns **Null**. +En cualquier otro contexto, el comando devuelve **Null**. ## Función de clase @@ -83,7 +83,7 @@ For example, you want to use a project method as a formula encapsulated in an ob $g:=$person.greeting("hi") // devuelve "hi John Smith" ``` -With the *Greeting* project method: +Con el método proyecto *Greeting*: ```4d #DECLARE($greeting : Text) : Text diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/wa-set-context.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/wa-set-context.md index 682d1f5d4ce107..2dcec54cf4471d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/wa-set-context.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/wa-set-context.md @@ -27,7 +27,7 @@ The command is only usable with an embedded web area where the [**Use embedded w Pass in *contextObj* user class instances or formulas to be allowed in `$4d` as objects. Class functions that begin with `_` are considered hidden and cannot be used with `$4d`. -- If *contextObj* is null, `$4d` has access to all 4D methods. +- Si *contextObj* es null, `$4d` tiene acceso a todos los métodos 4D. - If *contextObj* is empty, `$4d` has no access. ### Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/current/settings/compatibility.md b/i18n/es/docusaurus-plugin-content-docs/current/settings/compatibility.md index 0bec47d76d2ae9..65110a686cf1ad 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/settings/compatibility.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/settings/compatibility.md @@ -21,7 +21,7 @@ La página Compatibilidad agrupa los parámetros relacionados con el mantenimien - **Utilizar LF como caracter de fin de línea en macOS**: a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos texto con salto de línea (LF) como caracter de fin de línea (EOL) por defecto en lugar de CR (CRLF para xml SAX) en macOS en nuevos proyectos. Si desea beneficiarse de este nuevo comportamiento en proyectos convertidos a partir de versiones anteriores de 4D, marque esta opción. Ver [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), y [XML SET OPTIONS](../commands-legacy/xml-set-options.md). -- \*\*No añadir un BOM al escribir un archivo de texto unicode por defecto:\*\*a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos de texto sin BOM ("Byte order mark") por defecto. En las versiones anteriores, los archivos texto se escribían con un BOM por defecto. Seleccione esta opción si desea activar el nuevo comportamiento en los proyectos convertidos. Ver [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), y [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- \*\*No añadir un BOM al escribir un archivo de texto unicode por defecto:\*\*a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos de texto sin BOM ("Byte order mark") por defecto. En las versiones anteriores, los archivos texto se escribían con un BOM por defecto. Seleccione esta opción si desea activar el nuevo comportamiento en los proyectos convertidos. See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). - **Mapear valores NULL a valores en blanco sin marcar por defecto una creación de campo**: para un mejor cumplimiento con las especificaciones ORDA, en bases de datos creadas con 4D v19 R4 y superiores, la propiedad de campo **Mapear valores NULL a valores en blanco** no está marcada por defecto cuando creas campos. Puede aplicar este comportamiento por defecto a sus bases de datos convertidas marcando esta opción (se recomienda trabajar con valores Null, ya que están totalmente soportados por [ORDA](../ORDA/overview.md). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md b/i18n/es/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md index 34ce8975ba6725..755396a611439a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md @@ -164,7 +164,7 @@ Conexión a un almacén de datos remoto sin usuario/contraseña: ```4d var $connectTo : Object - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation $connectTo:=New object("type";"4D Server";"hostname";"192.168.18.11:8044") $remoteDS:=Open datastore($connectTo;"students") ALERT("This remote datastore contains "+String($remoteDS.Students.all().length)+" students") @@ -176,7 +176,7 @@ Conexión a un almacén de datos remoto con usuario/contraseña/ timeout / tls: ```4d var $connectTo : Object - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation $connectTo:=New object("type";"4D Server";"hostname";\"192.168.18.11:4443";\ "user";"marie";"password";$pwd;"idleTimeout";70;"tls";True) $remoteDS:=Open datastore($connectTo;"students") @@ -398,7 +398,7 @@ La función `.getInfo()` The `.get En un almacén de datos remoto: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -747,7 +747,7 @@ Puede anidar varias transacciones (subtransacciones). Cada transacción o sub-tr ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/es/docusaurus-plugin-content-docs/version-19/API/EntityClass.md b/i18n/es/docusaurus-plugin-content-docs/version-19/API/EntityClass.md index 556c663bda024a..7907b8fb8791fb 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-19/API/EntityClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-19/API/EntityClass.md @@ -599,15 +599,14 @@ El siguiente código genérico duplica cualquier entidad: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parámetros | Tipo | | Descripción | | ---------- | ------- |:--:| --------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: la llave primaria se devuelve como una cadena, sin importar el tipo de llave primaria | -| Resultado | Text | <- | Valor de la llave primaria de texto de la entidad | -| Resultado | Integer | <- | Valor de la llave primaria numérica de la entidad | +| Resultado | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1539,11 +1538,12 @@ Ejemplo con el tipo `relatedEntity` con una forma simple: #### Descripción -La función `.touched()` comprueba si un atributo de la entidad ha sido modificado o no desde que se cargó la entidad en la memoria o se guardó. +La función `.touched()` returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -Si un atributo ha sido modificado o calculado, la función devuelve True, en caso contrario devuelve False. Puede utilizar esta función para determinar si necesita guardar la entidad. +This only applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. + +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. -Esta función devuelve False para una nueva entidad que acaba de ser creada (con [`.new( )`](DataClassClass.md#new)). Tenga en cuenta, sin embargo, que si utiliza una función que calcula un atributo de la entidad, la función `.touched()` devolverá entonces True. Por ejemplo, si se llama a [`.getKey()`](#getkey) para calcular la llave primaria, `.touched()` devuelve True. #### Ejemplo @@ -1586,7 +1586,7 @@ En este ejemplo, comprobamos si es necesario guardar la entidad: La función `.touchedAttributes()` devuelve los nombres de los atributos que han sido modificados desde que la entidad fue cargada en memoria. -Esto se aplica a los atributos [kind](DataClassClass.md#attributename) `storage` o `relatedEntity`. +This only applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. En el caso de que se haya tocado una entidad relacionada (es decir, la llave externa), se devuelve el nombre de la entidad relacionada y el nombre de su llave primaria. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-19/API/FileClass.md b/i18n/es/docusaurus-plugin-content-docs/version-19/API/FileClass.md index 40b92486c734c1..3333efe92d20e7 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-19/API/FileClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-19/API/FileClass.md @@ -516,12 +516,12 @@ Quiere renombrar "ReadMe.txt" como "ReadMe_new.txt": La función `.setAppInfo()` escribe las propiedades de *info* como contenido informativo de un archivo **.exe**, **.dll** o **.plist**. -La función debe utilizarse con un archivo .exe, .dll o .plist existente. Si el archivo no existe en el disco o no es un archivo .exe, .dll o .plist válido, la función no hace nada (no se genera ningún error). - -> La función sólo admite archivos .plist en formato xml (basados en texto). Se devuelve un error si se utiliza con un archivo .plist en formato binario. **Parámetro *info* con un archivo .exe o .dll** +The function must be used with an existing and valid .exe or .dll file, otherwise it does nothing (no error is generated). + + > Escribir la información de archivos .exe o .dll sólo es posible en Windows. Cada propiedad válida definida en el parámetro objeto *info* se escribe en el recurso de versión del archivo .exe o .dll. Las propiedades disponibles son (toda otra propiedad será ignorada): @@ -541,6 +541,8 @@ Si se pasa un texto null o vacío como valor, se escribe una cadena vacía en la **Parámetro *info* con un un archivo .plist** +> La función sólo admite archivos .plist en formato xml (basados en texto). Se devuelve un error si se utiliza con un archivo .plist en formato binario. + Cada propiedad válida definida en el parámetro objeto *info* se escribe en el archivo .plist en forma de llave. Se aceptan todos los nombre de llaves. Los tipos de valores se conservan cuando es posible. Si un conjunto de llaves en el parámetro *info* ya está definido en el archivo .plist, su valor se actualiza manteniendo su tipo original. Las demás llaves existentes en el archivo .plist no se modifican. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md b/i18n/es/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md index 8120749e26fb55..124cfd95e2ba6d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md @@ -699,7 +699,7 @@ La función `.start()` inicia el ser El servidor web se inicia con la configuración por defecto definida en el archivo de configuración del proyecto o (sólo en la base host) utilizando el comando `WEB SET OPTION`. Sin embargo, utilizando el parámetro *settings*, se pueden definir propiedades personalizadas para la sesión del servidor web. -Todas las configuraciones de los [objetos del Servidor Web](#web-server-object) pueden personalizarse, excepto las propiedades de sólo lectura ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy) y [.sessionCookieName](#sessioncookiename)). +All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Todas las configuraciones de los [objetos del Servidor Web](#web-server-object) pueden personalizarse, excepto las propiedades de sólo lectura ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy) y [.sessionCookieName](#sessioncookiename)). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md index e1b8b1a34897b1..591bcc459345fa 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md @@ -460,7 +460,7 @@ La función `.getInfo()` devuelve En un almacén de datos remoto: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1123,7 +1123,7 @@ Puede anidar varias transacciones (subtransacciones). Cada transacción o sub-tr ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md index 1df38bdaf52d52..0204236620245b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md @@ -614,15 +614,14 @@ El siguiente código genérico duplica cualquier entidad: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parámetros | Tipo | | Descripción | | ---------- | ------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: la llave primaria se devuelve como una cadena, sin importar el tipo de llave primaria | -| Resultado | Text | <- | Valor de la llave primaria de texto de la entidad | -| Resultado | Integer | <- | Valor de la llave primaria numérica de la entidad | +| Resultado | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1640,11 +1639,11 @@ Ejemplo con el tipo relatedEntity con una forma simple: #### Descripción -La función `.touched()` comprueba si un atributo de la entidad ha sido modificado o no desde que la entidad fue cargada en memoria o guardada. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -Si un atributo ha sido modificado o calculado, la función devuelve True, en caso contrario devuelve False. Puede utilizar esta función para determinar si necesita guardar la entidad. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". -Esta función devuelve False para una nueva entidad que acaba de ser creada (con [`.new( )`](DataClassClass.md#new)). Tenga en cuenta, sin embargo, que si utiliza una función que calcula un atributo de la entidad, la función `.touched()` devolverá entonces True. Por ejemplo, si llama [`.getKey()`](#getkey) para calcular la llave primaria, `.touched()` devuelve True. +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. #### Ejemplo @@ -1688,7 +1687,7 @@ En este ejemplo, comprobamos si es necesario guardar la entidad: La función`.touchedAttributes()` devuelve los nombres de los atributos que han sido modificados desde que la entidad fue cargada en memoria. -Esta función se aplica a los atributos cuyo [kind](DataClassClass.md#attributename) es `storage` o `relatedEntity`. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". En el caso de que se haya tocado una entidad relacionada (es decir, la llave externa), se devuelve el nombre de la entidad relacionada y el nombre de su llave primaria. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md index 9bb17b586ef162..596242a2068bd6 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md @@ -538,15 +538,13 @@ Quiere renombrar "ReadMe.txt" como "ReadMe_new.txt": La función `.setAppInfo()` escribe las propiedades *info* como contenido de información de un archivo **.exe**, **.dll** o **.plist**. -La función debe utilizarse con un archivo .exe, .dll o .plist existente. Si el archivo no existe en el disco o no es un archivo .exe, .dll o .plist válido, la función no hace nada (no se genera ningún error). - -> La función sólo admite archivos .plist en formato xml (basados en texto). Se devuelve un error si se utiliza con un archivo .plist en formato binario. - ***Parámetro info* con un archivo .exe o .dll** +The function must be used with an existing and valid .exe or .dll file, otherwise it does nothing (no error is generated). + > Escribir la información de archivos .exe o .dll sólo es posible en Windows. -Cada propiedad válida definida en el parámetro objeto *info* se escribe en el recurso de versión del archivo .exe o .dll. Las propiedades disponibles son (toda otra propiedad será ignorada): +Each valid property set in the *info* object parameter is written in the version resource of the .exe or .dll file. Las propiedades disponibles son (toda otra propiedad será ignorada): | Propiedad | Tipo | Comentario | | ---------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -560,22 +558,24 @@ Cada propiedad válida definida en el parámetro objeto *info* se escribe en el | OriginalFilename | Text | | | WinIcon | Text | Ruta Posix del archivo .ico. Esta propiedad sólo se aplica a los archivos ejecutables generados por 4D. | -Para todas las propiedades excepto `WinIcon`, si se pasa un texto nulo o vacío como valor, se escribe una cadena vacía en la propiedad. Si pasa un valor de tipo diferente a texto, se convierte en una cadena. +For all properties except `WinIcon`, if you pass a null or empty text as value, an empty string is written in the property. Si pasa un valor de tipo diferente a texto, se convierte en una cadena. -Para la propiedad `WinIcon`, si el archivo del icono no existe o tiene un formato incorrecto, se genera un error. +For the `WinIcon` property, if the icon file does not exist or has an incorrect format, an error is generated. ***Parámetro info* con un un archivo .plist** -Cada propiedad válida definida en el parámetro objeto *info* se escribe en el archivo .plist en forma de llave. Se aceptan todos los nombre de llaves. Los tipos de valores se conservan cuando es posible. +> La función sólo admite archivos .plist en formato xml (basados en texto). Se devuelve un error si se utiliza con un archivo .plist en formato binario. + +Each valid property set in the *info* object parameter is written in the .plist file as a key. Se aceptan todos los nombre de llaves. Los tipos de valores se conservan cuando es posible. -Si un conjunto de llaves en el parámetro *info* ya está definido en el archivo .plist, su valor se actualiza manteniendo su tipo original. Las demás llaves existentes en el archivo .plist no se modifican. +If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Las demás llaves existentes en el archivo .plist no se modifican. > Para definir un valor de tipo Fecha, el formato a utilizar es una cadena de timestamp json formada en ISO UTC sin milisegundos ("2003-02-01T01:02:03Z") como en el editor de plist Xcode. #### Ejemplo ```4d - // definir el copyright y versión de un archivo .exe (Windows) + // set copyright, version and icon of a .exe file (Windows) var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file; fk platform path) @@ -588,7 +588,7 @@ $exeFile.setAppInfo($info) ``` ```4d - // definir algunas llaves en un archivo info.plist (todas las plataformas) + // set some keys in an info.plist file (all platforms) var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") @@ -620,15 +620,15 @@ $infoPlistFile.setAppInfo($info) -| Parámetros | Tipo | | Descripción | -| ---------- | ---- | -- | --------------------------------- | -| content | BLOB | -> | Nuevos contenidos para el archivo | +| Parámetros | Tipo | | Descripción | +| ---------- | ---- | -- | ------------------------- | +| content | BLOB | -> | New contents for the file | #### Descripción -La función .setContent( ) reescribe todo el contenido del archivo utilizando los datos almacenados en el BLOBcontent. Para obtener información sobre BLOBs, consulte la sección [BLOB](Concepts/dt_blob.md). +The `.setContent( )` function rewrites the entire content of the file using the data stored in the *content* BLOB. Para obtener información sobre BLOBs, consulte la sección [BLOB](Concepts/dt_blob.md). #### Ejemplo @@ -667,11 +667,11 @@ La función .setContent( ) reescrib #### Descripción -La función `.setText()` escribe *text* como el nuevo contenido del archivo. +The `.setText()` function writes *text* as the new contents of the file. -Comentario Cuando el archivo ya existe en el disco, se borra su contenido anterior, excepto si ya está abierto, en cuyo caso se bloquea su contenido y se genera un error. +If the file referenced in the `File` object does not exist on the disk, it is created by the function. Cuando el archivo ya existe en el disco, se borra su contenido anterior, excepto si ya está abierto, en cuyo caso se bloquea su contenido y se genera un error. -En *text*, pase el texto a escribir en el archivo. Puede ser un texto literal ("my text"), o un campo / variable texto 4D. +In *text*, pass the text to write to the file. Puede ser un texto literal ("my text"), o un campo / variable texto 4D. Opcionalmente, puede designar el conjunto de caracteres que se utilizará para la escritura del contenido. Puede pasar: @@ -682,7 +682,7 @@ Opcionalmente, puede designar el conjunto de caracteres que se utilizará para l Si existe una marca de orden de bytes (BOM) para el conjunto de caracteres, 4D la inserta en el archivo a menos que el conjunto de caracteres utilizado contenga el sufijo "-no-bom" (por ejemplo, "UTF-8-no-bom"). Si no especifica un conjunto de caracteres, por defecto 4D utiliza el conjunto de caracteres "UTF-8" sin BOM. -En *breakMode*, se puede pasar un número que indica el procesamiento a aplicar a los caracteres de fin de línea antes de guardarlos en el archivo. Las siguientes constantes, que se encuentran en el tema **Documentos sistema**, están disponibles: +In *breakMode*, you can pass a number indicating the processing to apply to end-of-line characters before saving them in the file. The following constants, found in the **System Documents** theme, are available: | Constante | Valor | Comentario | | ----------------------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -694,7 +694,7 @@ En *breakMode*, se puede pasar un número que indica el procesamiento a aplicar Por defecto, cuando se omite el parámetro *breakMode*, los saltos de línea se procesan en modo nativo (1). -**Nota de compatibilidad**: las opciones de compatibilidad están disponibles para la gestión de EOL y de BOM. Ver la [página Compatibilidad](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) en doc.4d.com. +**Compatibility Note**: Compatibility options are available for EOL and BOM management. See [Compatibility page](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) on doc.4d.com. #### Ejemplo diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md index 9ed37d5de78753..733e28d5a1424c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md @@ -5,7 +5,7 @@ title: OutgoingMessage The `4D.OutgoingMessage` class allows you to build messages to be returned by your application functions in response to [REST requests](../REST/REST_requests.md). If the response is of type `4D.OutgoingMessage`, the REST server does not return an object but the object instance of the `OutgoingMessage` class. -Normalmente, esta clase puede ser usada en funciones personalizadas [HTTP request handler](../WebServer/http-request-handler.md#function-configuration) o en funciones declaradas con la palabra clave [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) y diseñadas para manejar peticiones HTTP GET. Such requests are used, for example, to implement features such as download file, generate and download picture as well as receiving any content-type via a browser. +Typically, this class can be used in custom [HTTP request handler functions](../WebServer/http-request-handler.md#function-configuration) or in functions declared with the [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keyword and designed to handle HTTP GET requests. Such requests are used, for example, to implement features such as download file, generate and download picture as well as receiving any content-type via a browser. An instance of this class is built on 4D Server and can be sent to the browser by the [4D REST Server](../REST/gettingStarted.md) only. This class allows to use other technologies than HTTP (e.g. mobile). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md index 286c89b45bf8d0..69522d794f4328 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md @@ -568,7 +568,7 @@ La función `.start()` inicia el ser El servidor web se inicia con los parámetros por defecto definidos en el archivo de configuración del proyecto o (base host únicamente) utilizando el comando `WEB SET OPTION`. Sin embargo, utilizando el parámetro *settings*, se pueden definir propiedades personalizadas para la sesión del servidor web. -Todas los parámetros de los [objetos Servidor Web](../commands/web-server.md-object) pueden personalizarse, excepto las propiedades de sólo lectura ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy) y [.sessionCookieName](#sessioncookiename)). +All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Los parámetros de sesión personalizados se reiniciarán cuando se llame la función [`.stop()`](#stop). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md index 006a122f772a50..bd4e1c078d6b67 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md @@ -752,7 +752,7 @@ Se declaran clases singleton añadiendo la(s) palabra(s) clave(s) apropiada(s) a :::note - Los singletons de sesión son automáticamente singletons compartidos (no hay necesidad de usar la palabra clave `shared` en el constructor de clases). -- Las funciones compartidas Singleton soportan [palabra clave `onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). +- Singleton shared functions support [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugLogFiles.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugLogFiles.md index 52e7744708cdd4..49a741a46d75d7 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugLogFiles.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugLogFiles.md @@ -480,18 +480,18 @@ Como iniciar este historial: Los siguientes campos se registran para cada evento: -| Nombre del campo | Tipo | Descripción | -| ---------------- | ---------- | ----------------------------------------------------------------------------------------- | -| time | Fecha/Hora | Fecha y hora del evento en formato ISO 8601 | -| localPort | Number | Local port used for the connection | -| peerAddress | Text | Dirección IP del peer remoto | -| peerPort | Number | Puerto del peer remoto | -| protocol | Text | Indicates whether the event is related to `TCP` | -| evento | Text | El tipo de evento:`open`, `close`, `error`, `send`, `receive`, o `listen` | -| size | Number | The amount of data sent or received (in bytes), 0 if not applicable | -| excerpt | Number | First 10 bytes of data in hexadecimal format | -| textExcerpt | Text | First 10 bytes of data in text format | -| comment | Text | Additional information about the event, such as error details or encryption status | +| Nombre del campo | Tipo | Descripción | +| ---------------- | ---------- | --------------------------------------------------------------------------------------------- | +| time | Fecha/Hora | Fecha y hora del evento en formato ISO 8601 | +| localPort | Number | Local port used for the connection | +| peerAddress | Text | Dirección IP del peer remoto | +| peerPort | Number | Puerto del peer remoto | +| protocol | Text | Indicates whether the event is related to `TCP` | +| evento | Text | El tipo de evento:`open`, `close`, `error`, `send`, `receive`, o `listen` | +| size | Number | La cantidad de datos enviados o recibidos (en bytes), 0 si no es aplicable | +| excerpt | Number | First 10 bytes of data in hexadecimal format | +| textExcerpt | Text | First 10 bytes of data in text format | +| comment | Text | Additional information about the event, such as error details or encryption status | ## Utilización de un archivo de configuración de log diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugger.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugger.md index 1226061d570634..96704a559cddf5 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugger.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugger.md @@ -29,7 +29,7 @@ Hay varias formas de conseguir que el depurador se muestre: Cuando se llama, la ventana del depurador ofrece el nombre del método o de la función de clase que se está rastreando en ese momento, y la acción que provoca la aparición inicial de la ventana del depurador. Por ejemplo, en la ventana del depurador arriba: -- *drop* is the method being traced +- *drop* es el método rastreado - The debugger window appeared because of a break point. La visualización de una nueva ventana del depurador utiliza la misma configuración que la última ventana visualizada en la misma sesión. Si ejecuta varios procesos usuario, puede rastrearlos independientemente y tener una ventana de depuración abierta para cada proceso. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md index ea9eefc52f9966..c7f17e49aa4440 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md @@ -29,7 +29,7 @@ A excepción de los [comandos no utilizables](#unusable-commands), un componente Cuando los comandos son llamados desde un componente, se ejecutan en el contexto del componente, excepto por el comando [`EXECUTE METHOD`](https://doc.4d.com/4dv20/help/command/en/page1007.html) o el comando [`EXECUTE FORMULA`](https://doc.4d.com/4dv20/help/command/en/page63.html) que utilizan el contexto del método especificado por el comando. También hay que tener en cuenta que los comandos de lectura del tema "Usuarios y grupos" se pueden utilizar desde un componente, pero leerán los usuarios y grupos del proyecto local (un componente no tiene sus propios usuarios y grupos). -Los comandos [`SET DATABASE PARAMETER`](https://doc.4d.com/4dv20/help/command/en/page642.html) y [`Get database parameter`](https://doc.4d.com/4dv20/help/command/en/page643.html) son una excepción: su alcance es global para la aplicación. Cuando estos comandos se llaman desde un componente, se aplican al proyecto de la aplicación local. +The [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands are an exception: their scope is global to the application. Cuando estos comandos se llaman desde un componente, se aplican al proyecto de la aplicación local. Además, se han especificado medidas específicas para los comandos `Structure file` y `Get 4D folder` cuando se utilizan en el marco de los componentes. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md index 5dbf9ec0fd2991..b8ed3dfbd760bd 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md @@ -9,20 +9,20 @@ Lea [**Novedades en 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8/), #### Lo más destacado -- Implement your own [**HTTP request handlers**](../WebServer/http-request-handler.md) using the new [`4D.IncomingMessage`](../API/IncomingMessageClass.md) class. +- Implemente sus propios [**HTTP request handlers**](../WebServer/http-request-handler.md) utilizando la nueva clase [`4D.IncomingMessage`](../API/IncomingMessageClass.md). - Las expresiones utilizadas en [propiedades de objetos de formulario](../FormObjects/properties_Reference.md) ahora se benefician de la comprobación de sintaxis en la [Lista de propiedades](../FormEditor/formEditor.md#property-list) y en el [Compilador](../Project/compiler.md#check-syntax). - Puede [asociar una clase a un formulario](../FormEditor/properties_FormProperties.md#form-class) para habilitar la anticipación del tipo de código y la instanciación automática de los datos del formulario cuando utilice el comando [`Form`](../commands/form.md). - Soporte de [sesiones autónomas](../API/SessionClass.md) para simplificar la codificación local de aplicaciones cliente/servidor. -- [4D debugger](../Debugging/debugger.md): new design and auto-save, display mode features. +- [Depurador 4D](../Debugging/debugger.md): nuevo diseño y autoguardado, funciones de modo de visualización. - [Nueva arquitectura de componentes construidos](../Desktop/building.md#build-component) para un mejor cumplimiento de las pautas de notarización de Apple. - Ahora puede [crear fácilmente aplicaciones de evaluación](../Desktop/building.md#build-an-evaluation-application) en el cuadro de diálogo de Build App. - Dependencias: use el administrador de Dependencias para [buscar nuevas versiones](../Project/components.md#checking-for-new-versions) y [actualizar](../Project/components.md#updating-dependencies) componentes GitHub. -- New [`TCPConnection`](../API/TCPConnectionClass.md) and [`TCPEvent`](../API/TCPEventClass.md) classes to manage TCP client connections, handle events, and enhance control over data transmission. Añadido [`4DTCPLog.txt`](../Debugging/debugLogFiles.md#4dtcplogtxt) para un registro detallado de eventos TCP. +- Nuevas clases [`TCPConnection`](../API/TCPConnectionClass.md) y [`TCPEvent`](../API/TCPEventClass.md) para gestionar conexiones cliente TCP, manejar eventos y mejorar el control sobre la transmisión de datos. Añadido [`4DTCPLog.txt`](../Debugging/debugLogFiles.md#4dtcplogtxt) para un registro detallado de eventos TCP. - Nuevas opciones en [VP EXPORT DOCUMENT](../ViewPro/commands/vp-export-document.md) y [VP IMPORT DOCUMENT](../ViewPro/commands/vp-import-document.md) para controlar estilos, fórmulas, integridad de datos y protección por contraseña. - 4D Write Pro: - Los siguientes comandos permiten ahora parámetros como objetos o colecciones: [WP SET ATTRIBUTES](../WritePro/commands/wp-set-attributes.md), [WP Get attributes](../WritePro/commands/wp-get-attributes.md), [WP RESET ATTRIBUTES](../WritePro/commands/wp-reset-attributes.md), [WP Table append row](../WritePro/commands/wp-table-append-row.md), [WP Import document](../WritePro/commands/wp-import-document.md), [WP EXPORT DOCUMENT](../WritePro/commands/wp-export-document.md), [WP Add picture](../WritePro/commands/wp-add-picture.md), y [WP Insert picture](../WritePro/commands/wp-insert-picture.md). - [WP Insert formula](../WritePro/commands/wp-insert-formula.md), [WP Insert document body](../WritePro/commands/wp-insert-document-body.md), y [WP Insert break](../WritePro/commands/wp-insert-break.md), son ahora funciones que devuelven rangos. - - New expressions related to document attributes: [This.sectionIndex](../WritePro/managing-formulas.md), [his.sectionName](../WritePro/managing-formulas.md) and [This.pageIndex](../WritePro/managing-formulas.md). + - Nuevas expresiones relacionadas con los atributos del documento: [This.sectionIndex](../WritePro/managing-formulas.md), [This.sectionName](../WritePro/managing-formulas.md) y [This.pageIndex](../WritePro/managing-formulas.md). - Lenguaje 4D: - Comandos modificados: [`FORM EDIT`](../commands/form-edit.md) - Las funciones [`.sign()`](../API/CryptoKeyClass.md#sign) y [`.verify()`](../API/CryptoKeyClass.md#verify) de la clase [4D.CryptoKey](../API/CryptoKeyClass.md) soportan Blob en el parámetro *message*. @@ -43,7 +43,7 @@ Lea [**Novedades en 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7/), - Ahora puede [añadir y eliminar componentes utilizando la interfaz del gestor de componentes](../Project/components.md#monitoring-project-dependencies). - Nuevo [**modo de tipado directo**](../Project/compiler.md#enabling-direct-typing) en el que declara todas las variables y parámetros en su código usando las palabras clave `var` y `#DECLARE`/`Function` (sólo modo soportado en nuevos proyectos). [La función de verificación de sintaxis](../Project/compiler.md#check-syntax) se ha mejorado en consecuencia. - Soporte de [singletones de sesión](../Concepts/classes.md#singleton-classes) y nueva propiedad de clase [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton). -- Nueva palabra clave de función [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) para definir funciones singleton u ORDA que pueden ser llamadas a través de [peticiones HTTP REST GET](../REST/ClassFunctions.md#function-calls). +- Nueva [palabra clave de función `onHttpGet`](../ORDA/ordaClasses.md#onhttpget-keyword) para definir funciones singleton u ORDA que pueden ser llamadas a través de [peticiones HTTP REST GET](../REST/ClassFunctions.md#function-calls). - Nueva clase [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) para que el servidor REST devuelva cualquier contenido web. - Qodly Studio: ahora puede [adjuntar el depurador Qodly a 4D Server](../WebServer/qodly-studio.md#using-qodly-debugger-on-4d-server). - Nuevas llaves Build Application para que las aplicaciones 4D remotas validen las [signatures](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateAuthoritiesCertificates.300-7425900.en.html) y/o los [dominios](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.en.html). @@ -77,7 +77,7 @@ Lea [**Novedades en 4D 20 R6**](https://blog.4d.com/en-whats-new-in-4d-20-R6/), - Nuevo archivo [4DCEFParameters.json](../FormObjects/webArea_overview.md#4dcefparametersjson) para personalizar las áreas web anidadas de 4D. - Nueva clase [HTTPAgent](../API/HTTPAgentClass.md) y nueva propiedad [`agent`](../API/HTTPRequestClass.md#options-parameter) para la clase HTTPRequest. - Nuevas funciones [`enableState()`](../API/WebFormClass.md) y [`disableState()`](../API/WebFormClass.md) para controlar los estados de las páginas Qodly desde el servidor. -- Nueva [\\\\\\\\\\\\\\\\\\\\\` API$singleton](../REST/$singleton.md) para llamar las funciones singleton expuestas desde REST y nuevos [privilegios asociados](../ORDA/privileges.md). +- Nueva [\` API$singleton](../REST/$singleton.md) para llamar las funciones singleton expuestas desde REST y nuevos [privilegios asociados](../ORDA/privileges.md). - Un [nuevo botón de parámetros](../settings/web.md#activate-rest-authentication-through-dsauthentify-function) le ayuda a actualizar su proyecto para utilizar el modo REST "conexión forzada" (el método base `On REST Authentication` es ahora obsoleto). - Una [nueva pestaña de parámetros](../Project/compiler.md#warnings) permite definir la generación de advertencias de forma global. - Varios comandos, principalmente del tema "Entorno 4D", ahora son hilo seguro ([ver la lista completa](https://doc.4d.com/4Dv20R6/4D/Preemptive_6957385.999-2878208.en.html)), así como algunos selectores de los comandos [`SET DATABASE PARAMETER`](https://doc.4d.com/4dv20R/help/command/en/page642.html)/[`Get database parameter`](https://doc.4d.com/4dv20R/help/command/en/page643.html). @@ -88,7 +88,7 @@ Lea [**Novedades en 4D 20 R6**](https://blog.4d.com/en-whats-new-in-4d-20-R6/), #### Cambios de comportamiento -- Soporte de encadenamiento de desplazamiento en los formularios: los subformularios principales ahora se desplazan automáticamente cuando los objetos integrados deslizables ([verticalmente](../FormObjects/properties_Appearance.md#vertical-scroll-bar) u [horizontalmente](. /FormObjects/properties_Appearance.md#horizontal-scroll-bar)) han llegado a sus límites y el usuario sigue desplazándose utilizando el ratón o el trackpad (desplazamiento excesivo). +- Soporte de encadenamiento de desplazamiento en los formularios: los subformularios principales ahora se desplazan automáticamente cuando los objetos integrados deslizables ([verticalmente](../FormObjects/properties_Appearance.md#vertical-scroll-bar) u [horizontalmente](../FormObjects/properties_Appearance.md#horizontal-scroll-bar)) han llegado a sus límites y el usuario sigue desplazándose utilizando el ratón o el trackpad (desplazamiento excesivo). - La API REST [`$catalog`](../REST/$catalog.md) ahora devuelve singletons (si los hay). ## 4D 20 R5 @@ -121,7 +121,7 @@ Lea [**Novedades en 4D 20 R4**](https://blog.4d.com/en-whats-new-in-4d-v20-R4/), #### Lo más destacado -- Soporte de [formato de cifrado ECDSA\\\\\\\\\\\\\\\\\\\\\`](../Admin/tls.md#encryption) para certificados TLS. +- Soporte de [formato de cifrado `ECDSA`](../Admin/tls.md#encryption) para certificados TLS. - Las conexiones TLS cliente/servidor y servidor SQL ahora se [configuran dinámicamente](../Admin/tls.md#enabling-tls-with-the-other-servers) (no se requieren archivos de certificado). - Formato HTML directo para [exportaciones de definición de estructura](https://doc.4d.com/4Dv20R4/4D/20-R4/Exporting-and-importing-structure-definitions.300-6654851.en.html). - Nuevo [Code Live Checker](../code-editor/write-class-method.md#warnings-and-errors) que mejora el control del código durante los pasos de declaración, comprobación de sintaxis y compilación para evitar errores de ejecución. @@ -140,7 +140,7 @@ Lea [**Novedades en 4D 20 R4**](https://blog.4d.com/en-whats-new-in-4d-v20-R4/), - El uso de una sintaxis heredada para declarar parámetros (por ejemplo, `C_TEXT($1)` o `var $1 : Text`) es obsoleto y genera advertencias en los pasos de escritura de código, verificación de sintaxis y compilación. - La coherencia de las selecciones ahora se mantiene después de que se hayan eliminado algunos registros y se hayan creado otros (ver [esta entrada de blog](https://blog.4d.com/4d-keeps-your-selections-of-records-consistent-regarding-deletion-of-records/)). - En la actualización de [la librería OpenSSL](#library-table), el nivel de seguridad SSL/TLS por defecto se ha cambiado de 1 a 2. Las llaves RSA, DSA y DH de 1024 bits o más y menos de 2048 bits, así como las llaves ECC de 160 bits o más y menos de 224 bits, ya no están permitidas. Por defecto, la compresión TLS ya estaba desactivada en versiones anteriores de OpenSSL. En el nivel de seguridad 2 no se puede activar. -- Asegúrese de que su método base "On REST authentication" puede manejar contraseñas en claro (el tercer parámetro es entonces **False**) y que `Open datastore` encripta su conexión pasando la opción "tls" a **True** en *connectionInfo*. In order to allow password verification when the [4D user directory uses the bcrypt algorithm](https://blog.4d.com/bcrypt-support-for-passwords/), the "password" value in the *connectionInfo* parameter of the [`Open datastore`](../commands/open-datastore.md) command is now sent in clear form by default. En casos concretos, también se puede utilizar una nueva opción "passwordAlgorithm" por compatibilidad (ver el comando [`Open datastore`](../commands/open-datastore.md)). +- Asegúrese de que su método base "On REST authentication" puede manejar contraseñas en claro (el tercer parámetro es entonces **False**) y que `Open datastore` encripta su conexión pasando la opción "tls" a **True** en *connectionInfo*. Asegúrese de que su método base "On REST Authentication" pueda manejar contraseñas de forma clara (el tercer parámetro es entonces **False**) y que `Open datastore` encripta su conexión pasando la opción "tls" a **True** en *connectionInfo*. En casos concretos, también se puede utilizar una nueva opción "passwordAlgorithm" por compatibilidad (ver el comando [`Open datastore`](../commands/open-datastore.md)). ## 4D 20 R3 @@ -149,7 +149,7 @@ Lea [**Novedades en 4D 20 R3**](https://blog.4d.com/en-whats-new-in-4d-20-vR3/), #### Lo más destacado - Nueva función [`collection.multiSort`](../API/CollectionClass.md#multisort). -- Support of *context* parameter in [`Formula from string`](../commands/formula-from-string.md). +- Soporte del parámetro *context* en [`Formula from string`](../commands/formula-from-string.md). - Soporte de la propiedad `headers` en el parámetro *connectionHandler* de [4D.WebSocket.new](../API/WebSocketClass.md#4dwebsocketnew). - [Sello de modificación global](../ORDA/global-stamp.md) para ayudar a implementar módulos de sincronización de datos. Nuevas funciones: [`ds.getGlobalStamp`](../API/DataStoreClass.md#getglobalstamp) y [`ds.setGlobalStamp`](../API/DataStoreClass.md#setglobalstamp). - La asignación de referencias de archivo a atributos imagen/blob está [soportada en ORDA](../ORDA/entities.md#assigning-files-to-picture-or-blob-attributes). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md index eadf74650c2fed..efa587866241af 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md @@ -822,7 +822,7 @@ $status:=$remoteDS.Schools.registerNewStudent($student) // OK $id:=$remoteDS.Schools.computeIDNumber() // Error "Unknown member method" ``` -## Palabra clave onHTTPGet +## onHTTPGet keyword Use the `onHTTPGet` keyword to declare functions that can be called through HTTP requests using the `GET` verb. Such functions can return any web contents, for example using the [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) class. @@ -864,7 +864,7 @@ Consulte la sección [Parámetros](../REST/classFunctions#parameters) en la docu ### resultado -Una función con la palabra clave `onHTTPGet` puede devolver cualquier valor de un tipo soportado (igual que para [parámetros](../REST/classFunctions#parameters) REST). +A function with `onHTTPGet` keyword can return any value of a supported type (same as for REST [parameters](../REST/classFunctions#parameters)). :::info diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md index 44ccb9cee32494..bdbecb9f43f2a5 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md @@ -43,7 +43,7 @@ with data in the body of the POST request: `["myparam"]` :::note -La función `SingletonClassFunction()` debe haber sido declarada con la palabra clave `onHTTPGet` para ser invocable con `GET` (ver [Configuración de funciones](ClassFunctions#function-configuration)). +The `SingletonClassFunction()` function must have been declared with the `onHTTPGet` keyword to be callable with `GET` (see [Function configuration](ClassFunctions#function-configuration)). ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md index b25de812cc0ea9..6c9707b517aefe 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md @@ -49,7 +49,7 @@ con los datos en el cuerpo de la petición POST: `["Aguada"]` :::note -La función `getCity()` debe haber sido declarada con la palabra clave `onHTTPGet` (ver [Configuración de la función](#function-configuration)). +The `getCity()` function must have been declared with the `onHTTPGet` keyword (see [Function configuration](#function-configuration) below). ::: @@ -73,7 +73,7 @@ Ver la sección [Funciones expuestas vs. no expuestas](../ORDA/ordaClasses.md#ex ### `onHTTPGet` -Las funciones permitidas para ser llamadas desde solicitudes HTTP `GET` también deben ser declaradas específicamente con la [palabra clave `onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). Por ejemplo: +Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). Por ejemplo: ```4d //allowing GET requests diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md index ed1342da696620..e25281a0f67e67 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md @@ -243,7 +243,7 @@ Request handler functions are not necessarily shared, unless some request handle :::note -**no es recomendado** exponer las funciones del gestor de solicitudes a llamadas REST externas usando las palabras claves [`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) o [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). +It is **not recommended** to expose request handler functions to external REST calls using [`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) or [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keywords. ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-add-picture.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-add-picture.md index 078d56ea3bde43..25d185850bbe8e 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-add-picture.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-add-picture.md @@ -48,8 +48,8 @@ The location, layer (inline, in front/behind text), visibility, and any properti **Nota:** el comando [WP Selection range](../commands-legacy/wp-selection-range.md) devuelve un objeto *referencia a imagen* si se selecciona una imagen anclada y un objeto *rango* si se selecciona una imagen en línea. You can determine if a selected object is a picture object by checking the `wk type` attribute: -- **Value = 2**: The selected object is a picture object. -- **Value = 0**: The selected object is a range object. +- **Value = 2**: el objeto seleccionado es un objeto imagen. +- **Valor = 0**: el objeto seleccionado es un objeto de rango. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-delete-subsection.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-delete-subsection.md index 5750453eca572c..433b9658718564 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-delete-subsection.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-delete-subsection.md @@ -23,7 +23,7 @@ El comando **WP DELETE SUBSECTION** exporta el objeto *wpDoc* 4D Write Pro a un documento en disco de acuerdo con el parámetro *filePath* o *fileObj*, así como cualquier parámetro opcional. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +En *wpDoc*, pase el objeto 4D Write Pro que desea exportar. You can pass either a *filePath* or *fileObj*: @@ -62,7 +62,7 @@ Pase un [objeto](# "Datos estructurados como un objeto nativo 4D") en *option* c | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Se utiliza para reducir imágenes a la resolución preferida. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values: wk print (default value for wk pdf and wk svg) Bitmap pictures may be downscaled using the DPI defined by wk max picture DPI or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by wk max picture DPI or 300 (Windows only) If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg) wk screen (default value for wk web page complete and wk mime html) Bitmap pictures may be downscaled using the DPI defined by wk max picture DPI or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by wk max picture DPI or 192 (Windows only) If a picture contains more than one format, the format for screen rendering is used. **Note:** Documents exported in wk docx format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Nota:** el índice de páginas es independiente de la numeración de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values: wk pdfa2: Exports to version "PDF/A-2" wk pdfa3: Exports to version "PDF/A-3" **Note:** On macOS, wk pdfa2 may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, wk pdfa3 means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values: true - Default value. All formulas are recomputed false - Do not recompute formulas | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Valores posibles: True/False | @@ -103,7 +103,7 @@ The wk files property allows you to [export a PDF with attachments](https://blog | name | Text | Nombre de archivo. Optional if the *file* property is used, in which case the name is inferred by default from the file name. Mandatory if the *data* property is used (except for the first file of a Factur-X export, in which case the name for the file is automatically "factur-x.xml", see below) | | description | Text | Opcional. If omitted, default value for the first export file to Factur-X is "Factur-X/ZUGFeRD Invoice", otherwise empty. | | mimeType | Text | Opcional. If omitted, default value can usually be guessed from file extension; otherwise, "application/octet-stream" is used. If passed, make sure to use an ISO mime type, otherwise the exported file could be invalid. | -| data | Texto o BLOB | Mandatory if *file* property is missing | +| data | Texto o BLOB | Obligatorio si falta la propiedad *file* | | file | Objeto 4D.File | Mandatory if *data* property is missing, ignored otherwise. | | relationship | Text | Opcional. If omitted, default value is "Data". Possible values for Factur-X first file:for BASIC, EN 16931 or EXTENDED profiles: "Alternative", "Source" or "Data" ("Alternative" only for German invoice)for MINIMUM and BASIC WL profiles: "Data" only.for other profiles: "Alternative", "Source" or "Data" (with restrictions perhaps depending on country: see profile specification for more info about other profiles - for instance for RECHNUNG profile only "Alternative" is allowed)for other files (but Factur-X invoice xml file) : "Alternative", "Source", "Data", "Supplement" or "Unspecified"any other value generates an error. | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-import-document.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-import-document.md index de071ab4391140..8527426e767099 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-import-document.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-import-document.md @@ -53,7 +53,7 @@ You can pass an object to define how the following attributes are handled during | **Atributo** | **Tipo** | **Description** | | ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| anchoredTextAreas | Text | Sólo para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- Anchored text areas are ignored. **Note**: The layout and the number of pages in the document may change. See also *How to import .docx format* | +| anchoredTextAreas | Text | Sólo para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- Anchored text areas are ignored. **Note**: The layout and the number of pages in the document may change. Ver también *Cómo importar formato .docx* | | anchoredImages | Text | Sólo para documentos MS Word (.docx). Specifies how anchored images are handled. Available values:

    **all** (default) - All anchored images are imported as anchored images with their text wrapping properties (exception: the .docx wrapping option "tight" is imported as wrap square). **ignoreWrap** \- Anchored images are imported, but any text wrapping around the image is ignored. **ignore** \- Anchored images are not imported. | | secciones | Text | Sólo para documentos MS Word (.docx). Specifies how section are handled. Valores disponibles:

    **all** (por defecto) - Se importan todas las secciones. Continuous, even, or odd sections are converted to standard sections. **ignore** \- Sections are converted to default 4D Write Pro sections (A4 portrait layout without header or footer). **Note**: Section breaks of any type but continuous are converted to section breaks with page break. Continuous section breaks are imported as continuous section breaks. | | fields | Text | Sólo para documentos MS Word (.docx). Specifies how .docx fields that can't be converted to 4D Write Pro formulas are handled. Available values:

    **ignore** \- .docx fields are ignored. **label** \- .docx field references are imported as labels within double curly braces ("{{ }}"). Ex: The "ClientName" field would be imported as {{ClientName}}. **value** (default) - The last computed value for the .docx field (if available) is imported. **Note**: If a .docx field corresponds to a 4D Write Pro variable, the field is imported as a formula and this option is ignored. | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-break.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-break.md index 5f95550147fb10..29dafd431ffb4a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-break.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-break.md @@ -56,7 +56,7 @@ In the *mode* parameter, pass a constant to indicate the insertion mode to be us If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-document-body.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-document-body.md index b127d0f9aace47..ebae39a7a5ba2b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-document-body.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-document-body.md @@ -54,7 +54,7 @@ In the *rangeUpdate* parameter (Optional); if *targetObj* is a range, you can pa If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-formula.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-formula.md index c0e880542a9d5f..c12bc5b7e63c02 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-formula.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-formula.md @@ -57,7 +57,7 @@ In the *mode* parameter, pass one of the following constants to indicate the ins If you do not pass a *rangeUpdate* parameter, by default the inserted *formula* is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. :::note diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-picture.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-picture.md index 7d606cf717537b..db22e3c51cc214 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-picture.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-picture.md @@ -35,7 +35,7 @@ For the second parameter, you can pass either: - A picture field or variable - A string containing a path to a picture file stored on disk, in the system syntax. If you use a string, you can pass either a full pathname, or a pathname relative to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. -- In *pictureFileObj* : a `File` object representing a picture file. +- En *pictureFileObj* : un objeto `File` que representa un archivo imagen. Todo formato imagen [soportado por 4D](../../FormEditor/pictures.md#native-formats-supported) puede ser usado. You can get the list of available picture formats using the [PICTURE CODEC LIST](../../commands-legacy/picture-codec-list.md) command. If the picture encapsulates several formats (codecs), 4D Write Pro only keeps one format for display and one format for printing (if different) in the document; the "best" formats are automatically selected. @@ -56,7 +56,7 @@ If *targetObj* is a range, you can optionally use the *rangeUpdate* parameter to If you do not pass a *rangeUpdate* parameter, by default the inserted picture is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-set-attributes.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-set-attributes.md index d159b8d69db3b7..6ed247d6872da8 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-set-attributes.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-set-attributes.md @@ -29,7 +29,7 @@ En *targetObj*, puede pasar : You can specify attributes to set for *targetObj* in one of two ways: -- Use the *attribName* and *attribValue* parameters. In *attribName*, pass the name of the attribute to set for the target and in *attribValue*, pass the new value to set. You can pass as many *attribName*/*attribValue* pairs as you want in a single call. +- Utilice los parámetros *attribName* y *attribValue*. In *attribName*, pass the name of the attribute to set for the target and in *attribValue*, pass the new value to set. You can pass as many *attribName*/*attribValue* pairs as you want in a single call. - Use the *attribObj* parameter to pass a single object containing attribute names and their corresponding values as object properties. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/managing-formulas.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/managing-formulas.md index ef1d5e9db362da..e0e3db910e1c49 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/managing-formulas.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/WritePro/managing-formulas.md @@ -127,7 +127,7 @@ When a document is displayed in "display expressions" mode, references to tables You can control how formulas are displayed in your documents: -- as *values* or as *references* +- como *valores* o como \*referencias - when shown as references, display source text, symbol, or name. ### Referencias o Valores diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md index 44c0aec3d49b9e..561f519193c12b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ Para las necesidades de su interfaz, usted desea rodear el área en la que el us En el método objeto del listbox, puede escribir: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //inicializar un rectángulo rojo + OBJECT SET VISIBLE(*;"RedRect";False) //inicializar un rectángulo rojo  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md index b76cdd087c7728..b01454266e2fca 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Descripción -**Printing page** devuelve el número de la página en impresión. Puede utilizarse sólo cuando esté imprimiendo con [PRINT SELECTION](print-selection.md) o con el menú Impresión en el entorno Diseño. +**Printing page** devuelve el número de la página en impresión.. ## Ejemplo diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/compile-project.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/compile-project.md index 91c91b464f3f38..c39df35afa3f2e 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/compile-project.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/compile-project.md @@ -29,14 +29,14 @@ displayed_sidebar: docs **Compile project** permite compilar el proyecto local actual o el proyecto especificado en el parámetro *projectFile*. Para más información sobre compilación, consultr la [página de compilación](../Project/compiler.md). -By default, the command uses the compiler options defined in the Structure Settings. You can override them by passing an *options* parameter. Se soportan las siguientes sintaxis: +By default, the command uses the compiler options defined in the Structure Settings. Puede sobreescribirlas pasando un parámetro *options*. Se soportan las siguientes sintaxis: - **Compile project**(): compiles the opened project using the options defined in the Structure Settings -- **Compile project**(*options*): compila el proyecto abierto. The *options* defined override the Structure Settings +- **Compile project**(*options*): compila el proyecto abierto. Las *options* definidas reemplazan los parámetros de la estructura - **Compile project**(*projectFile*): compiles the *projectFile* 4DProject using the options defined in the Structure Settings - **Compile project**(*projectFile*; *options*): compiles the *projectFile* 4DProject and the *options* defined override the Structure Settings -**Note:** Binary databases cannot be compiled using this command. +**Nota:** las bases de datos binarias no pueden compilarse con este comando. Unlike the Compiler window, this command requires that you explicitly designate the component(s) to compile. When compiling a project with **Compile project**, you need to declare its components using the *components* property of the *options* parameter. Keep in mind that the components must already be compiled (binary components are supported). @@ -50,7 +50,7 @@ Compilation errors, if any, are returned as objects in the *errors* collection. ### Parámetro options -The *options* parameter is an object. Here are the available compilation options: +El parámetro *options* es un objeto. Here are the available compilation options: | **Propiedad** | **Tipo** | **Description** | | ---------------------------------------------------------------------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -60,7 +60,7 @@ The *options* parameter is an object. Here are the available compilation options | generateSymbols | Boolean | True to generate symbol information in the .symbols returned object | | generateSyntaxFile | Boolean | True para generar un [archivo de sintaxis para la finalización del código](../settings/general.md).md#generate-syntax-file-for-code-completion-when en-compiled) en la carpeta \\Resources\\en.lproj del proyecto | | generateTypingMethods | Text | "reset" or "append" to generate typing methods. If value is "append", existing variable declarations won't be modified (compiler window behavior). If value is "reset" existing variable declarations are removed beforehand. | -| plugins | Objeto 4D.Folder | Carpeta de Plug-ins a usar en lugar de [Carpeta de Plug-ins del proyecto actual](../Project/architecture.md#plugins). This property is only available with the *projectFile* syntax. | +| plugins | Objeto 4D.Folder | Carpeta de Plug-ins a usar en lugar de [Carpeta de Plug-ins del proyecto actual](../Project/architecture.md#plugins). Esta propiedad solo está disponible con la sintaxis *projectFile*. | | targets | Colección de cadenas | Possible values: "x86_64_generic", "arm64_macOS_lib". Pass an empty collection to execute syntax check only | | typeInference | Text | "all": el compilador deduce los tipos de todas las variables no declaradas explícitamente, "locals": el compilador deduce los tipos de variables locales no declaradas explícitamente, "none": todas las variables deben ser explícitamente declaradas en el código (modo antiguo), "direct": todas las variables deben ser explícitamente declaradas en el código ([escritura directa](../Project/compiler.md#enabling-direct-typing)). | | warnings | Colección de objetos | Define el estado de las advertencias | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md index 4537871ba8dbcc..7a1cd053401abd 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md @@ -17,11 +17,11 @@ displayed_sidebar: docs ## Descripción -**FORM Event** returns an object containing information about the form event that has just occurred.**FORM Event** returns an object containing information about the form event that has just occurred. Usually, you will use **FORM Event** from within a form or object method. +**FORM Event** returns an object containing information about the form event that has just occurred.**FORM Event** devuelve un objeto que contiene información sobre el evento formulario que acaba de ocurrir. Por lo general, utilizará **FORM Event** en un método formulario u objeto. **Objeto devuelto** -Each returned object includes the following main properties: +Cada objeto devuelto incluye las siguientes propiedades principales: | **Propiedad** | **Tipo** | **Description** | | ------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -29,22 +29,22 @@ Each returned object includes the following main properties: | code | integer | Valor numérico del evento de formulario. | | description | text | Nombre del evento de formulario (*por ejemplo*, "On After Edit"). Consulte la sección [**Eventos formulario**](../Events/overview.md). | -For example, in the case of a click on a button, the object contains the following properties: +Por ejemplo, en el caso de un clic en un botón, el objeto contiene las siguientes propiedades: ```json {"code":4,"description":"On Clicked","objectName":"Button2"} ``` -The event object can contain additional properties, depending on the object for which the event occurs. For *eventObj* objects generated on: +El objeto evento puede contener propiedades adicionales, dependiendo del objeto para el que se produzca el evento. Para objetos *eventObj* generados en: - los objetos list box o columna de list box, ver [esta sección](../FormObjects/listbox_overview.md#additional-properties). - áreas 4D View Pro, ver [On VP Ready form event](../Events/onVpReady.md). -**Note:** If there is no current event, **FORM Event** returns a null object. +**Nota:** si no hay ningún evento actual, **FORM Event** devuelve un objeto null. ## Ejemplo 1 -You want to handle the On Clicked event on a button: +Desea manejar el evento On Clicked en un botón: ```4d  If(FORM Event.code=On Clicked) @@ -54,11 +54,11 @@ You want to handle the On Clicked event on a button: ## Ejemplo 2 -If you set the column object name with a real attribute name of a dataclass like this: +Si define el nombre del objeto columna con un nombre de atributo real de una dataclass como esta: ![](../assets/en/commands/pict4843820.en.png) -You can sort the column using the On Header Click event: +Puede ordenar la columna utilizando el evento On Header Click: ```4d  Form.event:=FORM Event @@ -72,7 +72,7 @@ You can sort the column using the On Header Click event: ## Ejemplo 3 -You want to handle the On Display Details on a list box object with a method set in the *Meta info expression* property: +Desea gestionar los detalles de visualización en un objeto list box con un método definido en la propiedad *Meta info expression*: ![](../assets/en/commands/pict4843812.en.png) @@ -92,7 +92,7 @@ El método *setColor*:  $0:=$meta ``` -The resulting list box when rows are selected: +El list box resultante cuando se seleccionan líneas: ![](../assets/en/commands/pict4843808.en.png) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form-load.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form-load.md index 1e7a9f1a3f3cdd..7c76bc727aab85 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form-load.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form-load.md @@ -8,18 +8,18 @@ displayed_sidebar: docs -| Parámetros | Tipo | | Descripción | -| ---------- | ------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| aTable | Tabla | → | Formulario tabla a cargar (si se omite, carga un formulario proyecto) | -| form | Text, Object | → | Name (string) of form (project or table), ora POSIX path (string) to a .json file describing the form, or an object describing the form to open | -| formData | Object | → | Datos a asociar al formulario | -| \* | Operador | → | If passed = command applies to host database when it is executed from a component (parameter ignored outside of this context) | +| Parámetros | Tipo | | Descripción | +| ---------- | ------------ | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| aTable | Tabla | → | Formulario tabla a cargar (si se omite, carga un formulario proyecto) | +| form | Text, Object | → | Nombre (cadena) del formulario (proyecto o tabla), o una ruta POSIX (cadena) a un archivo .json que describa el formulario, o un objeto que describa el formulario a abrir | +| formData | Object | → | Datos a asociar al formulario | +| \* | Operador | → | Si se pasa = el comando se aplica a la base de datos del host cuando se ejecuta desde un componente (parámetro ignorado fuera de este contexto) | ## Descripción -The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents.The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents. There can only be one current form per process. +The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents.El comando **FORM LOAD** se utiliza para cargar el *form* en memoria en el proceso actual junto con *formData* (opcional) para imprimir sus datos o analizar su contenido. Sólo puede haber un formulario actual por proceso. En el parámetro *form*, puede pasar: @@ -48,7 +48,7 @@ To preserve the graphic consistency of forms, it is recommended to apply the "Pr The current printing form is automatically closed when the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command is called. -### Parsing form contents +### Análisis del contenido del formulario This consists in loading an off-screen form for parsing purposes. To do this, just call **FORM LOAD** outside the context of a print job. In this case, form events are not executed. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form.md index 44c952c6f0f1f9..bd1a3b064ca416 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/form.md @@ -34,7 +34,7 @@ displayed_sidebar: docs If the current form is being displayed or loaded by a call to the [DIALOG](dialog.md), [`Print form`](print-form.md), or [`FORM LOAD`](form-load.md) commands, **Form** returns either: -- the *formData* object passed as parameter to this command, if any, +- el objeto *formData* pasado como parámetro a este comando, si existe, - o, un objeto instanciado de la [clase de usuario asociada al formulario](../FormEditor/properties_FormProperties.md#form-class), si existe, - o, un objeto vacío. @@ -52,7 +52,7 @@ If the current form is a subform, the returned object depends on the parent cont - If the variable associated to the parent container has not been typed as an object, **Form** returns an empty object, maintained by 4D in the subform context. -For more information, please refer to the *Page subforms* section. +Para más información, consulte la sección *Subformularios de página*. ### Formulario tabla diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/license-info.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/license-info.md index 779d12afb9f6f6..b91b70ea7aecc2 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/license-info.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/license-info.md @@ -92,7 +92,7 @@ You want to get information on your current 4D Server license:  $obj:=License info ``` -*$obj* can contain, for example: +*$obj* puede contener, por ejemplo: ```json { diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/new-log-file.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/new-log-file.md index 75fad9f3eb4dab..0077f617c07f59 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/new-log-file.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/new-log-file.md @@ -16,7 +16,7 @@ displayed_sidebar: docs ## Descripción -**Preliminary note:** This command only works with 4D Server. Sólo puede ejecutarse mediante el comando [Execute on server](../commands-legacy/execute-on-server.md) o en un procedimiento almacenado. +**Nota preliminar:** este comando sólo funciona con 4D Server. Sólo puede ejecutarse mediante el comando [Execute on server](../commands-legacy/execute-on-server.md) o en un procedimiento almacenado. The **New log file** command closes the current log file, renames it and creates a new one with the same name in the same location as the previous one. This command is meant to be used for setting up a backup system using a logical mirror (see the section *Setting up a logical mirror* in the [4D Server Reference Manual](https://doc/4d.com)). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md index 9a9ec1c5afcb90..6bfe689e33dd8a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md @@ -21,7 +21,7 @@ displayed_sidebar: docs ## Descripción -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*.The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. En el parámetro *form*, puede pasar: @@ -33,7 +33,7 @@ Since **Print form** does not issue a page break after printing the form, it is Se pueden utilizar tres sintaxis diferentes: -- **Detail area printing** +- **Impresión de área de detalle** Sintaxis: @@ -104,7 +104,7 @@ The printer dialog boxes do not appear when you use **Print form**. The report d - Llamar a [PRINT SETTINGS](../commands-legacy/print-settings.md). In this case, you let the user choose the settings. - Llame a [SET PRINT OPTION](../commands-legacy/set-print-option.md) y [GET PRINT OPTION](../commands-legacy/get-print-option.md). In this case, print settings are specified programmatically. -**Print form** builds each printed page in memory. Cada página se imprime cuando la página en memoria está llena o cuando se llama a [PAGE BREAK](../commands-legacy/page-break.md). Para asegurar la impresión de la última página después de cualquier uso de **Print form**, debe concluir con el comando [PAGE BREAK](../commands-legacy/page-break.md) (excepto en el contexto de un [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), ver nota). Otherwise, if the last page is not full, it stays in memory and is not printed. +**Print form** crea cada página impresa en la memoria. Cada página se imprime cuando la página en memoria está llena o cuando se llama a [PAGE BREAK](../commands-legacy/page-break.md). Para asegurar la impresión de la última página después de cualquier uso de **Print form**, debe concluir con el comando [PAGE BREAK](../commands-legacy/page-break.md) (excepto en el contexto de un [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), ver nota). Otherwise, if the last page is not full, it stays in memory and is not printed. **Warning:** If the command is called in the context of a printing job opened with [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), you must NOT call [PAGE BREAK](../commands-legacy/page-break.md) for the last page because it is automatically printed by the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command. Si llama a [PAGE BREAK](../commands-legacy/page-break.md) en este caso, se imprime una página en blanco. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/process-activity.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/process-activity.md index 32a77d624ec9d9..45d54ee004f96d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/process-activity.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/process-activity.md @@ -8,19 +8,19 @@ displayed_sidebar: docs -| Parámetros | Tipo | | Descripción | -| ---------- | ------- | --------------------------- | -------------------------------------------------------------------------------------- | -| sessionID | Text | → | ID de sesión | -| options | Integer | → | Opciones de retorno | -| Resultado | Object | ← | Snapshot of running processes and/or (4D Server only) user sessions | +| Parámetros | Tipo | | Descripción | +| ---------- | ------- | --------------------------- | ---------------------------------------------------------------------------------------------------- | +| sessionID | Text | → | ID de sesión | +| options | Integer | → | Opciones de retorno | +| Resultado | Object | ← | Instantánea de los procesos en ejecución y/o sesiones de usuario (sólo 4D Server) |
    Historia -| Lanzamiento | Modificaciones | -| ----------- | -------------------------------- | -| 20 R7 | Support of *sessionID* parameter | +| Lanzamiento | Modificaciones | +| ----------- | --------------------------------- | +| 20 R7 | Soporte del parámetro *sessionID* |
    @@ -35,7 +35,7 @@ By default when used without any parameters, **Process activity** returns an obj On 4D Server, you can filter information to be returned using the optional *sessionID* and *options* parameters: -- If you pass a user session ID in the *sessionID* parameter, the command only returns information related to this session. By default if the *options* parameter is omitted, the returned object contains a collection with all processes related to the session and a collection with a single object describing the session. If you pass an invalid session ID, a **null** object is returned. +- If you pass a user session ID in the *sessionID* parameter, the command only returns information related to this session. By default if the *options* parameter is omitted, the returned object contains a collection with all processes related to the session and a collection with a single object describing the session. Si se pasa un ID de sesión inválido, se devuelve un objeto **null**. - You can select the collection(s) to return by passing one of the following constants in the *options* parameter: | Constante | Valor | Comentario | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md index 1cf6c506c50b3b..6546f59cd20562 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## Descripción -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` devuelve el número del proceso cuyo *name* o *id* pasa en el primer parámetro. Si no se encuentra ningún proceso, `Process number` devuelve 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameterThe `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter. Si no se encuentra ningún proceso, `Process number` devuelve 0. El parámetro opcional \* permite recuperar, de un 4D remoto, el número de un proceso que se ejecuta en el servidor. En este caso, el valor devuelto es negativo. Esta opción es especialmente útil cuando se utilizan los comandos [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) y [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/session.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/session.md index 75cc0189b30385..0f601e9de36d68 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/session.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/session.md @@ -33,7 +33,7 @@ Dependiendo del proceso desde el que se llame al comando, la sesión de usuario - una sesión web (cuando las [sesiones escalables están activadas](WebServer/sessions.md#enabling-web-sessions)), - una sesión de cliente remoto, - la sesión de procedimientos almacenados, -- the *designer* session in a standalone application. +- la sesión del ***Print form*** en una aplicación independiente. Para obtener más información, consulte el párrafo [Tipos de sesion](../API/SessionClass.md#session-types). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/this.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/this.md index 8c3d7891c2153a..fa647a893a6dd3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/this.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/commands/this.md @@ -22,7 +22,7 @@ En la mayoría de los casos, el valor de `This` está determinado por cómo se l This command can be used in different contexts, described below. Within these contexts, you will access object/collection element properties or entity attributes through **This.<*propertyPath*\>**. For example, *This.name* or *This.employer.lastName* are valid pathes to object, element or entity properties. -In any other context, the command returns **Null**. +En cualquier otro contexto, el comando devuelve **Null**. ## Función de clase @@ -83,7 +83,7 @@ For example, you want to use a project method as a formula encapsulated in an ob $g:=$person.greeting("hi") // devuelve "hi John Smith" ``` -With the *Greeting* project method: +Con el método proyecto *Greeting*: ```4d #DECLARE($greeting : Text) : Text diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md index f56a639a2660ab..545bfaa7cb5985 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md @@ -19,9 +19,9 @@ La página Compatibilidad agrupa los parámetros relacionados con el mantenimien Aunque no es estándar, es posible que desee seguir utilizando estas funcionalidades para que su código siga funcionando como antes -- en este caso, basta con establecer la opción *desmarcarcada*. Por otra parte, si su código no se basa en la implementación no estándar y si desea beneficiarse de las funcionalidades extendidas de XPath en sus bases de datos (como se describe en el comando [`DOM Find XML element`](https://doc.4d.com/4dv20/help/command/en/page864.html)), asegúrese de que la opción \**Utilizar XPath estándar* esté *marcada*. -- **Utilizar LF como caracter de fin de línea en macOS**: a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos texto con salto de línea (LF) como caracter de fin de línea (EOL) por defecto en lugar de CR (CRLF para xml SAX) en macOS en nuevos proyectos. Si desea beneficiarse de este nuevo comportamiento en proyectos convertidos a partir de versiones anteriores de 4D, marque esta opción. Ver [`TEXT TO DOCUMENT`](https://doc.4d.com/4dv20/help/command/en/page1237.html), [`Document to text`](https://doc.4d.com/4dv19R/help/command/en/page1236.html), y [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- **Utilizar LF como caracter de fin de línea en macOS**: a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos texto con salto de línea (LF) como caracter de fin de línea (EOL) por defecto en lugar de CR (CRLF para xml SAX) en macOS en nuevos proyectos. Si desea beneficiarse de este nuevo comportamiento en proyectos convertidos a partir de versiones anteriores de 4D, marque esta opción. See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). -- \*\*No añadir un BOM al escribir un archivo de texto unicode por defecto:\*\*a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos de texto sin BOM ("Byte order mark") por defecto. En las versiones anteriores, los archivos texto se escribían con un BOM por defecto. Seleccione esta opción si desea activar el nuevo comportamiento en los proyectos convertidos. Ver [`TEXT TO DOCUMENT`](https://doc.4d.com/4dv20/help/command/en/page1237.html), [`Document to text`](https://doc.4d.com/4dv20/help/command/en/page1236.html), y [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- \*\*No añadir un BOM al escribir un archivo de texto unicode por defecto:\*\*a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos de texto sin BOM ("Byte order mark") por defecto. En las versiones anteriores, los archivos texto se escribían con un BOM por defecto. Seleccione esta opción si desea activar el nuevo comportamiento en los proyectos convertidos. See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). - **Mapear valores NULL a valores en blanco sin marcar por defecto una creación de campo**: para un mejor cumplimiento con las especificaciones ORDA, en bases de datos creadas con 4D v19 R4 y superiores, la propiedad de campo **Mapear valores NULL a valores en blanco** no está marcada por defecto cuando creas campos. Puede aplicar este comportamiento por defecto a sus bases de datos convertidas marcando esta opción (se recomienda trabajar con valores Null, ya que están totalmente soportados por [ORDA](../ORDA/overview.md). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/settings/php.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/settings/php.md index 598acfb2fce812..cea51f0fe678cd 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R8/settings/php.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R8/settings/php.md @@ -7,7 +7,7 @@ Puede [ejecutar scripts PHP en 4D](https://doc.4d.com/4Dv20/4D/20.1/Executing-PH :::note -Estos parámetros se especifican para todas las máquinas conectadas y todas las sesiones. También puede modificarlos y leerlos por separado para cada máquina y cada sesión utilizando los comandos [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) y [`Get database parameter`](https://doc.4d.com/4dv20/help/command/en/page643.html). Los parámetros modificados por el comando `SET DATABASE PARAMETER` tienen prioridad para la sesión actual. +Estos parámetros se especifican para todas las máquinas conectadas y todas las sesiones. También puede modificarlos y leerlos por separado para cada máquina y cada sesión utilizando los comandos [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) y [`Get database parameter`](../commands-legacy/get-database-parameter.md). Los parámetros modificados por el comando `SET DATABASE PARAMETER` tienen prioridad para la sesión actual. ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md index e1b8b1a34897b1..591bcc459345fa 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md @@ -460,7 +460,7 @@ La función `.getInfo()` devuelve En un almacén de datos remoto: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1123,7 +1123,7 @@ Puede anidar varias transacciones (subtransacciones). Cada transacción o sub-tr ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md index 450624483cdb2d..d01ed95c89124b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md @@ -614,15 +614,14 @@ El siguiente código genérico duplica cualquier entidad: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parámetros | Tipo | | Descripción | | ---------- | ------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: la llave primaria se devuelve como una cadena, sin importar el tipo de llave primaria | -| Resultado | Text | <- | Valor de la llave primaria de texto de la entidad | -| Resultado | Integer | <- | Valor de la llave primaria numérica de la entidad | +| Resultado | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1640,11 +1639,11 @@ Ejemplo con el tipo relatedEntity con una forma simple: #### Descripción -La función `.touched()` comprueba si un atributo de la entidad ha sido modificado o no desde que la entidad fue cargada en memoria o guardada. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -Si un atributo ha sido modificado o calculado, la función devuelve True, en caso contrario devuelve False. Puede utilizar esta función para determinar si necesita guardar la entidad. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". -Esta función devuelve False para una nueva entidad que acaba de ser creada (con [`.new( )`](DataClassClass.md#new)). Tenga en cuenta, sin embargo, que si utiliza una función que calcula un atributo de la entidad, la función `.touched()` devolverá entonces True. Por ejemplo, si llama [`.getKey()`](#getkey) para calcular la llave primaria, `.touched()` devuelve True. +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. #### Ejemplo @@ -1688,7 +1687,7 @@ En este ejemplo, comprobamos si es necesario guardar la entidad: La función`.touchedAttributes()` devuelve los nombres de los atributos que han sido modificados desde que la entidad fue cargada en memoria. -Esta función se aplica a los atributos cuyo [kind](DataClassClass.md#attributename) es `storage` o `relatedEntity`. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". En el caso de que se haya tocado una entidad relacionada (es decir, la llave externa), se devuelve el nombre de la entidad relacionada y el nombre de su llave primaria. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md index fee13d7920793b..a4bb98aa95118f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md @@ -590,7 +590,7 @@ Quiere renombrar "ReadMe.txt" como "ReadMe_new.txt": La función `.setAppInfo()` escribe las propiedades *info* como contenido informativo de un archivo de aplicación. -The function must be used with an existing, supported file: **.plist** (all platforms), **.exe**/**.dll** (Windows), or **macOS executable**. If the file does not exist on disk or is not a supported file, the function does nothing (no error is generated). +The function can only be used with the following file types: **.plist** (all platforms), existing **.exe**/**.dll** (Windows), or **macOS executable**. If used with another file type or with *.exe*\*/**.dll** files that do not already exist on disk, the function does nothing (no error is generated). Parámetro ***info* con un archivo .plist (todas las plataformas)** @@ -600,9 +600,11 @@ La función sólo admite archivos .plist en formato xml (basados en texto). Se d ::: -Cada propiedad válida definida en el parámetro objeto *info* se escribe en el archivo .plist en forma de llave. Se aceptan todos los nombre de llaves. Los tipos de valores se conservan cuando es posible. +If the .plist file already exists on the disk, it is updated. Otherwise, it is created. -Si un conjunto de llaves en el parámetro *info* ya está definido en el archivo .plist, su valor se actualiza manteniendo su tipo original. Las demás llaves existentes en el archivo .plist no se modifican. +Each valid property set in the *info* object parameter is written in the .plist file as a key. Se aceptan todos los nombre de llaves. Los tipos de valores se conservan cuando es posible. + +If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Las demás llaves existentes en el archivo .plist no se modifican. :::note @@ -610,9 +612,9 @@ Para definir un valor de tipo Fecha, el formato a utilizar es una cadena de time ::: -Parámetro ***info* con un archivo .exe o .dll (sólo Windows)** +***info* parameter object with a .exe or .dll file (Windows only)** -Cada propiedad válida definida en el parámetro objeto *info* se escribe en el recurso de versión del archivo .exe o .dll. Las propiedades disponibles son (toda otra propiedad será ignorada): +Each valid property set in the *info* object parameter is written in the version resource of the .exe or .dll file. Las propiedades disponibles son (toda otra propiedad será ignorada): | Propiedad | Tipo | Comentario | | ---------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -626,13 +628,13 @@ Cada propiedad válida definida en el parámetro objeto *info* se escribe en el | OriginalFilename | Text | | | WinIcon | Text | Ruta Posix del archivo .ico. Esta propiedad sólo se aplica a los archivos ejecutables generados por 4D. | -Para todas las propiedades excepto `WinIcon`, si se pasa un texto nulo o vacío como valor, se escribe una cadena vacía en la propiedad. Si pasa un valor de tipo diferente a texto, se convierte en una cadena. +For all properties except `WinIcon`, if you pass a null or empty text as value, an empty string is written in the property. Si pasa un valor de tipo diferente a texto, se convierte en una cadena. -Para la propiedad `WinIcon`, si el archivo del icono no existe o tiene un formato incorrecto, se genera un error. +For the `WinIcon` property, if the icon file does not exist or has an incorrect format, an error is generated. -Parámetro ***info* con un archivo ejecutable macOS (sólo macOS)** +***info* parameter object with a macOS executable file (macOS only)** -*info* debe ser un objeto con una única propiedad llamada `archs` que es una colección de objetos en el formato devuelto por [`getAppInfo()`](#getappinfo). Each object must contain at least the `type` and `uuid` properties (`name` is not used). +*info* must be an object with a single property named `archs` that is a collection of objects in the format returned by [`getAppInfo()`](#getappinfo). Each object must contain at least the `type` and `uuid` properties (`name` is not used). Every object in the *info*.archs collection must contain the following properties: @@ -644,7 +646,7 @@ Every object in the *info*.archs collection must contain the following propertie #### Ejemplo 1 ```4d - // definir algunas llaves en un archivo info.plist (todas las plataformas) + // set some keys in an info.plist file (all platforms) var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") @@ -659,7 +661,7 @@ $infoPlistFile.setAppInfo($info) #### Ejemplo 2 ```4d - // definir el copyright y versión de un archivo .exe (Windows) + // set copyright, version and icon of a .exe file (Windows) var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file; fk platform path) @@ -709,15 +711,15 @@ $app.setAppInfo($info) -| Parámetros | Tipo | | Descripción | -| ---------- | ---- | -- | --------------------------------- | -| content | BLOB | -> | Nuevos contenidos para el archivo | +| Parámetros | Tipo | | Descripción | +| ---------- | ---- | -- | ------------------------- | +| content | BLOB | -> | New contents for the file | #### Descripción -La función .setContent( ) reescribe todo el contenido del archivo utilizando los datos almacenados en el BLOBcontent. Para obtener información sobre BLOBs, consulte la sección [BLOB](Concepts/dt_blob.md). +The `.setContent( )` function rewrites the entire content of the file using the data stored in the *content* BLOB. Para obtener información sobre BLOBs, consulte la sección [BLOB](Concepts/dt_blob.md). #### Ejemplo @@ -756,11 +758,11 @@ La función .setContent( ) reescrib #### Descripción -La función `.setText()` escribe *text* como el nuevo contenido del archivo. +The `.setText()` function writes *text* as the new contents of the file. -Comentario Cuando el archivo ya existe en el disco, se borra su contenido anterior, excepto si ya está abierto, en cuyo caso se bloquea su contenido y se genera un error. +If the file referenced in the `File` object does not exist on the disk, it is created by the function. Cuando el archivo ya existe en el disco, se borra su contenido anterior, excepto si ya está abierto, en cuyo caso se bloquea su contenido y se genera un error. -En *text*, pase el texto a escribir en el archivo. Puede ser un texto literal ("my text"), o un campo / variable texto 4D. +In *text*, pass the text to write to the file. Puede ser un texto literal ("my text"), o un campo / variable texto 4D. Opcionalmente, puede designar el conjunto de caracteres que se utilizará para la escritura del contenido. Puede pasar: @@ -771,7 +773,7 @@ Opcionalmente, puede designar el conjunto de caracteres que se utilizará para l Si existe una marca de orden de bytes (BOM) para el conjunto de caracteres, 4D la inserta en el archivo a menos que el conjunto de caracteres utilizado contenga el sufijo "-no-bom" (por ejemplo, "UTF-8-no-bom"). Si no especifica un conjunto de caracteres, por defecto 4D utiliza el conjunto de caracteres "UTF-8" sin BOM. -En *breakMode*, se puede pasar un número que indica el procesamiento a aplicar a los caracteres de fin de línea antes de guardarlos en el archivo. Las siguientes constantes, que se encuentran en el tema **Documentos sistema**, están disponibles: +In *breakMode*, you can pass a number indicating the processing to apply to end-of-line characters before saving them in the file. The following constants, found in the **System Documents** theme, are available: | Constante | Valor | Comentario | | ----------------------------- | ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -783,7 +785,7 @@ En *breakMode*, se puede pasar un número que indica el procesamiento a aplicar Por defecto, cuando se omite el parámetro *breakMode*, los saltos de línea se procesan en modo nativo (1). -> **Nota de compatibilidad**: las opciones de compatibilidad están disponibles para la gestión de EOL y de BOM. Ver la [página Compatibilidad](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) en doc.4d.com. +> **Compatibility Note**: Compatibility options are available for EOL and BOM management. See [Compatibility page](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) on doc.4d.com. #### Ejemplo diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md index 9ed37d5de78753..733e28d5a1424c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md @@ -5,7 +5,7 @@ title: OutgoingMessage The `4D.OutgoingMessage` class allows you to build messages to be returned by your application functions in response to [REST requests](../REST/REST_requests.md). If the response is of type `4D.OutgoingMessage`, the REST server does not return an object but the object instance of the `OutgoingMessage` class. -Normalmente, esta clase puede ser usada en funciones personalizadas [HTTP request handler](../WebServer/http-request-handler.md#function-configuration) o en funciones declaradas con la palabra clave [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) y diseñadas para manejar peticiones HTTP GET. Such requests are used, for example, to implement features such as download file, generate and download picture as well as receiving any content-type via a browser. +Typically, this class can be used in custom [HTTP request handler functions](../WebServer/http-request-handler.md#function-configuration) or in functions declared with the [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keyword and designed to handle HTTP GET requests. Such requests are used, for example, to implement features such as download file, generate and download picture as well as receiving any content-type via a browser. An instance of this class is built on 4D Server and can be sent to the browser by the [4D REST Server](../REST/gettingStarted.md) only. This class allows to use other technologies than HTTP (e.g. mobile). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md index 4ff67537b767d1..066ebac47d17f2 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md @@ -196,7 +196,7 @@ If the signal is already in the signaled state (i.e. the `.signaled` property is La función devuelve el valor de la propiedad `.signaled`. - **true** si la señal se activó (se llamó a `.trigger()`). -- **false** if the timeout expired before the signal was triggered. +- **false** si el tiempo de espera expiró antes de que se activara la señal. :::note Atención diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md index 6a3c7a73543727..e3afbecb0afcbc 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md @@ -90,8 +90,8 @@ In the *options* parameter, pass an object to configure the listener and all the | Propiedad | Tipo | Descripción | Por defecto | | ------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | onConnection | Formula | Callback when a new connection is established. The Formula receives two parameters (*$listener* and *$event*, see below) and must return either null/undefined to prevent the connection or an *option* object that will be used to create the [`TCPConnection`](./TCPConnectionClass.md). | Indefinido | -| onError | Formula | Callback triggered in case of an error. The Formula receives the `TCPListener` object in *$listener* | Indefinido | -| onTerminate | Formula | Callback triggered just before the TCPListener is closed. The Formula receives the `TCPListener` object in *$listener* | Indefinido | +| onError | Formula | Callback triggered in case of an error. La fórmula recibe el objeto `TCPListener` en *$listener* | Indefinido | +| onTerminate | Formula | Callback triggered just before the TCPListener is closed. La fórmula recibe el objeto `TCPListener` en *$listener* | Indefinido | #### Función callback (retrollamada) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md index 286c89b45bf8d0..69522d794f4328 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md @@ -568,7 +568,7 @@ La función `.start()` inicia el ser El servidor web se inicia con los parámetros por defecto definidos en el archivo de configuración del proyecto o (base host únicamente) utilizando el comando `WEB SET OPTION`. Sin embargo, utilizando el parámetro *settings*, se pueden definir propiedades personalizadas para la sesión del servidor web. -Todas los parámetros de los [objetos Servidor Web](../commands/web-server.md-object) pueden personalizarse, excepto las propiedades de sólo lectura ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy) y [.sessionCookieName](#sessioncookiename)). +All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Los parámetros de sesión personalizados se reiniciarán cuando se llame la función [`.stop()`](#stop). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Admin/licenses.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Admin/licenses.md index 3405674f1e4bc6..5107436934850a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Admin/licenses.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Admin/licenses.md @@ -107,7 +107,7 @@ Licenses are usually automatically updated at startup of your 4D application. Puede utilizar el botón **Refrescar** en los siguientes contextos: - Cuando haya comprado una expansión adicional y quiera activarla, -- When you need to update an expired number (Partners or evolutions). +- Cuando necesite actualizar un número de licencia caducado (Partners o evoluciones). Elija el comando **Administrador de licencias...** del menú **Ayuda** de la aplicación 4D o 4D Server, y luego haga clic en el botón **Refrescar**: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md index 006a122f772a50..bd4e1c078d6b67 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md @@ -752,7 +752,7 @@ Se declaran clases singleton añadiendo la(s) palabra(s) clave(s) apropiada(s) a :::note - Los singletons de sesión son automáticamente singletons compartidos (no hay necesidad de usar la palabra clave `shared` en el constructor de clases). -- Las funciones compartidas Singleton soportan [palabra clave `onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). +- Singleton shared functions support [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugLogFiles.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugLogFiles.md index 27b11efb1bffff..d2ccc16118098b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugLogFiles.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugLogFiles.md @@ -480,18 +480,18 @@ Como iniciar este historial: Los siguientes campos se registran para cada evento: -| Nombre del campo | Tipo | Descripción | -| ---------------- | ---------- | ----------------------------------------------------------------------------------------- | -| time | Fecha/Hora | Fecha y hora del evento en formato ISO 8601 | -| localPort | Number | Local port used for the connection | -| peerAddress | Text | Dirección IP del peer remoto | -| peerPort | Number | Puerto del peer remoto | -| protocol | Text | Indicates whether the event is related to `TCP` | -| evento | Text | El tipo de evento:`open`, `close`, `error`, `send`, `receive`, o `listen` | -| size | Number | The amount of data sent or received (in bytes), 0 if not applicable | -| excerpt | Number | First 10 bytes of data in hexadecimal format | -| textExcerpt | Text | First 10 bytes of data in text format | -| comment | Text | Additional information about the event, such as error details or encryption status | +| Nombre del campo | Tipo | Descripción | +| ---------------- | ---------- | --------------------------------------------------------------------------------------------- | +| time | Fecha/Hora | Fecha y hora del evento en formato ISO 8601 | +| localPort | Number | Local port used for the connection | +| peerAddress | Text | Dirección IP del peer remoto | +| peerPort | Number | Puerto del peer remoto | +| protocol | Text | Indicates whether the event is related to `TCP` | +| evento | Text | El tipo de evento:`open`, `close`, `error`, `send`, `receive`, o `listen` | +| size | Number | La cantidad de datos enviados o recibidos (en bytes), 0 si no es aplicable | +| excerpt | Number | First 10 bytes of data in hexadecimal format | +| textExcerpt | Text | First 10 bytes of data in text format | +| comment | Text | Additional information about the event, such as error details or encryption status | ## Utilización de un archivo de configuración de log diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugger.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugger.md index c0f769d0211f30..a9d1d6f53d7e23 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugger.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugger.md @@ -29,7 +29,7 @@ Hay varias formas de conseguir que el depurador se muestre: Cuando se llama, la ventana del depurador ofrece el nombre del método o de la función de clase que se está rastreando en ese momento, y la acción que provoca la aparición inicial de la ventana del depurador. Por ejemplo, en la ventana del depurador arriba: -- *drop* is the method being traced +- *drop* es el método rastreado - The debugger window appeared because of a break point. La visualización de una nueva ventana del depurador utiliza la misma configuración que la última ventana visualizada en la misma sesión. Si ejecuta varios procesos usuario, puede rastrearlos independientemente y tener una ventana de depuración abierta para cada proceso. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md index 4011bac750de32..af9d5e51260688 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md @@ -162,7 +162,7 @@ The **For each: Record or Label** options are used to specify whether to run the You can use dedicated table forms and project methods to print labels with calculated variables. This simple example shows how to configure the different elements. -1. In a dedicated table form, add your label field(s) and variable(s). +1. En un formulario tabla dedicado, añada su(s) campo(s) de etiqueta y su(s) variable(s). Here, in a table form named "label", we added the *myVar* variable: ![](../assets/en/Desktop/label-example1.png) @@ -195,13 +195,13 @@ Then you can print your labels: The Label editor includes an advanced feature allowing you to restrict which project forms and methods (within "allowed" methods) can be selected in the dialog box: -- in the **Form to use** menu on the "Label" page and/or +- en el menú **Formulario a utilizar** de la página "Etiqueta" y/o - en el menú **Aplicar (método)** de la página "Diseño". 1. Crea un archivo JSON llamado **labels.json** y ponlo en la [carpeta de recursos](../Project/architecture.md#resources) del proyecto. 2. In this file, add the names of forms and/or project methods that you want to be able to select in the Label editor menus. -The contents of the **labels.json** file should be similar to: +El contenido del archivo **labels.json** debe ser similar a: ```json [ diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Extensions/develop-components.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Extensions/develop-components.md index 77dc1fbb1ca840..02f3948df5ca0b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Extensions/develop-components.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Extensions/develop-components.md @@ -29,7 +29,7 @@ A excepción de los [comandos no utilizables](#unusable-commands), un componente When commands are called from a component, they are executed in the context of the component, except for the [`EXECUTE FORMULA`](../commands-legacy/execute-formula.md) or [`EXECUTE METHOD`](../commands-legacy/execute-method.md) command that use the context of the method specified by the command. También hay que tener en cuenta que los comandos de lectura del tema "Usuarios y grupos" se pueden utilizar desde un componente, pero leerán los usuarios y grupos del proyecto local (un componente no tiene sus propios usuarios y grupos). -Los comandos [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) y [`Get database parameter`](../commands-legacy/get-database-parameter.md) son una excepción: su alcance es global para la aplicación. Cuando estos comandos se llaman desde un componente, se aplican al proyecto de la aplicación local. +The [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands are an exception: their scope is global to the application. Cuando estos comandos se llaman desde un componente, se aplican al proyecto de la aplicación local. Además, se han especificado medidas específicas para los comandos `Structure file` y `Get 4D folder` cuando se utilizan en el marco de los componentes. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md index 66a9da8e3d36a3..7e83cb23b17542 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md @@ -63,7 +63,7 @@ Lea [**Novedades en 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7/), - Ahora puede [añadir y eliminar componentes utilizando la interfaz del gestor de componentes](../Project/components.md#monitoring-project-dependencies). - Nuevo [**modo de tipado directo**](../Project/compiler.md#enabling-direct-typing) en el que declara todas las variables y parámetros en su código usando las palabras clave `var` y `#DECLARE`/`Function` (sólo modo soportado en nuevos proyectos). [La función de verificación de sintaxis](../Project/compiler.md#check-syntax) se ha mejorado en consecuencia. - Soporte de [singletones de sesión](../Concepts/classes.md#singleton-classes) y nueva propiedad de clase [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton). -- Nueva palabra clave de función [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) para definir funciones singleton u ORDA que pueden ser llamadas a través de [peticiones HTTP REST GET](../REST/ClassFunctions.md#function-calls). +- New [`onHTTPGet` function keyword](../ORDA/ordaClasses.md#onhttpget-keyword) to define singleton or ORDA functions that can be called through [HTTP REST GET requests](../REST/ClassFunctions.md#function-calls). - Nueva clase [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) para que el servidor REST devuelva cualquier contenido web. - Qodly Studio: ahora puede [adjuntar el depurador Qodly a 4D Server](../WebServer/qodly-studio.md#using-qodly-debugger-on-4d-server). - Nuevas llaves Build Application para que las aplicaciones 4D remotas validen las [signatures](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateAuthoritiesCertificates.300-7425900.en.html) y/o los [dominios](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.en.html). @@ -141,7 +141,7 @@ Lea [**Novedades en 4D 20 R4**](https://blog.4d.com/en-whats-new-in-4d-v20-R4/), #### Lo más destacado -- Soporte de [formato de cifrado ECDSA\\\\\\\\\\\\\\\\\\\\\`](../Admin/tls.md#encryption) para certificados TLS. +- Soporte de [formato de cifrado ECDSA\`](../Admin/tls.md#encryption) para certificados TLS. - Las conexiones TLS cliente/servidor y servidor SQL ahora se [configuran dinámicamente](../Admin/tls.md#enabling-tls-with-the-other-servers) (no se requieren archivos de certificado). - Formato HTML directo para [exportaciones de definición de estructura](https://doc.4d.com/4Dv20R4/4D/20-R4/Exporting-and-importing-structure-definitions.300-6654851.en.html). - Nuevo [Code Live Checker](../code-editor/write-class-method.md#warnings-and-errors) que mejora el control del código durante los pasos de declaración, comprobación de sintaxis y compilación para evitar errores de ejecución. @@ -160,7 +160,7 @@ Lea [**Novedades en 4D 20 R4**](https://blog.4d.com/en-whats-new-in-4d-v20-R4/), - El uso de una sintaxis heredada para declarar parámetros (por ejemplo, `C_TEXT($1)` o `var $1 : Text`) es obsoleto y genera advertencias en los pasos de escritura de código, verificación de sintaxis y compilación. - La coherencia de las selecciones ahora se mantiene después de que se hayan eliminado algunos registros y se hayan creado otros (ver [esta entrada de blog](https://blog.4d.com/4d-keeps-your-selections-of-records-consistent-regarding-deletion-of-records/)). - En la actualización de [la librería OpenSSL](#library-table), el nivel de seguridad SSL/TLS por defecto se ha cambiado de 1 a 2. Las llaves RSA, DSA y DH de 1024 bits o más y menos de 2048 bits, así como las llaves ECC de 160 bits o más y menos de 224 bits, ya no están permitidas. Por defecto, la compresión TLS ya estaba desactivada en versiones anteriores de OpenSSL. En el nivel de seguridad 2 no se puede activar. -- Asegúrese de que su método base "On REST authentication" puede manejar contraseñas en claro (el tercer parámetro es entonces **False**) y que `Open datastore` encripta su conexión pasando la opción "tls" a **True** en *connectionInfo*. In order to allow password verification when the [4D user directory uses the bcrypt algorithm](https://blog.4d.com/bcrypt-support-for-passwords/), the "password" value in the *connectionInfo* parameter of the [`Open datastore`](../commands/open-datastore.md) command is now sent in clear form by default. En casos concretos, también se puede utilizar una nueva opción "passwordAlgorithm" por compatibilidad (ver el comando [`Open datastore`](../commands/open-datastore.md)). +- Asegúrese de que su método base "On REST authentication" puede manejar contraseñas en claro (el tercer parámetro es entonces **False**) y que `Open datastore` encripta su conexión pasando la opción "tls" a **True** en *connectionInfo*. Asegúrese de que su método base "On REST authentication" puede manejar contraseñas en claro (el tercer parámetro es entonces **False**) y que `Open datastore` encripta su conexión pasando la opción "tls" a **True** en *connectionInfo*. En casos concretos, también se puede utilizar una nueva opción "passwordAlgorithm" por compatibilidad (ver el comando [`Open datastore`](../commands/open-datastore.md)). ## 4D 20 R3 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md index eadf74650c2fed..efa587866241af 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md @@ -822,7 +822,7 @@ $status:=$remoteDS.Schools.registerNewStudent($student) // OK $id:=$remoteDS.Schools.computeIDNumber() // Error "Unknown member method" ``` -## Palabra clave onHTTPGet +## onHTTPGet keyword Use the `onHTTPGet` keyword to declare functions that can be called through HTTP requests using the `GET` verb. Such functions can return any web contents, for example using the [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) class. @@ -864,7 +864,7 @@ Consulte la sección [Parámetros](../REST/classFunctions#parameters) en la docu ### resultado -Una función con la palabra clave `onHTTPGet` puede devolver cualquier valor de un tipo soportado (igual que para [parámetros](../REST/classFunctions#parameters) REST). +A function with `onHTTPGet` keyword can return any value of a supported type (same as for REST [parameters](../REST/classFunctions#parameters)). :::info diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md index 44ccb9cee32494..bdbecb9f43f2a5 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md @@ -43,7 +43,7 @@ with data in the body of the POST request: `["myparam"]` :::note -La función `SingletonClassFunction()` debe haber sido declarada con la palabra clave `onHTTPGet` para ser invocable con `GET` (ver [Configuración de funciones](ClassFunctions#function-configuration)). +The `SingletonClassFunction()` function must have been declared with the `onHTTPGet` keyword to be callable with `GET` (see [Function configuration](ClassFunctions#function-configuration)). ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md index b25de812cc0ea9..6c9707b517aefe 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md @@ -49,7 +49,7 @@ con los datos en el cuerpo de la petición POST: `["Aguada"]` :::note -La función `getCity()` debe haber sido declarada con la palabra clave `onHTTPGet` (ver [Configuración de la función](#function-configuration)). +The `getCity()` function must have been declared with the `onHTTPGet` keyword (see [Function configuration](#function-configuration) below). ::: @@ -73,7 +73,7 @@ Ver la sección [Funciones expuestas vs. no expuestas](../ORDA/ordaClasses.md#ex ### `onHTTPGet` -Las funciones permitidas para ser llamadas desde solicitudes HTTP `GET` también deben ser declaradas específicamente con la [palabra clave `onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). Por ejemplo: +Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). Por ejemplo: ```4d //allowing GET requests diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-from-object.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-from-object.md index a6692ede39610e..09fc0ba5c910c3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-from-object.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-from-object.md @@ -35,7 +35,7 @@ En *viewPro*, pase un objeto 4D View Pro válido. Este objeto puede haber sido c Se devuelve un error si el objeto *viewPro* no es válido. -In *paramObj*, you can pass the following property: +En *paramObj*, puede pasar la siguiente propiedad: | Propiedad | Tipo | Descripción | | --------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md index ed1342da696620..e25281a0f67e67 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md @@ -243,7 +243,7 @@ Request handler functions are not necessarily shared, unless some request handle :::note -**no es recomendado** exponer las funciones del gestor de solicitudes a llamadas REST externas usando las palabras claves [`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) o [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). +It is **not recommended** to expose request handler functions to external REST calls using [`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) or [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keywords. ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md index 884edaa5d03ada..b986cd8f6f4661 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md @@ -236,7 +236,7 @@ El proyecto debe ejecutarse en modo interpretado para que el elemento de menú * ::: -2. In the Qodly Studio toolbar, click on the **Debug** button.
    +2. En la barra de herramientas de Qodly Studio, haga clic en el botón **Debug**.
    ![qodly-debug](../assets/en/WebServer/qodly-debug.png) If the debug session starts successfully, a green bullet appears on the button label ![qodly-debug](../assets/en/WebServer/debug2.png) and you can use the Qodly Studio debugger. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md index a9649355fa72f5..4b0d7689ab9a71 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md @@ -48,8 +48,8 @@ The location, layer (inline, in front/behind text), visibility, and any properti **Nota:** el comando [WP Selection range](../commands-legacy/wp-selection-range.md) devuelve un objeto *referencia a imagen* si se selecciona una imagen anclada y un objeto *rango* si se selecciona una imagen en línea. You can determine if a selected object is a picture object by checking the `wk type` attribute: -- **Value = 2**: The selected object is a picture object. -- **Value = 0**: The selected object is a range object. +- **Value = 2**: el objeto seleccionado es un objeto imagen. +- **Valor = 0**: el objeto seleccionado es un objeto de rango. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-delete-subsection.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-delete-subsection.md index 5750453eca572c..433b9658718564 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-delete-subsection.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-delete-subsection.md @@ -23,7 +23,7 @@ El comando **WP DELETE SUBSECTION** exporta el objeto *wpDoc* 4D Write Pro a un documento en disco de acuerdo con el parámetro *filePath* o *fileObj*, así como cualquier parámetro opcional. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +En *wpDoc*, pase el objeto 4D Write Pro que desea exportar. You can pass either a *filePath* or *fileObj*: @@ -62,7 +62,7 @@ Pase un [objeto](# "Datos estructurados como un objeto nativo 4D") en *option* c | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Se utiliza para reducir imágenes a la resolución preferida. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Nota:** el índice de páginas es independiente de la numeración de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Valores posibles: True/False | @@ -105,7 +105,7 @@ The wk files property allows you to [export a PDF with attachments](https://blog | name | Text | Nombre de archivo. Optional if the *file* property is used, in which case the name is inferred by default from the file name. Mandatory if the *data* property is used (except for the first file of a Factur-X export, in which case the name for the file is automatically "factur-x.xml", see below) | | description | Text | Opcional. If omitted, default value for the first export file to Factur-X is "Factur-X/ZUGFeRD Invoice", otherwise empty. | | mimeType | Text | Opcional. If omitted, default value can usually be guessed from file extension; otherwise, "application/octet-stream" is used. If passed, make sure to use an ISO mime type, otherwise the exported file could be invalid. | -| data | Texto o BLOB | Mandatory if *file* property is missing | +| data | Texto o BLOB | Obligatorio si falta la propiedad *file* | | file | Objeto 4D.File | Mandatory if *data* property is missing, ignored otherwise. | | relationship | Text | Opcional. If omitted, default value is "Data". Possible values for Factur-X first file:for BASIC, EN 16931 or EXTENDED profiles: "Alternative", "Source" or "Data" ("Alternative" only for German invoice)for MINIMUM and BASIC WL profiles: "Data" only.for other profiles: "Alternative", "Source" or "Data" (with restrictions perhaps depending on country: see profile specification for more info about other profiles - for instance for RECHNUNG profile only "Alternative" is allowed)for other files (but Factur-X invoice xml file) : "Alternative", "Source", "Data", "Supplement" or "Unspecified"any other value generates an error. | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md index 11497402b2e0e6..edbcc94645786f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md @@ -22,7 +22,7 @@ displayed_sidebar: docs The **WP EXPORT VARIABLE** command exports the *wpDoc* 4D Write Pro object to the 4D *destination* variable in the specified *format*. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +En *wpDoc*, pase el objeto 4D Write Pro que desea exportar. In *destination*, pass the variable that you want to fill with the exported 4D Write Pro object. The type of this variable depends on the export format specified in the *format* parameter: @@ -62,7 +62,7 @@ Pase un [objeto](# "Datos estructurados como un objeto nativo 4D") en *option* c | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Se utiliza para reducir imágenes a la resolución preferida. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | Sólo para exportación SVG. Índice de la página a exportar a formato svg (por defecto es 1). Page index starts at 1 for the first page of the document. **Nota:** el índice de páginas es independiente de la numeración de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Valores posibles: True/False | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-import-document.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-import-document.md index de071ab4391140..8527426e767099 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-import-document.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-import-document.md @@ -53,7 +53,7 @@ You can pass an object to define how the following attributes are handled during | **Atributo** | **Tipo** | **Description** | | ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| anchoredTextAreas | Text | Sólo para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- Anchored text areas are ignored. **Note**: The layout and the number of pages in the document may change. See also *How to import .docx format* | +| anchoredTextAreas | Text | Sólo para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- Anchored text areas are ignored. **Note**: The layout and the number of pages in the document may change. Ver también *Cómo importar formato .docx* | | anchoredImages | Text | Sólo para documentos MS Word (.docx). Specifies how anchored images are handled. Available values:

    **all** (default) - All anchored images are imported as anchored images with their text wrapping properties (exception: the .docx wrapping option "tight" is imported as wrap square). **ignoreWrap** \- Anchored images are imported, but any text wrapping around the image is ignored. **ignore** \- Anchored images are not imported. | | secciones | Text | Sólo para documentos MS Word (.docx). Specifies how section are handled. Valores disponibles:

    **all** (por defecto) - Se importan todas las secciones. Continuous, even, or odd sections are converted to standard sections. **ignore** \- Sections are converted to default 4D Write Pro sections (A4 portrait layout without header or footer). **Note**: Section breaks of any type but continuous are converted to section breaks with page break. Continuous section breaks are imported as continuous section breaks. | | fields | Text | Sólo para documentos MS Word (.docx). Specifies how .docx fields that can't be converted to 4D Write Pro formulas are handled. Available values:

    **ignore** \- .docx fields are ignored. **label** \- .docx field references are imported as labels within double curly braces ("{{ }}"). Ex: The "ClientName" field would be imported as {{ClientName}}. **value** (default) - The last computed value for the .docx field (if available) is imported. **Note**: If a .docx field corresponds to a 4D Write Pro variable, the field is imported as a formula and this option is ignored. | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-break.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-break.md index 5f95550147fb10..29dafd431ffb4a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-break.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-break.md @@ -56,7 +56,7 @@ In the *mode* parameter, pass a constant to indicate the insertion mode to be us If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-document-body.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-document-body.md index b127d0f9aace47..ebae39a7a5ba2b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-document-body.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-document-body.md @@ -54,7 +54,7 @@ In the *rangeUpdate* parameter (Optional); if *targetObj* is a range, you can pa If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-formula.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-formula.md index 2bfa2e6286f431..076266d7dbde65 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-formula.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-formula.md @@ -57,7 +57,7 @@ In the *mode* parameter, pass one of the following constants to indicate the ins If you do not pass a *rangeUpdate* parameter, by default the inserted *formula* is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. :::note diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md index 7762b57b127533..db22e3c51cc214 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md @@ -21,7 +21,7 @@ displayed_sidebar: docs ## Descripción -El comando **WP Insert picture** inserta *picture* o una *imagenFileObj* en el *targetObj* especificado de acuerdo al *mode* de inserción pasado y los parámetros *rangeUpdate*, y devuelve una referencia al elemento de imagen. The picture will be inserted as a character in the *targetObj*. +El comando **WP Insert picture** inserta *picture* o una *imagenFileObj* en el *targetObj* especificado de acuerdo al *mode* de inserción pasado y los parámetros *rangeUpdate*, y devuelve una referencia al elemento de imagen. La imagen se insertará como un caracter en *targetObj*. En *targetObj*, puede pasar: @@ -35,7 +35,7 @@ For the second parameter, you can pass either: - A picture field or variable - A string containing a path to a picture file stored on disk, in the system syntax. If you use a string, you can pass either a full pathname, or a pathname relative to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. -- In *pictureFileObj* : a `File` object representing a picture file. +- En *pictureFileObj* : un objeto `File` que representa un archivo imagen. Todo formato imagen [soportado por 4D](../../FormEditor/pictures.md#native-formats-supported) puede ser usado. You can get the list of available picture formats using the [PICTURE CODEC LIST](../../commands-legacy/picture-codec-list.md) command. If the picture encapsulates several formats (codecs), 4D Write Pro only keeps one format for display and one format for printing (if different) in the document; the "best" formats are automatically selected. @@ -56,7 +56,7 @@ If *targetObj* is a range, you can optionally use the *rangeUpdate* parameter to If you do not pass a *rangeUpdate* parameter, by default the inserted picture is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Si *targetObj* no es un rango, *rangeUpdate* se ignora. ## Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-set-attributes.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-set-attributes.md index d45106ac442fc2..2fbb0c050507c1 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-set-attributes.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-set-attributes.md @@ -29,7 +29,7 @@ En *targetObj*, puede pasar : You can specify attributes to set for *targetObj* in one of two ways: -- Use the *attribName* and *attribValue* parameters. In *attribName*, pass the name of the attribute to set for the target and in *attribValue*, pass the new value to set. You can pass as many *attribName*/*attribValue* pairs as you want in a single call. +- Utilice los parámetros *attribName* y *attribValue*. In *attribName*, pass the name of the attribute to set for the target and in *attribValue*, pass the new value to set. You can pass as many *attribName*/*attribValue* pairs as you want in a single call. - Use the *attribObj* parameter to pass a single object containing attribute names and their corresponding values as object properties. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/managing-formulas.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/managing-formulas.md index ef1d5e9db362da..e0e3db910e1c49 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/managing-formulas.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/managing-formulas.md @@ -127,7 +127,7 @@ When a document is displayed in "display expressions" mode, references to tables You can control how formulas are displayed in your documents: -- as *values* or as *references* +- como *valores* o como \*referencias - when shown as references, display source text, symbol, or name. ### Referencias o Valores diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/writeprointerface.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/writeprointerface.md index a8e4be3743d146..1282b89b0fe68b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/writeprointerface.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/WritePro/writeprointerface.md @@ -327,7 +327,7 @@ The AI dialog box is available by clicking on a button in the 4D Write Pro inter To display the AI dialog box button, you need to: -1. Get an API key from the [OpenAI website](https://openai.com/api/). +1. Obtener una clave API del [sitio web OpenAI](https://openai.com/api/). 2. Execute the following 4D code: ```4d @@ -338,16 +338,16 @@ WP SetAIKey ("") // :::note -No checking is done on the OpenAI key validity. If it is invalid, the *chatGPT* box will stay empty. +No checking is done on the OpenAI key validity. Si no es válida, la casilla *chatGPT* permanecerá vacía. ::: -The **A.I.** button is then displayed: +A continuación, aparece el botón **I.A**: ![ai button](../assets/en/WritePro/ai-button.png) - in the 4D Write Pro Toolbar, in the **Import Export** tab, -- in the 4D Write Pro Widget, in the **Font Style** tab. +- en el widget 4D Write Pro, en la pestaña **Estilo de fuente**. Click on the button to display the AI dialog box. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/_ImageUtils.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/_ImageUtils.md index 217bf85ef2d896..1d2f66185d7fb5 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/_ImageUtils.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/_ImageUtils.md @@ -31,7 +31,7 @@ Converts a base64 encoded string to a Blob object. | --------- | ---- | ------------------------------------------------ | | $base64 | Text | The base64 encoded image string. | -**Returns**: Blob representing the decoded image. +**Devuelve**: Blob que representa la imagen decodificada. ```4d var $blob:=cs._ImageUtils.me.base64ToBlob("iVBORw0KGgoAAAANSUhEUgAAAAUA...") @@ -45,7 +45,7 @@ Converts various types of image representations to a Blob object. | ---------- | ------- | ----------------------------------------------------------------------------------------------- | | $imageInfo | Variant | The image information, which can be a picture, a file object, a URL, or a text. | -**Returns**: Blob or Null if the input is invalid. +**Devuelve**: Blob o Null si la entrada no es válida. ```4d var $blob:=cs._ImageUtils.me.toBlob($image) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md index 44c0aec3d49b9e..561f519193c12b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ Para las necesidades de su interfaz, usted desea rodear el área en la que el us En el método objeto del listbox, puede escribir: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //inicializar un rectángulo rojo + OBJECT SET VISIBLE(*;"RedRect";False) //inicializar un rectángulo rojo  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md index b76cdd087c7728..b01454266e2fca 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Descripción -**Printing page** devuelve el número de la página en impresión. Puede utilizarse sólo cuando esté imprimiendo con [PRINT SELECTION](print-selection.md) o con el menú Impresión en el entorno Diseño. +**Printing page** devuelve el número de la página en impresión.. ## Ejemplo diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md index 29fd064a7c3478..0cb1f230e42a06 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md @@ -34,7 +34,7 @@ El comando **Command name** devuelve e Two optional parameters are available: -- *info*: properties of the command. The returned value is a *bit field*, where the following bits are meaningful: +- *info*: propiedades del comando. The returned value is a *bit field*, where the following bits are meaningful: - Primer bit (bit 0): definido en 1 si el comando es [**hilo-seguro**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (es decir, compatible con la ejecución en un proceso apropiativo) y 0 si es **hilo-inseguro**. Only thread-safe commands can be used in [preemptive processes](../Develop/preemptive.md). - Second bit (bit 1): set to 1 if the command is **deprecated**, and 0 if it is not. A deprecated command will continue to work normally as long as it is supported, but should be replaced whenever possible and must no longer be used in new code. Deprecated commands in your code generate warnings in the [live checker and the compiler](../code-editor/write-class-method.md#warnings-and-errors). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md index 6b2f565689e229..ebce0ca778616a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md @@ -11,7 +11,7 @@ displayed_sidebar: docs | Parámetros | Tipo | | Descripción | | ----------- | ----------------------- | --------------------------- | ------------------------------------------------------- | -| projectFile | 4D.File | → | .4DProject file to compile | +| projectFile | 4D.File | → | Archivo .4DProject a compilar | | options | Object | → | Object that specifies compilation options | | Resultado | Object | ← | Object containing information on the compilation status | @@ -29,14 +29,14 @@ displayed_sidebar: docs **Compilar proyecto** le permite compilar el proyecto host actual o el proyecto especificado en el parámetro *projectFile*. For more information on compilation, check the [Compilation page](../Project/compiler.md). -By default, the command uses the compiler options defined in the Structure Settings. You can override them by passing an *options* parameter. Se soportan las siguientes sintaxis: +By default, the command uses the compiler options defined in the Structure Settings. Puede sobreescribirlas pasando un parámetro *options*. Se soportan las siguientes sintaxis: - **Compile project**(): compiles the opened project using the options defined in the Structure Settings -- **Compile project**(*options*): compila el proyecto abierto. The *options* defined override the Structure Settings +- **Compile project**(*options*): compila el proyecto abierto. Las *options* definidas reemplazan los parámetros de la estructura - **Compile project**(*projectFile*): compiles the *projectFile* 4DProject using the options defined in the Structure Settings - **Compile project**(*projectFile*; *options*): compiles the *projectFile* 4DProject and the *options* defined override the Structure Settings -**Note:** Binary databases cannot be compiled using this command. +**Nota:** las bases de datos binarias no pueden compilarse con este comando. Unlike the Compiler window, this command requires that you explicitly designate the component(s) to compile. When compiling a project with **Compile project**, you need to declare its components using the *components* property of the *options* parameter. Keep in mind that the components must already be compiled (binary components are supported). @@ -50,7 +50,7 @@ Compilation errors, if any, are returned as objects in the *errors* collection. ### Parámetro options -The *options* parameter is an object. Here are the available compilation options: +El parámetro *options* es un objeto. Here are the available compilation options: | **Propiedad** | **Tipo** | **Description** | | ---------------------------------------------------------------------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -60,7 +60,7 @@ The *options* parameter is an object. Here are the available compilation options | generateSymbols | Boolean | True to generate symbol information in the .symbols returned object | | generateSyntaxFile | Boolean | True para generar un [archivo de sintaxis para la finalización del código](../settings/general.md).md#generate-syntax-file-for-code-completion-when en-compiled) en la carpeta \\Resources\\en.lproj del proyecto | | generateTypingMethods | Text | "reset" or "append" to generate typing methods. If value is "append", existing variable declarations won't be modified (compiler window behavior). If value is "reset" existing variable declarations are removed beforehand. | -| plugins | Objeto 4D.Folder | Carpeta de Plug-ins a usar en lugar de [Carpeta de Plug-ins del proyecto actual](../Project/architecture.md#plugins). This property is only available with the *projectFile* syntax. | +| plugins | Objeto 4D.Folder | Carpeta de Plug-ins a usar en lugar de [Carpeta de Plug-ins del proyecto actual](../Project/architecture.md#plugins). Esta propiedad solo está disponible con la sintaxis *projectFile*. | | targets | Colección de cadenas | Possible values: "x86_64_generic", "arm64_macOS_lib". Pass an empty collection to execute syntax check only | | typeInference | Text | "all": el compilador deduce los tipos de todas las variables no declaradas explícitamente, "locals": el compilador deduce los tipos de variables locales no declaradas explícitamente, "none": todas las variables deben ser explícitamente declaradas en el código (modo antiguo), "direct": todas las variables deben ser explícitamente declaradas en el código ([escritura directa](../Project/compiler.md#enabling-direct-typing)). | | warnings | Colección de objetos | Define el estado de las advertencias | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/form.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/form.md index d5b1dd303532a7..86a8f814562d9f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/form.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/form.md @@ -34,7 +34,7 @@ displayed_sidebar: docs If the current form is being displayed or loaded by a call to the [DIALOG](dialog.md), [`Print form`](print-form.md), or [`FORM LOAD`](form-load.md) commands, **Form** returns either: -- the *formData* object passed as parameter to this command, if any, +- el objeto *formData* pasado como parámetro a este comando, si existe, - o, un objeto instanciado de la [clase de usuario asociada al formulario](../FormEditor/properties_FormProperties.md#form-class), si existe, - o, un objeto vacío. @@ -52,7 +52,7 @@ If the current form is a subform, the returned object depends on the parent cont - If the variable associated to the parent container has not been typed as an object, **Form** returns an empty object, maintained by 4D in the subform context. -For more information, please refer to the *Page subforms* section. +Para más información, consulte la sección *Subformularios de página*. ### Formulario tabla diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/license-info.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/license-info.md index 779d12afb9f6f6..b91b70ea7aecc2 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/license-info.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/license-info.md @@ -92,7 +92,7 @@ You want to get information on your current 4D Server license:  $obj:=License info ``` -*$obj* can contain, for example: +*$obj* puede contener, por ejemplo: ```json { diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/new-log-file.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/new-log-file.md index 75fad9f3eb4dab..0077f617c07f59 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/new-log-file.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/new-log-file.md @@ -16,7 +16,7 @@ displayed_sidebar: docs ## Descripción -**Preliminary note:** This command only works with 4D Server. Sólo puede ejecutarse mediante el comando [Execute on server](../commands-legacy/execute-on-server.md) o en un procedimiento almacenado. +**Nota preliminar:** este comando sólo funciona con 4D Server. Sólo puede ejecutarse mediante el comando [Execute on server](../commands-legacy/execute-on-server.md) o en un procedimiento almacenado. The **New log file** command closes the current log file, renames it and creates a new one with the same name in the same location as the previous one. This command is meant to be used for setting up a backup system using a logical mirror (see the section *Setting up a logical mirror* in the [4D Server Reference Manual](https://doc/4d.com)). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md index 83245377bc42f9..7497cedb00999b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md @@ -21,7 +21,7 @@ displayed_sidebar: docs ## Descripción -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. En el parámetro *form*, puede pasar: @@ -33,7 +33,7 @@ Since **Print form** does not issue a page break after printing the form, it is Se pueden utilizar tres sintaxis diferentes: -- **Detail area printing** +- **Impresión de área de detalle** Sintaxis: @@ -104,7 +104,7 @@ The printer dialog boxes do not appear when you use **Print form**. The report d - Llamar a [PRINT SETTINGS](../commands-legacy/print-settings.md). In this case, you let the user choose the settings. - Llame a [SET PRINT OPTION](../commands-legacy/set-print-option.md) y [GET PRINT OPTION](../commands-legacy/get-print-option.md). In this case, print settings are specified programmatically. -**Print form** builds each printed page in memory. Cada página se imprime cuando la página en memoria está llena o cuando se llama a [PAGE BREAK](../commands-legacy/page-break.md). Para asegurar la impresión de la última página después de cualquier uso de **Print form**, debe concluir con el comando [PAGE BREAK](../commands-legacy/page-break.md) (excepto en el contexto de un [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), ver nota). Otherwise, if the last page is not full, it stays in memory and is not printed. +**Print form** crea cada página impresa en la memoria. Cada página se imprime cuando la página en memoria está llena o cuando se llama a [PAGE BREAK](../commands-legacy/page-break.md). Para asegurar la impresión de la última página después de cualquier uso de **Print form**, debe concluir con el comando [PAGE BREAK](../commands-legacy/page-break.md) (excepto en el contexto de un [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), ver nota). Otherwise, if the last page is not full, it stays in memory and is not printed. **Warning:** If the command is called in the context of a printing job opened with [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), you must NOT call [PAGE BREAK](../commands-legacy/page-break.md) for the last page because it is automatically printed by the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command. Si llama a [PAGE BREAK](../commands-legacy/page-break.md) en este caso, se imprime una página en blanco. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/process-activity.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/process-activity.md index 7f7ede3d1d842d..233020d72edf3b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/process-activity.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/process-activity.md @@ -8,19 +8,19 @@ displayed_sidebar: docs -| Parámetros | Tipo | | Descripción | -| ---------- | ------- | --------------------------- | -------------------------------------------------------------------------------------- | -| sessionID | Text | → | ID de sesión | -| options | Integer | → | Opciones de retorno | -| Resultado | Object | ← | Snapshot of running processes and/or (4D Server only) user sessions | +| Parámetros | Tipo | | Descripción | +| ---------- | ------- | --------------------------- | ---------------------------------------------------------------------------------------------------- | +| sessionID | Text | → | ID de sesión | +| options | Integer | → | Opciones de retorno | +| Resultado | Object | ← | Instantánea de los procesos en ejecución y/o sesiones de usuario (sólo 4D Server) |
    Historia -| Lanzamiento | Modificaciones | -| ----------- | -------------------------------- | -| 20 R7 | Support of *sessionID* parameter | +| Lanzamiento | Modificaciones | +| ----------- | --------------------------------- | +| 20 R7 | Soporte del parámetro *sessionID* |
    @@ -35,7 +35,7 @@ By default when used without any parameters, **Process activity** returns an obj On 4D Server, you can filter information to be returned using the optional *sessionID* and *options* parameters: -- If you pass a user session ID in the *sessionID* parameter, the command only returns information related to this session. By default if the *options* parameter is omitted, the returned object contains a collection with all processes related to the session and a collection with a single object describing the session. If you pass an invalid session ID, a **null** object is returned. +- If you pass a user session ID in the *sessionID* parameter, the command only returns information related to this session. By default if the *options* parameter is omitted, the returned object contains a collection with all processes related to the session and a collection with a single object describing the session. Si se pasa un ID de sesión inválido, se devuelve un objeto **null**. - You can select the collection(s) to return by passing one of the following constants in the *options* parameter: | Constante | Valor | Comentario | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md index d55d8f5896a72a..8e5b81d1056ae0 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## Descripción -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` devuelve el número del proceso cuyo *name* o *id* pasa en el primer parámetro. Si no se encuentra ningún proceso, `Process number` devuelve 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter. Si no se encuentra ningún proceso, `Process number` devuelve 0. El parámetro opcional \* permite recuperar, de un 4D remoto, el número de un proceso que se ejecuta en el servidor. En este caso, el valor devuelto es negativo. Esta opción es especialmente útil cuando se utilizan los comandos [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) y [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/session.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/session.md index 75cc0189b30385..0f601e9de36d68 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/session.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/session.md @@ -33,7 +33,7 @@ Dependiendo del proceso desde el que se llame al comando, la sesión de usuario - una sesión web (cuando las [sesiones escalables están activadas](WebServer/sessions.md#enabling-web-sessions)), - una sesión de cliente remoto, - la sesión de procedimientos almacenados, -- the *designer* session in a standalone application. +- la sesión del ***Print form*** en una aplicación independiente. Para obtener más información, consulte el párrafo [Tipos de sesion](../API/SessionClass.md#session-types). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/this.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/this.md index 8c3d7891c2153a..fa647a893a6dd3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/this.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/this.md @@ -22,7 +22,7 @@ En la mayoría de los casos, el valor de `This` está determinado por cómo se l This command can be used in different contexts, described below. Within these contexts, you will access object/collection element properties or entity attributes through **This.<*propertyPath*\>**. For example, *This.name* or *This.employer.lastName* are valid pathes to object, element or entity properties. -In any other context, the command returns **Null**. +En cualquier otro contexto, el comando devuelve **Null**. ## Función de clase @@ -83,7 +83,7 @@ For example, you want to use a project method as a formula encapsulated in an ob $g:=$person.greeting("hi") // devuelve "hi John Smith" ``` -With the *Greeting* project method: +Con el método proyecto *Greeting*: ```4d #DECLARE($greeting : Text) : Text diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md index 682d1f5d4ce107..2dcec54cf4471d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md @@ -27,7 +27,7 @@ The command is only usable with an embedded web area where the [**Use embedded w Pass in *contextObj* user class instances or formulas to be allowed in `$4d` as objects. Class functions that begin with `_` are considered hidden and cannot be used with `$4d`. -- If *contextObj* is null, `$4d` has access to all 4D methods. +- Si *contextObj* es null, `$4d` tiene acceso a todos los métodos 4D. - If *contextObj* is empty, `$4d` has no access. ### Ejemplo 1 diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/settings/compatibility.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/settings/compatibility.md index 0bec47d76d2ae9..1170797df65c0c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R9/settings/compatibility.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R9/settings/compatibility.md @@ -19,9 +19,9 @@ La página Compatibilidad agrupa los parámetros relacionados con el mantenimien Aunque no es estándar, es posible que desee seguir utilizando estas funcionalidades para que su código siga funcionando como antes -- en este caso, basta con establecer la opción *desmarcarcada*. Por otra parte, si su código no se basa en la implementación no estándar y si desea beneficiarse de las funcionalidades extendidas de XPath en sus bases de datos (como se describe en el comando [`DOM Find XML element`](../commands-legacy/dom-find-xml-element.md)), asegúrese de que la opción \**Utilizar XPath estándar* esté *marcada*. -- **Utilizar LF como caracter de fin de línea en macOS**: a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos texto con salto de línea (LF) como caracter de fin de línea (EOL) por defecto en lugar de CR (CRLF para xml SAX) en macOS en nuevos proyectos. Si desea beneficiarse de este nuevo comportamiento en proyectos convertidos a partir de versiones anteriores de 4D, marque esta opción. Ver [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), y [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- **Utilizar LF como caracter de fin de línea en macOS**: a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos texto con salto de línea (LF) como caracter de fin de línea (EOL) por defecto en lugar de CR (CRLF para xml SAX) en macOS en nuevos proyectos. Si desea beneficiarse de este nuevo comportamiento en proyectos convertidos a partir de versiones anteriores de 4D, marque esta opción. See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). -- \*\*No añadir un BOM al escribir un archivo de texto unicode por defecto:\*\*a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos de texto sin BOM ("Byte order mark") por defecto. En las versiones anteriores, los archivos texto se escribían con un BOM por defecto. Seleccione esta opción si desea activar el nuevo comportamiento en los proyectos convertidos. Ver [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), y [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- \*\*No añadir un BOM al escribir un archivo de texto unicode por defecto:\*\*a partir de 4D v19 R2 (y 4D v19 R3 para archivos XML), 4D escribe archivos de texto sin BOM ("Byte order mark") por defecto. En las versiones anteriores, los archivos texto se escribían con un BOM por defecto. Seleccione esta opción si desea activar el nuevo comportamiento en los proyectos convertidos. See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). - **Mapear valores NULL a valores en blanco sin marcar por defecto una creación de campo**: para un mejor cumplimiento con las especificaciones ORDA, en bases de datos creadas con 4D v19 R4 y superiores, la propiedad de campo **Mapear valores NULL a valores en blanco** no está marcada por defecto cuando creas campos. Puede aplicar este comportamiento por defecto a sus bases de datos convertidas marcando esta opción (se recomienda trabajar con valores Null, ya que están totalmente soportados por [ORDA](../ORDA/overview.md). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/API/EntityClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20/API/EntityClass.md index 2611732afd339e..96ddc6a76543e1 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/API/EntityClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/API/EntityClass.md @@ -600,15 +600,14 @@ El siguiente código genérico duplica cualquier entidad: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parámetros | Tipo | | Descripción | | ---------- | ------- |:--:| --------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: la llave primaria se devuelve como una cadena, sin importar el tipo de llave primaria | -| Resultado | Text | <- | Valor de la llave primaria de texto de la entidad | -| Resultado | Integer | <- | Valor de la llave primaria numérica de la entidad | +| Resultado | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1616,7 +1615,7 @@ Ejemplo con el tipo `relatedEntity` con una forma simple: La función `.touched()` comprueba si un atributo de la entidad ha sido modificado o no desde que se cargó la entidad en la memoria o se guardó. -Si un atributo ha sido modificado o calculado, la función devuelve True, en caso contrario devuelve False. Puede utilizar esta función para determinar si necesita guardar la entidad. +Si un atributo ha sido modificado o calculado, la función devuelve True, en caso contrario devuelve False. You can use this function to determine if you need to save the entity. Esta función devuelve False para una nueva entidad que acaba de ser creada (con [`.new( )`](DataClassClass.md#new)). Tenga en cuenta, sin embargo, que si utiliza una función que calcula un atributo de la entidad, la función `.touched()` devolverá entonces True. Por ejemplo, si se llama a [`.getKey()`](#getkey) para calcular la llave primaria, `.touched()` devuelve True. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/API/FileClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20/API/FileClass.md index 6fc9cefb861275..d7107cd7eac4ea 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/API/FileClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/API/FileClass.md @@ -607,12 +607,12 @@ Quiere renombrar "ReadMe.txt" como "ReadMe_new.txt": La función `.setAppInfo()` escribe las propiedades de *info* como contenido informativo de un archivo **.exe**, **.dll** o **.plist**. -La función debe utilizarse con un archivo .exe, .dll o .plist existente. Si el archivo no existe en el disco o no es un archivo .exe, .dll o .plist válido, la función no hace nada (no se genera ningún error). - -> La función sólo admite archivos .plist en formato xml (basados en texto). Se devuelve un error si se utiliza con un archivo .plist en formato binario. **Parámetro *info* con un archivo .exe o .dll** +The function must be used with an existing and valid .exe or .dll file, otherwise it does nothing (no error is generated). + + > Escribir la información de archivos .exe o .dll sólo es posible en Windows. Cada propiedad válida definida en el parámetro objeto *info* se escribe en el recurso de versión del archivo .exe o .dll. Las propiedades disponibles son (toda otra propiedad será ignorada): @@ -635,6 +635,8 @@ Para la propiedad `WinIcon`, si el archivo del icono no existe o tiene un format **Parámetro *info* con un un archivo .plist** +> La función sólo admite archivos .plist en formato xml (basados en texto). Se devuelve un error si se utiliza con un archivo .plist en formato binario. + Cada propiedad válida definida en el parámetro objeto *info* se escribe en el archivo .plist en forma de llave. Se aceptan todos los nombre de llaves. Los tipos de valores se conservan cuando es posible. Si un conjunto de llaves en el parámetro *info* ya está definido en el archivo .plist, su valor se actualiza manteniendo su tipo original. Las demás llaves existentes en el archivo .plist no se modifican. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md index bbc0d37c2f986f..4a2be269e44801 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md @@ -701,7 +701,7 @@ La función `.start()` inicia el ser El servidor web se inicia con la configuración por defecto definida en el archivo de configuración del proyecto o (sólo en la base host) utilizando el comando `WEB SET OPTION`. Sin embargo, utilizando el parámetro *settings*, se pueden definir propiedades personalizadas para la sesión del servidor web. -Todas las configuraciones de los [objetos del Servidor Web](#web-server-object) pueden personalizarse, excepto las propiedades de sólo lectura ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy) y [.sessionCookieName](#sessioncookiename)). +All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Todas las configuraciones de los [objetos del Servidor Web](#web-server-object) pueden personalizarse, excepto las propiedades de sólo lectura ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy) y [.sessionCookieName](#sessioncookiename)). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/Notes/updates.md b/i18n/es/docusaurus-plugin-content-docs/version-20/Notes/updates.md index 2e0dc3c43afa4a..63bcf1a79ab978 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/Notes/updates.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/Notes/updates.md @@ -10,13 +10,22 @@ Lea las [**novedades de 4D 20**](https://blog.4d.com/en-whats-new-in-4d-v20/), l ::: + +## 4D 20.7 LTS + +#### Lo más destacado + +- [**Lista de bugs corregidos**](https://bugs.4d.com/fixes?version=20.7): lista de todos los bugs corregidos en 4D 20.7 LTS. + + + ## 4D 20.6 LTS #### Lo más destacado :::info Aplicaciones de evaluación -A partir de la nightly build **101734**, el diálogo Build application tiene una nueva opción que permite crear aplicaciones de evaluación. Ver [la descripción en la documentación de 4D Rx](../../../docs/Desktop/building.md#build-an-evaluation-application). +A partir de la nightly build **101734**, el diálogo Build application tiene una nueva opción que permite crear aplicaciones de evaluación. Ver [la descripción en la documentación de 4D Rx](../../../docs/Desktop/building#build-an-evaluation-application). ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md index 73070ecc963862..ad0682c3cf4590 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md @@ -99,7 +99,7 @@ Cette propriété est en **lecture seule**. #### Description -La propriété `.me` renvoie l'instance unique de la classe singleton `cs.className`. Si la classe singleton n'a jamais été instanciée au préalable, cette propriété appelle le constructeur de la classe sans paramètres et crée l'instance. Sinon, elle renvoie l'instance singleton existante. +Sommaire Si la classe singleton n'a jamais été instanciée au préalable, cette propriété appelle le constructeur de la classe sans paramètres et crée l'instance. Sinon, elle renvoie l'instance singleton existante. Si `cs.className` n'est pas une [classe singleton](../Concepts/classes.md#singleton-classes), `.me` est **undefined** par défaut. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md index 2fe0745e563ccd..5407dfda23a807 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md @@ -2462,7 +2462,7 @@ où : | Conjonction | Symbole(s) | | ----------- | ----------------------------------------------------------------------------------- | | AND | &, &&, and | -| OR | |,||, or | +| OU | |,||, or | #### Utilisation de guillemets diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md index 49bf9b4a6fdf0d..91fe49899d570d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -942,7 +942,7 @@ Les formules contenues dans les requêtes peuvent recevoir des paramètres via $ | Conjonction | Symbole(s) | | ----------- | ----------------------------------------------------------------------------------- | | AND | &, &&, and | -| OR | |,||, or | +| OU | |,||, or | - **order by attributePath** : vous pouvez inclure une déclaration order by *attributePath* dans la requête afin que les données résultantes soient triées selon cette déclaration. Vous pouvez utiliser plusieurs tris par déclaration, en les séparant par des virgules (e.g., order by *attributePath1* desc, *attributePath2* asc). Par défaut, le tri est par ordre croissant. Passez 'desc' pour définir un tri par ordre décroissant et 'asc' pour définir un tri par ordre croissant. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/DataStoreClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/DataStoreClass.md index 8d6e0df8f966a2..9182769547457f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/DataStoreClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/DataStoreClass.md @@ -460,7 +460,7 @@ La fonction `.getInfo()` renvoie u Sur un datastore distant : ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1123,7 +1123,7 @@ Vous pouvez imbriquer plusieurs transactions (sous-transactions). Chaque transac ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/EntityClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/EntityClass.md index 6028b11b6840be..5580cf8b4c3830 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/EntityClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/EntityClass.md @@ -3,7 +3,7 @@ id: EntityClass title: Entity --- -Une [entity](ORDA/dsMapping.md#entity) est une instance d'une [Dataclass](ORDA/dsMapping.md#dataclass), tel un enregistrement de la table correspondant à la dataclass contenue dans son datastore associé. Elle contient les mêmes attributs que la dataclass ainsi que les valeurs des données et des propriétés et fonctions spécifiques. +Une [entity](ORDA/dsMapping.md#entity) (ou "entité") est une instance d'une [Dataclass](ORDA/dsMapping.md#dataclass), tel un enregistrement de la table correspondant à la dataclass contenue dans son datastore associé. Elle contient les mêmes attributs que la dataclass ainsi que les valeurs des données et des propriétés et fonctions spécifiques. ### Sommaire @@ -611,15 +611,14 @@ Le code générique suivant duplique toute entité : -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Paramètres | Type | | Description | | ---------- | ------- | :-------------------------: | -------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: retourner la clé primaire en texte, quel que soit son type d'origine | -| Résultat | Text | <- | Valeur de la clé primaire texte de l'entité | -| Résultat | Integer | <- | Valeur de la clé primaire numérique de l'entité | +| Résultat | any | <- | Valeur de la clé primaire de l'entité (Integer ou Text) | @@ -657,7 +656,7 @@ Les clés primaires peuvent être des nombres (integer) ou des textes. Vous pouv | Paramètres | Type | | Description | | ---------- | ---- | --------------------------- | ------------------------------------------------------------------ | -| Résultat | Text | <- | Attirbuts de contexte associés à l'entity, séparés par une virgule | +| Résultat | Text | <- | Attributs de contexte associés à l'entity, séparés par une virgule | @@ -1635,11 +1634,11 @@ Retourne : #### Description -La fonction `.touched()` vérifie si un attribut de l'entité a été modifié ou non depuis que l'entité a été chargée en mémoire ou sauvegardée. +La fonction `.touched()` renvoie True si au moins un attribut de l'entité a été modifié depuis que l'entité a été chargée en mémoire ou sauvegardée. Vous pouvez utiliser cette fonction pour déterminer si vous devez sauvegarder l'entité. -Si un attribut a été modifié ou calculé, la fonction retourne Vrai, sinon elle retourne Faux. Vous pouvez utiliser cette fonction pour savoir s'il est nécessaire de sauvegarder l'entité. +Ceci ne s'applique qu'aux attributs de [`kind`](DataClassClass.md#returned-object) "storage" ou "relatedEntity". -Cette fonction renvoie Faux pour une nouvelle entité qui vient d'être créée (avec [`.new()`](DataClassClass.md#new)). A noter cependant que si vous utilisez une fonction pour calculer un attribut de l'entité, la fonction `.touched()` retournera Vrai. Par exemple, si vous appelez [`.getKey()`](#getkey) pour calculer la clé primaire, `.touched()` renvoie Vrai. +Pour une nouvelle entité qui vient d'être créée (avec [`.new()`](DataClassClass.md#new)), la fonction renvoie False. Cependant, dans ce contexte, si vous accédez à un attribut dont la propriété [`autoFilled`](./DataClassClass.md#returned-object) est True, la fonction `.touched()` renverra True. Par exemple, après avoir exécuté `$id:=ds.Employee.ID` pour une nouvelle entité (en supposant que l'attribut ID possède la propriété "Autoincrement"), `.touched()` renvoie True. #### Exemple @@ -1683,7 +1682,7 @@ Cet exemple vérifie s'il est nécessaire de sauvegarder l'entité : La fonction `.touchedAttributes()` renvoie les noms des attributs qui ont été modifiés depuis que l'entité a été chargée en mémoire. -Cette fonction est applicable aux attributs dont le [kind](DataClassClass.md#attributename) est `storage` ou `relatedEntity`. +Ceci ne s'applique qu'aux attributs de [`kind`](DataClassClass.md#returned-object) "storage" ou "relatedEntity". Dans le cas d'un attribut relationnel ayant été "touché" (i.e., la clé étrangère), le nom de l'entité liée et celui de sa clé primaire sont retournés. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/FileClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/FileClass.md index bbaa339c44d855..e957df2b920169 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/FileClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/FileClass.md @@ -590,7 +590,7 @@ Vous souhaitez que "ReadMe.txt" soit renommé "ReadMe_new.txt" : La fonction `.setAppInfo()` écrit les propriétés *info* en tant que contenu d'information d'un fichier d'application. -La fonction doit être utilisée avec un fichier existant et pris en charge : **.plist** (toutes les plateformes), **.exe**/**.dll** (Windows), ou **exécutable macOS**. Si le fichier n'existe pas sur le disque ou n'est pas un fichier pris en charge, la fonction ne fait rien (aucune erreur n'est générée). +La fonction doit être utilisée avec un fichier existant et pris en charge : **.plist** (toutes les plateformes), **.exe**/**.dll** (Windows), ou **exécutable macOS**. Si elle est utilisée avec un autre type de fichier ou avec un fichier **.exe**/**.dll** qui n'existe pas déjà sur le disque, la fonction ne fait rien (aucune erreur n'est générée). **Paramètre *info* avec un fichier .plist (toutes plateformes)** @@ -600,6 +600,8 @@ Cette fonction ne prend en charge que les fichiers .plist au format xml (texte). ::: +Si le fichier .plist existe déjà sur le disque, il est mis à jour. Dans le cas contraire, il est créé. + Chaque propriété valide définie dans le paramètre objet *info* est écrite dans le fichier . plist sous forme de clé. Tous les noms de clés sont acceptés. Les types des valeurs sont préservés si possible. Si une clé définie dans le paramètre *info* est déjà définie dans le fichier .plist, sa valeur est mise à jour tout en conservant son type d'origine. Les autres clés définies dans le fichier .plist ne sont pas modifiées. @@ -610,9 +612,9 @@ Pour définir une valeur de type Date, le format à utiliser est chaîne de time ::: -**Paramètre *info* avec un fichier .exe ou .dll (Windows uniquement)** +**Paramètre objet *info* avec un fichier .exe ou .dll (Windows uniquement)** -Chaque propriété valide définie dans le paramètre objet *info* est écrite dans la ressource de version du fichier .exe ou .dll. Les propriétés disponibles sont (toute autre propriété sera ignorée) : +Chaque propriété valide définie dans le paramètre objet *info* est écrite dans la ressource version du fichier .exe ou .dll. Les propriétés disponibles sont (toute autre propriété sera ignorée) : | Propriété | Type | Commentaire | | ---------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -630,16 +632,16 @@ Pour toutes les propriétés à l'exception de `WinIcon`, si vous passez un text Pour la propriété `WinIcon`, si le fichier d'icône n'existe pas ou a un format incorrect, une erreur est générée. -**Paramètre *info* avec un fichier exécutable macOS (macOS uniquement)** +**Paramètre *info* avec un fichier macOS exécutable (macOS uniquement)** *info* doit être un objet avec une seule propriété nommée `archs` qui est une collection d'objets dans le format retourné par [`getAppInfo()`](#getappinfo). Chaque objet doit contenir au moins les propriétés `type` et `uuid` (`name` n'est pas utilisé). Chaque objet de la collection *info*.archs doit contenir les propriétés suivantes : -| Propriété | Type | Description | -| --------- | ------ | ------------------------------------------------------- | -| type | Number | Identifiant numérique de l'architecture à modifier | -| uuid | Text | Représentation textuelle du nouvel uuid de l'exécutable | +| Propriété | Type | Description | +| --------- | ------ | -------------------------------------------------- | +| type | Number | Identifiant numérique de l'architecture à modifier | +| uuid | Text | Représentation textuelle du nouvel uuid exécutable | #### Exemple 1 @@ -648,9 +650,9 @@ Chaque objet de la collection *info*.archs doit contenir les propriétés suivan var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") -$info:=Nouvel objet +$info:=New object $info.Copyright:="Copyright 4D 2023" //text -$info.ProductVersion:=12 //integer .ShipmentDate:="2023-04-22T06:00:00Z" //timestamp .ProductVersion:=12 //integer +$info.ProductVersion:=12 //integer $info.ShipmentDate:="2023-04-22T06:00:00Z" //timestamp $info.CFBundleIconFile:="myApp.icns" //pour macOS $infoPlistFile.setAppInfo($info) @@ -664,7 +666,7 @@ var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file ; fk platform path) $iconFile:=File("/RESOURCES/myApp.ico") -$info:=Nouvel objet +$info:=New object $info.LegalCopyright:="Copyright 4D 2023" $info.ProductVersion:="1.0.0" $info.WinIcon:=$iconFile.path diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/IncomingMessageClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/IncomingMessageClass.md index a92fd620bb77bc..c3823327a7b25e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/IncomingMessageClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/IncomingMessageClass.md @@ -3,11 +3,11 @@ id: IncomingMessageClass title: IncomingMessage --- -The `4D.IncomingMessage` class allows you to handle the object received by a custom [**HTTP request handler**](../WebServer/http-request-handler.md). HTTP requests and their properties are automatically received as an instance of the `4D.IncomingMessage` class. Parameters given directly in the request with GET verb are handled by the [`.urlQuery`](#urlquery) property, while parameters passed in the body of the request are available through functions such as [`.getBlob()`](#getblob) or [`getText()`](#gettext). +La classe `4D.IncomingMessage` vous permet de gérer l'objet reçu par un [**HTTP request handler**](../WebServer/http-request-handler.md) personnalisé. Les requêtes HTTP et leurs propriétés sont automatiquement reçues en tant qu'instance de la classe `4D.IncomingMessage`. Les paramètres fournis directement dans la requête avec le verbe GET sont gérés par la propriété [`.urlQuery`](#urlquery), tandis que les paramètres passés dans le corps de la requête sont disponibles via des fonctions telles que [`.getBlob()`](#getblob) ou [`getText()`](#gettext). -The HTTP request handler can return any value (or nothing). It usually returns an instance of the [`4D.OutgoingMessage`](OutgoingMessageClass.md) class. +Le gestionnaire de requêtes HTTP peut renvoyer n'importe quelle valeur (ou rien). Il renvoie généralement une instance de la classe [`4D.OutgoingMessage`](OutgoingMessageClass.md). -All properties of this class are read-only. They are automatically filled by the request handler. +Toutes les propriétés de cette classe sont en lecture seule. Elles sont automatiquement remplies par le request handler.
    Historique @@ -19,7 +19,7 @@ All properties of this class are read-only. They are automatically filled by the ### Exemple -The following [**HTTPHandlers.json** file](../WebServer/http-request-handler.md) has been defined: +Le fichier [**HTTPHandlers.json**](../WebServer/http-request-handler.md) suivant a été défini : ```json [ @@ -32,7 +32,7 @@ The following [**HTTPHandlers.json** file](../WebServer/http-request-handler.md) ] ``` -The `http://127.0.0.1/start/example?param=demo&name=4D` request is run with a `GET` verb in a browser. It is handled by the *gettingStarted* function of the following *GeneralHandling* singleton class: +La requête `http://127.0.0.1/start/example?param=demo&name=4D` est exécutée avec un verbe `GET` dans un navigateur. Elle est gérée par la fonction *gettingStarted* de la classe singleton *GeneralHandling* suivante : ```4d shared singleton Class constructor() @@ -59,9 +59,9 @@ Function gettingStarted($request : 4D.IncomingMessage) : 4D.OutgoingMessage ``` -The request is received on the server as *$request*, an object instance of the `4D.IncomingMessage` class. +La requête est reçue sur le serveur en tant que *$request*, une instance d'objet de la classe `4D.IncomingMessage`. -Here is the response: +Voici la réponse : ```json Called URL: /start/example? param=demo&name=4D @@ -74,9 +74,9 @@ The verb is: GET There are 2 url parts - Url parts are: start - example ``` -### IncomingMessage Object +### Objet IncomingMessage -4D.IncomingMessage objects provide the following properties and functions: +Les objets 4D.IncomingMessage offrent les propriétés et fonctions suivantes : | | | ----------------------------------------------------------------------------------------------------------------------------------------- | @@ -93,7 +93,7 @@ There are 2 url parts - Url parts are: start - example :::note -A 4D.IncomingMessage object is a [non-sharable](../Concepts/shared.md) object. +Un objet 4D.IncomingMessage est [non partageable](../Concepts/shared.md). ::: @@ -105,17 +105,17 @@ A 4D.IncomingMessage object is a [non-sharable](../Concepts/shared.md) object. -| Paramètres | Type | | Description | -| ---------- | ---- | --------------------------- | ----------------------------- | -| Résultat | Blob | <- | Body of the request as a Blob | +| Paramètres | Type | | Description | +| ---------- | ---- | --------------------------- | ----------------------------------- | +| Résultat | Blob | <- | Body de la requête en tant que Blob | #### Description -The `.getBlob()` function returns the body of the request as a Blob. +La fonction `.getBlob()` renvoie le body de la requête sous forme de Blob. -If the body has not been given as a binary content, the function tries to convert the value but it can give unexpected results. +Si le body n'a pas été fourni sous forme de contenu binaire, la fonction tente de convertir la valeur, mais elle peut donner des résultats inattendus. @@ -127,27 +127,27 @@ If the body has not been given as a binary content, the function tries to conver -| Paramètres | Type | | Description | -| ---------- | ---- | --------------------------- | -------------------------------- | -| key | Text | -> | Header property to get | -| Résultat | Text | <- | Valeur de la propriété de header | +| Paramètres | Type | | Description | +| ---------- | ---- | --------------------------- | ---------------------------------------------------------- | +| key | Text | -> | Propriété de header (en-tête) à obtenir | +| Résultat | Text | <- | Valeur de la propriété de header | #### Description -The `.getHeader()` function returns the value of the *key* header. +La fonction `.getHeader()` renvoie la valeur de l'en-tête *key*. :::note -The *key* parameter is not case sensitive. +Le paramètre *key* n'est pas sensible à la casse. ::: #### Exemple ```4d -var $value : Text +var $value : Texte var $request : 4D.IncomingMessage $value := $request.getHeader("content-type") ``` @@ -162,17 +162,17 @@ $value := $request.getHeader("content-type") -| Paramètres | Type | | Description | -| ---------- | ------- | --------------------------- | ------------------------------------------ | -| Résultat | Variant | <- | JSON resolution of the body of the request | +| Paramètres | Type | | Description | +| ---------- | ------- | --------------------------- | ------------------------------------- | +| Résultat | Variant | <- | Résolution JSON du body de la requête | #### Description -The `.getJSON()` function returns the body of the request as a JSON resolution. +La fonction `.getJSON()` renvoie le body de la requête sous forme de résolution JSON. -If the body has not been given as JSON valid content, an error is raised. +Si le body n'a pas été fourni sous la forme d'un contenu JSON valide, une erreur est générée. @@ -184,25 +184,25 @@ If the body has not been given as JSON valid content, an error is raised. -| Paramètres | Type | | Description | -| ---------- | ------- | --------------------------- | ------------------------------ | -| Résultat | Picture | <- | Body of the request as picture | +| Paramètres | Type | | Description | +| ---------- | ------- | --------------------------- | ----------------------------------- | +| Résultat | Picture | <- | Body de la requête en tant qu'image | #### Description -The `.getPicture()` function returns the body of the request as a picture (in case of a body sent as a picture). +La fonction `.getPicture()` renvoie le body de la requête sous forme d'image (dans le cas d'un body envoyé en tant qu'image). -The content-type must be given in the headers to indicate that the body is a picture. +Le content-type doit être fourni dans les headers pour indiquer que le body est une image. :::note -If the request is built using the [`HTTPRequest` class](HTTPRequestClass.md), the picture must be sent in the body as a Blob with the appropriate content-type. +Si la requête est construite en utilisant la classe [`HTTPRequest`](HTTPRequestClass.md), l'image doit être envoyée dans le body sous forme de Blob avec le content-type approprié. ::: -If the body is not received as a valid picture, the function returns null. +Si le body n'est pas reçu comme une image valide, la fonction renvoie null. @@ -214,17 +214,17 @@ If the body is not received as a valid picture, the function returns null. -| Paramètres | Type | | Description | -| ---------- | ---- | --------------------------- | --------------------------- | -| Résultat | Text | <- | Body of the request as text | +| Paramètres | Type | | Description | +| ---------- | ---- | --------------------------- | ------------------------------------ | +| Résultat | Text | <- | Body de la requête en tant que texte | #### Description -The `.getText()` function returns the body of the request as a text value. +La fonction `.getText()` renvoie le body de la requête sous forme de texte. -If the body has not been given as a string value, the function tries to convert the value but it can give unexpected results. +Si le body n'a pas été fourni sous forme de chaine, la fonction tente de convertir la valeur, mais elle peut donner des résultats inattendus. @@ -236,11 +236,11 @@ If the body has not been given as a string value, the function tries to convert #### Description -The `.headers` property contains the current headers of the incoming message as key/value pairs (strings). +La propriété `.headers` contient les headers courants du message entrant sous forme de paires clé/valeur (chaînes). La propriété `.headers` est en lecture seule. -Header names (keys) are lowercased. Note header names are case sensitive. +Les noms des en-têtes (clés) sont en minuscules. Les noms des headers sont sensibles à la casse. @@ -252,15 +252,15 @@ Header names (keys) are lowercased. Note header names are case sensitive. #### Description -The `.url` property contains the URL of the request without the *IP:port* part and as a string. +La propriété `.url` contient l'URL de la requête sans la partie *IP:port* et sous forme de chaîne. -For example, if the request is addressed to: "http://127.0.0.1:80/docs/invoices/today", the `.url` property is "/docs/invoices/today". +Par exemple, si la requête est adressée à: "http://127.0.0.1:80/docs/invoices/today", la propriété `.url` est "/docs/invoices/today". -The `.url` property is read-only. +La propriété `.url` est en lecture seule. :::note -The "host" part of the request (*IP:port*) is provided by the [`host` header](#headers). +La partie "host" de la requête (*IP:port*) est fournie par le header [`host`](#headers). ::: @@ -274,11 +274,11 @@ The "host" part of the request (*IP:port*) is provided by the [`host` header](#h #### Description -The `.urlPath` property contains the URL of the request without the *IP:port* part and as a collection of strings. +La propriété `.urlPath` contient l'URL de la requête sans la partie *IP:port* et sous la forme d'une collection de chaînes. -For example, if the request is addressed to: "http://127.0.0.1:80/docs/invoices/today", the `.urlPath` property is ["docs", "invoices" ,"today"]. +Par exemple, si la requête est adressée à: "http://127.0.0.1:80/docs/invoices/today", la propriété `.urlPath` est ["docs", "invoices" ,"today"]. -The `.urlPath` property is read-only. +La propriété `.urlPath` est en lecture seule. @@ -290,34 +290,34 @@ The `.urlPath` property is read-only. #### Description -The `.urlQuery` property contains the parameters of the request when they have been given in the URL as key/value pairs. +La propriété `.urlQuery` contient les paramètres de la requête lorsqu'ils ont été passés dans l'URL sous forme de paires clé/valeur. -The `.urlQuery` property is read-only. +La propriété `.urlQuery` est en lecture seule. -Parameters can be passed in the URL of requests **directly** or **as JSON contents**. +Les paramètres peuvent être passés dans l'URL des requêtes **directement** ou **en tant que contenu JSON**. -#### Direct parameters +#### Paramètres directs -Example: `http://127.0.0.1:8044/myCall?firstname=Marie&id=2&isWoman=true` +Exemple : `http://127.0.0.1:8044/myCall?firstname=Marie&id=2&isWoman=true` -In this case, parameters are received as stringified values in the `urlQuery` property: `urlQuery = {"firstname":"Marie" ,"id":"2" ,"isWoman":"true"}` +Dans ce cas, les paramètres sont reçus sous forme de valeurs "stringifiées" dans la propriété `urlQuery` : `urlQuery = {"firstname" : "Marie" , "id" : "2" , "isWoman" : "true"}` -#### JSON contents parameters +#### Paramètres contenu JSON -Example: `http://127.0.0.1:8044/myCall/?myparams='[{"firstname": "Marie","isWoman": true,"id": 3}]'`. +Exemple : `http://127.0.0.1:8044/myCall/?myparams='[{"firstname" : "Marie", "isWoman" : true, "id" : 3}]'`. -Parameters are passed in JSON format and enclosed within a collection. +Les paramètres sont passés au format JSON et sont inclus dans une collection. -In this case, parameters are received as JSON text in the `urlQuery` property and can be parsed using [`JSON Parse`](../commands-legacy/json-parse.md). +Dans ce cas, les paramètres sont reçus sous forme de texte JSON dans la propriété `urlQuery` et peuvent être analysés à l'aide de [`JSON Parse`](../commands-legacy/json-parse.md). ```4d //urlQuery.myparams: "[{"firstname": "Marie","isWoman": true,"id": 3}]" $test:=Value type(JSON Parse($r.urlQuery.myparams))=Is collection) //true ``` -Special characters such as simple quotes or carriage returns must be escaped. +Les caractères spéciaux tels que les guillemets simples ou les retours à la ligne doivent être échappés. -Example: `http://127.0.0.1:8044/syntax/?mdcode=%60%60%604d` +Exemple : `http://127.0.0.1:8044/syntax/?mdcode=%60%60%604d` ````4d //urlQuery.mdcode = ```4d @@ -326,7 +326,7 @@ $test:=Length($r.urlQuery.mdcode) //5 :::note -Parameters given in the body of the request using POST or PUT verbs are handled through dedicated functions: [`getText()`](#gettext), [`getPicture()`](#getpicture), [`getBlob()`](#getblob), [`getJSON()`](#getjson). +Les paramètres fournis dans le body de la requête à l'aide des verbes POST ou PUT sont traités par des fonctions dédiées : [`getText()`](#gettext), [`getPicture()`](#getpicture), [`getBlob()`](#getblob), [`getJSON()`](#getjson). ::: @@ -340,11 +340,11 @@ Parameters given in the body of the request using POST or PUT verbs are handled #### Description -The `.verb` property contains the verb used by the request. +La propriété `.verb` contient le verbe utilisé par la requête. -HTTP and HTTPS request verbs include for example "get", "post", "put", etc. +Les verbes de requête HTTP et HTTPS incluent par exemple "get", "post", "put", etc. -The `.verb` property is read-only. +La propriété `.verb` est en lecture seule. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md index 5ed78b3ba8719b..f51aa4f88908ac 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md @@ -5,7 +5,7 @@ title: OutgoingMessage La classe `4D.OutgoingMessage` vous permet de construire des messages qui seront renvoyés par les fonctions de votre application en réponse aux [requêtes REST](../REST/REST_requests.md). Lorsque la réponse est de type `4D.OutgoingMessage`, le serveur REST ne renvoie pas un objet mais une instance d'objet de la classe `OutgoingMessage`. -Typiquement, cette classe peut être utilisée dans des fonctions personnalisées de [HTTP request handler](../WebServer/http-request-handler.md#function-configuration) ou dans des fonctions déclarées avec le mot-clé [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) et conçues pour gérer des requêtes HTTP GET. Ces requêtes sont utilisées, par exemple, pour implémenter des fonctionnalités telles que le téléchargement de fichier, la génération et le téléchargement d'images ainsi que la réception de tout content-type via un navigateur. +Typically, this class can be used in custom [HTTP request handler functions](../WebServer/http-request-handler.md#function-configuration) or in functions declared with the [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keyword and designed to handle HTTP GET requests. Ces requêtes sont utilisées, par exemple, pour implémenter des fonctionnalités telles que le téléchargement de fichier, la génération et le téléchargement d'images ainsi que la réception de tout content-type via un navigateur. Une instance de cette classe est construite sur 4D Server et peut être envoyée au navigateur via le [serveur REST 4D](../REST/gettingStarted.md) uniquement. Cette classe permet d'utiliser d'autres technologies que HTTP (par exemple, mobile). diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/SessionClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/SessionClass.md index 3fb36a80363148..f97b52ac56e37c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/SessionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/SessionClass.md @@ -68,11 +68,11 @@ Cette fonction ne fait rien et retourne toujours **True** avec les sessions clie ::: -La fonction `.clearPrivileges()` supprime tous les privilèges associés à la session et retourne **True** si l'exécution a réussi. Unless in ["forceLogin" mode](../REST/authUsers.md#force-login-mode), the session automatically becomes a Guest session. +La fonction `.clearPrivileges()` supprime tous les privilèges associés à la session et retourne **True** si l'exécution a réussi. Hormis si vous êtes en mode ["forceLogin"](../REST/authUsers.md#force-login-mode), la session devient automatiquement une session Invité. :::note -In "forceLogin" mode, `.clearPrivileges()` does not transform the session to a Guest session, it only clears the session's privileges. +En mode "forceLogin", `.clearPrivileges()` ne transforme pas la session en session Invité, elle efface seulement les privilèges de la session. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/SignalClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/SignalClass.md index 68dbceda05c1a4..cdf12d5bdb8eef 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/SignalClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/SignalClass.md @@ -196,7 +196,7 @@ If the signal is already in the signaled state (i.e. the `.signaled` property is La fonction retourne la valeur de la propriété `.signaled`. - Evaluer cette valeur permet de savoir si la fonction a retourné à cause de l'appel de `.trigger( )` (`.signaled` est **true**) ou si le *timeout* a expiré (`.signaled` est **false**). -- **false** if the timeout expired before the signal was triggered. +- **false** si le délai a expiré avant que le signal ne soit déclenché. :::note Attention diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/SystemWorkerClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/SystemWorkerClass.md index d71e157e9e451c..b2356a13098e9c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/SystemWorkerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/SystemWorkerClass.md @@ -94,7 +94,7 @@ Dans le paramètre *options*, passez un objet qui peut contenir les propriétés | onTerminate | Formula | undefined | Callback lorsque le process externe est terminé. Elle reçoit deux objets en paramètres (voir ci-dessous) | | timeout | Number | undefined | Délai en secondes avant que le process soit tué s'il est toujours actif | | dataType | Text | "text" | Type de contenu du corps de la réponse. Valeurs possibles : "text" (par défaut), "blob". | -| encoding | Text | "UTF-8" | Seulement si `dataType="text"`. Encodage du contenu du corps de la réponse. For the list of available values, see the [`CONVERT FROM TEXT`](../commands-legacy/convert-from-text.md) command description | +| encoding | Text | "UTF-8" | Seulement si `dataType="text"`. Encodage du contenu du corps de la réponse. Pour la liste des valeurs disponibles, voir la description de la commande [`CONVERT FROM TEXT`](../commands-legacy/convert-from-text.md) | | variables | Object | | Définit des variables d'environnement personnalisées pour le system worker. Syntaxe : `variables.key=value`, où `key` est le nom de la variable et `value` sa valeur. Les valeurs sont converties en chaînes de caractères lorsque cela est possible. La valeur ne peut pas contenir un '='. S'il n'est pas défini, le system worker hérite de l'environnement 4D. | | currentDirectory | Folder | | Répertoire de travail dans lequel le process est exécuté | | hideWindow | Boolean | true | (Windows) Masquer la fenêtre de l'application (si possible) ou la console Windows | @@ -112,7 +112,7 @@ Voici la séquence des appels de callbacks : 1. `onData` et `onDataError` sont exécutés une ou plusieurs fois 2. s'il est appelé, `onError` est exécuté une fois (arrête le traitement du system worker) 3. si aucune erreur ne s'est produite, `onResponse` est exécuté une fois -4. `onTerminate` is always executed +4. `onTerminate` est toujours exécuté :::info diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPConnectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPConnectionClass.md index b8d1fb323e395b..a81eaa2bd5c30f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPConnectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPConnectionClass.md @@ -5,42 +5,42 @@ title: TCPConnection La classe `TCPConnection` vous permet de gérer des connexions TCP (Transmission Control Protocol) clientes à un [serveur](./TCPListenerClass.md) pour l'envoi et la réception des données ainsi que la gestion des événements du cycle de vie de la connexion via des rétroappels. -La classe `TCPConnection` est disponible dans le class store `4D`. You can create a TCP connection using the [4D.TCPConnection.new()](#4dtcpconnectionnew) function, which returns a [TCPConnection object](#tcpconnection-object). +La classe `TCPConnection` est disponible dans le class store `4D`. Vous pouvez créer une connexion TCP à l'aide de la fonction [4D.TCPConnection.new()](#4dtcpconnectionnew), qui renvoie un objet [TCPConnection](#tcpconnection-object). -All `TCPConnection` class functions are thread-safe. +Toutes les fonctions de la classe `TCPConnection` sont thread-safe. -Thanks to the standard 4D object *refcounting*, a TCPConnection is automatically released when it is no longer referenced. Consequently, the associated resources, are properly cleaned up without requiring explicit closure. +Grâce au *refcounting* d'objet standard de 4D, une TCPConnection est automatiquement libérée lorsqu'elle n'est plus référencée. Par conséquent, les ressources associées sont correctement refermées sans qu'il soit nécessaire de procéder à une clôture explicite. -TCPConnection objects are released when no more references to them exist in memory. This typically occurs, for example, at the end of a method execution for local variables. If you want to "force" the closure of a connection at any moment, [**nullify** its references by setting them to **Null**](../Concepts/dt_object.md#resources). +Les objets TCPConnection sont libérés lorsqu'il n'existe plus de références à ces objets dans la mémoire. Cela se produit généralement, par exemple, à la fin de l'exécution d'une méthode pour les variables locales. Si vous souhaitez "forcer" la fermeture d'une connexion à tout moment, [**nullifiez** ses références en leur attribuant la valeur **Null**](../Concepts/dt_object.md#resources).
    Historique -| Release | Modifications | -| ------- | ------------------------------------------------ | -| 20 R9 | New `listener`, `address`, and `port` attributes | -| 20 R8 | Classe ajoutée | +| Release | Modifications | +| ------- | -------------------------------------------------- | +| 20 R9 | Nouveaux attributs `listener`, `address` et `port` | +| 20 R8 | Classe ajoutée |
    ### Exemples -The following examples demonstrate how to use the 4D.TCPConnection and 4D.TCPEvent classes to manage a TCP client connection, handle events, send data, and properly close the connection. Both synchronous and asynchronous examples are provided. +Les exemples suivants montrent comment utiliser les classes 4D.TCPConnection et 4D.TCPEvent pour gérer une connexion client TCP, traiter les événements, envoyer des données et fermer correctement la connexion. Des exemples synchrones et asynchrones sont fournis. -#### Synchronous Example +#### Exemple synchrone -This example shows how to establish a connection, send data, and shut it down using a simple object for configuration: +Cet exemple montre comment établir une connexion, envoyer des données et la fermer en utilisant un objet simple pour la configuration : ```4d var $domain : Text := "127.0.0.1" var $port : Integer := 10000 -var $options : Object := New object() // Configuration object +var $options : Object := New object() // objet de configuration var $tcpClient : 4D.TCPConnection var $message : Text := "test message" -// Open a connection +// Ouvrir une connexion $tcpClient := 4D.TCPConnection.new($domain; $port; $options) -// Send data +// Envoyer des données var $blobData : Blob TEXT TO BLOB($message; $blobData; UTF8 text without length) $tcpClient.send($blobData) @@ -51,61 +51,61 @@ $tcpClient.wait(0) ``` -#### Asynchronous Example +#### Exemple asynchrone -This example defines a class that handles the connection lifecycle and events, showcasing how to work asynchronously: +Cet exemple définit une classe qui gère le cycle de vie de la connexion et les événements, et montre comment travailler de manière asynchrone : ```4d -// Class definition: cs.MyAsyncTCPConnection +// classe : cs.MyAsyncTCPConnection -Class constructor($url : Text; $port : Integer) +Class constructor($url : Text ; $port : Integer) This.connection := Null This.url := $url This.port := $port -// Connect to one of the servers launched inside workers +// Se connecter à l'un des serveurs lancés à l'intérieur de workers Function connect() - This.connection := 4D.TCPConnection.new(This.url; This.port; This) + This.connection := 4D.TCPConnection.new(This.url ; This.port ; This) -// Disconnect from the server +// Se déconnecter du serveur Function disconnect() This.connection.shutdown() This.connection := Null -// Send data to the server +// Envoyer des données au serveur Function getInfo() var $blob : Blob - TEXT TO BLOB("Information"; $blob) + TEXT TO BLOB("Information" ; $blob) This.connection.send($blob) -// Callback called when the connection is successfully established -Function onConnection($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelée lorsque la connexion est établie avec succès +Function onConnection($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection established") -// Callback called when the connection is properly closed -Function onShutdown($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelée lorsque la connexion est correctement fermée +Function onShutdown($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection closed") -// Callback called when receiving data from the server -Function onData($connection : 4D.TCPConnection; $event : 4D.TCPEvent) - ALERT(BLOB to text($event.data; UTF8 text without length)) +// Callback appelée lors de la réception de données du serveur +Function onData($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) + ALERT(BLOB to text($event.data ; UTF8 text without length)) - //Warning: There's no guarantee you'll receive all the data you need in a single network packet. + //Attention: Il n'y a aucune garantie que vous recevrez toutes les données dont vous avez besoin dans un seul paquet réseau. -// Callback called when the connection is closed unexpectedly -Function onError($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelée lorsque la connexion est fermée de manière inattendue +Function onError($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection error") -// Callback called after onShutdown/onError just before the TCPConnection object is released -Function onTerminate($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelé après onShutdown/onError juste avant que l'objet TCPConnection ne soit libéré +Function onTerminate($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection terminated") ``` -##### Usage example +##### Exemple d'utilisation -Create a new method named AsyncTCP, to initialize and manage the TCP connection: +Créer une nouvelle méthode nommée AsyncTCP, pour initialiser et gérer la connexion TCP : ```4d var $myObject : cs.MyAsyncTCPConnection @@ -116,18 +116,18 @@ $myObject.disconnect() ``` -Call the AsyncTCP method in a worker: +Appeler la méthode AsyncTCP dans un worker : ```4d CALL WORKER("new process"; "Async_TCP") ``` -### TCPConnection Object +### Objet TCPConnection -A TCPConnection object is a non-sharable object. +Un objet TCPConnection est un objet non partageable. -TCPConnection objects provide the following properties and functions: +Les objets TCPConnection offrent les propriétés et fonctions suivantes : | | | --------------------------------------------------------------------------------------------------------------------- | @@ -151,52 +151,52 @@ TCPConnection objects provide the following properties and functions: | Paramètres | Type | | Description | | ------------- | ------------- | --------------------------- | -------------------------------------------------------------- | -| serverAddress | Text | -> | Domain name or IP address of the server | -| serverPort | Integer | -> | Port number of the server | -| options | Object | -> | Configuration [options](#options-parameter) for the connection | -| Résultat | TCPConnection | <- | New TCPConnection object | +| serverAddress | Text | -> | Nom de domaine ou adresse IP du serveur | +| serverPort | Integer | -> | Numéro de port du serveur | +| options | Object | -> | [options](#options-parameter) de configuration de la connexion | +| Résultat | TCPConnection | <- | Nouvel objet TCPConnection | #### Description -The `4D.TCPConnection.new()` function creates a new TCP connection to the specified *serverAddress* and *serverPort*, using the defined *options*, and returns a `4D.HTTPRequest` object. +La fonction `4D.TCPConnection.new()` crée une nouvelle connexion TCP vers les *serverAddress* et *serverPort* spécifiés, en utilisant les *options* définies, et renvoie un objet `4D.HTTPRequest`. #### Paramètre `options` Dans le paramètre *options*, passez un objet qui peut contenir les propriétés suivantes : -| Propriété | Type | Description | Par défaut | -| ----------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | -| onConnection | Formula | Callback triggered when the connection is established. | Undefined | -| onData | Formula | Callback triggered when data is received | Undefined | -| onShutdown | Formula | Callback triggered when the connection is properly closed | Undefined | -| onError | Formula | Callback triggered in case of an error | Undefined | -| onTerminate | Formula | Callback triggered just before the TCPConnection is released | Undefined | -| noDelay | Boolean | **Read-only** Disables Nagle's algorithm if `true` | False | -| connectionTimeout | Real | Maximum time (in seconds) to establish the connection. If exceeded, the connection attempt is aborted | System-defined, generally ≥ 30 | +| Propriété | Type | Description | Par défaut | +| ----------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | +| onConnection | Formula | Callback déclenchée lorsque la connexion est établie. | Undefined | +| onData | Formula | Callback déclenchée lors de la réception de données | Undefined | +| onShutdown | Formula | Callback déclenchée lorsque la connexion est correctement fermée | Undefined | +| onError | Formula | Callback déclenchée en cas d'erreur | Undefined | +| onTerminate | Formula | Callback déclenchée juste avant que la TCPConnection ne soit libérée | Undefined | +| noDelay | Boolean | **Lecture seulement** Désactive l'algorithme de Nagle si `true` | False | +| connectionTimeout | Real | Temps maximum (en secondes) pour établir la connexion. En cas de dépassement, la tentative de connexion est interrompue | Défini par le système, généralement ≥ 30 | #### Fonctions de callback -All callback functions receive two parameters: +Toutes les fonctions de callback reçoivent deux paramètres : -| Paramètres | Type | Description | -| ----------- | ----------------------------------------------- | ----------------------------------------------------- | -| $connection | [`TCPConnection` object](#tcpconnection-object) | The current TCP connection instance. | -| $event | [`TCPEvent` object](#tcpevent-object) | Contains information about the event. | +| Paramètres | Type | Description | +| ----------- | ---------------------------------------------- | ---------------------------------------------------------- | +| $connection | [objet `TCPConnection`](#tcpconnection-object) | L'instance de connexion TCP courante. | +| $event | [objet `TCPEvent`](#tcpevent-object) | Contient des informations sur l'événement. | -**Sequence of Callback Calls:** +**Séquence des appels de callbacks :** -1. `onConnection` is triggered when the connection is established. -2. `onData` is triggered each time data is received. -3. Either `onShutdown` or `onError` is triggered: - - `onShutdown` is triggered when the connection is properly closed. - - `onError` is triggered if an error occurs. -4. `onTerminate` is always triggered just before the TCPConnection is released (connection is closed or an error occured). +1. `onConnection` est déclenchée lorsque la connexion est établie. +2. `onData` est déclenchée à chaque fois que des données sont reçues. +3. `onShutdown` ou `onError` est déclenchée : + - `onShutdown` est déclenchée lorsque la connexion est correctement fermée. + - `onError` est déclenchée en cas d'erreur. +4. `onTerminate` est toujours déclenchée juste avant que la TCPConnection soit libérée (la connexion est fermée ou une erreur s'est produite). -#### TCPEvent object +#### Objet TCPEvent -A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](#callback-functions) is called. +Un objet [`TCPEvent`](TCPEventClass.md) est renvoyé lorsqu'une [fonction de callback](#callback-functions) est appelée. @@ -208,7 +208,7 @@ A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](# #### Description -The `.address` property contains the IP addess or domain name of the remote machine. +La propriété `.address` contient l'adresse IP ou le nom de domaine de la machine distante. @@ -220,7 +220,7 @@ The `.address` property contains the #### Description -The `.closed` property contains whether the connection is closed. Returns `true` if the connection is closed, either due to an error, a call to `shutdown()`, or closure by the server. +La propriété `.closed` indique si la connexion est fermée. Retourne `true` si la connexion est fermée en raison d'une erreur, d'un appel à `shutdown()`, ou de la fermeture par le serveur. @@ -232,7 +232,7 @@ The `.closed` property contains whethe #### Description -The `.errors` property contains a collection of error objects associated with the connection. Each error object includes the error code, a description, and the signature of the component that caused the error. +La propriété `.errors` contient une collection d'objets erreur associés à la connexion. Chaque objet erreur comprend le code d'erreur, une description et la signature du composant qui a provoqué l'erreur. | Propriété | | Type | Description | | --------- | ----------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------ | @@ -251,7 +251,7 @@ The `.errors` property contains a coll #### Description -The `.listener` property contains the [`TCPListener`](./TCPListenerClass.md) object that created the `TCPConnection`, if any. Cette propriété est en **lecture seule**. +La propriété `.listener` contient l'objet [`TCPListener`](./TCPListenerClass.md) qui a créé la `TCPConnection`, s'il y en a un. Cette propriété est en **lecture seule**. @@ -263,7 +263,7 @@ The `.listener` property contains th #### Description -The `.noDelay` property contains whether Nagle's algorithm is disabled (`true`) or enabled (`false`). Cette propriété est en **lecture seule**. +La propriété `.noDelay` indiquesi l'algorithme de Nagle est désactivé (`true`) ou activé (`false`). Cette propriété est en **lecture seule**. @@ -275,7 +275,7 @@ The `.noDelay` property contains whet #### Description -The `.port` property contains the port number of the remote machine. Cette propriété est en **lecture seule**. +La propriété `.port` contient le numéro de port de la machine distante. Cette propriété est en **lecture seule**. @@ -287,15 +287,15 @@ The `.port` property contains the port n -| Paramètres | Type | | Description | -| ---------- | ---- | -- | --------------- | -| data | Blob | -> | Data to be sent | +| Paramètres | Type | | Description | +| ---------- | ---- | -- | ----------------- | +| data | Blob | -> | Données à envoyer | #### Description -The `send()` function sends data to the server. If the connection is not established yet, the data is sent once the connection is established. +La fonction `send()` envoie les données au serveur. Si la connexion n'est pas encore établie, les données sont envoyées une fois la connexion établie. @@ -315,7 +315,7 @@ The `send()` function sends data to th #### Description -The `shutdown()` function closes the *write* channel of the connection (client to server stream) while keeping the *read* channel (server to client stream) open, allowing you to continue receiving data until the connection is fully closed by the server or an error occurs. +La fonction `shutdown()` ferme le canal *écriture* de la connexion (flux client vers serveur) tout en gardant le canal *lecture* (flux serveur vers client) ouvert, ce qui vous permet de continuer à recevoir des données jusqu'à ce que la connexion soit complètement fermée par le serveur ou qu'une erreur se produise. @@ -335,11 +335,11 @@ The `shutdown()` function closes t #### Description -The `wait()` function waits until the TCP connection is closed or the specified `timeout` is reached +La fonction `wait()` attend que la connexion TCP soit fermée ou que le `timeout` spécifié soit atteint :::note -Pendant une exécution `.wait()`, les fonctions de callback sont exécutées, en particulier les callbacks provenant d'autres événements ou d'autres instances de `SystemWorker`. You can exit from a `.wait()` by calling [`shutdown()`](#shutdown) from a callback. +Pendant une exécution `.wait()`, les fonctions de callback sont exécutées, en particulier les callbacks provenant d'autres événements ou d'autres instances de `SystemWorker`. Vous pouvez sortir d'un `.wait()` en appelant [`shutdown()`](#shutdown) depuis un callback. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPEventClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPEventClass.md index 3c5b98c399fc5d..d13cae13f73eef 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPEventClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPEventClass.md @@ -3,20 +3,20 @@ id: TCPEventClass title: TCPEvent --- -The `TCPEvent` class provides information about events occurring during the lifecycle of a TCP connection. It is generated when a [TCPConnection](TCPConnectionClass.md) is opened and is typically utilized in callbacks such as `onConnection`, `onData`, `onError`, and others. +La classe `TCPEvent` fournit des informations sur les événements survenant au cours du cycle de vie d'une connexion TCP. Un événement est généré lorsqu'une [TCPConnection](TCPConnectionClass.md) est ouverte et est typiquement utilisé dans des callbacks tels que `onConnection`, `onData`, `onError`, et d'autres.
    Historique -| Release | Modifications | -| ------- | ------------------------------- | -| 20 R9 | New `ip`, and `port` attributes | -| 20 R8 | Classe ajoutée | +| Release | Modifications | +| ------- | --------------------------------- | +| 20 R9 | Nouveaux attributs `ip` et `port` | +| 20 R8 | Classe ajoutée |
    -### TCPEvent Object +### Objet TCPEvent -A `TCPEvent` object is immutable and non-streamable. +Un objet `TCPEvent` est immutable et non-streamable. Les propriétés suivantes sont disponibles : @@ -35,11 +35,11 @@ Les propriétés suivantes sont disponibles : #### Description -The `.data` property contains the data associated with the event. It is only valid for events of type `"data"`. +La propriété `.data` contient les données associées à l'événement. Elle n'est valide que pour les événements de type `"data"`. :::note -When working with low-level TCP/IP connections, keep in mind there is no guarantee that all data will arrive in a single packet. Data arrives in order but may be fragmented across multiple packets. +Lorsque vous travaillez avec des connexions TCP/IP de bas niveau, n'oubliez pas qu'il n'y a aucune garantie que toutes les données arrivent en un seul paquet. Les données arrivent dans l'ordre mais peuvent être fragmentées en plusieurs paquets. ::: @@ -53,7 +53,7 @@ When working with low-level TCP/IP connections, keep in mind there is no guarant #### Description -The `.ip` property contains the IP address of the remote machine. +La propriété `.ip` contient l'adresse IP de la machine distante. @@ -65,7 +65,7 @@ The `.ip` property contains the IP address of t #### Description -The `.port` property contains the port number of the remote machine. +La propriété `.port` contient le numéro de port de la machine distante. @@ -77,13 +77,13 @@ The `.port` property contains the port number #### Description -The `.type` property contains the type of the event. Valeurs possibles : +La propriété `.type` contient le type d'événement. Valeurs possibles : -- `"connection"`: Indicates that a TCPConnection was successfully established. -- `"data"`: Indicates that data has been received. -- `"error"`: Indicates that an error occurred during the TCPConnection. -- `"close"`: Indicates that the TCPConnection has been properly closed. -- `"terminate"`: Indicates that the TCPConnection is about to be released. +- `"connection"` : indique qu'une connexion TCP a été établie avec succès. +- `"data"` : indique que des données ont été reçues. +- `"error"`: indique qu'une erreur est survenue pendant la TCPConnection. +- `"close"` : indique que la connexion TCP a été correctement fermée. +- `"terminate"` : indique que la connexion TCP est sur le point d'être libérée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md index 49d7c63cfa8749..57986e87c5e2f8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md @@ -3,11 +3,11 @@ id: TCPListenerClass title: TCPListener --- -The `TCPListener` class allows you to create and configure a TCP server in 4D. Once the TCP listener is instantiated, you can receive client TCP connections and communicate using any protocol supporting TCP. +La classe `TCPListener` vous permet de créer et de configurer un serveur TCP dans 4D. Une fois le listener TCP instancié, vous pouvez recevoir des connexions TCP clientes et communiquer à l'aide de n'importe quel protocole prenant en charge TCP. -The `TCPListener` class is available from the `4D` class store. You can create a TCP server using the [4D.TCPListener.new()](#4dtcplistenernew) function, which returns a [TCPListener object](#tcplistener-object). +La classe `TCPListener` est disponible dans le class store `4D`. Vous pouvez créer un serveur TCP à l'aide de la fonction [4D.TCPListener.new()](#4dtcplistenernew), qui renvoie un [objet TCPListener](#tcplistener-object). -All `TCPListener` class functions are thread-safe. +Toutes les fonctions de la classe `TCPListener` sont thread-safe.
    Historique @@ -31,31 +31,31 @@ Function terminate() This.listener.terminate() -Function onConnection($listener : 4D.TCPListener; $event : 4D.TCPEvent)->$result - //when connected, start a server to handle the communication +Function onConnection($listener : 4D.TCPListener ; $event : 4D.TCPEvent)->$result + //une fois connecté, démarre un serveur pour gérer la communication If($event.address # "192.168.@") - $result:=Null //in some cases you can reject the connection + $result:=Null //dans certains cas, vous pouvez rejeter la connexion Else - $result:=cs.MyAsyncTCPConnection.new(This) //see TCPConnection class + $result:=cs.MyAsyncTCPConnection.new(This) //voir classe TCPConnection End if -Function onError($listener : 4D.TCPListener; $event : 4D.TCPEvent) +Function onError($listener : 4D.TCPListener ; $event : 4D.TCPEvent) -Function onTerminate($listener : 4D.TCPListener; $event : 4D.TCPEvent) +Function onTerminate($listener : 4D.TCPListener ; $event : 4D.TCPEvent) ``` :::note -See [example in TCPConnection class](./TCPConnectionClass.md#asynchronous-example) for a description of the MyAsyncTCPConnection user class. +Voir [l'exemple de la classe TCPConnection](./TCPConnectionClass.md#asynchronous-example) pour une description de la classe utilisateur MyAsyncTCPConnexion. ::: ### TCPListener Object -A TCPListener object is a shared object. +Un objet TCPListener est un objet partagé. -TCPListener objects provide the following properties and functions: +Les objets TCPListener offrent les propriétés et fonctions suivantes : | | | -------------------------------------------------------------------------------------------------------------------- | @@ -67,50 +67,50 @@ TCPListener objects provide the following properties and functions: ## 4D.TCPListener.new() -**4D.TCPListener.new**( *port* : Number ; *options* : Object ) : 4D.TCPListener +**4D.TCPListener.new**( *port* : Number ; *options* : Object ) : 4D.TCPListener -| Paramètres | Type | | Description | -| ---------- | ------------------------------ | --------------------------- | ------------------------------------------------------------ | -| port | Number | -> | TCP port to listen | -| options | Object | -> | Configuration [options](#options-parameter) for the listener | -| Résultat | 4D.TCPListener | <- | New TCPListener object | +| Paramètres | Type | | Description | +| ---------- | ------------------------------ | --------------------------- | ---------------------------------------------------------- | +| port | Number | -> | Port TCP à écouter | +| options | Object | -> | [options](#options-parameter) de configuration du listener | +| Résultat | 4D.TCPListener | <- | Nouvel objet TCPListener | #### Description -The `4D.TCPListener.new()` function creates a new TCP server listening to the specified *port* using the defined *options*, and returns a `4D.TCPListener` object. +La fonction `4D.TCPListener.new()` crée un nouveau serveur TCP écoutant le *port* spécifié en utilisant les *options* définies, et renvoie un objet `4D.TCPListener`. #### Paramètre `options` -In the *options* parameter, pass an object to configure the listener and all the `TCPConnections` it creates: +Dans le paramètre *options*, passez un objet pour configurer le listener et toutes les `TCPConnections` qu'il crée : -| Propriété | Type | Description | Par défaut | -| ------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | -| onConnection | Formula | Callback when a new connection is established. The Formula receives two parameters (*$listener* and *$event*, see below) and must return either null/undefined to prevent the connection or an *option* object that will be used to create the [`TCPConnection`](./TCPConnectionClass.md). | Undefined | -| onError | Formula | Callback triggered in case of an error. The Formula receives the `TCPListener` object in *$listener* | Undefined | -| onTerminate | Formula | Callback triggered just before the TCPListener is closed. The Formula receives the `TCPListener` object in *$listener* | Undefined | +| Propriété | Type | Description | Par défaut | +| ------------ | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | +| onConnection | Formula | Callback appelée lorsqu'une nouvelle connexion est établie. La formule reçoit deux paramètres (*$listener* et *$event*, voir ci-dessous) et doit retourner soit null/undefined pour empêcher la connexion, soit un objet *option* qui sera utilisé pour créer l'objet [`TCPConnection`](./TCPConnectionClass.md). | Undefined | +| onError | Formula | Callback déclenchée en cas d'erreur. La formule reçoit l'objet `TCPListener` dans *$listener* | Undefined | +| onTerminate | Formula | Callback déclenchée juste avant la fermeture du TCPListener. La formule reçoit l'objet `TCPListener` dans *$listener* | Undefined | #### Fonctions de callback -Callback functions receive up to two parameters: +Les fonctions de callback peuvent recevoir jusqu'à deux paramètres : -| Paramètres | Type | Description | -| ---------- | ------------------------------------------- | ----------------------------------------------------- | -| $listener | [`TCPListener` object](#tcplistener-object) | The current TCP listener instance. | -| $event | [`TCPEvent` object](#tcpevent-object) | Contains information about the event. | +| Paramètres | Type | Description | +| ---------- | ------------------------------------------ | ---------------------------------------------------------- | +| $listener | [objet `TCPListener`](#tcplistener-object) | L'instance courante du listener TCP. | +| $event | [objet `TCPEvent`](#tcpevent-object) | Contient des informations sur l'événement. | -**Sequence of Callback Calls:** +**Séquence des appels de callbacks :** -1. `onConnection` is triggered each time a connection is established. -2. `onError` is triggered if an error occurs. -3. `onTerminate` is always triggered just before a connection is terminated. +1. `onConnection` est déclenchée à chaque fois qu'une connexion est établie. +2. `onError` est déclenchée en cas d'erreur. +3. `onTerminate` est toujours déclenchée juste avant qu'une connexion soit terminée. -#### TCPEvent object +#### Objet TCPEvent -A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](#callback-functions) is called. +Un objet [`TCPEvent`](TCPEventClass.md) est renvoyé lorsqu'une [fonction de callback](#callback-functions) est appelée. @@ -122,7 +122,7 @@ A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](# #### Description -The `.errors` property contains a collection of error objects associated with the connection. Each error object includes the error code, a description, and the signature of the component that caused the error. +La propriété `.errors` contient une collection d'objets erreur associés à la connexion. Chaque objet erreur comprend le code d'erreur, une description et la signature du composant qui a provoqué l'erreur. | Propriété | | Type | Description | | --------- | ----------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------ | @@ -141,7 +141,7 @@ The `.errors` property contains a collec #### Description -The `.port` property contains the port number of the machine. Cette propriété est en **lecture seule**. +La propriété `.port` contient le numéro de port de la machine. Cette propriété est en **lecture seule**. @@ -161,7 +161,7 @@ The `.port` property contains the port num #### Description -The `terminate()` function closes the listener and releases the port. +La fonction `terminate()` ferme le listener et libère le port. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/WebServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/WebServerClass.md index 0cb9ff98d348c1..f4447d72e12332 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/WebServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/WebServerClass.md @@ -568,7 +568,7 @@ La fonction `.start()` démarre le s Le serveur Web démarre avec les paramètres par défaut définis dans le fichier de settings du projet ou (base hôte uniquement) à l'aide de la commande `WEB SET OPTION`. Cependant, à l'aide du paramètre *settings*, vous pouvez définir des paramètres personnalisés pour la session du serveur Web. -All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +Tous les paramètres des [objets serveur Web] (../commands/web-server.md-object) peuvent être personnalisés, à l'exception des propriétés en lecture seule ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), et [.sessionCookieName](#sessioncookiename)). Les paramètres de session personnalisés seront réinitialisés lorsque la fonction [`.stop()`](#stop) sera appelée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/WebSocketClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/WebSocketClass.md index 55879d5de8d419..f77d5c3abe1022 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/WebSocketClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/WebSocketClass.md @@ -112,7 +112,7 @@ Voici la séquence des appels de callbacks : 1. `onOpen` est exécuté une fois 2. Zéro ou plusieurs `onMessage` sont exécutés 3. Zéro ou un `onError` est exécuté (stoppe le traitement) -4. `onTerminate` is always executed +4. `onTerminate` est toujours exécuté #### Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/WebSocketServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/WebSocketServerClass.md index ae93e29ca6b8f1..b46af40d967f88 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/WebSocketServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/WebSocketServerClass.md @@ -37,7 +37,7 @@ De plus, vous devrez créer deux classes utilisateurs qui contiendront les fonct - une classe utilisateur pour gérer les connexions serveur, - une classe utilisateur pour gérer les messages. -You must [create the WebSocket server](#4dwebsocketservernew) within a [worker](../Develop/processes.md#worker-processes) to keep the connection alive. +Vous devez [créer le serveur WebSocket](#4dwebsocketservernew) dans un [worker](../Develop/processes.md#worker-processes) pour maintenir la connexion en vie. Le [serveur Web 4D](WebServerClass.md) doit être démarré. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Backup/restore.md b/i18n/fr/docusaurus-plugin-content-docs/current/Backup/restore.md index 6122c5d7047880..f7494e25f55c14 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Backup/restore.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Backup/restore.md @@ -12,7 +12,7 @@ title: Restitution - La perte de fichier(s) de l'application. Cet incident peut être causé par des secteurs défectueux sur le disque contenant l'application, un virus, une erreur de manipulation, etc. Il est nécessaire de restituer la dernière sauvegarde puis d’intégrer éventuellement l’historique courant. Pour savoir si une application a été endommagée à la suite d’un incident, il suffit de la relancer avec 4D. Le programme effectue un auto-diagnostic et précise les opérations de réparation à effectuer. En mode automatique, ces opérations sont effectuées directement, sans intervention de l’utilisateur. Si une stratégie de sauvegarde régulière a été mise en place, les outils de récupération de 4D vous permettront (dans la plupart des cas) de retrouver l'application dans l’état exact où elle se trouvait avant l’incident. -> 4D peut lancer automatiquement des procédures de récupération des applications après incident. Ces mécanismes sont gérés à l’aide de deux options accessibles dans la Page **Sauvegarde/Sauvegarde & et Restitution** de la fenêtre des Propriétés. For more information, refer to the [Automatic Restore](settings.md#automatic-restore-and-log-integration) paragraph.\ +> 4D peut lancer automatiquement des procédures de récupération des applications après incident. Ces mécanismes sont gérés à l’aide de deux options accessibles dans la Page **Sauvegarde/Sauvegarde & et Restitution** de la fenêtre des Propriétés. Pour plus d'informations, reportez-vous au paragraphe [Restitution automatique](settings.md#automatic-restore-and-log-integration).\ > Si l'incident résulte d'une opération inappropriée effectuée sur les données (suppression d'un enregistrement par exemple), vous pouvez tenter de réparer le fichier de données à l'aide de la fonction "rollback" du fichier d'historique. Cette fonction est accessible dans la Page [Retour arrière](MSC/rollback.md) du CSM. ## Restitution manuelle d’une sauvegarde (dialogue standard) @@ -25,7 +25,8 @@ Pour restituer manuellement une application via une boîte de dialogue standard 1. Lancez l’application 4D et choisissez la commande **Restituer...** dans le menu **Fichier**. Il n'est pas obligatoire qu'un projet d'application soit ouvert. - OR Execute the `RESTORE` command from a 4D method. + OU BIEN + Exécutez la commande `RESTORE` depuis une méthode de 4D. Une boîte de dialogue standard d’ouverture de fichiers apparaît. 2. Désignez le fichier de sauvegarde (.4bk) ou le fichier de sauvegarde de l’historique (.4bl) à restituer et cliquez sur **Ouvrir**. Un boîte de dialogue apparaît, vous permettant de désigner l’emplacement auquel vous souhaitez que les fichiers soient restitués . Par défaut, 4D restitue les fichiers dans un dossier nommé *“Nomarchive”* (sans extension) placé à côté de l’archive. Vous pouvez afficher le chemin : diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/classes.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/classes.md index d8ddfc878e3b29..40dcec43591b6b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/classes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/classes.md @@ -509,9 +509,9 @@ Dans le fichier de définition de la classe, les déclarations de propriétés c `Function get` retourne une valeur du type de la propriété et `Function set` prend un paramètre du type de la propriété. Les deux arguments doivent être conformes aux [paramètres de fonction](#parameters) standard. -Lorsque les deux fonctions sont définies, la propriété calculée est en **lecture-écriture**. Si seule une `Function get` est définie, la propriété calculée est en **lecture seule**. Dans ce cas, une erreur est retournée si le code tente de modifier la propriété. Dans ce cas, une erreur est retournée si le code tente de modifier la propriété. +Lorsque les deux fonctions sont définies, la propriété calculée est en **lecture-écriture**. Si seule une `Function get` est définie, la propriété calculée est en **lecture seule**. Dans ce cas, une erreur est retournée si le code tente de modifier la propriété. Si seule une `Function set` est définie, 4D retourne *undefined* lorsque la propriété est lue. -If the functions are declared in a [shared class](#shared-classes), you can use the `shared` keyword with them so that they could be called without [`Use...End use` structure](shared.md#useend-use). Pour plus d'informations, consultez le paragraphe sur les [fonctions partagées](#shared-functions) ci-dessous. +Si les fonctions sont déclarées dans une [classe partagée](#shared-classes), vous pouvez utiliser le mot-clé `shared` avec elles afin qu'elles puissent être appelées sans [structure `Use...End use`](shared.md#useend-use). Pour plus d'informations, consultez le paragraphe sur les [fonctions partagées](#shared-functions) ci-dessous. Le type de la propriété calculée est défini par la déclaration de type `$return` du *getter*. Il peut s'agir de n'importe quel [type de propriété valide](dt_object.md). @@ -606,19 +606,19 @@ Class constructor ($side : Integer) $area:=This.height*This.width ``` -## Class function commands +## Commandes de fonctions de classe -The following commands have specific features when they are used within class functions: +Les commandes suivantes ont des caractéristiques spécifiques lorsqu'elles sont utilisées dans les fonctions de classe : ### `Super` -The [`Super`](../commands/super.md) command allows calls to the [`superclass`](../API/ClassClass#superclass), i.e. the parent class of the function. Il ne peut y avoir qu'une seule fonction constructor dans une classe (sinon une erreur est renvoyée). +La commande [`Super`](../commands/super.md) permet d'appeler la [`superclass`](../API/ClassClass#superclass), c'est-à-dire la classe mère de la fonction. Il ne peut y avoir qu'une seule fonction constructor dans une classe (sinon une erreur est renvoyée). -For more details, see the [`Super`](../commands/super.md) command description. +Pour plus de détails, voir la description de la commande [`Super`](../commands/super.md). ### `This` -The [`This`](../commands/this.md) command returns a reference to the currently processed object. In most cases, the value of `This` is determined by how a class function is called. Usually, `This` refers to the object the function was called on, as if the function were on the object. +La commande [`This`](../commands/this.md) renvoie une référence à l'objet en cours de traitement. Dans la plupart des cas, la valeur de `This` est déterminée par la manière dont une fonction de classe est appelée. Habituellement, `This` fait référence à l'objet sur lequel la fonction a été appelée, comme si la fonction était sur l'objet. Voici un exemple : @@ -629,7 +629,7 @@ Function f() : Integer return This.a+This.b ``` -Then you can write in a method: +Ensuite, vous pouvez écrire dans une méthode : ```4d $o:=cs.ob.new() @@ -638,7 +638,7 @@ $o.b:=3 $val:=$o.f() //8 ``` -For more details, see the [`This`](../commands/this.md) command description. +Pour plus de détails, voir la description de la commande [`This`](../commands/this.md). ## Commandes de classes @@ -713,17 +713,17 @@ Si le mot-clé `shared` est utilisé devant une fonction dans une classe utilisa ## Classes Singleton -Une **classe singleton** est une classe utilisateur qui ne produit qu'une seule instance. For more information on the concept of singletons, please see the [Wikipedia page about singletons](https://en.wikipedia.org/wiki/Singleton_pattern). +Une **classe singleton** est une classe utilisateur qui ne produit qu'une seule instance. Pour plus d’informations sur le concept de singleton, veuillez consulter la [page Wikipédia sur les singletons](https://en.wikipedia.org/wiki/Singleton_pattern). -### Singletons types +### Types de singletons -4D supports three types of singletons: +4D prend en charge trois types de singletons : -- a **process singleton** has a unique instance for the process in which it is instantiated, -- a **shared singleton** has a unique instance for all processes on the machine. -- a **session singleton** is a shared singleton but with a unique instance for all processes in the [session](../API/SessionClass.md). Session singletons are shared within an entire session but vary between sessions. In the context of a client-server or a web application, session singletons make it possible to create and use a different instance for each session, and therefore for each user. +- un **singleton process** a une instance unique pour le process dans lequel il est instancié, +- un **singleton partagé** a une instance unique pour tous les process sur la machine. +- une **singleton session** est un singleton partagé, mais avec une instance unique pour tous les process de la [session](../API/SessionClass.md). Les singletons de session sont partagés au sein d'une session entière mais varient d'une session à l'autre. Dans le contexte d'un client-serveur ou d'une application web, les singletons de session permettent de créer et d'utiliser une instance différente pour chaque session, et donc pour chaque utilisateur. -Singletons are useful to define values that need to be available from anywhere in an application, a session, or a process. +Les singletons sont utiles pour définir des valeurs qui doivent être disponibles partout dans une application, une session ou un process. :::info @@ -731,28 +731,28 @@ Les classes Singleton ne sont pas prises en charge par [les classes ORDA](../ORD ::: -The following table indicates the scope of a singleton instance depending on where it was created: +Le tableau suivant indique la portée d'une instance de singleton en fonction de l'endroit où elle a été créée : -| Singleton créé sur | Scope of process singleton | Scope of shared singleton | Scope of session singleton | -| ----------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------- | --------------------------------------------------------------------- | -| **4D mono-utilisateur** | Process | Application | Application or Web/REST session | -| **4D Server** | Process | Machine 4D Server | Client/server session or Web/REST session or Stored procedure session | -| **4D mode distant** | Process (*note*: les singletons ne sont pas synchronisés sur les process jumeaux) | Machine 4D distant | 4D remote machine or Web/REST session | +| Singleton créé sur | Portée d'un singleton process | Portée d'un singleton partagé | Portée d'un singleton session | +| ----------------------- | -------------------------------------------------------------------------------------------------------------------- | ----------------------------- | -------------------------------------------------------------------------- | +| **4D mono-utilisateur** | Process | Application | Application ou session Web/REST | +| **4D Server** | Process | Machine 4D Server | Session client/serveur ou session Web/REST ou session de procédure stockée | +| **4D mode distant** | Process (*note*: les singletons ne sont pas synchronisés sur les process jumeaux) | Machine 4D distant | Machine distante 4D ou session Web/REST | Une fois instanciée, une classe singleton (et son singleton) existe aussi longtemps qu'une référence à cette classe existe quelque part dans l'application sur le poste. -### Creating and using singletons +### Création et utilisation de singletons -You declare singleton classes by adding appropriate keyword(s) before the [`Class constructor`](#class-constructor): +Vous déclarez des classes singleton en ajoutant le(s) mot(s) clé(s) approprié(s) devant le [`Class constructor`](#class-constructor) : -- To declare a (process) singleton class, write `singleton Class Constructor()`. -- To declare a shared singleton class, write `shared singleton Class constructor()`. -- To declare a session singleton class, write `session singleton Class constructor()`. +- Pour déclarer une classe singleton process, écrivez `singleton Class Constructor()`. +- Pour déclarer une classe singleton partagée, écrivez `shared singleton Class constructor()`. +- Pour déclarer une classe singleton de session, écrivez `session singleton Class constructor()`. :::note -- Session singletons are automatically shared singletons (there's no need to use the `shared` keyword in the class constructor). -- Singleton shared functions support [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). +- Les singletons de session sont automatiquement des singletons partagés (il n'est pas nécessaire d'utiliser le mot-clé `shared` dans le constructeur de la classe). +- Les fonctions de singletons partagés prennent en charge le mot-clé [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). ::: @@ -760,13 +760,13 @@ Le singleton de la classe est instancié lors du premier appel de la propriété Si vous avez besoin d'instancier un singleton avec des paramètres, vous pouvez également appeler la fonction [`new()`](../API/ClassClass.md#new). Dans ce cas, il est recommandé d'instancier le singleton dans du code exécuté au démarrage de l'application. -La propriété [`.isSingleton`](../API/ClassClass.md#issingleton) des objets Class permet de savoir si la classe est un singleton. +La propriété [`.isSingleton`](../API/ClassClass.md#issingleton) des objets de classe permet de savoir si la classe est un singleton. -The [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton) property of Class objects allows to know if the class is a session singleton. +La propriété [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton) des objets de classe permet de savoir si la classe est un singleton de session. ### Exemples -#### Process singleton +#### Singleton process ```4d //class: ProcessTag @@ -795,7 +795,7 @@ var $myOtherSingleton := cs.ProcessTag.me //$myOtherSingleton.tag = 14856 ``` -#### Shared singleton +#### Singleton partagé ```4d //Class VehicleFactory @@ -830,9 +830,9 @@ $vehicle:=cs.VehicleFactory.me.buildVehicle("truck") Étant donné que la fonction *buildVehicle()* modifie le singleton **cs.VehicleFactory** (en incrémentant `This.vehicleBuilt`), vous devez ajouter le mot-clé `shared` à celle-ci. -#### Session singleton +#### Singleton session -In an inventory application, you want to implement an item inventory using session singletons. +Dans une application d'inventaire, vous souhaitez mettre en œuvre un inventaire d'articles à l'aide de singletons de session. ```4d //class ItemInventory @@ -845,15 +845,15 @@ shared function addItem($item:object) This.itemList.push($item) ``` -By defining the ItemInventory class as a session singleton, you make sure that every session and therefore every user has their own inventory. Accessing the user's inventory is as simple as: +En définissant la classe ItemInventory comme un singleton de session, vous vous assurez que chaque session, et donc chaque utilisateur, dispose de son propre inventaire. Pour accéder à l'inventaire de l'utilisateur, rien de plus simple : ```4d -//in a user session +//dans une session utilisateur $myList := cs.ItemInventory.me.itemList -//current user's item list +//liste d'objets de l'utilisateur courant ``` #### Voir également -[Singletons in 4D](https://blog.4d.com/singletons-in-4d) (blog post)
    [Session Singletons](https://blog.4d.com/introducing-session-singletons) (blog post). +[Singletons dans 4D](https://blog.4d.com/singletons-in-4d) (blog post)
    [Session Singletons](https://blog.4d.com/introducing-session-singletons) (blog post). diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/components.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/components.md index edd49a53d38257..7db6e099377e5b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/components.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/components.md @@ -9,7 +9,7 @@ Un composant 4D est un ensemble de code et de formulaires 4D représentant une o Plusieurs composants sont [préinstallés dans l'environnement de développement 4D](Extensions/overview.md), mais de nombreux composants 4D de la communauté 4D sont disponibles sur GitHub. De plus, vous pouvez développer vos propres composants 4D. -Installation and loading of components in your 4D projects are handled through the [4D dependency manager](../Project/components.md). +L'installation et le chargement des composants dans vos projets 4D sont gérés par le [Gestionnaire de dépendances de 4D](../Project/components.md). ## Utilisation des composants diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/data-types.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/data-types.md index a6c812a91dc71f..17b4e6b8b865b0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/data-types.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/data-types.md @@ -7,7 +7,7 @@ Dans 4D, les données sont gérées selon leur type à deux endroits : dans les Bien qu'ils soient généralement équivalents, certains types de données de la base ne sont pas disponibles dans le langage et sont automatiquement convertis. A l'inverse, certains types de données sont gérés uniquement par le langage. Le tableau suivant liste tous les types de données disponibles, leur prise en charge et leur déclaration : -| Types de données | Pris en charge par la base(1) | Pris en charge par le langage | [`var` declaration](variables.md) | [Déclaration `ARRAY`](arrays.md) | +| Types de données | Pris en charge par la base(1) | Pris en charge par le langage | [Déclaration `var`](variables.md) | [Déclaration `ARRAY`](arrays.md) | | ------------------------------------------------------- | ------------------------------------------------ | ----------------------------- | --------------------------------- | -------------------------------- | | [Alphanumérique](dt_string.md) | Oui | Converti en texte | - | - | | [Text](Concepts/dt_string.md) | Oui | Oui | `Text` | `ARRAY TEXT` | @@ -33,10 +33,10 @@ Bien qu'ils soient généralement équivalents, certains types de données de la ## Commandes -You can always know the type of a field or variable using the following commands: +Vous pouvez à tout moment connaître le type d'un champ ou d'une variable en utilisant les commandes suivantes : -- [`Type`](../commands-legacy/type.md) for fields and scalar variables -- [`Value type`](../commands-legacy/value-type.md) for expressions +- [`Type`](../commands-legacy/type.md) pour les champs et les variables scalaires +- [`Value type`](../commands-legacy/value-type.md) pour les expressions ## Valeurs par défaut @@ -72,9 +72,9 @@ Le tableau ci-dessous liste les types de données pouvant être convertis, le ty | Types à convertir | en Chaîne | en Numérique | en Date | en Heure | en Booléen | | -------------------------------- | --------- | ------------ | ------- | -------- | ---------- | | Chaîne (1) | | `Num` | `Date` | `Time` | `Bool` | -| Numérique (2) | `Chaîne` | | | | `Bool` | -| Date | `Chaîne` | | | | `Bool` | -| Time | `Chaîne` | | | | `Bool` | +| Numérique (2) | `String` | | | | `Bool` | +| Date | `String` | | | | `Bool` | +| Time | `String` | | | | `Bool` | | Boolean | | `Num` | | | | (1) Les chaînes formatées en JSON peuvent être converties en données scalaires, objets ou collections à l'aide de la commande `JSON Parse`. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_boolean.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_boolean.md index 0c7667661eb06c..fbade769f7e8ae 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_boolean.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_boolean.md @@ -36,7 +36,7 @@ monBooléen:=(monBouton=1) | AND | Booléen & Booléen | Boolean | ("A" = "A") & (15 # 3) | True | | | | | ("A" = "B") & (15 # 3) | False | | | | | ("A" = "B") & (15 = 3) | False | -| OR | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | +| OU | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | | | | | ("A" = "B") | (15 # 3) | True | | | | | ("A" = "B") | (15 = 3) | False | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_null_undefined.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_null_undefined.md index ca6dd299d4bc29..5d4800df86054d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_null_undefined.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_null_undefined.md @@ -25,7 +25,7 @@ Un champ ne peut pas être indéfini (la commande `Undefined` retourne toujours En règle générale, lorsque le code tente de lire ou d'assigner des expressions indéfinies, 4D générera des erreurs, excepté dans les cas suivants : -- Assigning an undefined value to variables (except arrays) has the same effect as calling [`CLEAR VARIABLE`](../commands-legacy/clear-variable.md) with them: +- Affecter une valeur indéfinie aux variables (à l'exception des tableaux) a le même effet que d'appeler [`CLEAR VARIABLE`](../commands-legacy/clear-variable.md) avec elles : ```4d var $o : Object @@ -132,7 +132,7 @@ Les comparaisons avec les opérateurs Supérieur à (`>`), Inférieur à (`<`), :::info -Comparisons of Undefined values with Pointer, Picture, Boolean, Blob, Object, Collection, Undefined or Null values using Greater than (`>`), Less than (`<`), Greater than or equal to (`>=`), and Less than or equal to (`<=`) operators are not supported and return an error. +Les comparaisons des valeurs Undefined avec des valeurs Pointer, Picture, Boolean, Blob, Object, Collection, Undefined ou Null en utilisant les opérateurs Supérieur à (`>`), Inférieur à (`<`), Supérieur ou égal à (`>=`), et Inférieur ou égal à (`<=`) ne sont pas prises en charge et renvoient une erreur. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_number.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_number.md index 4f9b14ceeef70b..44835ec8294c1d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_number.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/dt_number.md @@ -1,25 +1,25 @@ --- id: number -title: Number (Real, Integer) +title: Numérique (Real, Integer) --- Numérique est un terme générique utilisé pour : - Les champs, variables ou expression de type Réel. Les nombres de type Réel sont compris dans l'intervalle ±1.7e±308 (13 chiffres significatifs). -- Integer variable or expression. The range for the Integer data type is -2^31..(2^31)-1 (4-byte Integer, aka *Long* or *Longint*). +- Les champs, variables ou expression de type Entier (Integer). La plage pour le type de données Integer est -2^31..(2^31)-1 (Integer de 4 octets, alias *Long* ou *Longint*). :::info Compatibilité -Usually when working with Integers, you handle *Long* values (4-byte Integer). However, there are two cases where Integers are stored as *Shorts* values (2-byte Integer), i.e. in the range -32,768..32,767 (2^15..(2^15)-1): +Habituellement, lorsque vous travaillez avec des Integers, vous manipulez des valeurs *Long* (nombres entiers de 4 octets). Toutefois, dans deux cas, les nombres entiers sont stockés sous forme de valeurs *Shorts* (nombres entiers de 2 octets), c'est-à-dire dans l'intervalle -32 768..32 767 (2^15..(2^15)-1) : -- Database fields with `Integer` type, -- Elements of arrays declared with [`ARRAY INTEGER`](../commands-legacy/array-integer.md). +- Champs de la base de données de type `Integer`, +- Éléments des tableaux déclarés avec [`ARRAY INTEGER`](../commands-legacy/array-integer.md). -These legacy data types are automatically converted in *Longs* when used in the 4D Language. +Ces types de données anciens sont automatiquement convertis en *longs* lorsqu'ils sont utilisés dans le langage 4D. ::: -Vous pouvez assigner tout nombre d'un type numérique à un nombre d'un autre type numérique, 4D effectue automatiquement la conversion, en tronquant ou en arrondissant les valeurs si nécessaire. Notez cependant que lorsqu'une valeur est située en-dehors de l'intervalle du type de destination, 4D ne pourra la convertir. You can mix number data types in expressions. +Vous pouvez assigner tout nombre d'un type numérique à un nombre d'un autre type numérique, 4D effectue automatiquement la conversion, en tronquant ou en arrondissant les valeurs si nécessaire. Notez cependant que lorsqu'une valeur est située en-dehors de l'intervalle du type de destination, 4D ne pourra la convertir. Vous pouvez mélanger les types de données numériques dans les expressions. ## Constantes littérales numériques @@ -62,7 +62,7 @@ Les nombres négatifs s’écrivent précédés du signe moins (-). Par exemple | | | | 11 < 10 | False | | Supérieur ou égal à | Nombre >= Nombre | Boolean | 11 >= 10 | True | | | | | 10 >= 11 | False | -| Inférieur ou égal à | Number <= Number | Boolean | 10 <= 11 | True | +| Inférieur ou égal à | Nombre <= Nombre | Boolean | 10 <= 11 | True | | | | | 11 <= 10 | False | ### Modulo @@ -75,7 +75,7 @@ L'opérateur modulo % divise le premier nombre par le second et retourne le rest :::warning -L'opérateur modulo % retourne des valeurs significatives avec des nombres appartenant à la catégorie des entiers longs (de –2^31 à +2^31 moins 1). To calculate the modulo with numbers outside of this range, use the [`Mod`](../commands-legacy/mod.md) command. +L'opérateur modulo % retourne des valeurs significatives avec des nombres appartenant à la catégorie des entiers longs (de –2^31 à +2^31 moins 1). Pour calculer le modulo avec des nombres en dehors de cette plage, utilisez la commande [`Mod`](../commands-legacy/mod.md). ::: @@ -85,11 +85,11 @@ L'opérateur division entière \ retourne des valeurs significatives avec des no ### Comparaison des réels -To compare two reals for equality, the 4D language actually compares the absolute value of the difference with *epsilon*. See the [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md) command. +Pour comparer l'égalité de deux réels, le langage 4D compare en fait la valeur absolue de la différence avec *epsilon*. Voir la commande [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md). :::note -For consistency, the 4D database engine always compares database fields of the real type using a 10^-6 value for *epsilon* and does not take the [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md) setting into account. +Par souci de cohérence, le moteur de base de données 4D compare toujours les champs de base de données de type réel en utilisant une valeur de 10^-6 pour *epsilon* et ne tient pas compte du paramètre [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md). ::: @@ -115,15 +115,15 @@ Des parenthèses peuvent être incluses dans d'autres parenthèses. Assurez-vous ## Opérateurs sur les bits -The bitwise operators operates on (Long) Integers expressions or values. +Les opérateurs bit à bit opèrent sur des expressions ou des valeurs d'Integers (longs). -> If you pass a (Short) Integer or a Real value to a bitwise operator, 4D evaluates the value as a Long value before calculating the expression that uses the bitwise operator. +> Si vous passez un entier (Short) ou une valeur réelle à un opérateur bit à bit, 4D évalue la valeur comme une valeur longue avant de calculer l'expression qui utilise l'opérateur bit à bit. -While using the bitwise operators, you must think about a Long value as an array of 32 bits. Les bits sont numérotés de 0 à 31, de droite à gauche. +Lors de l'utilisation des opérateurs bit à bit, vous devez considérer une valeur Long comme un tableau de 32 bits. Les bits sont numérotés de 0 à 31, de droite à gauche. -Comme un bit peut valoir 0 (zéro) ou 1, vous pouvez également considérer une valeur de type Entier long comme une expression dans laquelle vous pouvez stocker 32 valeurs de type Booléen. A bit equal to 1 means **True** and a bit equal to 0 means **False**. +Comme un bit peut valoir 0 (zéro) ou 1, vous pouvez également considérer une valeur de type Entier long comme une expression dans laquelle vous pouvez stocker 32 valeurs de type Booléen. Un bit égal à 1 signifie **Vrai** et un bit égal à 0 signifie **Faux**. -An expression that uses a bitwise operator returns a Long value, except for the Bit Test operator, where the expression returns a Boolean value. Le tableau suivant fournit la liste des opérateurs sur les bits et leur syntaxe : +Une expression qui utilise un opérateur bit à bit renvoie une valeur de type Long, à l'exception de l'opérateur Bit Test, pour lequel l'expression renvoie une valeur booléenne. Le tableau suivant fournit la liste des opérateurs sur les bits et leur syntaxe : | Opération | Opérateur | Syntaxe | Retourne | | -------------------------------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------ | @@ -138,21 +138,21 @@ An expression that uses a bitwise operator returns a Long value, except for the #### Notes -1. For the `Left Bit Shift` and `Right Bit Shift` operations, the second operand indicates the number of positions by which the bits of the first operand will be shifted in the resulting value. Par conséquent, ce second opérande doit être compris entre 0 et 31. Notez qu'un décalage de 0 retourne une valeur inchangée et qu'un décalage de plus de 31 bits retourne 0x00000000 car tous les bits sont perdus. Si vous passez une autre valeur en tant que second opérande, le résultat sera non significatif. -2. For the `Bit Set`, `Bit Clear` and `Bit Test` operations , the second operand indicates the number of the bit on which to act. Par conséquent, ce second opérande doit être compris entre 0 et 31, sinon le résultat de l'expression sera non significatif. +1. Pour les opérations "Décaler bits à gauche" et "Décaler bits à droite", le second opérande indique le nombre de positions par lesquelles les bits du premier opérande seront décalés dans la valeur résultante. Par conséquent, ce second opérande doit être compris entre 0 et 31. Notez qu'un décalage de 0 retourne une valeur inchangée et qu'un décalage de plus de 31 bits retourne 0x00000000 car tous les bits sont perdus. Si vous passez une autre valeur en tant que second opérande, le résultat sera non significatif. +2. Pour les opérations `Mettre bit à 1`, `Mettre bit à 0` et `Tester bit`, le second opérande indique le numéro du bit sur lequel agir. Par conséquent, ce second opérande doit être compris entre 0 et 31, sinon le résultat de l'expression sera non significatif. Le tableau suivant dresse la liste des opérateurs sur les bits et de leurs effets : -| Opération | Description | -| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ET | Chaque bit résultant est le ET logique des bits dans les deux opérandes. Chaque bit résultant est le ET logique des bits dans les deux opérandes. | -| OU (inclusif) | Each resulting bit is the logical OR of the bits in the two operands.Here is the logical OR table:
  • 1 | 1 --> 1
  • 0 | 1 --> 1
  • 1 | 0 --> 1
  • 0 | 0 --> 0
  • In other words, the resulting bit is 1 if at least one of the two operand bits is 1; otherwise the resulting bit is 0. | -| OU (exclusif) | Each resulting bit is the logical XOR of the bits in the two operands.Here is the logical XOR table:
  • 1 ^ | 1 --> 0
  • 0 ^ | 1 --> 1
  • 1 ^ | 0 --> 1
  • 0 ^ | 0 --> 0
  • In other words, the resulting bit is 1 if only one of the two operand bits is 1; otherwise the resulting bit is 0. | -| Décaler bits à gauche | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la gauche du nombre de positions indiqué par le deuxième opérande. Les bits auparavant situés à gauche sont perdus et les nouveaux bits situés à droite ont la valeur 0. **Note:** Taking into account only positive values, shifting to the left by N bits is the same as multiplying by 2^N. | -| Décaler bits à droite | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la droite du nombre de positions indiqué par le deuxième opérande. The bits on the right are lost and the new bits on the left are set to 0.**Note:** Taking into account only positive values, shifting to the right by N bits is the same as dividing by 2^N. | -| Mettre bit à 1 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | -| Mettre bit à 0 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | -| Tester bit | Retourne Vrai si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 1. Retourne Faux si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 0. | +| Opération | Description | +| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ET | Chaque bit résultant est le ET logique des bits dans les deux opérandes. Voici la table logique ET :
  • 1 & 1 --> 1
  • 0 & 1 --> 0
  • 1 & 0 --> 0
  • 0 & 0 --> 0
  • En d'autres termes, le bit résultant est 1 si les deux bits de l'opérande sont 1 ; sinon, le bit résultant est 0. | +| OU (inclusif) | Chaque bit résultant est le OU logique des bits des deux opérandes. Voici la table du OU logique :
  • 1 | 1 --> 1
  • 0 | 1 --> 1
  • 1 | 0 --> 1
  • 0 | 0 --> 0
  • En d'autres termes, le bit résultant est 1 si au moins un des deux bits de l'opérande est 1 ; sinon, le bit résultant est 0. | +| OU (exclusif) | Chaque bit résultant est le XOR logique des bits des deux opérandes. Voici la table du XOR logique :
  • 1 ^ | 1 --> 0
  • 0 ^ | 1 --> 1
  • 1 ^ | 0 --> 1
  • 0 ^ | 0 --> 0
  • En d'autres termes, le bit résultant est 1 si uniquement un des deux bits de l'opérande est 1 ; sinon, le bit résultant est 0. | +| Décaler bits à gauche | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la gauche du nombre de positions indiqué par le deuxième opérande. Les bits auparavant situés à gauche sont perdus et les nouveaux bits situés à droite ont la valeur 0. **Note :** Si l'on ne tient compte que des valeurs positives, un décalage vers la gauche de N bits équivaut à une multiplication par 2^N. | +| Décaler bits à droite | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la droite du nombre de positions indiqué par le deuxième opérande. Les bits de droite sont perdus et les nouveaux bits de gauche sont mis à 0. **Note :** Si l'on ne tient compte que des valeurs positives, le décalage vers la droite de N bits revient à diviser par 2^N. | +| Mettre bit à 1 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | +| Mettre bit à 0 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | +| Tester bit | Retourne Vrai si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 1. Retourne Faux si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 0. | ### Exemples diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/error-handling.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/error-handling.md index 33c7f5b700e2e3..295870fdb3d15f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/error-handling.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/error-handling.md @@ -25,7 +25,7 @@ Il est fortement recommandé d'installer une méthode globale de gestion des err De nombreuses fonctions des classes 4D, telles que `entity.save()` ou `transporter.send()`, retournent un objet *status*. Cet objet permet de stocker les erreurs "prévisibles" dans le contexte d'exécution, telles qu'un mot de passe invalide, une entité verrouillée, etc., qui ne stoppe pas l'exécution du programme. Cette catégorie d'erreurs peut être gérée par du code habituel. -D'autres erreurs "imprévisibles" peuvent inclure une erreur en écriture sur le disque, une panne de réseau ou toute interruption inattendue. Cette catégorie d'erreurs génère des exceptions et doit être gérée par une méthode de gestion des erreurs ou un mot-clé `Try()`. +D'autres erreurs "imprévisibles" peuvent inclure une erreur en écriture sur le disque, une panne de réseau ou toute interruption inattendue. This category of errors generates exceptions defined by [a *code*, a *message* and a *signature*](#error-codes) and needs to be handled through an error-handling method or a `Try()` keyword. ## Installer une méthode de gestion des erreurs @@ -33,7 +33,7 @@ Dans 4D, toutes les erreurs peuvent être détectées et traitées par des méth Une fois installés, les gestionnaires d'erreurs sont automatiquement appelés en mode interprété ou compilé en cas d'erreur dans l'application 4D ou l'un de ses composants. Un gestionnaire d'erreur différent peut être appelé en fonction du contexte d'exécution (voir ci-dessous). -To *install* an error-handling project method, you just need to call the [`ON ERR CALL`](../commands-legacy/on-err-call.md) command with the project method name and (optionnally) scope as parameters. Par exemple : +Pour *installer* une méthode de gestion des erreurs, il suffit d'appeler la commande [`ON ERR CALL`](../commands-legacy/on-err-call.md) avec le nom de la méthode projet et (optionnellement) le champ d'application en paramètres. Par exemple : ```4d ON ERR CALL("IO_Errors";ek local) //Installe une méthode locale de gestion des erreurs @@ -97,8 +97,8 @@ Dans une méthode de gestion d'erreur personnalisée, vous avez accès à plusie 4D gère automatiquement un certain nombre de variables appelées [**variables système**](variables.md#system-variables), répondant à différents besoins. ::: -- la commande [`Last errors`](../commands-legacy/last-errors.md) qui renvoie sous forme de collection la pile courante d'erreurs survenues dans l'application 4D. -- the `Call chain` command that returns a collection of objects describing each step of the method call chain within the current process. +- the [`Last errors`](../commands/last-errors.md) command that returns a collection of the current stack of errors that occurred in the 4D application. +- la commande `Call chain` qui renvoie une collection d'objets décrivant chaque étape de la chaîne d'appel de méthode dans le process en cours. #### Exemple @@ -153,7 +153,7 @@ Try (expression) : any | Undefined Si une erreur s'est produite pendant son exécution, elle est interceptée et aucune fenêtre d'erreur n'est affichée, qu'une [méthode de gestion des erreurs](#installer-une-methode-de-gestion-des-erreurs) ait été installée ou non avant l'appel à `Try()`. Si *expression* retourne une valeur, `Try()` retourne la dernière valeur évaluée, sinon elle retourne `Undefined`. -You can handle the error(s) using the [`Last errors`](../commands-legacy/last-errors.md) command. Si *expression* génère une erreur dans une pile d'appels `Try()`, le flux d'exécution s'arrête et retourne au dernier `Try()` exécuté (le premier trouvé en remontant dans la pile d'appels). +You can handle the error(s) using the [`Last errors`](../commands/last-errors.md) command. Si *expression* génère une erreur dans une pile d'appels `Try()`, le flux d'exécution s'arrête et retourne au dernier `Try()` exécuté (le premier trouvé en remontant dans la pile d'appels). :::note @@ -244,7 +244,7 @@ For more information on *deferred* and *non-deferred* errors, please refer to th ::: -Dans le bloc de code `Catch`, vous pouvez gérer la ou les erreur(s) en utilisant les commandes de gestion des erreurs standard. The [`Last errors`](../commands-legacy/last-errors.md) function contains the last errors collection. Vous pouvez [déclarer une méthode de gestion des erreurs](#installer-une-methode-de-gestion-des-erreurs) dans ce bloc de code, auquel cas elle est appelée en cas d'erreur (sinon la boîte de dialogue d'erreur 4D est affichée). +Dans le bloc de code `Catch`, vous pouvez gérer la ou les erreur(s) en utilisant les commandes de gestion des erreurs standard. The [`Last errors`](../commands/last-errors.md) function contains the last errors collection. Vous pouvez [déclarer une méthode de gestion des erreurs](#installer-une-methode-de-gestion-des-erreurs) dans ce bloc de code, auquel cas elle est appelée en cas d'erreur (sinon la boîte de dialogue d'erreur 4D est affichée). :::note @@ -284,3 +284,15 @@ Function createInvoice($customer : cs.customerEntity; $items : Collection; $invo return $newInvoice ``` + +## Error codes + +Exceptions that interrupt code execution are returned by 4D but can have different origins such as the OS, a device, the 4D kernel, a [`throw`](../commands-legacy/throw.md) in your code, etc. An error is therefore defined by three elements: + +- a **component signature**, which is the origin of the error (see [`Last errors`](../commands/last-errors.md) to have a list of signatures) +- a **message**, which explains why the error occurred +- a **code**, which is an arbitrary number returned by the component + +The [4D error dialog box](../Debugging/basics.md) displays the code and the message to the user. + +To have a full description of an error and especially its origin, you need to call the [`Last errors`](../commands/last-errors.md) command. When you intercept and handle errors using an [error-handling method](#installing-an-error-handling-method) in your final applications, use [`Last errors`](../commands/last-errors.md) and make sure you log all properties of the *error* object since error codes depend on the components. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/methods.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/methods.md index 8e3099b0a1e9e6..5caa0eb03da3d8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/methods.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/methods.md @@ -1,6 +1,6 @@ --- id: methods -title: Methods +title: Méthodes --- Une méthode est essentiellement un morceau de code qui exécute une ou plusieurs action(s). Une méthode est composée d'instructions. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md index b10cefe3ed9763..2251a72ff5479f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md @@ -54,7 +54,7 @@ Même si cela est généralement déconseillé, vous pouvez créer des variables MyOtherDate:=Current date+30 ``` -La ligne de code se lit "MyOtherDate obtient la date actuelle plus 30 jours." Cette ligne crée la variable, lui attribue à la fois le type de date (temporaire) et un contenu. Une variable créée par affectation est interprétée comme étant sans type, c'est-à-dire qu'elle peut être affectée à d'autres types dans d'autres lignes et changer de type dynamiquement. This flexibility does not apply to variables declared with the `var` keyword (their type cannot change) and in [compiled mode](interpreted.md) where the type can never be changed, regardless of how the variable was created. +La ligne de code se lit "MyOtherDate obtient la date actuelle plus 30 jours." Cette ligne crée la variable, lui attribue à la fois le type de date (temporaire) et un contenu. Une variable créée par affectation est interprétée comme étant sans type, c'est-à-dire qu'elle peut être affectée à d'autres types dans d'autres lignes et changer de type dynamiquement. Cette flexibilité ne s'applique pas aux variables déclarées avec le mot-clé `var` (leur type ne peut pas changer) et en [mode compilé](interpreted.md) où le type ne peut jamais être changé, quelle que soit la façon dont la variable a été créée. ## Commandes @@ -96,12 +96,12 @@ objectRef:=SVG_New_arc(svgRef;100;100;90;90;180) 4D propose un large ensemble de constantes prédéfinies, dont les valeurs sont accessibles par un nom. Elles permettent d'écrire un code plus lisible. Par exemple, `XML DATA` est une constante (valeur 6). ```4d -vRef:=Open document("PassFile";"TEXTE";Read Mode) // ouvrir le doc en mode lecture seule +vRef:=Open document("PassFile";"TEXT";Read Mode) // ouvre le document en lecture seule ``` > Les constantes prédéfinies apparaissent soulignées par défaut dans l'éditeur de code 4D. -## Methods +## Méthodes 4D propose un grand nombre de méthodes (ou de commandes) intégrées, mais vous permet également de créer vos propres **méthodes de projet**. Les méthodes de projet sont des méthodes définies par l'utilisateur qui contiennent des commandes, des opérateurs et d'autres parties du langage. Les méthodes projet sont des méthodes génériques, mais il existe d'autres types de méthodes : les méthodes objet, les méthodes formulaire, les méthodes table (Triggers) et les méthodes base. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/building.md b/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/building.md index 5ae61502974eb2..a76351acc1b342 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/building.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/building.md @@ -20,8 +20,8 @@ Le générateur d'applications vous permet de : Générer un package de projet peut être réalisé à l'aide de : -- either the [`BUILD APPLICATION`](../commands-legacy/build-application.md) command, -- or the [Build Application dialog](#build-application-dialog). +- soit la commande [`BUILD APPLICATION`](../commands-legacy/build-application.md), +- soit la [boîte de dialogue Générer application](#build-application-dialog). :::tip @@ -45,7 +45,7 @@ La génération ne peut s'effectuer qu'une fois le projet compilé. Si vous sél Chaque paramètre du générateur d'application est sauvegardé en tant que clé XML dans le fichier XML du projet d'application nommé `buildApp.4DSettings`, situé dans le [dossier `Settings` du projet](../Project/architecture.md#settings-user). -Des paramètres par défaut sont utilisés lors de la première utilisation de la boîte de dialogue du Générateur d'application. Le contenu du fichier est mis à jour, si nécessaire, lorsque vous cliquez sur **Construire** ou **Enregistrer les paramètres**. You can define several other XML settings file for the same project and employ them using the [`BUILD APPLICATION`](../commands-legacy/build-application.md) command. +Des paramètres par défaut sont utilisés lors de la première utilisation de la boîte de dialogue du Générateur d'application. Le contenu du fichier est mis à jour, si nécessaire, lorsque vous cliquez sur **Construire** ou **Enregistrer les paramètres**. Vous pouvez définir plusieurs autres fichiers de paramètres XML pour le même projet et les passer à la commande [`BUILD APPLICATION`](../commands-legacy/build-application.md). Les clés XML fournissent des options supplémentaires à celles affichées dans la boîte de dialogue du Générateur d'application. La description de ces clés est détaillée dans le manuel [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html). @@ -59,9 +59,9 @@ Lorsqu'une application est créée, 4D génère un fichier journal nommé *Build - Toutes les erreurs qui se sont produites, - Tout problème de signature (par exemple, un plug-in non signé). -Checking this file may help you saving time during the subsequent deployment steps, for example if you intend to [notarize](#about-notarization) your application on macOS. +La vérification de ce fichier peut vous aider à gagner du temps lors des étapes de déploiement ultérieures, par exemple si vous avez l'intention de [notariser](#about-notarization) votre application sur macOS. -> Use the `Get 4D file(Build application log file)` statement to get the log file location. +> Utilisez l'instruction `Get 4D file(Build application log file)` pour obtenir l'emplacement du fichier journal. ## Nom de l'application et dossier de destination @@ -87,7 +87,7 @@ Cette fonctionnalité crée un fichier *.4dz* dans un dossier `Compiled Database Un fichier .4dz est essentiellement une version compressée du dossier du projet. Les fichiers .4dz peuvent être utilisés par 4D Server, 4D Volume Desktop (applications fusionnées) et 4D. La taille compacte et optimisée des fichiers .4dz facilite le déploiement des packages de projet. -> Lors de la génération de fichiers .4dz, 4D utilise par défaut un format zip **standard**. L'avantage de ce format est qu'il est facilement lisible par tout outil de dézippage. If you do not want to use this standard format, add the `UseStandardZipFormat` XML key with value `False` in your [`buildApp.4DSettings`](#buildapp4dsettings) file (for more information, see the [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html) manual). +> Lors de la génération de fichiers .4dz, 4D utilise par défaut un format zip **standard**. L'avantage de ce format est qu'il est facilement lisible par tout outil de dézippage. Si vous ne voulez pas utiliser ce format standard, ajoutez la clé XML `UseStandardZipFormat` avec la valeur `False` dans votre fichier [`buildApp.4DSettings`](#buildapp4dsettings) (pour plus d'informations, voir le manuel [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html)). #### Inclure les dossiers associés @@ -99,20 +99,20 @@ Génère un composant compilé à partir de la structure. Un [composant](../Extensions/develop-components.md) est un fichier de structure 4D standard dans lequel des fonctionnalités spécifiques ont été développées. Une fois que le composant a été configuré et [installé dans un autre projet 4D](../Project/components.md) (le projet de l'application hôte), ses fonctionnalités sont accessibles depuis le projet hôte. -If you have named your application *MyComponent*, 4D will automatically create a *Components* folder with the following structure: +Si vous avez nommé votre application *MonComposant*, 4D créera automatiquement un dossier *Components* avec la structure suivante : -`/Components/MyComponent.4dbase/Contents/`. +`/Components/MonComposant.4dbase/Contents/`. -The *MyComponent.4dbase* folder is the [package folder of the compiled component](../Project/components.md#package-folder). +Le dossier *MonComposant.4dbase* est le [dossier racine du composant compilé](../Project/components.md#package-folder). -The *Contents* folder contains: +Le dossier *Contents* contient : -- *MyComponent.4DZ* file - the [compiled structure](#build-compiled-structure). +- Fichier *MonComposant.4DZ* - la [structure compilée](#build-compiled-structure). - Un dossier *Resources* - toutes les ressources associées sont automatiquement copiées dans ce dossier. Les autres composants et/ou dossiers de plugins ne sont pas copiés (un composant ne peut pas utiliser de plug-ins ou d'autres composants). -- An *Info.plist* file - this file is required to build [notarizeable and stapleable](#about-notarization) components for macOS (it is ignored on Windows). If an *Info.plist* file already [exists at the root of the component](../Extensions/develop-components.md#infoplist) it is merged, otherwise a default file is created. The following [Apple bundle keys](https://developer.apple.com/documentation/bundleresources/information-property-list) are prefilled: - - `CFBundleDisplayName` and `CFBundleName` for the application name, - - `NSHumanReadableCopyright`, can be [set using an XML key](https://doc.4d.com/4Dv20/4D/20/CommonCopyright.300-6335859.en.html). - - `CFBundleShortVersionString` and `CFBundleVersion` for the application version (x.x.x format, e.g. 1.0.5), can be [set using an XML key](https://doc.4d.com/4Dv20/4D/20/CommonVersion.300-6335858.en.html). +- Un fichier *Info.plist* - ce fichier est nécessaire pour créer des composants [notarisables et agrafables](#about-notarization) pour macOS (il est ignoré sous Windows). Si un fichier *Info.plist* [existe déjà à la racine du composant](../Extensions/develop-components.md#infoplist), il est fusionné, sinon un fichier par défaut est créé. Les [clés de bundle Apple](https://developer.apple.com/documentation/bundleresources/information-property-list) suivantes sont pré-remplies : + - `CFBundleDisplayName` et `CFBundleName` pour le nom de l'application, + - `NSHumanReadableCopyright`, peut être [définie à l'aide d'une clé XML](https://doc.4d.com/4Dv20/4D/20/CommonCopyright.300-6335859.en.html). + - `CFBundleShortVersionString` et `CFBundleVersion` pour la version de l'application (format x.x.x, par exemple 1.0.5), peuvent être [définies à l'aide d'une clé XML](https://doc.4d.com/4Dv20/4D/20/CommonVersion.300-6335858.en.html). ## Page Application @@ -124,10 +124,10 @@ Cet onglet vous permet de créer une version monoposte autonome de votre applica Cochez l'option **Créer une application autonome** et cliquez sur **Générer** pour créer une application autonome (double-cliquable) directement à partir de votre projet d'application. Sous Windows, cette fonctionnalité crée un fichier exécutable (.exe). Sous macOS, il gère la création de progiciels. -The principle consists of merging a compiled structure file with **4D Volume Desktop** (the 4D database engine). Les fonctionnalités offertes par le fichier 4D Volume Desktop sont liées à l’offre commerciale à laquelle vous avez souscrite. Pour plus d’informations sur ce point, reportez-vous à la documentation commerciale et au site Internet de [4D Sas (http://www.4d.com/)](http://www.4d.com/). +Le principe consiste à fusionner un fichier de structure compilé avec **4D Volume Desktop** (le moteur de base de données de 4D). Les fonctionnalités offertes par le fichier 4D Volume Desktop sont liées à l’offre commerciale à laquelle vous avez souscrite. Pour plus d’informations sur ce point, reportez-vous à la documentation commerciale et au site Internet de [4D Sas (http://www.4d.com/)](http://www.4d.com/). - Vous pouvez définir un fichier de données par défaut ou permettre aux utilisateurs de [créer et utiliser leur propre fichier de données](#gestion-des-fichiers-de-données). -- You can either embed a deployment license or let the final user enter their license at the first application launch (see the [**Deployment Licenses**](../Admin/licenses.md#deployment-licenses) section). +- Vous pouvez soit intégrer une licence de déploiement, soit laisser l'utilisateur final saisir sa licence au premier lancement de l'application (voir la section [**Licences de déploiement**](../Admin/licenses.md#deployment-licenses)). :::note @@ -146,7 +146,7 @@ Pour sélectionner le dossier de 4D Volume Desktop, cliquez sur le bouton **[... Une fois le dossier sélectionné, son chemin d’accès complet est affiché et, s’il contient effectivement 4D Volume Desktop, l’option de génération d’application exécutable est activée. -> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. For example, if you use 4D 20, you must select a 4D Volume Desktop 20. +> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. Par exemple, si vous utilisez 4D 20, vous devez sélectionner un 4D Volume Desktop 20. ### Mode de liaison des données @@ -167,7 +167,7 @@ Si vous avez nommé votre application "MyProject", vous trouverez les fichiers s - *Windows* - MonAppli.exe qui est votre exécutable et MonAppli.Rsr qui contient les ressources de l’application - Les dossiers 4D Extensions et Resources ainsi que les diverses librairies (DLL), le dossier Native Components et SAS Plugins -fichiers nécessaires au fonctionnement de l’application - - Database folder - Includes a Resources folder and MyProject.4DZ file. Ils constituent la structure compilée du projet et son dossier Resources. + - Dossier Database - Inclut un dossier Resources et le fichier MyProject.4DZ. Ils constituent la structure compilée du projet et son dossier Resources. **Note** : Ce dossier contient également le dossier *Default Data*, s'il a été défini (cf. [Gestion du fichier de données dans les applications finales](#management-of-data-files)). - (Facultatif) Un dossier Components et/ou un dossier Plugins contenant les fichiers des composants et/ou des plug-ins éventuellement inclus dans le projet. Pour plus d’informations sur ce point, reportez-vous à la section [Plugins et composants](#plugins--components-page). - (Facultatif) Dossier Licences - Un fichier XML des numéros de licence intégrés dans l'application, le cas échéant. Pour plus d’informations sur ce point, reportez-vous à la section [Licences & Certificat](#licenses--certificate-page). @@ -183,7 +183,7 @@ Tous ces éléments doivent être conservés dans le même dossier afin que l’ Lors de la construction de l’application exécutable, 4D duplique le contenu du dossier 4D Volume Desktop dans le dossier *Final Application*. Vous pouvez donc parfaitement personnaliser le contenu du dossier 4D Volume Desktop d’origine en fonction de vos besoins. Vous pouvez, par exemple : - Installer une version de 4D Volume Desktop correspondant à une langue spécifique ; -- Add a custom *Plugins* folder; +- Ajouter un dossier *PlugIns* personnalisé ; - Personnaliser le contenu du dossier *Resources*. > Dans macOS, 4D Volume Desktop est fourni sous la forme d'un package. Pour le modifier, vous devez d'abord afficher son contenu (**Contrôle+clic** sur l'icône). @@ -224,11 +224,11 @@ En outre, l’application client/serveur est personnalisée et son maniement est - Pour lancer la partie cliente, l’utilisateur double-clique simplement sur l’application cliente, qui se connecte directement à l’application serveur. Il n’est pas nécessaire de choisir un serveur dans une boîte de dialogue de connexion. Le client cible le serveur soit via son nom, lorsque client et serveur sont sur le même sous-réseau, soit via son adresse IP, à définir via la clé XML `IPAddress` dans le fichier buildapp.4DSettings. Si la connexion échoue, [des mécanismes alternatifs spécifiques peuvent être mis en place](#management-of-client-connections). Il est également possible de “forcer” l’affichage de la boîte de dialogue de connexion standard en maintenant la touche **Option** (macOS) ou **Alt** (Windows) enfoncée lors du lancement de l’application cliente. Seule la partie cliente peut se connecter à la partie serveur correspondante. Si un utilisateur tente de se connecter à la partie serveur à l’aide d’une application 4D standard, un message d’erreur est retourné et la connexion est impossible. - Une application client/serveur peut être paramétrée de telle sorte que la partie cliente [puisse être mise à jour automatiquement via le réseau](#copy-of-client-applications-inside-the-server-application). Il vous suffit de créer et de distribuer une version initiale de l'application cliente, les mises à jour ultérieures sont gérées à l'aide du mécanisme de mise à jour automatique. -- It is also possible to automate the update of the server part through the use of a sequence of language commands ([SET UPDATE FOLDER](../commands-legacy/set-update-folder.md) and [RESTART 4D](../commands-legacy/restart-4d.md). +- Il est également possible d'automatiser la mise à jour de la partie serveur en utilisant une séquence de commandes de langage ([SET UPDATE FOLDER](../commands-legacy/set-update-folder.md) et [RESTART 4D](../commands-legacy/restart-4d.md). :::note -If you want client/server connections to be made in [TLS](../Admin/tls.md), simply check the [appropriate setting](../settings/client-server.md#encrypt-client-server-communications). If you wish to use a custom certificate, please consider using the [`CertificateAuthoritiesCertificates`](https://doc.4d.com/4Dv20R8/4D/20-R8/CertificateAuthoritiesCertificates.300-7479862.en.html). +Si vous souhaitez que les connexions client/serveur se fassent en [TLS](../Admin/tls.md), cochez simplement le [paramètre approprié](../settings/client-server.md#encrypt-client-server-communications). Si vous souhaitez utiliser un certificat personnalisé, considérez l'utilisation de [`CertificateAuthoritiesCertificates`](https://doc.4d.com/4Dv20R8/4D/20-R8/CertificateAuthoritiesCertificates.300-7479862.en.html). ::: @@ -302,11 +302,11 @@ Vous pouvez cocher cette option : Désigne l'emplacement sur votre disque de l'application 4D Volume Desktop à utiliser pour construire la partie cliente de votre application. -> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. For example, if you use 4D 20, you must select a 4D Volume Desktop 20. +> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. Par exemple, si vous utilisez 4D 20, vous devez sélectionner un 4D Volume Desktop 20. Ce 4D Volume Desktop doit correspondre à la plate-forme courante (qui sera également la plate-forme de l’application cliente). Si vous souhaitez générer une version de l’application cliente pour la plate-forme “concurrente”, vous devez répéter l'opération en utilisant une application 4D tournant sur cette plate-forme. -Si vous souhaitez que l'application cliente se connecte au serveur via une adresse spécifique (autre que le nom du serveur publié sur le sous-réseau), vous devez utiliser la clé XML `IPAddress` dans le fichier buildapp.4DSettings. For more information about this file, refer to the description of the [`BUILD APPLICATION`](../commands-legacy/build-application.md) command. Vous pouvez également mettre en place des mécanismes spécifiques en cas d'échec de la connexion. Les différents scénarios proposés sont décrits dans la section [Gestion de la connexion des applications clientes](#management-of-client-connections). +Si vous souhaitez que l'application cliente se connecte au serveur via une adresse spécifique (autre que le nom du serveur publié sur le sous-réseau), vous devez utiliser la clé XML `IPAddress` dans le fichier buildapp.4DSettings. Pour plus d'informations sur ce fichier, reportez-vous à la description de la commande [`BUILD APPLICATION`](../commands-legacy/build-application.md). Vous pouvez également mettre en place des mécanismes spécifiques en cas d'échec de la connexion. Les différents scénarios proposés sont décrits dans la section [Gestion de la connexion des applications clientes](#management-of-client-connections). #### Copie des applications clientes dans l'application serveur @@ -426,7 +426,7 @@ Le scénario standard est le suivant : - la clé `PublishName` n'est pas copiée dans le *info.plist* du client fusionné - si l'application monoposte ne possède pas de dossier "Data" par défaut, le client fusionné sera exécuté sans données. -Automatic update 4D Server features ([Current version](#current-version) number, [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md) command...) fonctionnent avec une application monoposte comme avec une application distante standard. Lors de la connexion, l'application monoposte compare sa clé `CurrentVers` à la plage de version 4D Server. Si elle se trouve en dehors de plage, l'application cliente monoposte mise à jour est téléchargée depuis le serveur et l'Updater lance le processus de mise à jour locale. +Les fonctionnalités de mise à jour automatique de 4D Server (numéro de [version courante](#current-version), commande [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md)...) fonctionnent avec une application monoposte comme avec une application distante standard. Lors de la connexion, l'application monoposte compare sa clé `CurrentVers` à la plage de version 4D Server. Si elle se trouve en dehors de plage, l'application cliente monoposte mise à jour est téléchargée depuis le serveur et l'Updater lance le processus de mise à jour locale. ### Personnalisation des noms de dossier de cache client et/ou serveur @@ -476,7 +476,7 @@ La page liste les éléments chargés par l'application 4D courante : ### Ajout de plugins ou de composants -If you want to integrate other plug-ins or components into the executable application, you just need to place them in a **Plugins** or **Components** folder next to the 4D Volume Desktop application or next to the 4D Server application. Le mécanisme de copie du contenu du dossier de l’application source (cf. paragraphe [Personnaliser le dossier 4D Volume Desktop](#customizing-4d-volume-desktop-folder)) permet d’intégrer tout type de fichier à l’application exécutable. +Si vous souhaitez intégrer d'autres plug-ins ou composants dans l'application exécutable, il vous suffit de les placer dans un dossier **Plugins** ou **Components** à côté de l'application 4D Volume Desktop ou à côté de l'application 4D Server. Le mécanisme de copie du contenu du dossier de l’application source (cf. paragraphe [Personnaliser le dossier 4D Volume Desktop](#customizing-4d-volume-desktop-folder)) permet d’intégrer tout type de fichier à l’application exécutable. En cas de conflit entre deux versions différentes d’un même plug-in (l’une chargée par 4D et l’autre placée dans le dossier de l’application source), la priorité revient au plug-in installé dans le dossier de 4D Volume Desktop/4D Server. En revanche, la présence de deux instances d’un même composant empêchera l’ouverture de l’application. @@ -502,54 +502,54 @@ Les modules optionnels suivants peuvent être désélectionnés : La page Licences & Certificat vous permet de : -- designate the [deployment license(s)](../Admin/licenses.md#deployment-licenses) that you want to integrate into your [stand-alone](#application-page) or [client-server](#clientserver-page) application, +- désigner la ou les [licence(s) de déploiement](../Admin/licenses.md#deployment-licenses) que vous souhaitez intégrer dans votre application [autonome](#application-page) ou [client-serveur](#clientserver-page), - signer l'application à l'aide d'un certificat sous macOS. ![](../assets/en/Admin/buildappCertif.png) ### Licences -This tab displays the [Build an evaluation application](#build-an-evaluation-application) option and the list of available [deployment licenses that you can embed](../Admin/licenses.md#deployment-licenses) into your application (stand-alone or client-server). Par défaut, la liste est vide. +Cet onglet affiche l'option [Créer une application d'évaluation](#build-an-evaluation-application) et la liste des [licences de déploiement disponibles que vous pouvez intégrer](../Admin/licenses.md#deployment-licenses) dans votre application (autonome ou client-serveur). Par défaut, la liste est vide. -You can use this tab to build: +Vous pouvez utiliser cet onglet pour construire : -- an evaluation application, -- a licensed application without embedded license (the user has to have a per-user license), -- a licensed application with embedded license(s). +- une application d'évaluation, +- une application sous licence mais sans licence intégrée (l'utilisateur doit disposer d'une licence personnelle), +- une application sous licence mais avec licence(s) intégrée(s). -#### Build an evaluation application +#### Créer une application d'évaluation -Check this option to create an evaluation version of your application. +Cochez cette option pour créer une version d'évaluation de votre application. -An evaluation application allows the end-user to run a full-featured version of your stand-alone or server application on their machine for a limited period of time, starting at first launch. At the end of the evaluation period, the application can no longer be used for a certain period of time on the same machine. +Une application d'évaluation permet à l'utilisateur final d'exécuter une version complète de votre application autonome ou serveur sur son ordinateur pendant une période limitée, à partir du premier lancement. À la fin de la période d'évaluation, l'application ne peut plus être utilisée pendant un certain temps sur la même machine. :::info -An internet connection is required on the user machine at the first launch of the evaluation application. +Une connexion internet est requise sur la machine de l'utilisateur lors du premier lancement de l'application d'évaluation. ::: -As soon as the "Build an evaluation application" option is enabled, deployment licenses are ignored. +Dès que l'option "Créer une application d'évaluation" est activée, les licences de déploiement sont ignorées. :::note Notes -- The [`License info`](../commands/license-info.md) command allows you to know the application license type (*.attributes* collection) and its expiration date (*.expirationDate* object). -- The BuildApplication [`EvaluationMode`](https://doc.4d.com/4Dv20R8/4D/20-R8/EvaluationMode.300-7542468.en.html) xml key allows you to manage evaluation versions. -- The [`CHANGE LICENCES`](../commands-legacy/change-licenses.md) command does nothing when called from an evaluation version. +- La commande [`License info`](../commands/license-info.md) vous permet de connaître le type de licence de l'application (collection *.attributes*) et sa date d'expiration (objet *.expirationDate*). +- La clé xml BuildApplication [`EvaluationMode`](https://doc.4d.com/4Dv20R8/4D/20-R8/EvaluationMode.300-7542468.en.html) permet de gérer les versions d'évaluation. +- La commande [`CHANGE LICENCES`](../commands-legacy/change-licenses.md) ne fait rien lorsqu'elle est appelée depuis une version d'évaluation. ::: -#### Build a licensed application without embedded license(s) +#### Construire une application sous licence mais sans licence(s) intégrée(s) -To build an application without embedded deployment license, just keep the license list empty and make sure the "Build an evaluation application" option is **unchecked**. +Pour créer une application sans licence de déploiement intégrée, il suffit de laisser la liste des licences vide et de s'assurer que l'option "Créer une application d'évaluation" est **décochée**. -In this case, the end-user will have to purchase and enter a per-user *4D Desktop* or *4D Server* license at first application startup (when you embed a deployment license, the user does not have to enter or use their own license number). For more information, see the [**Deployment licenses**](../Admin/licenses.md#deployment-licenses) section. +Dans ce cas, l'utilisateur final devra acheter et saisir une licence *4D Desktop* ou *4D Server* personnelle au premier démarrage de l'application (lorsque vous intégrez une licence de déploiement, l'utilisateur ne doit pas saisir ou utiliser son propre numéro de licence). Pour plus d'informations, voir la section [**Licences de déploiement**](../Admin/licenses.md#deployment-licenses). -#### Build a licensed application with embedded license(s) +#### Créer une application sous licence avec une ou plusieurs licence(s) intégrée(s) -This option allows you to build a ready-to-use application, in which necessary licenses are already embedded. +Cette option vous permet de créer une application prête à l'emploi, dans laquelle les licences nécessaires sont déjà intégrées. -You must designate the files that contain your [deployment licenses](../Admin/licenses.md#deployment-licenses). These files were generated or updated when the *4D Developer Professional* license and the deployment licenses were purchased. Your current *4D Developer Professional* license is automatically associated with each deployment license to be used in the application built. Vous pouvez ajouter un autre numéro de 4D Developer Professional et ses licences associées. +Vous devez désigner les fichiers qui contiennent vos [licences de déploiement](../Admin/licenses.md#deployment-licenses). Ces fichiers ont été générés ou mis à jour lors de l'achat de la licence *4D Developer Professional* et des licences de déploiement. Votre licence *4D Developer Professional* courante est automatiquement associée à chaque licence de déploiement à utiliser dans l'application créée. Vous pouvez ajouter un autre numéro de 4D Developer Professional et ses licences associées. Pour ajouter ou supprimer des licences, utilisez les boutons **[+]** et **[-]** situés en bas de la fenêtre. Lorsque vous cliquez sur le bouton \[+], une boîte de dialogue d’ouverture de document apparaît, affichant par défaut le contenu du dossier *[Licenses]* de votre poste. Pour plus d'informations sur l'emplacement de ce dossier, reportez-vous à la commande [Get 4D folder](../commands-legacy/get-4d-folder.md). @@ -566,13 +566,13 @@ Vous pouvez désigner autant de fichiers valides que vous voulez. Lors de la gé > Des licences "R" dédiées sont requises pour générer des applications basées sur des versions "R-release" (les numéros de licence des produits "R" débutent par "R-4DDP"). -After a licensed application is built, a new deployment license file is automatically included in the Licenses folder next to the executable application (Windows) or in the package (macOS). +Après la création d'une application sous licence, un nouveau fichier de licence de déploiement est automatiquement inclus dans le dossier Licenses à côté de l'application exécutable (Windows) ou dans le paquet (macOS). ### Certificat de signature macOS Le Générateur d’application permet de signer les applications 4D fusionnées sous macOS (applications monoposte, composants, 4D Server et parties clientes sous macOS). Signer une application permet d’autoriser son exécution par la fonctionnalité Gatekeeper de macOS lorsque l’option "Mac App Store et Développeurs identifiés" est sélectionnée (cf. "A propos de Gatekeeper" ci-dessous). -- Check the **Sign application** option to include certification in the application builder procedure for macOS. 4D vérifiera la disponibilité des éléments nécessaires à la certification au moment de la génération : +- Cochez l'option **Signer l'application** pour inclure la certification dans la procédure de création de l'application pour macOS. 4D vérifiera la disponibilité des éléments nécessaires à la certification au moment de la génération : ![](../assets/en/Admin/buildapposxcertProj.png) @@ -608,7 +608,7 @@ Les [fonctionnalités de signature intégrées](#macos-signing-certificate) ont Pour plus d'informations sur le concept de notarisation, veuillez consulter [cette page sur le site Apple developer](https://developer.apple.com/documentation/xcode/notarizing_your_app_before_distribution/customizing_the_notarization_workflow). -For more information on the stapling concept, please read [this Apple forum post](https://forums.developer.apple.com/forums/thread/720093). +Pour plus d'informations sur le concept d'agrafage du ticket de notarisation (*stapling*), veuillez consulter [ce post sur le forum d'Apple](https://forums.developer.apple.com/forums/thread/720093). ## Personnaliser les icônes d’une application @@ -769,9 +769,9 @@ Vous pouvez choisir d'afficher ou non la boîte de dialogue standard de sélecti En principe, la mise à jour des applications serveur ou des applications mono-utilisateur fusionnées nécessite l'intervention de l'utilisateur (ou la programmation de routines système personnalisées) : chaque fois qu'une nouvelle version de l'application fusionnée est disponible, vous devez quitter l'application en production et remplacer manuellement les anciens fichiers par les nouveaux ; puis redémarrer l'application et sélectionner le fichier de données courant. -You can automate this procedure to a large extent using the following language commands: [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md), [`RESTART 4D`](../commands-legacy/restart-4d.md), and also [`Last update log path`](../commands-legacy/last-update-log-path.md) for monitoring operations. L'idée est d'implémenter une fonction dans votre application 4D déclenchant la séquence de mise à jour automatique décrite ci-dessous. Il peut s'agir d'une commande de menu ou d'un process s'exécutant en arrière-plan et vérifiant à intervalles réguliers la présence d'une archive sur un serveur. +Vous pouvez automatiser cette procédure dans une large mesure en utilisant les commandes suivantes : [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md), [`RESTART 4D`](../commands-legacy/restart-4d.md), et aussi [`Last update log path`](../commands-legacy/last-update-log-path.md) pour les opérations de surveillance. L'idée est d'implémenter une fonction dans votre application 4D déclenchant la séquence de mise à jour automatique décrite ci-dessous. Il peut s'agir d'une commande de menu ou d'un process s'exécutant en arrière-plan et vérifiant à intervalles réguliers la présence d'une archive sur un serveur. -> You also have XML keys to elevate installation privileges so that you can use protected files under Windows (see the [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html) manual). +> Vous disposez également de clés XML pour élever les privilèges d'installation afin de pouvoir utiliser des fichiers protégés sous Windows (voir le manuel [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html)). Voici le scénario pour la mise à jour d'un serveur ou d'une application mono-utilisateur fusionnée : @@ -787,4 +787,4 @@ La procédure d'installation produit un fichier journal détaillant les opérati Le journal de mise à jour est nommé `YYYY-MM-DD_HH-MM-SS_log_X.txt`, par exemple, `2021-08-25_14-23-00_log_1.txt` pour un fichier créé le 25 août 2021 à 14h23. -Ce fichier est créé dans le dossier de l'application "Updater", dans le dossier de l'utilisateur du système. You can find out the location of this file at any time using the [`Last update log path`](../commands-legacy/last-update-log-path.md) command. +Ce fichier est créé dans le dossier de l'application "Updater", dans le dossier de l'utilisateur du système. Vous pouvez connaître l'emplacement de ce fichier à tout moment en utilisant la commande [`Last update log path`](../commands-legacy/last-update-log-path.md). diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/labels.md b/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/labels.md index d83f3a80328687..9a22dde22c5f17 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/labels.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/labels.md @@ -1,180 +1,180 @@ --- id: labels -title: Libellés +title: Etiquettes --- -4D’s Label editor provides a convenient way to print a wide variety of labels. With it, you can do the following: +L'éditeur d'étiquettes de 4D offre un moyen pratique d'imprimer une grande variété d'étiquettes. Il vous permet en particulier de : -- Design labels for mailings, file folders and file cards, and for many other needs, -- Create and insert decorative items in label templates, -- Specify the font, font size, and style to be used for the labels, -- Specify the number of labels across and down on each page, -- Specify how many labels to print per record, -- Specify the label page margins, -- Designate a method to execute when printing each label or record, -- Create a preview and print the labels. +- construire des étiquettes pour réaliser des mailings, des catalogues, +- créer ou insérer des éléments décoratifs dans un modèle d’étiquettes, +- définir la police, la taille et le style des caractères utilisés, +- déterminer le nombre d’étiquettes pouvant “tenir” sur chaque page, +- définir le nombre d’étiquettes à imprimer par enregistrement, +- fixer les marges de la planche d’étiquettes, +- désigner une méthode à exécuter lors de l’impression de chaque étiquette ou enregistrement, +- créer un aperçu et imprimer les étiquettes. :::note -Labels can also be created using the [Form editor](../FormEditor/formEditor.md). Use the Form editor to design specialized labels that include variables or take advantage of the drawing tools available in the Form editor and print them using the Label editor or the [`PRINT LABEL`](../commands-legacy/print-label.md) command. +Les étiquettes peuvent également être créées à l'aide de l'[Éditeur de formulaires](../FormEditor/formEditor.md). Utilisez l'éditeur de formulaires pour concevoir des étiquettes spécialisées qui incluent des variables ou profitez des outils de dessin disponibles dans l'éditeur de formulaires et imprimez-les en utilisant l'éditeur d'étiquettes ou la commande [`PRINT LABEL`](../commands-legacy/print-label.md). ::: -You use the Label editor to create, format, and print labels. The Label editor contains settings for designing labels and positioning the labels on label paper. For example, when producing mailing labels, you might want a label design that includes the person’s first and last name on the first line, the street address on the second line, and so on. As part of the design, the Label editor enables you to specify the number of labels on the page and the margins of the label paper so that the label text is centered within the labels. -When you create a satisfactory label design, you can save it to disk so that you can reuse it. +L'éditeur d'étiquettes permet de créer, de formater et d'imprimer des étiquettes. Il contient des paramètres pour la conception d'étiquettes et le positionnement des étiquettes sur le papier d'étiquette. Par exemple, lorsque vous créez des étiquettes d’adresses pour un mailing, vous voulez que chaque étiquette contienne, sur la première ligne, le prénom et le nom d’une personne, son adresse sur la deuxième ligne, etc. Dans le cadre de la conception, l'éditeur d'étiquettes vous permet de spécifier le nombre d'étiquettes sur la page et les marges du papier d'étiquette afin que le texte de l'étiquette soit centré dans les étiquettes. +Une fois que vous avez terminé un modèle d’étiquette, vous pouvez le sauvegarder sur disque pour pouvoir le réutiliser par la suite. -To open the Label editor: +Pour ouvrir l’éditeur d’étiquettes : -- In the Design environment, choose **Labels...** from the **Tools** menu or from the menu associated with the "Tools" button in the 4D tool bar. - OR -- In an application, call the [`PRINT LABEL`](../commands-legacy/print-label.md) command. +- En mode Développement, sélectionnez **Etiquettes...** dans le menu **Outils** ou dans le menu associé au bouton “Outils” dans la barre d’outils de 4D. + OU +- En mode Application, utilisez la commande [`PRINT LABEL`](../commands-legacy/print-label.md) . ![](../assets/en/Desktop/label-wizard.png) -You use the Label page to specify the contents of the label and the Layout page to define the size and position of the labels on the page. +La page Étiquette permet de spécifier le contenu de l'étiquette et la page Planche permet de définir la taille et la position des étiquettes sur la page. ![](../assets/en/Desktop/label-buttons.png) -## Label Page +## Page Etiquette -The Label page contains several areas with settings for designing and formatting labels. +La page Étiquette contient plusieurs zones de paramétrage pour la conception et la mise en forme des étiquettes. -### List of Fields +### Liste des champs -Displays the names of the fields in the current table in a hierarchical list. If this table is related to other tables, the foreign key fields have a plus sign (on Windows) or an arrow (on macOS). You can display fields from the related table by expanding the related fields. The fields in the related table are indented. To use a field from this list in the label template, you just drag it onto the label preview area to the right of the list. +Affiche les noms des champs de la table courante sous forme de liste hiérarchique. Si cette table est liée à d'autres tables, les champs de la clé étrangère ont un signe plus (sous Windows) ou une flèche (sous macOS). Vous pouvez afficher les champs de la table liée en développant les champs liés. Les champs de la table correspondante sont indentés. Pour utiliser un champ de cette liste dans le modèle d'étiquette, il suffit de le faire glisser dans la zone de prévisualisation de l'étiquette à droite de la liste. :::note Notes -- Only tables and fields which are visible appear in the Label editor. -- [Object type](../Concepts/dt_object.md) fields are not supported by the Label editor. +- Seuls les tables et les champs visibles apparaissent dans l'éditeur d'étiquettes. +- Les champs de [type Objet](../Concepts/dt_object.md) ne sont pas pris en charge par l'éditeur d'étiquettes. ::: -The search area allows you to narrow the list of fields displayed to those containing the entered string: +La zone de recherche vous permet de limiter la liste des champs affichés à ceux qui contiennent la chaîne de caractères saisie : ![](../assets/en/Desktop/label-filter.png) -### Label preview +### Zone graphique de construction du modèle -You use this area to design your label zone by placing and positioning all the items that you want to include in your label. The white rectangle represents a single label (its size is configured on the [Layout page](#layout-page)). +Cette zone vous permet d’insérer tous les éléments que vous souhaitez voir figurer sur chaque étiquette et de visualiser précisément le résultat. Le rectangle blanc situé au centre de la zone représente une étiquette (ses dimensions sont paramétrées dans la [page "Planche"](#layout-page)). -- You can drag fields onto the label. -- You can also concatenate two fields by dropping the second field onto the first one. They are automatically separated by a space.
    +- Vous pouvez faire glisser des champs sur l'étiquette. +- Vous pouvez concaténer deux champs en déposant le second sur le premier. Ils seront automatiquement séparés par un espace.
    ![](../assets/en/Desktop/label-concat.png)
    - If you hold down the **Shift** key, they are separated by a carriage return. This lets you create, for example, address labels using several overlapping fields (Address1, Address2, etc.), without producing a blank row when an address requires only one field. -- You can add a formula onto the label by selecting the **Formula** tool ![](../assets/en/Desktop/label-tool6.png) (or choosing **Tool>Formula** in the contextual menu) and drawing an area. The **Formula editor** is then displayed: + Si vous appuyez sur la touche **Maj**, ils seront séparés par un retour chariot. Ce fonctionnement permet par exemple de créer des étiquettes d’adresses utilisant plusieurs champs superposés (Adresse1, Adresse2, etc.) ne générant pas de ligne vide lorsqu’une adresse ne requiert qu’un champ. +- Vous pouvez ajouter une formule à l'étiquette en sélectionnant l'outil **Formule** ![](../assets/en/Desktop/label-tool6.png) (ou en choisissant **Outil>Formule** dans le menu contextuel) et en dessinant une zone. L'**Éditeur de formules** s'affiche alors : ![](../assets/en/Desktop/label-formula1.png)
    - For example, you can apply a format to a field using the [`String`](../commands-legacy/string.md) command:
    + Par exemple, vous pouvez appliquer un format à un champ à l'aide de la commande [`String`](../commands-legacy/string.md) :
    ![](../assets/en/Desktop/label-formula2.png)
    :::note -Keep in mind that you can only enter methods that are "allowed" for the database in the Formula editor. Allowed methods depend on [project settings](../settings/security.md#options) and the [`SET ALLOWED METHODS`](../commands/set-allowed-methods.md) command. +N'oubliez pas que vous ne pouvez saisir que des méthodes "autorisées" pour la base de données dans l'Editeur de formules. Les méthodes autorisées dépendent des [paramètres du projet](../settings/security.md#options) et de la commande [`SET ALLOWED METHODS`](../commands/set-allowed-methods.md). ::: -- You can drag and drop picture files as well as label files (".4lbp" files) from the desktop of the OS. +- Vous pouvez glisser-déposer des fichiers image ainsi que des fichiers d'étiquettes (fichiers ".4lbp" uniquement) depuis le bureau du système d'exploitation. -- To modify the area, double-click on the contents in order to switch to editing mode. When you double-click on fields or formulas, the **Formula editor** is displayed, allowing you to remove or modify items: +- Pour modifier la zone, double-cliquez sur le contenu afin de passer en mode édition. Lorsque vous double-cliquez sur des champs ou des formules, l'**Éditeur de formules** s'affiche, vous permettant de supprimer ou de modifier des éléments : ![](../assets/en/Desktop/label-formula.png) -### Form to use +### Formulaire à utiliser -This drop-down list allows you to define a table form as a label template. The form chosen must be specially adapted to the creation of labels. -In this case, the label editor is partially disabled: only functions of the [Layout page](#layout-page) can be used — to allow you to configure the page based on the form. The image of the form selected is displayed in the label preview area. -When you use a form, 4D executes any form or object methods associated with it. When using this option, you can also designate a project method to execute for each record or label and then assignate variables (see [this example](#printing-labels-using-forms-and-methods-example) below). If you want to create your labels using the editor itself, you need to choose the **No Form** option. +Cette liste déroulante permet de définir un formulaire table comme modèle d'étiquette. Le formulaire choisi doit être spécialement adapté à la création d’étiquettes. +Dans ce cas, l’éditeur d’étiquettes est partiellement désactivé : seules les fonctions de la [page “Planche”](#layout-page) sont utilisables — pour vous permettre de paramétrer la page en fonction du formulaire. L’image du formulaire sélectionné s’affiche toutefois dans la zone de construction du modèle. +Lorsque vous utilisez un formulaire, 4D exécute les méthodes objet et la méthode formulaire qui lui sont éventuellement associées. Lorsque vous utilisez cette option, vous pouvez également désigner une méthode projet à exécuter pour chaque enregistrement ou étiquette et ainsi assigner des variables (voir [cet exemple](#printing-labels-using-forms-and-methods-example) ci-dessous). Si vous souhaitez créer vos étiquettes à l'aide de l'éditeur lui-même, vous devez choisir l'option **Pas de formulaire**. :::note Notes -- You can restrict the forms listed in this menu by means of a [specific JSON file](#controlling-available-forms-and-methods). -- If the database does not contain any table forms, this menu is not displayed. +- Vous pouvez limiter les formulaires listés dans ce menu à l'aide d'un [fichier json spécifique](#controlling-available-forms-and-methods). +- Si la base ne contient aucun formulaire table, le menu n'est pas affiché. ::: -### Graphic area commands +### Commandes de la zone graphique -The graphic area of the editor includes both a tool bar and a context menu that you can use to design your label template. +La zone graphique de l'éditeur est doté d'une barre d'outils ainsi que d'un menu contextuel vous permettant de configurer votre modèle d'étiquettes. -The left-hand side of the tool bar includes commands for selecting and inserting objects. You can also access these tools by means of the **Tool>** command in the area's context menu. +La partie de gauche de la barre d'outils comporte les commandes de sélection et d'insertion d'objets. Vous pouvez également y accéder via la commande **Outil>** du menu contextuel de la zone. -| Icône | Tool name | Description | -| ----------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| ![](../assets/en/Desktop/label-tool1.png) | Sélections | Click on a single object or draw a selection box around several objects. For a selection of non-adjacent objects, hold down **Shift** and click on each object you want to select. | -| ![](../assets/en/Desktop/label-tool2.png) | Line creation | | -| ![](../assets/en/Desktop/label-tool3.png) | Rectangle creation | For Rectangle or Rounded rectangle. | -| ![](../assets/en/Desktop/label-tool4.png) | Circle creation | | -| ![](../assets/en/Desktop/label-tool5.png) | Text insertion | Draw a rectangle and enter text inside it. You can edit any text area, including those containing field references, by double-clicking it. | -| ![](../assets/en/Desktop/label-tool6.png) | Formula insertion | Draw a rectangle to display the **Formula editor**, where you can define dynamic label contents (fields and formulas). | +| Icône | Nom de l'outil | Description | +| ----------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| ![](../assets/en/Desktop/label-tool1.png) | Sélections | Vous pouvez cliquer sur un objet ou tracer une zone afin de sélectionner plusieurs objets. Pour une sélection discontinue d'objets, appuyez sur **Maj** et cliquez sur chaque objet à sélectionner. | +| ![](../assets/en/Desktop/label-tool2.png) | Création de ligne | | +| ![](../assets/en/Desktop/label-tool3.png) | Création de rectangle | Pour création de rectangle ou rectangle arrondi. | +| ![](../assets/en/Desktop/label-tool4.png) | Création de cercle | | +| ![](../assets/en/Desktop/label-tool5.png) | Insertion de texte | Tracez une zone rectangle et saisissez du texte à l'intérieur de la zone. Vous pouvez éditer toute zone de texte, y compris les zones contenant des références de champs, en double-cliquant dessus. | +| ![](../assets/en/Desktop/label-tool6.png) | Insertion de formule | Tracez un rectangle pour afficher l'**Éditeur de formules**, où vous pouvez définir le contenu dynamique des étiquettes (champs et formules). | -There are shortcuts available to move or resize objects more precisely using the keyboard arrow keys: +Vous disposez de raccourcis permettant de déplacer ou de redimensionner précisément les objets à l'aide des touches de direction du clavier : -- Keyboard arrow keys move the selection of objects 1 pixel at a time. -- **Shift** + arrow keys move the selection of objects 10 pixels at a time. -- **Ctrl** + arrow keys enlarge or reduce the selection of objects by 1 pixel. -- **Ctrl** + **Maj** + arrow keys enlarge or reduce the selection of objects by 10 pixels. +- Les touches de direction du clavier permettent de déplacer la sélection d’objets de 1 pixel. +- **Maj** + touches de direction permettent de déplacer la sélection d’objets de 10 pixels. +- **Ctrl** + touches de direction permettent d'agrandir ou de réduire la sélection d’objets de 1 pixel. +- **Ctrl** + **Maj** + touches de direction permettent d'agrandir ou de réduire la sélection d’objets de 10 pixels. -The right-hand side of the tool bar contains commands used to modify items of the label template: +La partie droite de la barre d'outils contient les commandes permettant de modifier les éléments du modèle : -| Icône | Tool name | Description | -| ------------------------------------------ | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ![](../assets/en/Desktop/label-tool7.png) | Fill Color | all color icons display the selected color | -| ![](../assets/en/Desktop/label-tool8.png) | Couleur du trait | | -| ![](../assets/en/Desktop/label-tool9.png) | Lineweight | | -| ![](../assets/en/Desktop/label-tool10.png) | Font menu | Sets the font and its size, as well as the text style, color and alignment for the block(s) of selected text. | -| ![](../assets/en/Desktop/label-tool11.png) | Alignment and distribution | Two or more objects must be selected for the alignment options to be available. "Distributing" objects means automatically setting the horizontal or vertical intervals between at least three objects, so that they are identical. The resulting interval is an average of all those existing in the selection. | -| ![](../assets/en/Desktop/label-tool12.png) | Object level | Moves objects to the front or back, or moves one or more objects up or down one level. | +| Icône | Nom de l'outil | Description | +| ------------------------------------------ | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ![](../assets/en/Desktop/label-tool7.png) | Couleur de remplissage | toutes les icônes de couleur affichent la couleur sélectionnée | +| ![](../assets/en/Desktop/label-tool8.png) | Couleur du trait | | +| ![](../assets/en/Desktop/label-tool9.png) | Epaisseur des lignes | | +| ![](../assets/en/Desktop/label-tool10.png) | Menu de gestion de la police | Permet de définir la police, la taille de police, ainsi que le style, la couleur et l'alignement du texte pour le(s) bloc(s) de texte sélectionné(s). | +| ![](../assets/en/Desktop/label-tool11.png) | Alignement et répartition | Pour l'alignement, deux objets au moins doivent être sélectionnés. "Répartir" des objets signifie définir automatiquement les intervalles horizontaux ou verticaux entre au moins trois objets, de manière à ce qu’ils soient identiques. L’intervalle obtenu est une moyenne de tous ceux existant dans la sélection. | +| ![](../assets/en/Desktop/label-tool12.png) | Plan des objets | Permet de faire passer les objets à l’arrière-plan ou au premier plan, ou encore faire passer un ou plusieurs objets sur le plan suivant ou précédent. | -## Layout Page +## Page Planche -The Layout page contains controls for printing labels based on the requirements of your current print settings. +Cette page contient des commandes permettant d'imprimer des étiquettes en fonction des exigences de vos paramètres d'impression courants. ![](../assets/en/Desktop/label-layout.png) -- **Labels Order**: Specifies whether labels should be printed in the direction of the rows or the columns. -- **Rows** and **Columns**: Set the number of labels to be printed by "row" and by "column" on each sheet. These settings determine the label size when the "Automatic resizing" option is enabled. -- **Labels per record**: Sets the number of copies to print for each label (copies are printed consecutively). -- **Print Setup...**: Sets the format of the page on which the sheet of labels will be printed. When you click this button, the setup dialog box for the printer selected in your system appears. By default, the sheet of labels is generated based on an A4 page in portrait mode. - **Note:** The sheet created by the editor is based on the logical page of the printer, i.e. the physical page (for instance, an A4 page) less the margins that cannot be used on each side of the sheet. The physical margins of the page are shown by blue lines in the preview area. -- **Unit**: Changes the units in which you specify your label and label page measurements. You can use points, millimeters, centimeters, or inches. -- **Automatic resizing**: Means that 4D automatically calculates the size of the labels (i.e. the Width and Height parameters) according to the values set in all the other parameters. When this option is checked, the label size is adjusted each time you modify a page parameter. The Width and Height parameters can no longer be set manually. -- **Width** and **Height**: Sets the height and width of each label manually. They cannot be edited when the **Automatic resizing** option is checked. -- **Margins** (Top, Right, Left, Bottom): Sets the margins of your sheet. These margins are symbolized by blue lines in the preview area. Clicking on **Use printer margins** replicates, in the preview area, the margin information provided by the selected printer (these values can be modified). -- **Gaps**: Set the amount of vertical and/or horizontal space between label rows and columns. -- **Method**: Lets you trigger a specific method that will be run at print time. For example, you can execute a method that posts the date and time that each label was printed. This feature is also useful when you print labels using a dedicated table form, in which case you can fill variables from a method. - To be eligible for label processing, a project method must comply with the following settings: - - it must be "allowed" for the database (allowed methods depend on [project settings](../settings/security.md#options) and the [`SET ALLOWED METHODS`](../commands/set-allowed-methods.md) command), otherwise it will not be displayed in the **Apply** menu. - - it must have the [Shared by components and host database](../Project/code-overview.md#shared-by-components-and-host-database) option. - See also [this example](#printing-labels-using-forms-and-methods-example) below. +- **Ordre étiquettes** : définit si les étiquettes doivent être imprimées dans le sens des lignes ou des colonnes. +- **Lignes** et **Colonnes** : nombre d’étiquettes que vous souhaitez imprimer par “ligne” et par “colonne” sur une planche. Ces paramètres déterminent les dimensions des étiquettes lorsque l’option “Dimensions automatiques” est activée. +- **Etiquettes par enregistrement** : nombre d’étiquettes à imprimer pour chaque enregistrement (les copies seront imprimées les unes à la suite des autres). +- **Format d’impression** : format de la feuille sur laquelle la planche d’étiquettes sera imprimée. Lorsque vous cliquez sur ce bouton, la boîte de dialogue de configuration de l’imprimante sélectionnée dans votre système s’affiche. Par défaut, la planche d’étiquettes est générée sur la base d’une page A4 en mode portrait. + **Note :** La planche créée par l’éditeur se base sur la page logique de l’imprimante, c’est-à-dire la page physique (par exemple une feuille A4) moins les marges inutilisables de chaque côté de la feuille. Les marges de la page physique sont représentées par les filets bleus dans la zone de prévisualisation de la planche. +- **Unité** : Modifie les unités dans lesquelles vous spécifiez les mesures de l'étiquette et de la page d'étiquette. Vous pouvez utiliser des points, des millimètres, des centimètres ou des pouces. +- **Dimensions automatiques** : indique à 4D de calculer automatiquement la taille des étiquettes (c’est-à-dire les paramètres Largeur et Hauteur) en fonction des valeurs fixées dans tous les autres paramètres. Lorsque cette option est active, la taille des étiquettes est recalculée à chaque fois que vous modifiez un paramètre dans la page. Dans ce cas également, les paramètres Largeur et Hauteur ne peuvent pas être saisis manuellement. +- **Largeur** et **Hauteur** : ces zones permettent de définir manuellement la largeur et la hauteur de chaque étiquette. Ces zones ne sont pas modifiables lorsque l'option **Dimensions automatiques** est cochée. +- **Marges** (Haut , Droite, Gauche, Bas) : permet de saisir les marges de votre planche. Les marges sont symbolisées par des filets de couleur bleue dans la zone de prévisualisation. Vous pouvez cliquer sur **Appliquer les marges de l'imprimante** afin de répliquer dans les zones de marge les informations de marge fournies par l'imprimante sélectionnée (ces valeurs peuvent être modifiées). +- **Intervalles** : définit l’espacement horizontal et/ou vertical entre les étiquettes dans la planche. +- **Méthode** : ce paramètre vous permet de déclencher une méthode particulière lors de l’impression de votre planche d’étiquettes. Par exemple, vous pouvez exécuter une méthode qui enregistre la date et l'heure auxquelles chaque étiquette a été imprimée. Cette fonction est également utile lorsque vous imprimez des étiquettes à l'aide d'un formulaire table dédié, auquel cas vous pouvez remplir des variables à partir d'une méthode. + Pour être éligible au traitement des étiquettes, une méthode projet doit respecter les conditions suivantes : + - elle doit être "autorisée" pour la base de données (les méthodes autorisées dépendent des [paramètres du projet](../settings/security.md#options) et de la commande [`SET ALLOWED METHODS`](../commands/set-allowed-methods.md)), sinon elle ne sera pas affichée dans le menu **Appliquer**. + - elle doit avoir l'option [Partagée entre composants et base hôte](../Project/code-overview.md#shared-by-components-and-host-database) . + Voir aussi [cet exemple](#printing-labels-using-forms-and-methods-example) ci-dessous. :::note -For advanced needs, you can restrict the list of methods available using a [specific json file](#controlling-available-forms-and-methods). -The **For each: Record or Label** options are used to specify whether to run the method once per label or once per record. This control has meaning only if you are printing more than one copy of each label and you are also executing a method at print time. +Pour des besoins avancés, vous pouvez restreindre la liste des méthodes disponibles à l'aide d'un [fichier json spécifique](#controlling-available-forms-and-methods). +Les options **A chaque : Enregistrement ou Étiquette** permettent de spécifier si la méthode doit être exécutée une fois par étiquette ou une fois par enregistrement. Ce contrôle n'a de sens que si vous imprimez plus d'une copie de chaque étiquette et que vous exécutez également une méthode au moment de l'impression. ::: -- **Layout preview**: Provides a reduced view of how an entire page of labels will look, based on the dimensions you enter in the Label editor. The page preview also reflects the paper size selected in the Print Setup dialog box. You can also use this area to designate the first label on the page to be printed (this option only affects the first sheet in the case of multi-page printing). This can be useful, for example, when you want to print on a sheet of adhesive labels, part of which has already been used. You can also select the first label on the page to be printed by clicking on it: +- **Zone de prévisualisation de la planche d’étiquettes** : cette zone vous permet de visualiser en temps réel les modifications que vous effectuez dans la fenêtre. L'aperçu de la page reflète également le format de papier sélectionné dans la boîte de dialogue Configuration de l'impression. Elle vous permet enfin de désigner l’étiquette à partir de laquelle débutera l’impression (cette option n’affecte que la première planche lors d’une impression multi-pages). Cette possibilité s’avère utile lorsque, par exemple, vous souhaitez imprimer sur une planche d’étiquettes autocollantes dont une partie a déjà été utilisée. Vous pouvez également sélectionner la première étiquette de la page à imprimer en cliquant dessus : ![](../assets/en/Desktop/label-start.png) -## Printing labels using forms and methods (example) +## Imprimer des étiquettes à l'aide de formulaires et de méthodes (exemple) -You can use dedicated table forms and project methods to print labels with calculated variables. This simple example shows how to configure the different elements. +Vous pouvez utiliser des formulaires table dédiés et des méthodes projet pour imprimer des étiquettes contenant des variables calculées. Cet exemple simple explique comment configurer l'ensemble. -1. In a dedicated table form, add your label field(s) and variable(s). - Here, in a table form named "label", we added the *myVar* variable: +1. Dans le formulaire table à utiliser, ajoutez le(s) champ(s) et variable(s) souhaité(s). + Ici, dans le formulaire table nommé "labels", nous ajoutons la variable *myVar* : ![](../assets/en/Desktop/label-example1.png) -2. Create a `setMyVar` project method with the following code: +2. Créez une méthode projet nommée *setMyVar* contenant le code suivant : ```4d var myVar+=1 ``` -3. Set the project method as ["Shared by components and host database"](../Project/code-overview.md#shared-by-components-and-host-database). +3. Appliquez l'option ["Partagée entre composants et projet hôte"](../Project/code-overview.md#shared-by-components-and-host-database) à la méthode projet. -4. Before displaying the Label editor, make sure the project method is allowed by executing this code: +4. Avant d'afficher l'éditeur d'étiquettes, assurez-vous que la méthode projet est autorisée en exécutant ce code : ```4d ARRAY TEXT($methods;1) @@ -182,26 +182,26 @@ You can use dedicated table forms and project methods to print labels with calcu SET ALLOWED METHODS($methods) ``` -5. Open the Label editor and use your form: +5. Ouvrez l'éditeur d'étiquettes et sélectionnez votre formulaire : ![](../assets/en/Desktop/label-example2.png) -6. In the Layout page, select the method: +6. Dans la page Planche, sélectionnez la méthode : ![](../assets/en/Desktop/label-example3.png) -Then you can print your labels: +Vous pouvez alors imprimer vos étiquettes : ![](../assets/en/Desktop/label-example4.png) -## Controlling available forms and methods +## Définition des formulaires et méthodes utilisables -The Label editor includes an advanced feature allowing you to restrict which project forms and methods (within "allowed" methods) can be selected in the dialog box: +L'éditeur d'étiquettes comporte une fonction permettant de limiter spécifiquement les formulaires et les méthodes projet (parmi les méthodes autorisées du projet) qui peuvent être sélectionnés : -- in the **Form to use** menu on the "Label" page and/or -- in the **Apply (method)** menu on the "Layout" page. +- dans le menu **Formulaire à utiliser** de la page "Etiquette" +- dans le menu **Méthode à appliquer** de la page "Planche". -1. Create a JSON file named **labels.json** and put it in the [Resources folder](../Project/architecture.md#resources) of the project. -2. In this file, add the names of forms and/or project methods that you want to be able to select in the Label editor menus. +1. Créez un fichier JSON nommé **labels.json** et placez-le dans le [dossier Resources](../Project/architecture.md#resources) du projet. +2. Dans ce fichier, listez les noms des formulaires et/ou des méthodes projet que vous autorisez dans les menus de l'éditeur d'étiquettes. -The contents of the **labels.json** file should be similar to: +Le contenu du fichier **labels.json** devra être du type : ```json [ @@ -210,38 +210,38 @@ The contents of the **labels.json** file should be similar to: ] ``` -If no **labels.json** file has been defined, then no filtering is applied. +Si aucun fichier **labels.json** n'a été défini, aucun filtrage n'est appliqué. -## Managing label files +## Gestion des fichiers d'étiquettes -4D allows you to save each label design in a file that you can open subsequently from within the wizard. By saving your label designs, you can build a label library adapted to your specific needs. Each label design stores the settings defined on the Label and Layout pages. +4D vous permet de sauvegarder chaque modèle d’étiquettes dans un fichier, que vous pourrez ouvrir par la suite depuis l’éditeur. En sauvegardant vos modèles d’étiquettes, vous pouvez vous constituer une bibliothèque d’étiquettes que vous pourrez utiliser suivant vos besoins. Un modèle conserve les paramètres définis dans les pages Etiquette et Planche. -You can drag and drop label files from your desktop onto the label design area. +Vous pouvez glisser-déposer des fichiers d'étiquettes depuis le bureau vers la zone de construction de l'étiquette. -Label designs are managed using the **Load** and **Save** buttons of the tool bar. +La gestion des fichiers de modèle s'effectue à l'aide des boutons **Import** et **Enregistrer** de la barre d'outils. -- To load a label design, click on the **Load** button and designate the design you want to load by means of the File Open dialog box (if a label design is already present in the wizard, 4D replaces it by the one you have loaded). -- To save a label design, click on the **Save** button and indicate the name and location of the design to be created. +- Pour charger un modèle d’étiquettes, cliquez sur bouton **Import** et désignez le modèle à charger dans la boîte de dialogue d'ouverture de fichiers (si un modèle d’étiquettes était présent dans l’éditeur, 4D le remplace par celui que vous avez chargé). +- Pour sauvegarder un modèle d’étiquettes, cliquez sur le bouton **Enregistrer** et indiquez le nom et l'emplacement du modèle à créer. -### File format +### Format de fichier -The file extension of 4D labels saved by the wizard is ".4lbp". Note that this format is open since it is written internally in XML. +L'extension de fichier des étiquettes 4D sauvegardées par l'éditeur est ".4lbp". A noter que ce format est ouvert puisqu'il utilise en interne du XML. -### Preloading label files +### Préchargement de fichiers d'étiquettes -The Label Wizard allows you to store label files within your application, so that label designs can be selected and opened by the user directly using the **Load** button. +L'éditeur d 'étiquettes vous permet de stocker des fichiers d'étiquettes à l'intérieur de votre application, pouvant être directement sélectionnés et ouverts par l'utilisateur via le bouton **Import**. -To do this, you just need to create a folder named `Labels` within the [Resources folder](../Project/architecture.md#resources) of the project and then copy your label files into it: +Pour cela, il vous suffit de créer un sous-dossier "Labels" dans le [dossier Resources du projet](../Project/architecture.md#resources) et d'y copier vos fichiers d'étiquettes : ![](../assets/en/Desktop/label-resources.png) :::note -Both standard ".4lbp" files and files generated by the former wizard (".4lb") files are supported. +Les fichiers ".4lbp" standard ainsi que les fichiers générés par l'ancien éditeur (".4lb") sont pris en charge. ::: -When the Label Wizard starts, if this folder is detected and contains valid label files, a pop-up icon is added to the **Load** button. Label designs can then be selected through a menu line: +A l'ouverture de l'éditeur d'étiquettes, si ce dossier est détecté et qu'il contient au moins un fichier d'étiquettes valide, une icône de pop up est ajoutée au bouton **Import**. Les modèles d'étiquettes peuvent ensuite être sélectionnés à l'aide d'une ligne de menu : ![](../assets/en/Desktop/label-resources2.png) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md b/i18n/fr/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md new file mode 100644 index 00000000000000..ed7b6e7559eddd --- /dev/null +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md @@ -0,0 +1,233 @@ +--- +id: transactions +title: Transactions +--- + +## Description + +Les transactions sont une série de modifications effectuées à l'intérieur d'un process sur des données reliées entre elles. Une transaction n'est sauvegardée de façon définitive dans la base que si la transaction est validée. Si une transaction n'est pas complétée, parce qu'elle est annulée ou en raison d'un quelconque événement extérieur, les modifications ne sont pas sauvegardées. + +Pendant une transaction, toutes les modifications effectuées sur les données de la base dans le process sont stockées localement dans un buffer temporaire. Si la transaction est acceptée avec [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) ou [`validateTransaction()`](../API/DataStoreClass.md#validatetransaction), les changements sont sauvegardés de façon définitive. Si la transaction est annulée avec [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md) ou [`cancelTransaction()`](../API/DataStoreClass.md#canceltransaction), les changements ne sont pas sauvegardés. Dans tous les cas, ni la sélection courante ni l'enregistrement courant ne sont modifiés par les commandes de gestion des transactions. + +4D prend en charge les transactions imbriquées, c'est-à-dire les transactions sur plusieurs niveaux hiérarchiques. Le nombre de sous-transactions autorisées est illimité. La commande [`Transaction level`](../commands-legacy/transaction-level.md) permet de connaître le niveau courant de transaction dans lequel le code est exécuté. Lorsque vous utilisez des transactions imbriquées, le résultat de chaque sous-transaction dépend de la validation ou de l'annulation de la transaction du niveau supérieur. Si la transaction supérieure est validée, les résultats des sous-transactions sont entérinés (validation ou annulation). En revanche, si la transaction supérieure est annulée, toutes les sous-transactions sont annulées, quels que soient leurs sous-résultats. + + +4D inclut une fonctionnalité vous permettant de [suspendre temporairement et de réactiver des transactions](#suspending-transactions) dans votre code 4D. Lorsqu'une transaction est suspendue, vous pouvez exécuter des opérations indépendantes de la transaction elle-même puis la réactiver afin de la valider ou de l'annuler, de façon classique. + +### Exemple + +L'exemple de cette section s'appuie sur la structure présentée ci-dessous. C'est une base relativement simple de facturation. Les lignes de factures sont stockées dans une table appelée [Invoice Lines], qui est reliée à la table [Invoices] par une relation entre les champs [Invoices]Invoice ID et [Invoice Lines]Invoice ID. Lorsqu'une facture est ajoutée, un numéro unique est calculé avec la commande [`Sequence number`](../commands-legacy/sequence-number.md). Le lien entre [Invoices] et [Invoice Lines] est du type aller-retour automatique. L'option "Mise à jour auto dans les sous-formulaires" est cochée. La lien entre [Invoice Lines] et [Parts] est manuel. + + +![](../assets/en/Develop/transactions-structure.png) + + +Quand un utilisateur saisit une facture, les actions suivantes doivent être exécutées : + +Ajouter un enregistrement dans la table [Invoices]. +Ajouter plusieurs enregistrements dans la table [Invoice Lines]. +Mettre à jour le champ [Parts]In Warehouse pour chaque pièce figurant sur la facture. + +En d'autres termes, vous devez sauvegarder les données liées. C'est la situation type où vous devez utiliser une transaction. Vous pourrez ainsi être certain de pouvoir soit sauvegarder tous ces enregistrements pendant l'opération, soit annuler la transaction si un enregistrement ne peut être ajouté ou mis à jour. + +Si vous n'utilisez pas une transaction, vous ne pouvez pas garantir l'intégrité logique des données de votre base. Par exemple, si un enregistrement parmi ceux de la table [Parts] est verrouillé, vous ne pourrez pas mettre à jour la quantité stockée dans le champ [Parts]In Warehouse. Ce champ sera alors logiquement incorrect. La somme des pièces vendues et restantes dans l'entrepôt ne sera pas égale à la quantité d'origine saisie dans l'enregistrement. Vous pouvez éviter cette situation en utilisant les transactions. + +Il y a plusieurs façons d'effectuer une saisie sous transaction : + +1. Vous pouvez gérer les transactions en utilisant les commandes de transaction [`START TRANSACTION`](../commands-legacy/start-transaction.md), [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) et [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md). Vous pouvez par exemple écrire : + +```4d + READ WRITE([Invoice Lines]) + READ WRITE([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + START TRANSACTION + ADD RECORD([Invoices]) + If(OK=1) + VALIDATE TRANSACTION + Else + CANCEL TRANSACTION + End if + Until(OK=0) + READ ONLY(*) +``` + +2. Pour réduire les verrouillages des enregistrements pendant la saisie de données, vous pouvez aussi choisir de gérer les transactions à partir de la méthode du formulaire et d'accéder aux tables en LECTURE ECRITURE uniquement quand cela est nécessaire. +Vous effectuez la saisie de données en utilisant le formulaire de saisie pour [Invoices], qui contient la table liée [Invoice Lines] dans un sous-formulaire. Le formulaire comporte deux boutons : *bAnnuler* et *bOK*. Aucune action ne leur est attribuée. + +La boucle d'ajout devient alors : + + +```4d + READ WRITE([Invoice Lines]) + READ ONLY([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + ADD RECORD([Invoices]) + Until(bOK=0) + READ ONLY([Invoice Lines]) +``` + +Notez que la table [Parts] est désormais en "lecture seulement" pendant la saisie de données. L'accès en lecture/écriture ne s'active que si les données sont validées. + +La transaction est ouverte dans la méthode du formulaire entrée de la table [Invoices] : + + +```4d + Case of + :(Form event code=On Load) + START TRANSACTION + [Invoices]Invoice ID:=Sequence number([Invoices]Invoice ID) + Else + [Invoices]Total Invoice:=Sum([Invoice Lines]Total line) + End case +``` + +Si vous cliquez sur le bouton *bAnnuler*, la saisie et la transaction doivent être annulées. Voici la méthode objet du bouton *bAnnuler* : + +```4d + Case of + :(Form event code=On Clicked) + CANCEL TRANSACTION + CANCEL + End case +``` + +Si vous cliquez sur le bouton *bOK*, la saisie et la transaction doivent être acceptées. Voici la méthode objet du bouton *bOK* : + + +```4d + Case of + :(Form event code=On Clicked) + var $NbLines:=Records in selection([Invoice Lines]) + READ WRITE([Parts]) //Passer en lecture/écriture pour accéder à la table [Parts] + FIRST RECORD([Invoice Lines]) //Commencer à la première ligne + var $ValidTrans:=True //Tout devrait marcher + var $Line : Integer + For($Line;1;$NbLines) //Pour chaque ligne + RELATE ONE([Invoice Lines]Part No) + OK:=1 //Vous voulez continuer + While(Locked([Parts]) & (OK=1)) + //Essayer d'obtenir l'enregistrement en lecture/écriture + CONFIRM("The Part "+[Invoice Lines]Part No+" is in use. Wait?") + If(OK=1) + DELAY PROCESS(Current process;60) + LOAD RECORD([Parts]) + End if + End while + If(OK=1) + //Mettre à jour quantité dans l'entrepôt + [Parts]In Warehouse:=[Parts]In Warehouse-[Invoice Lines]Quantity + SAVE RECORD([Parts]) //Sauvegarder l'enregistrement + Else + $Line:=$NbLines+1 //Sortir de la boucle + $ValidTrans:=False + End if + NEXT RECORD([Invoice Lines]) //Aller à la ligne suivante + End for + READ ONLY([Parts]) //Mettre la table en mode lecture seulement + If($ValidTrans) + SAVE RECORD([Invoices]) //Sauvegarder les enregistrements + VALIDATE TRANSACTION //Valider toutes les modifications de la base + Else + CANCEL TRANSACTION //Tout annuler + End if + CANCEL //Quitter le formulaire + End case +``` + +Dans le code ci-dessus, quel que soit le bouton sur lequel l'utilisateur a cliqué, nous appelons la commande `CANCEL`. Le nouvel enregistrement n'est pas validé par un appel à [`ACCEPT`](../commands-legacy/accept.md) mais par [`SAVE RECORD`](../commands-legacy/save-record.md). De plus, vous remarquez que [`SAVE RECORD`](../commands-legacy/save-record.md) est appelée juste avant la commande [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md). Ainsi, la sauvegarde de l'enregistrement [Invoices] est partie intégrante de la transaction. Appeler la commande [`ACCEPT`](../commands-legacy/accept.md) validerait aussi l'enregistrement mais dans ce cas, la transaction serait validée avant le stockage de la facture. Autrement dit, l'enregistrement serait sauvegardé en-dehors de la transaction. + +En fonction de vos besoins, personnalisez votre base à votre convenance, comme dans les exemples précédents. Dans le dernier exemple, la gestion du verrouillage des enregistrements de la table [Parts] pourrait être plus élaborée. + + + + +## Suspendre des transactions + +### Principe + +Suspendre une transaction est utile notamment lorsque vous devez, depuis une transaction, lancer certaines opérations qui n'ont pas besoin d'être effectuées sous le contrôle de cette transaction. Par exemple, imaginez le cas d'un client qui passe une commande, donc via une transaction, et qui en profite pour mettre à jour son adresse postale. Finalement, le client se ravise et annule sa commande. La transaction est annulée, mais pour autant vous ne souhaitez pas que la mise à jour de l'adresse le soit également. Ce cas peut typiquement être géré via la suspension de la transaction. Trois commandes permettent de gérer la suspension et la réactivation des transactions : + +- [`SUSPEND TRANSACTION`](../commands-legacy/suspend-transaction.md): suspend la transaction courante. Tous les enregistrements en cours de mise à jour ou de création restent verrouillés. +- [`RESUME TRANSACTION`](../commands-legacy/resume-transaction.md): réactive une transaction suspendue, le cas échéant. +- [`Active transaction`](../commands-legacy/active-transaction.md): retourne Faux si la transaction courante est suspendue ou s'il n'y a pas de transaction courante, et Vrai si elle est démarrée ou réactivée. + +### Exemple + +Cet exemple présente un cas typique où la suspension d'une transaction est utile. Dans une base de facturation (Invoices), nous voulons obtenir un nouveau numéro de facture durant une transaction. Ce numéro est calculé et stocké dans une table [Settings]. Dans un environnement multi-utilisateur, les accès doivent être protégés ; cependant, à cause de la transaction, la table [Settings] pourrait être verrouillée par un autre utilisateur alors même que ses données ne dépendent pas de la transaction principale. Dans ce cas, vous pouvez suspendre la transaction pour l'accès à la table. + + +```4d + //Méthode standard qui crée une facture + START TRANSACTION + ... + CREATE RECORD([Invoices]) + //appel de la méthode pour obtenir un numéro disponible + [Invoices]InvoiceID:=GetInvoiceNum + ... + SAVE RECORD([Invoices]) + VALIDATE TRANSACTION + + ``` + +La méthode *GetInvoiceNum* suspend la transaction avant de s'exécuter. A noter que ce code fonctionnera même si la méthode est appelée en-dehors de toute transaction : + +```4d + //GetInvoiceNum project method + //GetInvoiceNum -> Next available invoice number + #DECLARE -> $freeNum : Integer + SUSPEND TRANSACTION + ALL RECORDS([Settings]) + If(Locked([Settings])) //accès multi-utilisateur + While(Locked([Settings])) + MESSAGE("Waiting for locked Settings record") + DELAY PROCESS(Current process;30) + LOAD RECORD([Settings]) + End while + End if + [Settings]InvoiceNum:=[Settings]InvoiceNum+1 + $freeNum:=[Settings]InvoiceNum + SAVE RECORD([Settings]) + UNLOAD RECORD([Settings]) + RESUME TRANSACTION + +``` + +### Détail du fonctionnement + +#### Que se passe-t-il quand une transaction est suspendue ? + +Lorsqu'une transaction est suspendue, les principes de fonctionnement suivants s'appliquent : + +- Vous pouvez accéder aux enregistrements qui ont été ajoutés ou modifiés durant la transaction, et vous ne pouvez pas accéder aux enregistrements qui ont été supprimés durant la transaction. +- Vous pouvez créer, sauvegarder, supprimer ou modifier des enregistrements en-dehors de la transaction. +- Vous pouvez démarrer une nouvelle transaction, mais à l'intérieur de cette transaction incluse, vous ne pourrez pas voir les enregistrements ou les valeurs d'enregistrements qui auront été modifié(s) ou ajouté(e)s dans la transaction suspendue. En fait, cette nouvelle transaction est totalement indépendante de celle qui a été suspendue, comme s'il s'agissait d'une transaction dans un autre process, et puisque la transaction suspendue pourra être par la suite validée ou annulée, tout enregistrement modifié ou annulé est automatiquement masqué pour la nouvelle transaction. Dès que vous validerez ou annulerez cette nouvelle transaction, vous pourrez à nouveau accéder à ces enregistrements. +- Tous les enregistrements modifiés, supprimés ou ajoutés à l'intérieur de la transaction suspendue restent verrouillés pour les autres process. If vous tentez de modifier ou de supprimer ces enregistrements hors de la transaction ou dans une autre transaction, une erreur est générée. + +Ces principes sont résumés dans le schéma suivant : + +![](../assets/en/Develop/transactions-schema1.png) + + +*Les valeurs modifiées durant la transaction A (enregistrement ID1 prend la valeur Val11) ne sont pas disponibles dans une nouvelle transaction (B) créée pendant la période de suspension. Les valeurs modifiées durant la période de suspension (enregistrement ID2 prend la valeur Val22 et enregistrement ID3 prend la valeur Val33) sont sauvegardées même après que la transaction A a été annulée.* + +Des fonctionnalités spécifiques ont été ajoutées pour prendre en charge les erreurs : + +- L'enregistrement courant de chaque table devient temporairement verrouillé s'il est modifié pendant la transaction et est automatiquement déverrouillé lorsque la transaction est réactivée. Ce mécanisme est important pour empêcher que des parties de la transaction soient sauvegardées de manière impromptue. +- Si vous exécutez une séquence invalide telle que *start transaction / suspend transaction / start transaction / resume transaction*, une erreur est générée. Ce mécanisme prévient tout éventuel oubli de valider ou d'annuler des sous-transactions incluses avant de réactiver une transaction suspendue. + + + + +#### Transactions suspendues et statut du process + +La commande [`In transaction`](../commands-legacy/in-transaction.md) retourne Vrai dès qu'une transaction a été démarrée, même si elle a été suspendue. Pour savoir si la transaction courante a été suspendue, vous devez utiliser la commande [`Active transaction`](../commands-legacy/active-transaction.md) qui retourne Faux dans ce cas. + +Ces deux commandes, cependant, retournent également Faux si aucune transaction n'a été démarrée. Vous pourrez alors avoir besoin d'utiliser la commande [`Transaction level`](../commands-legacy/transaction-level.md), qui retourne 0 dans ce contexte (pas de transaction démarrée). + +Le schéma suivant illustre les différents contextes de transaction et les valeurs correspondantes retournées par les commandes de transaction : + +![](../assets/en/Develop/transactions-schema2.png) + + diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/preemptive.md b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/preemptive.md index ddaab09374b905..a3f38045ae7adb 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/preemptive.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/preemptive.md @@ -13,7 +13,7 @@ Lorsqu'ils sont exécutés en mode *coopératif*, tous les process sont gérés En conséquence, en mode préemptif, les performances globales de l'application sont améliorées, notamment sur les machines multicœurs, car plusieurs process peuvent réellement s'exécuter simultanément. Cependant, les gains réels dépendent des opérations en cours d'exécution. En contrepartie, étant donné qu'en mode préemptif chaque process est indépendant des autres et n'est pas géré directement par l'application, il y a des contraintes spécifiques appliquées au code que vous souhaitez rendre compatible avec une utilisation en préemptif. De plus, l'exécution en préemptif n'est disponible que dans certains contextes. -## Availability of preemptive mode {#availability-of-preemptive-mode} +## Disponibilité du mode préemptif {#availability-of-preemptive-mode} L'utilisation du mode préemptif est prise en charge dans les contextes d'exécution suivants : @@ -41,7 +41,7 @@ Le code 4D ne peut être exécuté dans un process préemptif que lorsque certai La propriété "thread safety" de chaque élément dépend de l'élément lui-même : -- Commandes 4D : la propriété thread-safe est une propriété interne. In the 4D documentation, thread-safe commands are identified by the ![](../assets/en/Develop/thread-safe.png) icon. You can also use the [`Command name`](../commands/command-name.md) command to know if a command is thread-safe. Une grande partie des commandes 4D peut s'exécuter en mode préemptif. +- Commandes 4D : la propriété thread-safe est une propriété interne. Dans la documentation 4D, les commandes thread-safe sont identifiées par l'icône ![](../assets/en/Develop/thread-safe.png). Vous pouvez également utiliser la commande [`Command name`](../commands/command-name.md) pour savoir si une commande est thread-safe. Une grande partie des commandes 4D peut s'exécuter en mode préemptif. - Méthodes projet : les conditions pour être thread-safe sont répertoriées dans [ce paragraphe](#writing-a-thread-safe-method). Fondamentalement, le code à exécuter dans des threads préemptifs ne peut pas appeler des parties avec des interactions externes, telles que du code de plug-in ou des variables interprocess. Cependant, l'accès aux données est autorisé car le serveur de données 4D et ORDA prennent en charge l'exécution préemptive. @@ -141,7 +141,7 @@ Exécuter une méthode en mode préemptif dépendra de sa propriété "execution 4D vous permet d'identifier le mode d'exécution des process en mode compilé : -- The [`Process info`](../commands/process-info.md) command allows you to find out whether a process is run in preemptive or cooperative mode. +- La commande [`Process info`](../commands/process-info.md) vous permet de savoir si un process est exécuté en mode préemptif ou coopératif. - L'Explorateur d'exécution et la [fenêtre d'administration de 4D Server](../ServerWindow/processes.md#process-type) affichent des icônes spécifiques pour les process préemptifs. ## Ecrire une méthode thread-safe @@ -155,10 +155,10 @@ Pour être thread-safe, une méthode doit respecter les règles suivantes : - Elle ne doit pas utiliser de variables interprocess(1) - Elle ne doit pas appeler d'objets d'interface (2) (il y a cependant des exceptions, voir ci-dessous). -(1) To exchange data between preemptive processes (and between all processes), you can pass [shared collections or shared objects](../Concepts/shared.md) as parameters to processes, and/or use the [`Storage`](../commands-legacy/storage.md) catalog. +(1) Pour échanger des données entre process préemptifs (et entre tous les process), vous pouvez passer des [collections partagées ou objets partagés](../Concepts/shared.md) comme paramètres aux process, et/ou utiliser le catalogue [`Storage`](../commands-legacy/storage.md). Les [process Worker](processes.md#worker-processes) vous permettent également d'échanger des messages entre tous les process, y compris les process préemptifs. -(2) The [`CALL FORM`](../commands-legacy/call-form.md) command provides an elegant solution to call interface objects from a preemptive process. +(2) La commande [`CALL FORM`](../commands-legacy/call-form.md) fournit une solution élégante pour appeler des objets d'interface à partir d'un process préemptif. :::note Notes @@ -193,7 +193,7 @@ Les seuls accès possibles à l'interface utilisateur depuis un thread préempti ### Triggers -When a method uses a command that can call a [trigger](https://doc.4d.com/4Dv20/4D/20.6/Triggers.300-7488308.en.html), the 4D compiler evaluates the thread safety of the trigger in order to check the thread safety of the method: +Lorsqu'une méthode utilise une commande qui peut appeler un [trigger](https://doc.4d.com/4Dv20/4D/20.6/Triggers.300-7488308.en.html), le compilateur 4D évalue la "thread safety" du trigger afin de vérifier celle de la méthode : ```4d SAVE RECORD([Table_1]) //trigger sur Table_1, s'il existe, doit être thread-safe @@ -216,7 +216,7 @@ Dans ce cas, tous les triggers sont évalués. Si une commande thread-unsafe est :::note -In [client/server applications](../Desktop/clientServer.md), triggers may be executed in cooperative mode, even if their code is thread-safe. This happens when a trigger is activated from a remote process: in this case, the trigger is executed in the ["twinned" process of the client process](https://doc.4d.com/4Dv20/4D/20/4D-Server-and-the-4D-Language.300-6330554.en.html#68972) on the server machine. Since this process is used for all calls from the client, it is always executed in cooperative mode. +Dans les [applications client/serveur](../Desktop/clientServer.md), les triggers peuvent être exécutés en mode coopératif, même si leur code est thread-safe. Cela se produit lorsqu'un trigger est déclenché à partir d'un process distant : dans ce cas, le trigger est exécuté dans le [process "jumeau" du process client](https://doc.4d.com/4Dv20/4D/20/4D-Server-and-the-4D-Language.300-6330554.en.html#68972) sur la machine serveur. Comme ce process est utilisé pour tous les appels du client, il est toujours exécuté en mode coopératif. ::: @@ -268,12 +268,12 @@ Il peut y avoir certains cas où vous préférez que la vérification de la prop Pour faire cela, vous devez entourer le code à exclure de la vérification avec les directives spéciales `%T-` et `%T+` en tant que commentaires. Le commentaire `//%T-` désactive la vérification de la propriété thread safe et `//%T+` la réactive : ```4d - //%T- to disable thread safety checking - - // Place the code containing commands to be excluded from thread safety checking here - $w:=Open window(10;10;100;100) //for example - - //%T+ to enable thread safety checking again for the rest of the method + //%T- pour désactiver la vérification thread safety + + // Placez le code contenant les commandes à exclure de la vérification thread safety ici + $w:=Open window(10;10;100;100) //par exemple + + //%T+ pour réactiver la vérification thread safety pour le reste de la méthode ``` Bien entendu, le développeur 4D est responsable de la compatibilité du code entre les directives de désactivation et de réactivation avec le mode préemptif. Des erreurs d'exécution seront générées si du code thread-unsafe est exécuté dans un process préemptif. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/processes.md b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/processes.md index 6fd734b8abdd63..9a095b4d704ad2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/processes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/processes.md @@ -18,9 +18,9 @@ L'application 4D crée des process pour ses propres besoins, par exemple le proc Il existe plusieurs façons de créer un nouveau process : - Exécuter une méthode en mode Développement en sélectionnant la case à cocher **Nouveau process** dans la boîte de dialogue d'exécution de méthode. La méthode choisie dans ce dialogue est la méthode process. -- Use the [`New process`](../commands-legacy/new-process.md) command. La méthode passée en tant que paramètre à la commande `New process` est la méthode process. +- Utilisez la commande [`New process`](../commands-legacy/new-process.md). La méthode passée en tant que paramètre à la commande `New process` est la méthode process. - Utiliser la commande [`Execute on server`](../commands-legacy/execute-on-server.md) afin de créer une procédure stockée sur le serveur. La méthode passée en paramètre à la commande est la méthode process. -- Use the [`CALL WORKER`](../commands-legacy/call-worker.md) command. Si le process du worker n'existe pas déjà, il est créé. +- Utiliser la commande [`CALL WORKER`](../commands-legacy/call-worker.md). Si le process du worker n'existe pas déjà, il est créé. :::note @@ -50,7 +50,7 @@ Chaque process contient des éléments spécifiques qu'il peut traiter indépend ### Éléments d'interface -Les éléments d'interface sont utilisés dans les [Applications Desktop] (../category/desktop-applications). Il s'agit des éléments suivants : +Les éléments d'interface sont utilisés dans les [Applications Desktop](../category/desktop-applications). Il s'agit des éléments suivants : - [Barre de menus](../Menus/creating.md) : Chaque process peut avoir sa propre barre de menus courante. La barre de menus du process au premier plan est la barre de menus courante de l'application. - Une ou plusieurs fenêtres : Chaque processus peut avoir plusieurs fenêtres ouvertes simultanément. A l'inverse, des process peuvent n'avoir pas de fenêtre du tout. @@ -98,13 +98,13 @@ Un process worker peut être "engagé" par n'importe quel process (en utilisant :::info -In Desktop applications, a project method can also be executed with parameters in the context of any form using the [`CALL FORM`](../commands-legacy/call-form.md) command. +Dans les applications Desktop, une méthode projet peut également être exécutée avec des paramètres dans le contexte de n'importe quel formulaire en utilisant la commande [`CALL FORM`](../commands-legacy/call-form.md). ::: Cette fonctionnalité répond aux besoins suivants en matière de communication interprocess de 4D : -- Étant donné qu'ils sont pris en charge par les process coopératifs et préemptifs, ils constituent la solution idéale pour la communication interprocessus dans les [process préemptifs] (preemptive.md) ([les variables interprocess sont dépréciées] (https://doc.4d.com/4Dv20/4D/20/Deprecated-or-Removed-Features.100-6259787.en.html#5868705) et ne sont pas autorisées dans les processus préemptifs). +- Étant donné qu'ils sont pris en charge par les process coopératifs et préemptifs, ils constituent la solution idéale pour la communication interprocess dans les [process préemptifs](preemptive.md) ([les variables interprocess sont dépréciées](https://doc.4d.com/4Dv20/4D/20/Deprecated-or-Removed-Features.100-6259787.en.html#5868705) et ne sont pas autorisées dans les process préemptifs). - Ils constituent une alternative simple aux sémaphores, qui peuvent être lourds à mettre en place et complexes à utiliser :::note @@ -144,10 +144,10 @@ Le process principal créé par 4D lors de l'ouverture d'une base de données po ### Identifier les process worker -All worker processes, except the main process, have the process type `Worker process` (5) returned by the [`Process info`](../commands/process-info.md) command. +Tous les process worker, à l'exception du process principal, ont le type de process `Worker process` (5) renvoyé par la commande [`Process info`](../commands/process-info.md). Des [icônes spécifiques](../ServerWindow/processes#process-type) identifient les process worker. ### Voir également -Pour plus d'informations, veuillez consulter [cet article de blog] (https://blog.4d.com/4d-summit-2016-laurent-esnault-presents-workers-and-ui-in-preemptive-mode/) sur l'utilisation des workers. +Pour plus d'informations, veuillez consulter [cet article de blog](https://blog.4d.com/4d-summit-2016-laurent-esnault-presents-workers-and-ui-in-preemptive-mode/) sur l'utilisation des workers. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/FormEditor/formEditor.md b/i18n/fr/docusaurus-plugin-content-docs/current/FormEditor/formEditor.md index c261d28379d42a..b287c7227c47f3 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/FormEditor/formEditor.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/FormEditor/formEditor.md @@ -697,7 +697,7 @@ Sélectionnez simplement la vue de destination, faites un clic droit puis sélec ![](../assets/en/FormEditor/moveObject.png) -OR +OU Sélectionnez la vue de destination de la sélection et cliquez sur le bouton **Déplacer vers** en bas de la palette des vues : diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md b/i18n/fr/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md index 4ac81fcbd868a1..7c5309bcbc58e8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md @@ -197,7 +197,7 @@ Les propriétés prises en charge dépendent du type de list box. ### Événements formulaire pris en charge -| Evénement formulaire | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | Commentaires | +| Evénement formulaire | Propriétés supplémentaires renvoyées (voir [Form event](../commands/form-event.md) pour les propriétés principales) | Commentaires | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | | On After Keystroke |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | @@ -271,7 +271,7 @@ You can set standard properties (text, background color, etc.) for each column o ### Événements formulaire pris en charge -| Evénement formulaire | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | Commentaires | +| Evénement formulaire | Propriétés supplémentaires renvoyées (voir [Form event](../commands/form-event.md) pour les propriétés principales) | Commentaires | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | | On After Keystroke |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/FormObjects/properties_Text.md b/i18n/fr/docusaurus-plugin-content-docs/current/FormObjects/properties_Text.md index 6395799e134852..d14d69eea77453 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/FormObjects/properties_Text.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/FormObjects/properties_Text.md @@ -25,7 +25,7 @@ When this property is enabled, the [OPEN FONT PICKER](../commands-legacy/open-fo Le texte sélectionné est plus foncé et plus épais. -You can set this property using the [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md) command. +Vous pouvez définir cette propriété en utilisant la commande [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md). > This is normal text.
    > **This is bold text.** @@ -46,7 +46,7 @@ You can set this property using the [**OBJECT SET FONT STYLE**](../commands-lega Fait pencher le texte sélectionné légèrement vers la droite. -You can also set this property via the [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md) command. +Vous pouvez également définir cette propriété via la commande [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md). > This is normal text.
    > *This is text in italics.* diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/MSC/encrypt.md b/i18n/fr/docusaurus-plugin-content-docs/current/MSC/encrypt.md index f21cbf176f0a93..c4d15a084c847f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/MSC/encrypt.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/MSC/encrypt.md @@ -69,7 +69,7 @@ Pour des raisons de sécurité, toutes les opérations de maintenance liées au À ce stade, deux options s'offrent à vous : - entrez la phrase secrète courante(2) et cliquez sur **OK**. - OR + OU - connectez un périphérique tel qu'une clé USB et cliquez sur le bouton **Scanner les disques**. (1) Le trousseau 4D stocke toutes les clés de chiffrement des données valides qui ont été saisies au cours de la session d'application.\ diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md index 1b14a410105513..1bf273685bea23 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -10,6 +10,9 @@ Read [**What’s new in 4D 20 R10**](https://blog.4d.com/en-whats-new-in-4d-20-R #### Points forts - New `connectionTimeout` option in the [`options`](../API/TCPConnectionClass.md#options-parameter) parameter of the [`4D.TCPConnection.new()`](../API/TCPConnectionClass.md#4dtcpconnectionnew) function. +- UUIDs in 4D are now generated in **version 7**. In previous 4D releases, they were generated in version 4. +- Langage 4D: + - For consistency, [`Create entity selection`](../commands/create-entity-selection.md) and [`USE ENTITY SELECTION`](../commands/use-entity-selection.md) commands have been moved from the ["4D Environment"](../commands/theme/4D_Environment.md) to the ["Selection"](../commands/theme/Selection.md) themes. ## 4D 20 R9 @@ -51,7 +54,7 @@ Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8 - The following commands now allow parameters such as objects or collections: [WP SET ATTRIBUTES](../WritePro/commands/wp-set-attributes.md), [WP Get attributes](../WritePro/commands/wp-get-attributes.md), [WP RESET ATTRIBUTES](../WritePro/commands/wp-reset-attributes.md), [WP Table append row](../WritePro/commands/wp-table-append-row.md), [WP Import document](../WritePro/commands/wp-import-document.md), [WP EXPORT DOCUMENT](../WritePro/commands/wp-export-document.md), [WP Add picture](../WritePro/commands/wp-add-picture.md), and [WP Insert picture](../WritePro/commands/wp-insert-picture.md). - [WP Insert formula](../WritePro/commands/wp-insert-formula.md), [WP Insert document body](../WritePro/commands/wp-insert-document-body.md), and [WP Insert break](../WritePro/commands/wp-insert-break.md), are now functions that return ranges. - New expressions related to document attributes: [This.sectionIndex](../WritePro/managing-formulas.md), [This.sectionName](../WritePro/managing-formulas.md) and [This.pageIndex](../WritePro/managing-formulas.md). -- Langage 4D : +- Langage 4D: - Modified commands: [`FORM EDIT`](../commands/form-edit.md) - [`.sign()`](../API/CryptoKeyClass.md#sign) and [`.verify()`](../API/CryptoKeyClass.md#verify) functions of the [4D.CryptoKey class](../API/CryptoKeyClass.md) support Blob in the *message* parameter. - [**Liste des bugs corrigés**](https://bugs.4d.fr/fixedbugslist?version=20_R8) : liste de tous les bugs qui ont été corrigés dans 4D 20 R8. @@ -72,12 +75,12 @@ Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7 - Vous pouvez désormais [ajouter et supprimer des composants à l'aide de l'interface du Gestionnaire de composants](../Project/components.md#monitoring-project-dependencies). - Nouveau [**mode de typage direct**](../Project/compiler.md#enabling-direct-typing) dans lequel vous déclarez toutes les variables et paramètres dans votre code en utilisant les mots-clés `var` et `#DECLARE`/`Function` (seul mode supporté dans les nouveaux projets). La [fonctionnalité de vérification de syntaxe](../Project/compiler.md#check-syntax) a été adaptée en conséquence. - Prise en charge des [singletons de session](../Concepts/classes.md#singleton-classes) et nouvelle propriété de classe [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton). -- Nouveau [mot-clé de fonction `onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) pour définir des fonctions singleton ou ORDA qui peuvent être appelées par des [requêtes HTTP REST GET](../REST/ClassFunctions.md#function-calls). +- New [`onHTTPGet` function keyword](../ORDA/ordaClasses.md#onhttpget-keyword) to define singleton or ORDA functions that can be called through [HTTP REST GET requests](../REST/ClassFunctions.md#function-calls). - Nouvelle classe [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) pour que le serveur REST retourne n'importe quel contenu web. - Qodly Studio : Vous pouvez maintenant [attacher le débogueur Qodly à 4D Server](../WebServer/qodly-studio.md#using-qodly-debugger-on-4d-server). - Nouvelles clés Build Application pour que les applications 4D distantes valident les [signatures](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateAuthoritiesCertificates.300-7425900.fe.html) et/ou les [domaines](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.fe.html) des autorités de certification des serveurs. - Possibilité de [construire des applications autonomes sans licences intégrées](../Desktop/building.md#licenses). -- Langage 4D : +- Langage 4D: - Nouvelles commandes : [Process info](../commands/process-info.md), [Session info](../commands/session-info.md), [SET WINDOW DOCUMENT ICON](../commands/set-window-document-icon.md) - Commandes modifiées : [Process activity](../commands/process-activity.md), [Process number](../commands/process-number.md) - 4D Write Pro : diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/REST/$entityset.md b/i18n/fr/docusaurus-plugin-content-docs/current/REST/$entityset.md index c4e658e90aa14c..74cf649d88d2c0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/REST/$entityset.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/REST/$entityset.md @@ -50,7 +50,7 @@ Voici les opérateurs logiques : | Opérateur | Description | | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | AND | Retourne les entités communes aux deux entity sets | -| OR | Retourne les entités contenues dans les deux entity sets | +| OU | Retourne les entités contenues dans les deux entity sets | | EXCEPT | Retourne les entités de l'entity set #1 moins celles de l'entity set #2 | | INTERSECT | Retourne true ou false s'il existe une intersection des entités dans les deux entity sets (ce qui signifie qu'au moins une entité est commune aux deux entity sets) | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/qodly-studio.md b/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/qodly-studio.md index 089f9f1b308351..80858a91e349e3 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/qodly-studio.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/qodly-studio.md @@ -138,8 +138,7 @@ Il n'y a pas de compatibilité directe entre les applications implémentées ave | Débogueur | 4D IDE debugger
    *4D Server only*: Qodly Studio debugger (see [this paragraph](#using-qodly-debugger-on-4d-server)) | Débogueur Qodly Studio | | Rôles et privilèges REST/Web | Edition directe roles.json / Éditeur de rôles et privilèges de Qodly Studio | Éditeur de rôles et privilèges de Qodly Studio | -Note that in 4D single-user, if you open some 4D code with the Qodly Studio code editor, syntax coloring is not available and a "Lsp not loaded" warning is displayed. (1) The **Model** item is disabled in Qodly Studio.
    -(2) In 4D Server, opening 4D code with the Qodly Studio code editor is supported **for testing and debugging purposes** (see [this paragraph](#development-and-deployment)). +Note that in 4D single-user, if you open some 4D code with the Qodly Studio code editor, syntax coloring is not available and a "Lsp not loaded" warning is displayed. Notez que dans 4D monoposte, si vous ouvrez du code 4D avec l'éditeur de code de Qodly Studio, la coloration syntaxique n'est pas disponible et un avertissement "Lsp not loaded" est affiché. ### Langage diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/webServerConfig.md b/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/webServerConfig.md index dbc396bea42703..f21215a50097fb 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/webServerConfig.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/webServerConfig.md @@ -626,7 +626,7 @@ Dans certains cas, d'autres fonctions internes optimisées peuvent être appelé Deux options permettent de définir le mode de fonctionnement des connexions persistantes : -- **Nombre de demandes par connexion** : Permet de définir le nombre maximal de requêtes et de réponses capables d'être transmises sur une connexion persistante. Limiter le nombre de demandes par connexion permet d'éviter le server flooding, provoqué par un trop grand nombre de requêtes entrantes (technique utilisée par les pirates informatiques).

    +- **Nombre de requêtes par connexion** : Permet de définir le nombre maximal de requêtes et de réponses capables d'être transmises lors d'une connexion persistante. Limiter le nombre de demandes par connexion permet d'éviter le server flooding, provoqué par un trop grand nombre de requêtes entrantes (technique utilisée par les pirates informatiques).

    La valeur par défaut (100) peut être augmentée ou diminuée en fonction des ressources de la machine hébergeant le Serveur Web 4D.

    - **Délai avant déconnexion** : Cette valeur définit l'attente maximale (en secondes) pour le maintien d'une connexion TCP sans réception d'une requête de la part du navigateur web. Une fois cette période terminée, le serveur ferme la connexion.

    diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema1.png b/i18n/fr/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema1.png new file mode 100644 index 00000000000000..e3e42329c20e16 Binary files /dev/null and b/i18n/fr/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema1.png differ diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema2.png b/i18n/fr/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema2.png new file mode 100644 index 00000000000000..79cf0060952bcd Binary files /dev/null and b/i18n/fr/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema2.png differ diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-structure.png b/i18n/fr/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-structure.png new file mode 100644 index 00000000000000..d7f45b3788d414 Binary files /dev/null and b/i18n/fr/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-structure.png differ diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md b/i18n/fr/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md index 3513373fd38a40..ce5d338240c4dd 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md @@ -762,7 +762,7 @@ Voici la liste des balises et leur mode d'utilisation : | `` | Balise remplacée par le nom de l'utilisateur 4D courant. | | `` | Balise remplacée par le nom d'utilisateur courant du système. | | `` | Balise remplacée par le nom de la méthode courante. | -| `` | Tag replaced by path syntax (as returned by [`METHOD Get path`](../commands-legacy/method-get-path.md) of the current method. | +| `` | Balise remplacée par la syntaxe du chemin (tel que retourné par [`METHOD Get path`](../commands-legacy/method-get-path.md)) de la méthode courante. | | `` | Balise remplacée par la date courante. | | | *Attribut*: | | | - format : Format 4D utilisé pour afficher la date. Si aucun format n'est défini, le format par défaut est utilisé. Valeurs = numéro du format 4D (0 à 8). | @@ -802,7 +802,7 @@ La balise `` permet de générer et d'utiliser des macro-commandes qui e Le code d'une méthode appelée est exécuté dans un nouveau process. Ce process est tué une fois la méthode exécutée. -> Le process de structure reste figé jusqu'à ce que l'exécution de la méthode appelée soit terminée. Vous devez vous assurer que l'exécution est rapide et qu'il n'y a aucun risque qu'elle bloque l'application. If this occurs, use the **Ctrl+F8** (Windows) or **Command+F8** (macOS) command to "kill" the process. +> Le process de structure reste figé jusqu'à ce que l'exécution de la méthode appelée soit terminée. Vous devez vous assurer que l'exécution est rapide et qu'il n'y a aucun risque qu'elle bloque l'application. Si cela se produit, utilisez la commande **Ctrl+F8** (Windows) ou **Command+F8** (macOS) pour "tuer" le process. ### Appeler des macros @@ -834,7 +834,7 @@ La prise en charge des macros peut changer d'une version de 4D à l'autre. Afin #### Variables de sélection de texte pour les méthodes -Il est recommandé de gérer les sélections de texte à l'aide des commandes [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) et [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) . Ces commandes peuvent être utilisées pour surmonter le cloisonnement des espaces d'exécution du projet hôte/composant et ainsi permettre la création de composants dédiés à la gestion des macros. Afin d'activer ce mode pour une macro, vous devez déclarer l'attribut Version avec la valeur 2 dans l'élément Macro. In this case, 4D no longer manages the predefined variables _textSel,_textReplace, etc. and the [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) and [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) commands are used. Cet attribut doit être déclaré comme suit : +Il est recommandé de gérer les sélections de texte à l'aide des commandes [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) et [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) . Ces commandes peuvent être utilisées pour surmonter le cloisonnement des espaces d'exécution du projet hôte/composant et ainsi permettre la création de composants dédiés à la gestion des macros. Afin d'activer ce mode pour une macro, vous devez déclarer l'attribut Version avec la valeur 2 dans l'élément Macro. Dans ce cas, 4D ne gère plus les variables prédéfinies _textSel, _textReplace, etc. et les commandes [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) et [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) sont utilisées. Cet attribut doit être déclaré comme suit : ``
    `--- Text of the macro ---`
    `
    ` diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/active-transaction.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/active-transaction.md index 39f8919247adec..e5745c39fc8352 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/active-transaction.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/active-transaction.md @@ -19,7 +19,8 @@ displayed_sidebar: docs Comme cette commande retourne également **Faux** lorsque le process courant n'est pas en transaction, vous aurez besoin d'utiliser la commande [In transaction](in-transaction.md) afin de vérifier que le process est bien en transaction. -Pour plus d'informations, reportez-vous à la section *Suspendre des transactions*. +Pour plus d'informations, reportez-vous à la section [Suspendre des transactions](../Develop-legacy/transactions.md#suspending-transactions) +. ## Description @@ -42,7 +43,7 @@ Vous voulez connaître le statut courant de transaction : [In transaction](in-transaction.md) [RESUME TRANSACTION](resume-transaction.md) [SUSPEND TRANSACTION](suspend-transaction.md) -*Suspendre des transactions* +[Suspendre des transactions](../Develop-legacy/transactions.md#suspending-transactions) ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/cancel-transaction.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/cancel-transaction.md index 54e85f2c16d263..2039b8690d4de8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/cancel-transaction.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/cancel-transaction.md @@ -23,7 +23,7 @@ displayed_sidebar: docs [In transaction](in-transaction.md) [START TRANSACTION](start-transaction.md) [Transaction level](transaction-level.md) -*Utiliser des transactions* +[Transactions](../Develop-legacy/transactions.md) [VALIDATE TRANSACTION](validate-transaction.md) ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/constant-list.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/constant-list.md new file mode 100644 index 00000000000000..53e99d53fd9fa4 --- /dev/null +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/constant-list.md @@ -0,0 +1,1693 @@ +--- +id: constant-list +title: Constant List +slug: /commands/constant-list +displayed_sidebar: docs +--- + + +| English | French | +|---------|--------| +| 4D Client Database Folder | Dossier base 4D Client | +| 4D Client SOAP License | Licence SOAP 4D Client | +| 4D Client Web License | Licence Web 4D Client | +| 4D Desktop | 4D Desktop | +| 4D For OCI License | Licence 4D For OCI | +| 4D Local Mode | 4D mode local | +| 4D ODBC Pro License | Licence 4D ODBC Pro | +| 4D REST Test license | 4D REST Test license | +| 4D Remote Mode | 4D mode distant | +| 4D Remote Mode Timeout | Timeout 4D mode distant | +| 4D SOAP License | Licence 4D SOAP | +| 4D SOAP Local License | Licence 4D SOAP locale | +| 4D SOAP One Connection License | Licence 4D SOAP une connexion | +| 4D SQL Server License | Licence Serveur SQL 4D | +| 4D SQL Server Local License | Licence Serveur SQL 4D locale | +| 4D SQL Server One Conn License | Licence Serveur SQL 4D 1 conn | +| 4D Server | 4D Server | +| 4D Server Log Recording | Enreg requêtes 4D Server | +| 4D Server Timeout | Timeout 4D Server | +| 4D View License | Licence 4D View | +| 4D Volume Desktop | 4D Volume Desktop | +| 4D Web License | Licence 4D Web | +| 4D Web Local License | Licence 4D Web locale | +| 4D Web One Connection License | Licence 4D Web une connexion | +| 4D Write License | Licence 4D Write | +| 4D user account | Compte utilisateur 4D | +| 4D user alias | Alias utilisateur 4D | +| 4D user alias or account | Alias ou compte utilisateur 4D | +| 64 bit Version | Version 64 bits | +| ACK ASCII code | ASCII ACK | +| Aborted | Détruit | +| Absolute path | Chemin absolu | +| Access Privileges | Autorisations d’accès | +| Activate event | Activation fenêtre | +| Activate window bit | Bit activation fenêtre | +| Activate window mask | Masque activation fenêtre | +| Active 4D Folder | Dossier 4D actif | +| Activity all | Activités toutes | +| Activity language | Activité langage | +| Activity network | Activité réseau | +| Activity operations | Activité opérations | +| Additional text | Texte supplémentaire | +| Align Top | Aligné en haut | +| Align bottom | Aligné en bas | +| Align center | Aligné au centre | +| Align default | Aligné par défaut | +| Align left | Aligné à gauche | +| Align right | Aligné à droite | +| Allow alias files | Sélection alias | +| Allow deletion | Suppression autorisée | +| Alternate dialog box | Dialogue ombré | +| Apple Event Manager | Gestionnaire Apple Event | +| Applications or Program Files | Applications ou Program Files | +| April | Avril | +| Array 2D | Est un tableau 2D | +| Associated Standard Action | Action standard associée | +| Associated standard action name | Associer action standard | +| At sign | Arobase | +| At the Bottom | En bas | +| At the Top | En haut | +| Attribute Executed on server | Attribut exécutée sur serveur | +| Attribute Invisible | Attribut invisible | +| Attribute Published SOAP | Attribut publiée SOAP | +| Attribute Published SQL | Attribut publiée SQL | +| Attribute Published WSDL | Attribut publiée WSDL | +| Attribute Published Web | Attribut publiée Web | +| Attribute Shared | Attribut partagée | +| Attribute background color | Attribut couleur fond | +| Attribute bold style | Attribut style gras | +| Attribute folder name | Attribut nom dossier | +| Attribute font name | Attribut nom de police | +| Attribute italic style | Attribut style italique | +| Attribute strikethrough style | Attribut style barré | +| Attribute text color | Attribut couleur texte | +| Attribute text size | Attribut taille texte | +| Attribute underline style | Attribut style souligné | +| August | Août | +| Austrian Schilling | Schilling autrichien | +| Auto Synchro Resources Folder | Synchro auto dossier Resources | +| Auto insertion | Insertion automatique | +| Auto key event | Répétition touche | +| Auto repair mode | Mode réparation auto | +| Automatic | Automatique | +| Automatic style sheet | Feuille de style automatique | +| Automatic style sheet_additional | Feuille de style automatique_additionnel | +| Automatic style sheet_main text | Feuille de style automatique_texte principal | +| BEL ASCII code | ASCII BEL | +| BS ASCII code | ASCII BS | +| Background color | Coul arrière plan | +| Background color none | Coul fond transparent | +| Backspace | Retour arrière | +| Backspace Key | Touche retour arrière | +| Backup Process | Process de sauvegarde | +| Backup data settings | Fichier configuration sauvegarde pour le fichier de données | +| Backup history file | Fichier historique des sauvegardes | +| Backup log file | Fichier log sauvegarde | +| Backup structure settings | Fichier configuration sauvegarde | +| Belgian Franc | Franc belge | +| Black | Noir | +| Black and white | Noir et blanc | +| Blank if null date | Vide si date nulle | +| Blank if null time | Vide si heure nulle | +| Blob array | Est un tableau blob | +| Blue | Bleu | +| Bold | Gras | +| Bold and Italic | Gras et italique | +| Bold and Underline | Gras et souligné | +| Boolean array | Est un tableau booléen | +| Border Dotted | Bordure Trait pointillé | +| Border Double | Bordure Double | +| Border None | Bordure Aucune | +| Border Plain | Bordure Normal | +| Border Raised | Bordure Relief | +| Border Sunken | Bordure Relief inversé | +| Border System | Bordure Système | +| Brown | Marron | +| Build application log file | Fichier log application générée | +| Build application settings | Fichier de configuration application | +| CAN ASCII code | ASCII CAN | +| CR ASCII code | ASCII CR | +| Cache Manager | Gestionnaire du cache | +| Cache Priority high | Cache priorité haute | +| Cache Priority low | Cache priorité basse | +| Cache Priority normal | Cache priorité normal | +| Cache Priority very high | Cache priorité très haute | +| Cache Priority very low | Cache priorité très basse | +| Cache flush periodicity | Périodicité écriture cache | +| Cache unload minimum size | Taille minimum libération cache | +| Caps Lock key bit | Bit touche verrouillage maj | +| Caps Lock key mask | Masque touche verrouillage maj | +| Carriage return | Retour chariot | +| Changed resource bit | Bit ressource modifiée | +| Changed resource mask | Masque ressource modifiée | +| Character set | Jeu de caractères | +| Choice list | Liste énumération | +| Circular log limitation | Limitation nombre journaux | +| Client HTTPS Port ID | Client numéro de port HTTPS | +| Client Manager Process | Process gestionnaire clients | +| Client Max Concurrent Web Proc | Client proc Web simultanés maxi | +| Client Server Port ID | Numéro du port client serveur | +| Client Web Log Recording | Client enreg requêtes Web | +| Client character set | Client jeu de caractères | +| Client log Recording | Enreg requêtes client | +| Client port ID | Client numéro de port | +| Cluster BTree Index | Index BTree cluster | +| Code with tokens | Code avec tokens | +| Color option | Option couleur | +| Command key bit | Bit touche commande | +| Command key mask | Masque touche commande | +| Compact address table | Compacter table adresses | +| Compact compression mode | Méthode de compression compacte | +| Compacting log file | Fichier log compactage | +| Compiler process | Process de compilation | +| Control key bit | Bit touche contrôle | +| Control key mask | Masque touche contrôle | +| Controller form window | Form fenêtre contrôleur | +| Copy XML Data Source | Copier source données XML | +| Create process | Créer un process | +| Created from Menu Command | Créé par commande de menu | +| Created from execution dialog | Créé par dialogue d’exécution | +| Crop | Recadrage | +| Currency symbol | Symbole monétaire | +| Current Resources folder | Dossier Resources courant | +| Current backup settings file | Fichier configuration sauvegarde courant | +| Current localization | Langue courante | +| Current process debug log recording | Enreg historique débogage du process courant | +| DB4D Cron | Process DB4D Cron | +| DB4D Flush cache | Process DB4D Ecriture cache | +| DB4D Garbage collector | Process DB4D Garbage collector | +| DB4D Index builder | Process DB4D Index builder | +| DB4D Listener | Process DB4D Listener | +| DB4D Mirror | Process DB4D Miroir | +| DB4D Worker pool user | Process DB4D Worker pool utilisateur | +| DC1 ASCII code | ASCII DC1 | +| DC2 ASCII code | ASCII DC2 | +| DC3 ASCII code | ASCII DC3 | +| DC4 ASCII code | ASCII DC4 | +| DEL ASCII code | ASCII DEL | +| DLE ASCII code | ASCII DLE | +| DOCTYPE Name | Nom DOCTYPE | +| Dark Blue | Bleu foncé | +| Dark Brown | Marron foncé | +| Dark Green | Vert foncé | +| Dark Grey | Gris foncé | +| Dark shadow color | Coul sombre | +| Data bits 5 | Bits de données 5 | +| Data bits 6 | Bits de données 6 | +| Data bits 7 | Bits de données 7 | +| Data bits 8 | Bits de données 8 | +| Data folder | Dossier données | +| Database Folder | Dossier base | +| Database Folder Unix Syntax | Dossier base syntaxe UNIX | +| Date RFC 1123 | Date RFC 1123 | +| Date array | Est un tableau date | +| Date separator | Séparateur date | +| Date type | Type date | +| Dates inside objects | Dates dans les objets | +| Debug Log Recording | Enreg événements debogage | +| Debug log file | Fichier log débogage | +| December | Décembre | +| Decimal separator | Séparateur décimal | +| Default Index Type | Type index par défaut | +| Default localization | Langue par défaut | +| Degree | Degré | +| Delayed | Endormi | +| Delete only if empty | Supprimer si vide | +| Delete with contents | Supprimer avec contenu | +| Demo Version | Version de démonstration | +| Description in Text Format | Description format Texte | +| Description in XML Format | Description format XML | +| Design Process | Process développement | +| Desktop | Bureau | +| Destination option | Option destination | +| Deutsche Mark | Mark allemand | +| Diagnostic Log Recording | Enreg diagnostic | +| Diagnostic log file | Fichier log diagnostic | +| Diagnostic log level | Log niveau diagnostic | +| Direct2D disabled | Direct2D désactivé | +| Direct2D get active status | Direct2D lire statut actif | +| Direct2D hardware | Direct2D matériel | +| Direct2D software | Direct2D logiciel | +| Direct2D status | Direct2D statut | +| Directory file | Directory file | +| Disable events others unchanged | Inactiver événements autres inchangés | +| Disable highlight item color | Coul fond élément sélect désact | +| Disk event | Evénement disque | +| Do not compact index | Ne pas compacter les index | +| Do not create log file | Ne pas créer d’historique | +| Do not modify | Ne pas changer | +| Document URI | URI document | +| Document unchanged | Document inchangé | +| Document with CR | Document avec CR | +| Document with CRLF | Document avec CRLF | +| Document with LF | Document avec LF | +| Document with native format | Document avec format natif | +| Documents folder | Dossier documents | +| Does not exist | Inexistant | +| Double quote | Guillemets | +| Double sided option | Option recto verso | +| Down Arrow Key | Touche bas | +| EM ASCII code | ASCII EM | +| ENQ ASCII code | ASCII ENQ | +| EOT ASCII code | ASCII EOT | +| ESC ASCII code | ASCII ESC | +| ETB ASCII code | ASCII ETB | +| ETX ASCII code | ASCII ETX | +| EXIF Action | EXIF Action | +| EXIF Adobe RGB | EXIF Adobe RGB | +| EXIF Aperture priority AE | EXIF Aperture priority AE | +| EXIF Auto | EXIF Auto | +| EXIF Auto bracket | EXIF Auto bracket | +| EXIF Auto mode | EXIF Auto mode | +| EXIF Average | EXIF Average | +| EXIF B | EXIF B | +| EXIF Cb | EXIF Cb | +| EXIF Center weighted average | EXIF Center weighted average | +| EXIF Close | EXIF Close | +| EXIF Cloudy | EXIF Cloudy | +| EXIF Color sequential area | EXIF Color sequential area | +| EXIF Color sequential linear | EXIF Color sequential linear | +| EXIF Compulsory flash firing | EXIF Compulsory flash firing | +| EXIF Compulsory flash suppression | EXIF Compulsory flash suppression | +| EXIF Cool white fluorescent | EXIF Cool white fluorescent | +| EXIF Cr | EXIF Cr | +| EXIF Creative | EXIF Creative | +| EXIF Custom | EXIF Custom | +| EXIF D50 | EXIF D50 | +| EXIF D55 | EXIF D55 | +| EXIF D65 | EXIF D65 | +| EXIF D75 | EXIF D75 | +| EXIF Day white fluorescent | EXIF Day white fluorescent | +| EXIF Daylight | EXIF Daylight | +| EXIF Daylight fluorescent | EXIF Daylight fluorescent | +| EXIF Detected | EXIF Detected | +| EXIF Digital camera | EXIF Digital camera | +| EXIF Distant | EXIF Distant | +| EXIF EXIF version | EXIF EXIF version | +| EXIF Exposure portrait | EXIF Exposure portrait | +| EXIF F number | EXIF F number | +| EXIF Film scanner | EXIF Film scanner | +| EXIF Fine weather | EXIF Fine weather | +| EXIF Flash fired | EXIF Flash fired | +| EXIF Flashlight | EXIF Flashlight | +| EXIF G | EXIF G | +| EXIF High | EXIF High | +| EXIF High gain down | EXIF High gain down | +| EXIF High gain up | EXIF High gain up | +| EXIF ISO speed ratings | EXIF ISO speed ratings | +| EXIF ISOStudio tungsten | EXIF ISOStudio tungsten | +| EXIF Landscape | EXIF Landscape | +| EXIF Light fluorescent | EXIF Light fluorescent | +| EXIF Low | EXIF Low | +| EXIF Low gain down | EXIF Low gain down | +| EXIF Low gain up | EXIF Low gain up | +| EXIF Macro | EXIF Macro | +| EXIF Manual | EXIF Manual | +| EXIF Multi segment | EXIF Multi segment | +| EXIF Multi spot | EXIF Multi spot | +| EXIF Night | EXIF Night | +| EXIF No detection function | EXIF No detection function | +| EXIF None | EXIF None | +| EXIF Normal | EXIF Normal | +| EXIF Not defined | EXIF Not defined | +| EXIF Not detected | EXIF Not detected | +| EXIF One chip color area | EXIF One chip color area | +| EXIF Other | EXIF Other | +| EXIF Partial | EXIF Partial | +| EXIF Program AE | EXIF Program AE | +| EXIF R | EXIF R | +| EXIF Reflection print scanner | EXIF Reflection print scanner | +| EXIF Reserved | EXIF Reserved | +| EXIF Scene landscape | EXIF Scene landscape | +| EXIF Scene portrait | EXIF Scene portrait | +| EXIF Shade | EXIF Shade | +| EXIF Shutter speed priority AE | EXIF Shutter speed priority AE | +| EXIF Spot | EXIF Spot | +| EXIF Standard | EXIF Standard | +| EXIF Standard light A | EXIF Standard light A | +| EXIF Standard light B | EXIF Standard light B | +| EXIF Standard light C | EXIF Standard light C | +| EXIF Three chip color area | EXIF Three chip color area | +| EXIF Trilinear | EXIF Trilinear | +| EXIF Tungsten | EXIF Tungsten | +| EXIF Two chip color area | EXIF Two chip color area | +| EXIF Uncalibrated | EXIF Uncalibrated | +| EXIF Unknown | EXIF Unknown | +| EXIF Unused | EXIF Unused | +| EXIF White fluorescent | EXIF White fluorescent | +| EXIF Y | EXIF Y | +| EXIF aperture value | EXIF aperture value | +| EXIF brightness value | EXIF brightness value | +| EXIF color space | EXIF color space | +| EXIF components configuration | EXIF components configuration | +| EXIF compressed bits per pixel | EXIF compressed bits per pixel | +| EXIF contrast | EXIF contrast | +| EXIF custom rendered | EXIF custom rendered | +| EXIF date time digitized | EXIF date time digitized | +| EXIF date time original | EXIF date time original | +| EXIF digital zoom ratio | EXIF digital zoom ratio | +| EXIF exposure bias value | EXIF exposure bias value | +| EXIF exposure index | EXIF exposure index | +| EXIF exposure mode | EXIF exposure mode | +| EXIF exposure program | EXIF exposure program | +| EXIF exposure time | EXIF exposure time | +| EXIF file source | EXIF file source | +| EXIF flash | EXIF flash | +| EXIF flash energy | EXIF flash energy | +| EXIF flash function present | EXIF flash function present | +| EXIF flash mode | EXIF flash mode | +| EXIF flash pix version | EXIF flash pix version | +| EXIF flash red eye reduction | EXIF flash red eye reduction | +| EXIF flash return light | EXIF flash return light | +| EXIF focal len in 35 mm film | EXIF focal lens in 35 mm film | +| EXIF focal length | EXIF focal length | +| EXIF focal plane X resolution | EXIF focal plane X resolution | +| EXIF focal plane Y resolution | EXIF focal plane Y resolution | +| EXIF focal plane resolution unit | EXIF focal plane resolution unit | +| EXIF gain control | EXIF gain control | +| EXIF gamma | EXIF gamma | +| EXIF image unique ID | EXIF image unique ID | +| EXIF light source | EXIF light source | +| EXIF maker note | EXIF maker note | +| EXIF max aperture value | EXIF max aperture value | +| EXIF metering Mode | EXIF metering mode | +| EXIF pixel X dimension | EXIF pixel X dimension | +| EXIF pixel Y dimension | EXIF pixel Y dimension | +| EXIF related sound file | EXIF related sound file | +| EXIF s RGB | EXIF s RGB | +| EXIF saturation | EXIF saturation | +| EXIF scene capture type | EXIF scene capture type | +| EXIF scene type | EXIF scene type | +| EXIF sensing method | EXIF sensing method | +| EXIF sharpness | EXIF sharpness | +| EXIF shutter speed value | EXIF shutter speed value | +| EXIF spectral sensitivity | EXIF spectral sensitivity | +| EXIF subject Distance | EXIF subject distance | +| EXIF subject area | EXIF subject area | +| EXIF subject dist range | EXIF subject dist range | +| EXIF subject location | EXIF subject location | +| EXIF user comment | EXIF user comment | +| EXIF white balance | EXIF white balance | +| Editor theme folder | Dossier des thèmes éditeur | +| Enable events disable others | Activer événements inactiver autres | +| Enable events others unchanged | Activer événements autres inchangés | +| Encoding | Encoding | +| End Key | Touche fin | +| Enter | Entrée | +| Enter Key | Touche entrée | +| Error Message | Message d’erreur | +| Escape | Échappement | +| Escape Key | Touche échappement | +| Euro | Euro | +| Event Manager | Gestionnaire d’événement | +| Excluded list | Liste exclusions | +| Execute on Client Process | Process exécuté sur client | +| Execute on Server Process | Process exécuté sur serveur | +| Executing | En exécution | +| Extended real format | Format réel étendu | +| External Task | Tâche externe | +| External window | Fenêtre externe | +| F1 Key | Touche F1 | +| F10 Key | Touche F10 | +| F11 Key | Touche F11 | +| F12 Key | Touche F12 | +| F13 Key | Touche F13 | +| F14 Key | Touche F14 | +| F15 Key | Touche F15 | +| F2 Key | Touche F2 | +| F3 Key | Touche F3 | +| F4 Key | Touche F4 | +| F5 Key | Touche F5 | +| F6 Key | Touche F6 | +| F7 Key | Touche F7 | +| F8 Key | Touche F8 | +| F9 Key | Touche F9 | +| FF ASCII code | ASCII FF | +| FS ASCII code | ASCII FS | +| Fade to grey scale | Passage en niveaux de gris | +| Fast compression mode | Méthode de compression rapide | +| Favorite fonts | Polices favorites | +| Favorites Win | Favoris Win | +| February | Février | +| Field attribute with name | Attribut champ nom | +| Field attribute with number | Attribut champ numéro | +| File name entry | Saisie nom de fichier | +| Finnish Markka | Mark finlandais | +| Flip horizontally | Miroir horizontal | +| Flip vertically | Miroir vertical | +| Floating window | Fenêtre flottante | +| Folder separator | Séparateur dossier | +| Folder separator | Séparateur dossier | +| Folder separator | Séparateur dossier | +| Fonts | Polices | +| Foreground color | Coul premier plan | +| Form Break0 | Rupture formulaire0 | +| Form Break1 | Rupture formulaire1 | +| Form Break2 | Rupture formulaire2 | +| Form Break3 | Rupture formulaire3 | +| Form Break4 | Rupture formulaire4 | +| Form Break5 | Rupture formulaire5 | +| Form Break6 | Rupture formulaire6 | +| Form Break7 | Rupture formulaire7 | +| Form Break8 | Rupture formulaire8 | +| Form Break9 | Rupture formulaire9 | +| Form Detail | Corps formulaire | +| Form Footer | Pied de page formulaire | +| Form Header | Entête formulaire | +| Form Header1 | Entête formulaire1 | +| Form Header10 | Entête formulaire10 | +| Form Header2 | Entête formulaire2 | +| Form Header3 | Entête formulaire3 | +| Form Header4 | Entête formulaire4 | +| Form Header5 | Entête formulaire5 | +| Form Header6 | Entête formulaire6 | +| Form Header7 | Entête formulaire7 | +| Form Header8 | Entête formulaire8 | +| Form Header9 | Entête formulaire9 | +| Form all pages | Form toutes les pages | +| Form current page | Form page courante | +| Form has full screen mode Mac | Form avec mode plein écran Mac | +| Form has no menu bar | Form sans barre de menus | +| Form inherited | Form hérité | +| Formula in with virtual structure | Formule entrée avec structure virtuelle | +| Formula out with tokens | Formule sortie avec tokens | +| Formula out with virtual structure | Formule sortie avec structure virtuelle | +| Four colors | Quatre couleurs | +| French Franc | Franc français | +| Friday | Vendredi | +| Full method text | Texte méthode | +| GPS 2D | GPS 2D | +| GPS 3D | GPS 3D | +| GPS Above sea level | GPS Above sea level | +| GPS Below sea level | GPS Below sea level | +| GPS Correction applied | GPS Correction applied | +| GPS Correction not applied | GPS Correction not applied | +| GPS DOP | GPS DOP | +| GPS East | GPS East | +| GPS Processing method | GPS Processing method | +| GPS Satellites | GPS Satellites | +| GPS Speed | GPS Speed | +| GPS Speed ref | GPS Speed ref | +| GPS Status | GPS Status | +| GPS Track | GPS Track | +| GPS Track ref | GPS Track ref | +| GPS Version ID | GPS Version ID | +| GPS altitude | GPS altitude | +| GPS altitude ref | GPS altitude ref | +| GPS area information | GPS area information | +| GPS date time | GPS date time | +| GPS dest bearing | GPS dest bearing | +| GPS dest bearing ref | GPS dest bearing ref | +| GPS dest distance | GPS dest distance | +| GPS dest distance ref | GPS dest distance ref | +| GPS dest latitude | GPS dest latitude | +| GPS dest latitude deg | GPS dest latitude deg | +| GPS dest latitude dir | GPS dest latitude dir | +| GPS dest latitude min | GPS dest latitude min | +| GPS dest latitude sec | GPS dest latitude sec | +| GPS dest longitude | GPS dest longitude | +| GPS dest longitude deg | GPS dest longitude deg | +| GPS dest longitude dir | GPS dest longitude dir | +| GPS dest longitude min | GPS dest longitude min | +| GPS dest longitude sec | GPS dest longitude sec | +| GPS differential | GPS differential | +| GPS img direction | GPS img direction | +| GPS img direction ref | GPS img direction ref | +| GPS km h | GPS km h | +| GPS knots h | GPS knots h | +| GPS latitude | GPS latitude | +| GPS latitude deg | GPS latitude deg | +| GPS latitude dir | GPS latitude dir | +| GPS latitude min | GPS latitude min | +| GPS latitude sec | GPS latitude sec | +| GPS longitude | GPS longitude | +| GPS longitude deg | GPS longitude deg | +| GPS longitude dir | GPS longitude dir | +| GPS longitude min | GPS longitude min | +| GPS longitude sec | GPS longitude sec | +| GPS magnetic north | GPS magnetic north | +| GPS map datum | GPS map datum | +| GPS measure mode | GPS measure mode | +| GPS measurement Interoperability | GPS measurement Interoperability | +| GPS measurement in progress | GPS measurement in progress | +| GPS miles h | GPS niles h | +| GPS north | GPS north | +| GPS south | GPS south | +| GPS true north | GPS true north | +| GPS west | GPS west | +| GS ASCII code | ASCII GS | +| GZIP best compression mode | GZIP méthode de compression compacte | +| GZIP fast compression mode | GZIP méthode de compression rapide | +| Generic PDF driver | Driver PDF générique | +| Get Pathname | Lire chemin accès | +| Get XML Data Source | Lire source données XML | +| Graph background color | Graphe couleur fond | +| Graph background opacity | Graphe opacité fond | +| Graph background shadow color | Graphe couleur ombre | +| Graph bottom margin | Graphe marge basse | +| Graph colors | Graphe couleurs | +| Graph column gap | Graphe espacement colonnes | +| Graph column width max | Graphe largeur max colonne | +| Graph column width min | Graphe largeur min colonne | +| Graph default height | Graphe hauteur par défaut | +| Graph default width | Graphe largeur par défaut | +| Graph display legend | Graphe afficher la légende | +| Graph document background color | Graphe couleur fond document | +| Graph document background opacity | Graphe opacité fond document | +| Graph font color | Graphe couleur police | +| Graph font family | Graphe famille police | +| Graph font size | Graphe taille police | +| Graph left margin | Graphe marge gauche | +| Graph legend font color | Graphe couleur police légende | +| Graph legend icon gap | Graphe espacement icônes légende | +| Graph legend icon height | Graphe hauteur icônes légende | +| Graph legend icon width | Graphe largeur icônes légende | +| Graph legend labels | Graphe libellés légende | +| Graph line width | Graphe épaisseur des lignes | +| Graph number format | Graphe format des nombres | +| Graph pie direction | Graphe direction secteurs | +| Graph pie font size | Graphe taille police des secteurs | +| Graph pie shift | Graphe décalage secteurs | +| Graph pie start angle | Graphe angle départ secteurs | +| Graph plot height | Graphe hauteur des points | +| Graph plot radius | Graphe rayon des points | +| Graph plot width | Graphe largeur des points | +| Graph right margin | Graphe marge droite | +| Graph top margin | Graphe marge haute | +| Graph type | Graphe type | +| Graph xGrid | Graphe xGrille | +| Graph xMax | Graphe xMax | +| Graph xMin | Graphe xMin | +| Graph xProp | Graphe xProp | +| Graph yGrid | Graphe yGrille | +| Graph yMax | Graphe yMax | +| Graph yMin | Graphe yMin | +| Greek Drachma | Drachme grecque | +| Green | Vert | +| Grey | Gris | +| HH MM | h mn | +| HH MM AM PM | h mn Matin Après Midi | +| HH MM SS | h mn s | +| HT ASCII code | ASCII HT | +| HTML Root Folder | Dossier racine HTML | +| HTTP Client log file | Fichier log HTTP Client | +| HTTP Compression Level | Niveau de compression HTTP | +| HTTP Compression Threshold | Seuil de compression HTTP | +| HTTP DELETE method | HTTP méthode DELETE | +| HTTP GET method | HTTP méthode GET | +| HTTP HEAD method | HTTP méthode HEAD | +| HTTP Listener | Process HTTP Listener | +| HTTP Log flusher | Process HTTP Ecriture historique | +| HTTP OPTIONS method | HTTP méthode OPTIONS | +| HTTP POST method | HTTP méthode POST | +| HTTP PUT method | HTTP méthode PUT | +| HTTP TRACE method | HTTP méthode TRACE | +| HTTP Worker pool server | Process HTTP Worker pool serveur | +| HTTP basic | HTTP basic | +| HTTP client log | HTTP client log | +| HTTP compression | HTTP compression | +| HTTP debug log file | Fichier log débogage HTTP | +| HTTP digest | HTTP digest | +| HTTP disable log | HTTP désactiver log | +| HTTP display auth dial | HTTP afficher dial auth | +| HTTP enable log with all body parts | HTTP activer log avec tous body | +| HTTP enable log with request body | HTTP activer log avec body request | +| HTTP enable log with response body | HTTP activer log avec body response | +| HTTP enable log without body | HTTP activer log sans body | +| HTTP follow redirect | HTTP suivre redirection | +| HTTP log file | Fichier log HTTP | +| HTTP max redirect | HTTP redirections max | +| HTTP reset auth settings | HTTP effacer infos auth | +| HTTP timeout | HTTP timeout | +| HTTPS port ID | Numéro de port HTTPS | +| Has full screen mode Mac | Avec mode plein écran Mac | +| Has grow box | Avec case de contrôle de taille | +| Has highlight | Avec barre de titre active | +| Has window title | Avec titre de fenêtre | +| Has zoom box | Avec case de zoom | +| Help Key | Touche aide | +| Highlight menu background color | Coul fond ligne menu sélect | +| Highlight menu text color | Coul texte ligne menu sélect | +| Highlight text background color | Coul de fond texte sélect | +| Highlight text color | Coul texte sélect | +| Highlighted method text | Texte méthode surligné | +| Home Key | Touche début | +| Home folder | Dossier personnel | +| Horizontal concatenation | Concaténation horizontale | +| Horizontally Centered | Centrée horizontalement | +| Hour Min Sec | Heures minutes secondes | +| Hour min | Heures minutes | +| IMAP Log | IMAP Enreg historique | +| IMAP all | IMAP all | +| IMAP authentication CRAM MD5 | IMAP authentication CRAM MD5 | +| IMAP authentication OAUTH2 | IMAP authentication OAUTH2 | +| IMAP authentication login | IMAP authentication login | +| IMAP authentication plain | IMAP authentication plain | +| IMAP log file | Fichier log IMAP | +| IMAP read only state | IMAP read only state | +| IMAP read write state | IMAP read write state | +| IPTC Byline | IPTC Byline | +| IPTC Byline title | IPTC Byline title | +| IPTC Date time created | IPTC date time created | +| IPTC Digital creation date time | IPTC digital creation date time | +| IPTC Image orientation | IPTC Image orientation | +| IPTC Image type | IPTC Image type | +| IPTC Keywords | IPTC Keywords | +| IPTC Language identifier | IPTC Language identifier | +| IPTC Object Attribute reference | IPTC Object attribute reference | +| IPTC Object cycle | IPTC Object cycle | +| IPTC Object name | IPTC Object name | +| IPTC Original transmission reference | IPTC Original transmission reference | +| IPTC Originating program | IPTC Originating program | +| IPTC Release date time | IPTC Release date time | +| IPTC Urgency | IPTC Urgency | +| IPTC Writer editor | IPTC Writer editor | +| IPTC action | IPTC action | +| IPTC aerial view | IPTC aerial view | +| IPTC caption abstract | IPTC caption abstract | +| IPTC category | IPTC category | +| IPTC city | IPTC city | +| IPTC close up | IPTC close up | +| IPTC contact | IPTC contact | +| IPTC content location code | IPTC content location code | +| IPTC content location name | IPTC content location name | +| IPTC copyright notice | IPTC copyright notice | +| IPTC country primary location code | IPTC country primary location code | +| IPTC country primary location name | IPTC country primary location name | +| IPTC couple | IPTC couple | +| IPTC credit | IPTC credit | +| IPTC edit status | IPTC edit status | +| IPTC expiration date time | IPTC expiration date time | +| IPTC exterior view | IPTC exterior view | +| IPTC fixture identifier | IPTC fixture identifier | +| IPTC full length | IPTC full length | +| IPTC general view | IPTC general view | +| IPTC group | IPTC group | +| IPTC half length | IPTC half length | +| IPTC headline | IPTC headline | +| IPTC headshot | IPTC headshot | +| IPTC interior view | IPTC interior view | +| IPTC movie scene | IPTC movie scene | +| IPTC night scene | IPTC night scene | +| IPTC off beat | IPTC off beat | +| IPTC panoramic view | IPTC panoramic view | +| IPTC performing | IPTC performing | +| IPTC posing | IPTC posing | +| IPTC profile | IPTC profile | +| IPTC program version | IPTC program version | +| IPTC province state | IPTC province state | +| IPTC rear view | IPTC rear view | +| IPTC satellite | IPTC satellite | +| IPTC scene | IPTC scene | +| IPTC single | IPTC single | +| IPTC source | IPTC source | +| IPTC special instructions | IPTC special instructions | +| IPTC star rating | IPTC star rating | +| IPTC sub Location | IPTC sub location | +| IPTC subject reference | IPTC subject reference | +| IPTC supplemental category | IPTC supplemental category | +| IPTC symbolic | IPTC symbolic | +| IPTC two | IPTC two | +| IPTC under water | IPTC under water | +| ISO L1 Ampersand | ISO L1 Et commercial | +| ISO L1 Cap A acute | ISO L1 A majus aigu | +| ISO L1 Cap A circumflex | ISO L1 A majus circonflexe | +| ISO L1 Cap A grave | ISO L1 A majus grave | +| ISO L1 Cap A ring | ISO L1 A majus rond | +| ISO L1 Cap A tilde | ISO L1 A majus tilde | +| ISO L1 Cap A umlaut | ISO L1 A majus umlaut | +| ISO L1 Cap AE ligature | ISO L1 AE majus ligature | +| ISO L1 Cap C cedilla | ISO L1 C majus cédille | +| ISO L1 Cap E acute | ISO L1 E majus aigu | +| ISO L1 Cap E circumflex | ISO L1 E majus circonflexe | +| ISO L1 Cap E grave | ISO L1 E majus grave | +| ISO L1 Cap E umlaut | ISO L1 E majus umlaut | +| ISO L1 Cap Eth Icelandic | ISO L1 Eth majus islandais | +| ISO L1 Cap I acute | ISO L1 I majus aigu | +| ISO L1 Cap I circumflex | ISO L1 I majus circonflexe | +| ISO L1 Cap I grave | ISO L1 I majus grave | +| ISO L1 Cap I umlaut | ISO L1 I majus umlaut | +| ISO L1 Cap N tilde | ISO L1 N majus tilde | +| ISO L1 Cap O acute | ISO L1 O majus aigu | +| ISO L1 Cap O circumflex | ISO L1 O majus circonflexe | +| ISO L1 Cap O grave | ISO L1 O majus grave | +| ISO L1 Cap O slash | ISO L1 O majus barré | +| ISO L1 Cap O tilde | ISO L1 O majus tilde | +| ISO L1 Cap O umlaut | ISO L1 O majus umlaut | +| ISO L1 Cap THORN Icelandic | ISO L1 THORN majus islandais | +| ISO L1 Cap U acute | ISO L1 U majus aigu | +| ISO L1 Cap U circumflex | ISO L1 U majus circonflexe | +| ISO L1 Cap U grave | ISO L1 U majus grave | +| ISO L1 Cap U umlaut | ISO L1 U majus umlaut | +| ISO L1 Cap Y acute | ISO L1 Y majus aigu | +| ISO L1 Copyright | ISO L1 Copyright | +| ISO L1 Greater than | ISO L1 Supérieur à | +| ISO L1 Less than | ISO L1 Inférieur à | +| ISO L1 Quotation mark | ISO L1 Guillemets | +| ISO L1 Registered | ISO L1 Marque déposée | +| ISO L1 a acute | ISO L1 a aigu | +| ISO L1 a circumflex | ISO L1 a circonflexe | +| ISO L1 a grave | ISO L1 a grave | +| ISO L1 a ring | ISO L1 a rond | +| ISO L1 a tilde | ISO L1 a tilde | +| ISO L1 a umlaut | ISO L1 a umlaut | +| ISO L1 ae ligature | ISO L1 ae ligature | +| ISO L1 c cedilla | ISO L1 c cédille | +| ISO L1 e acute | ISO L1 e aigu | +| ISO L1 e circumflex | ISO L1 e circonflexe | +| ISO L1 e grave | ISO L1 e grave | +| ISO L1 e umlaut | ISO L1 e umlaut | +| ISO L1 eth Icelandic | ISO L1 eth islandais | +| ISO L1 i acute | ISO L1 i aigu | +| ISO L1 i circumflex | ISO L1 i circonflexe | +| ISO L1 i grave | ISO L1 i grave | +| ISO L1 i umlaut | ISO L1 i umlaut | +| ISO L1 n tilde | ISO L1 n tilde | +| ISO L1 o acute | ISO L1 o aigu | +| ISO L1 o circumflex | ISO L1 o circonflexe | +| ISO L1 o grave | ISO L1 o grave | +| ISO L1 o slash | ISO L1 o barré | +| ISO L1 o tilde | ISO L1 o tilde | +| ISO L1 o umlaut | ISO L1 o umlaut | +| ISO L1 sharp s German | ISO L1 s Es zett allemand | +| ISO L1 thorn Icelandic | ISO L1 thorn islandais | +| ISO L1 u acute | ISO L1 u aigu | +| ISO L1 u circumflex | ISO L1 u circonflexe | +| ISO L1 u grave | ISO L1 u grave | +| ISO L1 u umlaut | ISO L1 u umlaut | +| ISO L1 y acute | ISO L1 y aigu | +| ISO L1 y umlaut | ISO L1 y umlaut | +| ISO date | ISO date | +| ISO date GMT | ISO date GMT | +| ISO time | ISO heure | +| Idle Connections Timeout | Timeout connexions inactives | +| Ignore invisible | Ignorer invisibles | +| In contents | Dans zone contenu | +| Indexing Process | Gestionnaire d’index | +| Indicator Asynchronous progress bar | Indicateur de progression asynchrone | +| Indicator Barber shop | Indicateur Barber shop | +| Indicator Progress bar | Indicateur Barre de progression | +| Information Message | Message d’information | +| Integer array | Est un tableau entier | +| Intel Compatible | Compatible Intel | +| Internal 4D Server Process | Process 4D Server interne | +| Internal 4D localization | Langue interne 4D | +| Internal Timer Process | Process minuteur interne | +| Internal date abbreviated | Interne date abrégé | +| Internal date long | Interne date long | +| Internal date short | Interne date court | +| Internal date short special | Interne date court spécial | +| Into 4D Commands Log | Vers historique commandes 4D | +| Into 4D Debug Message | Vers message débogage | +| Into 4D Diagnostic Log | Vers historique diagnostic | +| Into 4D Request Log | Vers historique requêtes 4D | +| Into Windows Log Events | Vers observateur Windows | +| Into current selection | Vers sélection courante | +| Into named selection | Vers sélection temporaire | +| Into set | Vers ensemble | +| Into system standard outputs | Vers sorties standard système | +| Into variable | Vers variable | +| Irish Pound | Livre irlandaise | +| Is Alpha Field | Est un champ alpha | +| Is BLOB | Est un BLOB | +| Is DOM reference | Est une référence DOM | +| Is Date | Est une date | +| Is Integer | Est un entier | +| Is Integer 64 bits | Est un entier 64 bits | +| Is LongInt | Est un entier long | +| Is Picture | Est une image | +| Is Pointer | Est un pointeur | +| Is Real | Est un numérique | +| Is String Var | Est une variable chaîne | +| Is Subtable | Est une sous table | +| Is Text | Est un texte | +| Is Time | Est une heure | +| Is Undefined | Est une variable indéfinie | +| Is XML | Est un XML | +| Is a document | Est un document | +| Is a folder | Est un dossier | +| Is boolean | Est un booléen | +| Is collection | Est une collection | +| Is color | Est en couleurs | +| Is current database a project | Base courante est projet | +| Is gray scale | Est en niveaux de gris | +| Is host database a project | Base hôte est projet | +| Is host database writable | Base hôte est en écriture | +| Is not compressed | Non compressé | +| Is null | Est un null | +| Is object | Est un objet | +| Is variant | Est un variant | +| Italian Lira | Lire italienne | +| Italic | Italique | +| Italic and Underline | Italique et souligné | +| January | Janvier | +| July | Juillet | +| June | Juin | +| Key down event | Touche enfoncée | +| Key up event | Touche relâchée | +| Keywords Index | Index de mots clés | +| LDAP all levels | LDAP tous niveaux | +| LDAP clear password | LDAP mot de passe en clair | +| LDAP digest MD5 password | LDAP mot de passe en digest MD5 | +| LDAP root and next | LDAP racine et suivant | +| LDAP root only | LDAP racine uniquement | +| LF ASCII code | ASCII LF | +| Last Backup Date | Date dernière sauvegarde | +| Last Backup Status | Statut dernière sauvegarde | +| Last Backup information | Information dernière sauvegarde | +| Last Restore Date | Date dernière restitution | +| Last Restore Status | Statut dernière restitution | +| Last backup file | Fichier dernière sauvegarde | +| Last journal integration log file | Fichier dernière intégration historique | +| Left Arrow Key | Touche gauche | +| Legacy printing layer option | Option ancienne couche impression | +| Libldap version | Version Libldap | +| Libsasl version | Version Libsasl | +| Libzip version | Version Libzip | +| Licenses Folder | Dossier Licenses | +| Light Blue | Bleu clair | +| Light Grey | Gris clair | +| Light shadow color | Coul claire | +| Line feed | Retour à la ligne | +| Locked resource bit | Bit ressource verrouillée | +| Locked resource mask | Masque ressource verrouillée | +| Log Command list | Liste commandes enreg | +| Log File Process | Process du fichier d’historique | +| Log debug | Log débogue | +| Log error | Log erreur | +| Log info | Log info | +| Log trace | Log trace | +| Log warn | Log avertissement | +| Logger process | Process Logger | +| Logs Folder | Dossier Logs | +| LongInt array | Est un tableau entierlong | +| Luxembourg Franc | Franc luxembourgeois | +| MAXINT | MAXENT | +| MAXLONG | MAXLONG | +| MAXTEXTLENBEFOREV11 | MAXLONGTEXTEAVANTV11 | +| MD5 digest | Digest MD5 | +| MM SS | mn s | +| MSC Process | Process CSM | +| Mac C string | Mac chaîne en C | +| Mac OS | Mac OS | +| Mac Pascal string | Mac chaîne pascal | +| Mac spool file format option | Option mode impression Mac | +| Mac text with length | Mac texte avec longueur | +| Mac text without length | Mac texte sans longueur | +| MacOS Printer Port | Port imprimante MacOS | +| MacOS Serial Port | Port série MacOS | +| Macintosh byte ordering | Ordre octets Macintosh | +| Macintosh double real format | Format réel double Macintosh | +| Main 4D process | Process principal 4D | +| Main Process | Process principal | +| Manual | Manuel | +| March | Mars | +| Max Concurrent Web Processes | Process Web simultanés maxi | +| Maximum Web requests size | Taille maximum requêtes Web | +| May | Mai | +| Merged application | Application fusionnée | +| Method editor macro Process | Process macro éditeur de méthod | +| Millions of colors 24 bit | Millions de couleurs 24 bits | +| Millions of colors 32 bit | Millions de couleurs 32 bits | +| Min Sec | Minutes secondes | +| Min TLS version | Min version TLS | +| MobileApps folder | Dossier MobileApps | +| Modal dialog | Fenêtre modale | +| Modal dialog box | Dialogue modal | +| Modal form dialog box | Form dialogue modal | +| Monday | Lundi | +| Monitor Process | Process d’activité | +| Mouse button bit | Bit bouton souris | +| Mouse button mask | Masque bouton souris | +| Mouse down event | Bouton souris enfoncé | +| Mouse up event | Bouton souris relâché | +| Movable dialog box | Dialogue modal déplaçable | +| Movable form dialog box | Form dialogue modal déplaçable | +| Movable form dialog box no title | Form dialogue modal déplaçable sans titre | +| Move to Replaced files folder | Déplacer dans Replaced files | +| Multiline Auto | Multiligne Auto | +| Multiline No | Multiligne Non | +| Multiline Yes | Multiligne Oui | +| Multiple Selection | Sélection multiple | +| Multiple files | Fichiers multiples | +| NAK ASCII code | ASCII NAK | +| NBSP ASCII CODE | ASCII Espace insécable | +| NUL ASCII code | ASCII NUL | +| Native byte ordering | Ordre octets natif | +| Native real format | Format réel natif | +| Netherlands Guilder | Florin néerlandais | +| New file | Nouveau fichier | +| New file dialog | Dialogue nouveau fichier | +| New record | Est un nouvel enregistrement | +| Next Backup Date | Date prochaine sauvegarde | +| No Selection | Pas de sélection | +| No current record | Aucun enregistrement courant | +| No relation | Pas de lien | +| No such data in pasteboard | Données absentes conteneur | +| None | Aucun | +| Normal | Normal | +| November | Novembre | +| Null event | Evénement nul | +| Number of copies option | Option nombre copies | +| Number of formulas in cache | Nombre de formules en cache | +| Object First in entry order | Objet Premier ordre saisie | +| Object array | Est un tableau objet | +| Object current | Objet courant | +| Object named | Objet nommé | +| Object subform container | Objet conteneur sous formulaire | +| Object type 3D button | Objet type bouton 3D | +| Object type 3D checkbox | Objet type case à cocher 3D | +| Object type 3D radio button | Objet type bouton radio 3D | +| Object type button grid | Objet type grille de boutons | +| Object type checkbox | Objet type case à cocher | +| Object type combobox | Objet type combobox | +| Object type dial | Objet type cadran | +| Object type group | Objet type groupe | +| Object type groupbox | Objet type zone de groupe | +| Object type hierarchical list | Objet type liste hiérarchique | +| Object type hierarchical popup menu | Objet type menu déroulant hiérarchique | +| Object type highlight button | Objet type bouton inversé | +| Object type invisible button | Objet type bouton invisible | +| Object type line | Objet type ligne | +| Object type listbox | Objet type listbox | +| Object type listbox column | Objet type listbox colonne | +| Object type listbox footer | Objet type listbox pied | +| Object type listbox header | Objet type listbox entête | +| Object type matrix | Objet type matrice | +| Object type oval | Objet type ovale | +| Object type picture button | Objet type bouton image | +| Object type picture input | Objet type saisie image | +| Object type picture popup menu | Objet type popup menu image | +| Object type picture radio button | Objet type bouton radio image | +| Object type plugin area | Objet type zone plug in | +| Object type popup dropdown list | Objet type popup liste déroulante | +| Object type progress indicator | Objet type indicateur de progression | +| Object type push button | Objet type bouton poussoir | +| Object type radio button | Objet type bouton radio | +| Object type radio button field | Objet type champ radio bouton | +| Object type rectangle | Objet type rectangle | +| Object type rounded rectangle | Objet type rectangle arrondi | +| Object type ruler | Objet type règle | +| Object type splitter | Objet type séparateur | +| Object type static picture | Objet type image statique | +| Object type static text | Objet type texte statique | +| Object type subform | Objet type sous formulaire | +| Object type tab control | Objet type onglet | +| Object type text input | Objet type saisie texte | +| Object type unknown | Objet type inconnu | +| Object type view pro area | Objet type zone view pro | +| Object type web area | Objet type zone web | +| Object type write pro area | Objet type zone write pro | +| Object with focus | Objet avec focus | +| October | Octobre | +| On Activate | Sur activation | +| On After Edit | Sur après modification | +| On After Keystroke | Sur après frappe clavier | +| On After Sort | Sur après tri | +| On Alternative Click | Sur clic alternatif | +| On Background | Sur fond | +| On Before Data Entry | Sur avant saisie | +| On Before Keystroke | Sur avant frappe clavier | +| On Begin Drag Over | Sur début glisser | +| On Begin URL Loading | Sur début chargement URL | +| On Bound Variable Change | Sur modif variable liée | +| On Clicked | Sur clic | +| On Close Box | Sur case de fermeture | +| On Close Detail | Sur fermeture corps | +| On Collapse | Sur contracter | +| On Column Moved | Sur déplacement colonne | +| On Column Resize | Sur redimensionnement colonne | +| On Data Change | Sur données modifiées | +| On Deactivate | Sur désactivation | +| On Delete Action | Sur action suppression | +| On Deleting Record Event | Sur suppression enregistrement | +| On Display Detail | Sur affichage corps | +| On Double Clicked | Sur double clic | +| On Drag Over | Sur glisser | +| On Drop | Sur déposer | +| On End URL Loading | Sur fin chargement URL | +| On Exit Process | Process sur fermeture | +| On Expand | Sur déployer | +| On Footer Click | Sur clic pied | +| On Getting Focus | Sur gain focus | +| On Header | Sur entête | +| On Header Click | Sur clic entête | +| On Load | Sur chargement | +| On Load Record | Sur chargement ligne | +| On Long Click | Sur clic long | +| On Losing Focus | Sur perte focus | +| On Menu Selected | Sur menu sélectionné | +| On Mouse Enter | Sur début survol | +| On Mouse Leave | Sur fin survol | +| On Mouse Move | Sur survol | +| On Mouse Up | Sur relâchement bouton | +| On Open Detail | Sur ouverture corps | +| On Open External Link | Sur ouverture lien externe | +| On Outside Call | Sur appel extérieur | +| On Page Change | Sur changement de page | +| On Plug in Area | Sur appel zone du plug in | +| On Printing Break | Sur impression sous total | +| On Printing Detail | Sur impression corps | +| On Printing Footer | Sur impression pied de page | +| On Resize | Sur redimensionnement | +| On Row Moved | Sur déplacement ligne | +| On Row Resize | Sur redimensionnement ligne | +| On Saving Existing Record Event | Sur sauvegarde enregistrement | +| On Saving New Record Event | Sur sauvegarde nouvel enreg | +| On Scroll | Sur défilement | +| On Selection Change | Sur nouvelle sélection | +| On Timer | Sur minuteur | +| On URL Filtering | Sur filtrage URL | +| On URL Loading Error | Sur erreur chargement URL | +| On URL Resource Loading | Sur chargement ressource URL | +| On Unload | Sur libération | +| On VP Range Changed | Sur VP plage changée | +| On VP Ready | Sur VP prêt | +| On Validate | Sur validation | +| On Window Opening Denied | Sur refus ouverture fenêtre | +| On after host database exit | Sur après fermeture base hôte | +| On after host database startup | Sur après ouverture base hôte | +| On application background move | Sur passage arrière plan | +| On application foreground move | Sur passage premier plan | +| On before host database exit | Sur avant fermeture base hôte | +| On before host database startup | Sur avant ouverture base hôte | +| On object locked abort | Sur objet verrouillé abandonner | +| On object locked confirm | Sur objet verrouillé confirmer | +| On object locked retry | Sur objet verrouillé réessayer | +| On the Left | À gauche | +| On the Right | À droite | +| OpenSSL version | Version OpenSSL | +| Operating system event | Evénement système | +| Option key bit | Bit touche option | +| Option key mask | Masque touche option | +| Orange | Orange | +| Order By Formula On Server | Trier par formule serveur | +| Orientation 0° | Orientation 0° | +| Orientation 180° | Orientation 180° | +| Orientation 90° left | Orientation 90° gauche | +| Orientation 90° right | Orientation 90° droite | +| Orientation option | Option orientation | +| Other 4D Process | Autre process 4D | +| Other User Process | Autre process utilisateur | +| Other internal process | Autre process interne | +| Own XML Data Source | Posséder source données XML | +| PC byte ordering | Ordre octets PC | +| PC double real format | Format réel double PC | +| PHP Raw result | PHP résultat brut | +| PHP interpreter IP address | PHP adresse IP interpréteur | +| PHP interpreter port | PHP port interpréteur | +| POP3 Log | POP3 Enreg historique | +| POP3 authentication APOP | POP3 authentification APOP | +| POP3 authentication CRAM MD5 | POP3 authentification CRAM MD5 | +| POP3 authentication OAUTH2 | POP3 authentication OAUTH2 | +| POP3 authentication login | POP3 authentification login | +| POP3 authentication plain | POP3 authentification simple | +| POP3 authentication user | POP3 authentication user | +| POP3 log file | Fichier log POP3 | +| PUBLIC ID | ID PUBLIC | +| Package open | Ouverture progiciel | +| Package selection | Sélection progiciel | +| Page Down Key | Touche page suivante | +| Page Up Key | Touche page précédente | +| Page range option | Option intervalle de page | +| Page setup dialog | Dialogue de format impression | +| Palette form window | Form fenêtre palette | +| Palette window | Fenêtre palette | +| Paper option | Option papier | +| Paper source option | Option alimentation | +| Parity Even | Parité paire | +| Parity None | Pas de parité | +| Parity Odd | Parité impaire | +| Path All objects | Chemin tous les objets | +| Path Database method | Chemin méthode base | +| Path Project form | Chemin formulaire projet | +| Path Project method | Chemin méthode projet | +| Path Table form | Chemin formulaire table | +| Path Trigger | Chemin trigger | +| Path class | Chemin classe | +| Path is POSIX | Chemin est POSIX | +| Path is system | Chemin est système | +| Pause logging | Pause journaux | +| Paused | Suspendu | +| Period | Point | +| Pi | Pi | +| Picture Document | Document image | +| Picture array | Est un tableau image | +| Picture data | Données image | +| Plain | Normal | +| Plain dialog box | Dialogue simple | +| Plain fixed size window | Fenêtre standard de taille fixe | +| Plain form window | Form fenêtre standard | +| Plain form window no title | Form fenêtre standard sans titre | +| Plain no zoom box window | Fenêtre standard sans zoom | +| Plain window | Fenêtre standard | +| Pointer array | Est un tableau pointeur | +| Pop up form window | Form fenêtre pop up | +| Pop up window | Fenêtre pop up | +| Port ID | Numéro du port | +| Portuguese Escudo | Escudo portugais | +| Posix path | Chemin POSIX | +| Power PC | Power PC | +| Preloaded resource bit | Bit ressource préchargée | +| Preloaded resource mask | Masque ressource préchargée | +| Print Frame fixed with multiple records | Impression limitée avec report | +| Print Frame fixed with truncation | Impression limitée par le cadre | +| Print dialog | Dialogue impression | +| Print preview option | Option aperçu avant impression | +| Processes and sessions | Process et sessions | +| Processes only | Process seulement | +| Protected resource bit | Bit ressource protégée | +| Protected resource mask | Masque ressource protégée | +| Protocol DTR | Protocole DTR | +| Protocol None | Protocole Aucun | +| Protocol XONXOFF | Protocole XONXOFF | +| Purgeable resource bit | Bit ressource purgeable | +| Purgeable resource mask | Masque ressource purgeable | +| Purple | Violet | +| Query by formula joins | Jointures chercher par formule | +| Query by formula on server | Chercher par formule serveur | +| Quote | Apostrophe | +| RDP Optimization | Optimisation RDP | +| RS ASCII code | ASCII RS | +| Radian | Radian | +| Read Mode | Mode lecture | +| Read and Write | Lecture et écriture | +| Real array | Est un tableau numérique | +| Recent fonts | Polices récentes | +| Recursive parsing | Chemin récursif | +| Red | Rouge | +| Redim horizontal grow | Redim horizontal agrandir | +| Redim horizontal move | Redim horizontal déplacer | +| Redim vertical grow | Redim vertical agrandir | +| Redim vertical move | Redim vertical déplacer | +| Redim vertical none | Redim vertical aucun | +| Regular window | Fenêtre normale | +| Remote connection sleep timeout | Timeout mise en veille connexion à distance | +| Renumber records | Renuméroter les enregistrements | +| Repair log file | Fichier log réparation | +| Replicated | Mosaïque | +| Request log file | Fichier log requêtes | +| Required list | Liste obligations | +| Reset | Réinitialisation | +| Resizable sheet window | Fenêtre feuille redim | +| Resize horizontal none | Redim horizontal aucun | +| Restore Process | Process de restitution | +| ReturnKey | Touche retour chariot | +| Right Arrow Key | Touche droite | +| Right control key bit | Bit touche contrôle droite | +| Right control key mask | Masque touche contrôle droite | +| Right option key bit | Bit touche option droite | +| Right option key mask | Masque touche option droite | +| Right shift key bit | Bit touche majuscule droite | +| Right shift key mask | Masque touche majuscule droite | +| Round corner window | Fenêtre à coins arrondis | +| SHA1 digest | Digest SHA1 | +| SHA256 digest | Digest SHA256 | +| SHA512 digest | Digest SHA512 | +| SI ASCII code | ASCII SI | +| SMTP Log | SMTP Enreg historique | +| SMTP authentication CRAM MD5 | SMTP authentification CRAM MD5 | +| SMTP authentication OAUTH2 | SMTP authentication OAUTH2 | +| SMTP authentication login | SMTP authentification login | +| SMTP authentication plain | SMTP authentification simple | +| SMTP log file | Fichier log SMTP | +| SO ASCII code | ASCII SO | +| SOAP Client Fault | SOAP erreur client | +| SOAP Input | SOAP entrée | +| SOAP Method Name | SOAP nom méthode | +| SOAP Output | SOAP sortie | +| SOAP Process | Process SOAP | +| SOAP Server Fault | SOAP erreur serveur | +| SOAP Service Name | SOAP nom service | +| SOH ASCII code | ASCII SOH | +| SP ASCII code | ASCII SP | +| SQL All Records | SQL tous les enregistrements | +| SQL Asynchronous | SQL asynchrone | +| SQL Charset | SQL jeu de caractères | +| SQL Connection Time Out | SQL timeout connexion | +| SQL Listener | Process SQL Listener | +| SQL Max Data Length | SQL longueur maxi données | +| SQL Max Rows | SQL nombre maxi lignes | +| SQL Method Execution Process | Process exécution méthode SQL | +| SQL Net Session manager | Gestionnaire de session SQL Net | +| SQL On error abort | SQL abandonner si erreur | +| SQL On error confirm | SQL confirmer si erreur | +| SQL On error continue | SQL continuer si erreur | +| SQL Param In | SQL paramètre entrée | +| SQL Param In Out | SQL paramètre entrée sortie | +| SQL Param Out | SQL paramètre sortie | +| SQL Param Set Size | SQL paramètre fixer taille | +| SQL Query Time Out | SQL timeout requête | +| SQL Server Port ID | Numéro de port Serveur SQL | +| SQL Use Access Rights | SQL utiliser les droits d’accès | +| SQL Worker pool server | Process SQL Worker pool serveur | +| SQL autocommit | SQL autocommit | +| SQL data chunk size | SQL taille fragment données | +| SQL engine case Sensitivity | Casse caractères moteur SQL | +| SQL_INTERNAL | SQL_INTERNAL | +| SSL cipher List | Liste de chiffrement SSL | +| ST 4D Expressions as sources | ST Expressions 4D comme sources | +| ST 4D Expressions as values | ST Expressions 4D comme valeurs | +| ST End highlight | ST Fin sélection | +| ST End text | ST Fin texte | +| ST Expression type | ST Type expression | +| ST Expressions display mode | ST Mode affichage expressions | +| ST Mixed type | ST Type mixte | +| ST Picture type | ST Type image | +| ST Plain type | ST Type brut | +| ST References | ST Références | +| ST References as spaces | ST Références comme espaces | +| ST Start highlight | ST Début sélection | +| ST Start text | ST Début texte | +| ST Tags as XML code | ST Balises comme code XML | +| ST Tags as plain text | ST Balises comme texte brut | +| ST Text displayed with 4D Expression sources | ST Texte visible avec Expressions 4D comme sources | +| ST Text displayed with 4D Expression values | ST Texte visible avec Expressions 4D comme valeurs | +| ST URL as labels | ST URL comme libellés | +| ST URL as links | ST URL comme liens | +| ST Unknown tag type | ST Type balise inconnue | +| ST Url type | ST Type URL | +| ST User links as labels | ST Liens utilisateur comme libellés | +| ST User links as links | ST Liens utilisateur comme liens | +| ST User type | ST Type utilisateur | +| ST Values | ST Valeurs | +| STX ASCII code | ASCII STX | +| SUB ASCII code | ASCII SUB | +| SYN ASCII code | ASCII SYN | +| SYSTEM ID | ID SYSTEM | +| Saturday | Samedi | +| Scale | Redimensionnement | +| Scale option | Option échelle | +| Scaled to Fit | Non tronquée | +| Scaled to fit prop centered | Proportionnelle centrée | +| Scaled to fit proportional | Proportionnelle | +| Screen size | Taille écran | +| Screen work area | Zone de travail | +| September | Septembre | +| Serial Port Manager | Gestionnaire du port série | +| Server Base Process Stack Size | Taille pile process base server | +| Server Interface Process | Process interface serveur | +| ServerNet Listener | Process ServerNet Listener | +| ServerNet Session manager | Gestionnaire de session ServerNet | +| Sessions only | Sessions seulement | +| Sheet form window | Form fenêtre feuille | +| Sheet window | Fenêtre feuille | +| Shift key bit | Bit touche majuscule | +| Shift key mask | Masque touche majuscule | +| Short date day position | Position jour date courte | +| Short date month position | Position mois date courte | +| Short date year position | Position année date courte | +| Shortcut with Backspace | Raccourci avec Effacement Arrière | +| Shortcut with Carriage Return | Raccourci avec Retour Charriot | +| Shortcut with Delete | Raccourci avec Suppression | +| Shortcut with Down Arrow | Raccourci avec Flèche bas | +| Shortcut with End | Raccourci avec Fin | +| Shortcut with Enter | Raccourci avec Entrée | +| Shortcut with Escape | Raccourci avec Echappement | +| Shortcut with F1 | Raccourci avec F1 | +| Shortcut with F10 | Raccourci avec F10 | +| Shortcut with F11 | Raccourci avec F11 | +| Shortcut with F12 | Raccourci avec F12 | +| Shortcut with F13 | Raccourci avec F13 | +| Shortcut with F14 | Raccourci avec F14 | +| Shortcut with F15 | Raccourci avec F15 | +| Shortcut with F2 | Raccourci avec F2 | +| Shortcut with F3 | Raccourci avec F3 | +| Shortcut with F4 | Raccourci avec F4 | +| Shortcut with F5 | Raccourci avec F5 | +| Shortcut with F6 | Raccourci avec F6 | +| Shortcut with F7 | Raccourci avec F7 | +| Shortcut with F8 | Raccourci avec F8 | +| Shortcut with F9 | Raccourci avec F9 | +| Shortcut with Help | Raccourci avec Aide | +| Shortcut with Home | Raccourci avec Début | +| Shortcut with Left Arrow | Raccourci avec Flèche gauche | +| Shortcut with Page Down | Raccourci avec Page suiv | +| Shortcut with Page Up | Raccourci avec Page préc | +| Shortcut with Right Arrow | Raccourci avec Flèche droite | +| Shortcut with Tabulation | Raccourci avec Tabulation | +| Shortcut with Up Arrow | Raccourci avec Flèche haut | +| Single Selection | Sélection unique | +| Sixteen colors | Seize couleurs | +| Space | Espacement | +| Spanish Peseta | Peseta espagnole | +| Speed 115200 | Vitesse 115200 | +| Speed 1200 | Vitesse 1200 | +| Speed 1800 | Vitesse 1800 | +| Speed 19200 | Vitesse 19200 | +| Speed 230400 | Vitesse 230400 | +| Speed 2400 | Vitesse 2400 | +| Speed 300 | Vitesse 300 | +| Speed 3600 | Vitesse 3600 | +| Speed 4800 | Vitesse 4800 | +| Speed 57600 | Vitesse 57600 | +| Speed 600 | Vitesse 600 | +| Speed 7200 | Vitesse 7200 | +| Speed 9600 | Vitesse 9600 | +| Spellchecker | Correcteur orthographique | +| Spooler document name option | Option nom document à imprimer | +| Standard BTree Index | Index BTree standard | +| Start Menu Win_All | Menu Démarrer Win_Tous | +| Start Menu Win_User | Menu Démarrer Win | +| Start a New Process | Démarrer un process | +| Startup Win_All | Démarrage Win_Tous | +| Startup Win_User | Démarrage Win | +| Stop bits One | Bit de stop un | +| Stop bits One and a half | Bit de stop un et demi | +| Stop bits Two | Bits de stop deux | +| Strict mode | Mode strict | +| String array | Est un tableau chaîne | +| String type with time zone | Type chaine avec fuseau horaire | +| String type without time zone | Type chaine sans fuseau horaire | +| Structure Settings | Propriétés structure | +| Structure configuration | Configuration structure | +| Sunday | Dimanche | +| Superimposition | Superposition | +| System | Système | +| System Data Source | Source de données système | +| System Win | System Win | +| System date abbreviated | Système date abrégé | +| System date long | Système date long | +| System date long pattern | Motif date long | +| System date medium pattern | Motif date abrégé | +| System date short | Système date court | +| System date short pattern | Motif date court | +| System fonts | Polices système | +| System heap resource bit | Bit ressource heap système | +| System heap resource mask | Masque ressource heap système | +| System time AM label | Libellé AM heure système | +| System time PM label | Libellé PM heure système | +| System time long | Système heure long | +| System time long abbreviated | Système heure long abrégé | +| System time long pattern | Motif heure long | +| System time medium pattern | Motif heure abrégé | +| System time short | Système heure court | +| System time short pattern | Motif heure court | +| System32 Win | System32 Win | +| TCP DNS | TCP DNS | +| TCP FTP Control | TCP FTP Control | +| TCP FTP Data | TCP FTP Data | +| TCP HTTP WWW | TCP HTTP WWW | +| TCP IMAP3 | TCP IMAP3 | +| TCP KLogin | TCP KLogin | +| TCP Kerberos | TCP Kerberos | +| TCP NNTP | TCP NNTP | +| TCP NTP | TCP NTP | +| TCP NTalk | TCP NTalk | +| TCP PMCP | TCP PMCP | +| TCP PMD | TCP PMD | +| TCP POP3 | TCP POP3 | +| TCP RADACCT | TCP RADACCT | +| TCP RADIUS | TCP RADIUS | +| TCP Router | TCP Router | +| TCP SMTP | TCP SMTP | +| TCP SNMP | TCP SNMP | +| TCP SNMPTRAP | TCP SNMPTRAP | +| TCP SUN RPC | TCP SUN RPC | +| TCP TFTP | TCP TFTP | +| TCP Talk | TCP Talk | +| TCP Telnet | TCP Telnet | +| TCP UUCP | TCP UUCP | +| TCP UUCP RLOGIN | TCP UUCP RLOGIN | +| TCP authentication | TCP authentication | +| TCP finger | TCP finger | +| TCP gopher | TCP gopher | +| TCP log recording | TCP enreg historique | +| TCP nickname | TCP nickname | +| TCP printer | TCP printer | +| TCP remote Cmd | TCP remote Cmd | +| TCP remote Exec | TCP remote Exec | +| TCP remote Login | TCP remote Login | +| TCP_NODELAY | TCP_NODELAY | +| TIFF Adobe deflate | TIFF Adobe deflate | +| TIFF Artist | TIFF Artist | +| TIFF CCIRLEW | TIFF CCIRLEW | +| TIFF CCITT1D | TIFF CCITT1D | +| TIFF CIELab | TIFF CIELab | +| TIFF CM | TIFF CM | +| TIFF CMYK | TIFF CMYK | +| TIFF Compression | TIFF Compression | +| TIFF Copyright | TIFF Copyright | +| TIFF DCS | TIFF DCS | +| TIFF Date time | TIFF Date time | +| TIFF Document name | TIFF Document name | +| TIFF Epson ERF | TIFF Epson ERF | +| TIFF Host computer | TIFF Host computer | +| TIFF ICCLab | TIFF ICCLab | +| TIFF IT8BL | TIFF IT8BL | +| TIFF IT8CTPAD | TIFF IT8CTPAD | +| TIFF IT8LW | TIFF IT8LW | +| TIFF IT8MP | TIFF IT8MP | +| TIFF ITULab | TIFF ITULab | +| TIFF Image description | TIFF Image description | +| TIFF JBIG | TIFF JBIG | +| TIFF JBIG Black and White | TIFF JBIG Black and White | +| TIFF JBIGColor | TIFF JBIGColor | +| TIFF JPEG | TIFF JPEG | +| TIFF JPEG2000 | TIFF JPEG2000 | +| TIFF JPEGThumbs Only | TIFF JPEGThumbs Only | +| TIFF Kodak DCR | TIFF Kodak DCR | +| TIFF Kodak KDC | TIFF Kodak KDC | +| TIFF Kodak262 | TIFF Kodak262 | +| TIFF LZW | TIFF LZW | +| TIFF MDIBinary level codec | TIFF MDIBinary level codec | +| TIFF MDIProgressive transform codec | TIFF MDIProgressive transform codec | +| TIFF MDIVector | TIFF MDIVector | +| TIFF MM | TIFF MM | +| TIFF Make | TIFF Make | +| TIFF Model | TIFF Model | +| TIFF Nikon NEF | TIFF Nikon NEF | +| TIFF Orientation | TIFF Orientation | +| TIFF Pentax PEF | TIFF Pentax PEF | +| TIFF Photometric interpretation | TIFF Photometric interpretation | +| TIFF Pixar film | TIFF Pixar film | +| TIFF Pixar log | TIFF Pixar log | +| TIFF Pixar log L | TIFF Pixar log L | +| TIFF Pixar log Luv | TIFF Pixar log Luv | +| TIFF RGB | TIFF RGB | +| TIFF RGBPalette | TIFF RGBPalette | +| TIFF Resolution unit | TIFF Resolution unit | +| TIFF SGILog | TIFF SGILog | +| TIFF SGILog24 | TIFF SGILog24 | +| TIFF Software | TIFF Software | +| TIFF Sony ARW | TIFF Sony ARW | +| TIFF T4Group3Fax | TIFF T4Group3Fax | +| TIFF T6Group4Fax | TIFF T6Group4Fax | +| TIFF Thunderscan | TIFF Thunderscan | +| TIFF UM | TIFF UM | +| TIFF XResolution | TIFF XResolution | +| TIFF YCb Cr | TIFF YCb Cr | +| TIFF YResolution | TIFF YResolution | +| TIFF black is zero | TIFF black is zero | +| TIFF color Filter Array | TIFF color Filter Array | +| TIFF deflate | TIFF deflate | +| TIFF horizontal | TIFF horizontal | +| TIFF inches | TIFF inches | +| TIFF linear Raw | TIFF linear Raw | +| TIFF mirror horizontal | TIFF mirror horizontal | +| TIFF mirror horizontal and Rotate90cw | TIFF mirror horizontal and Rotate90cw | +| TIFF mirror horizontal and rotate270cw | TIFF mirror horizontal and rotate270cw | +| TIFF mirror vertical | TIFF mirror vertical | +| TIFF next | TIFF next | +| TIFF none | TIFF none | +| TIFF pack bits | TIFF pack bits | +| TIFF rotate180 | TIFF rotate180 | +| TIFF rotate270CW | TIFF rotate270CW | +| TIFF rotate90CW | TIFF rotate90CW | +| TIFF transparency mask | TIFF transparency mask | +| TIFF uncompressed | TIFF uncompressed | +| TIFF white is zero | TIFF white is zero | +| TLSv1_2 | TLSv1_2 | +| TLSv1_3 | TLSv1_3 | +| Tab | Tabulation | +| Tab Key | Touche tab | +| Table Sequence Number | Numéro automatique table | +| Text Document | Document texte | +| Text array | Est un tableau texte | +| Text data | Données texte | +| Texture appearance | Aspect texture | +| Thousand separator | Séparateur de milliers | +| Thousands of colors | Milliers de couleurs | +| Thursday | Jeudi | +| Time array | Est un tableau heure | +| Time separator | Séparateur heure | +| Times in milliseconds | Heures en millisecondes | +| Times in seconds | Heures en secondes | +| Times inside objects | Heures dans les objets | +| Timestamp log file name | Nom historique avec date heure | +| Tips delay | Messages aide délai | +| Tips duration | Messages aide durée | +| Tips enabled | Messages aide activation | +| Toolbar form window | Form fenêtre barre outils | +| Translate | Translation | +| Transparency | Transparence | +| Truncated Centered | Tronquée centrée | +| Truncated non Centered | Tronquée non centrée | +| Tuesday | Mardi | +| Two fifty six colors | Deux cent cinquante six coul | +| US ASCII code | ASCII US | +| UTF8 C string | UTF8 chaîne en C | +| UTF8 text with length | UTF8 texte avec longueur | +| UTF8 text without length | UTF8 texte sans longueur | +| Uncooperative process threshold | Seuil process peu cooperatif | +| Underline | Souligné | +| Up Arrow Key | Touche haut | +| Update event | Mise à jour fenêtre | +| Update records | Mettre à jour enregistrements | +| Use AST interpreter | Utiliser interpreter AST | +| Use PicRef | Utiliser réf image | +| Use Sheet Window | Utiliser fenêtre feuille | +| Use default folder | Utiliser dossier par défaut | +| Use legacy Network Layer | Utiliser ancienne couche réseau | +| Use selected file | Utiliser fichier sélectionné | +| Use structure definition | Utiliser définition structure | +| User Data Source | Source de données utilisateur | +| User Preferences_All | Préférences utilisateur_Tous | +| User Preferences_User | Préférences utilisateur | +| User Settings | Propriétés utilisateur | +| User param value | Valeur User param | +| User settings file | Fichier propriétés utilisateur | +| User settings file for data | Fichier propriétés utilisateur pour données | +| User settings for data file | Propriétés utilisateur pour le fichier de données | +| User system localization | Langue système utilisateur | +| VT ASCII code | ASCII VT | +| Verification log file | Fichier log vérification | +| Verify All | Tout vérifier | +| Verify Indexes | Vérifier index | +| Verify Records | Vérifier enregistrements | +| Version | Version | +| Vertical concatenation | Concaténation verticale | +| Vertically Centered | Centrée verticalement | +| WA Enable Web inspector | WA autoriser inspecteur Web | +| WA Enable contextual menu | WA autoriser menu contextuel | +| WA Next URLs | WA URLs suivants | +| WA Previous URLs | WA URLs précédents | +| WA enable URL drop | WA autoriser déposer URL | +| Waiting for input output | En attente entrée sortie | +| Waiting for internal flag | En attente drapeau interne | +| Waiting for user event | En attente événement | +| Warning Message | Message d’avertissement | +| Web CORS enabled | Web CORS activé | +| Web CORS settings | Web propriétés CORS | +| Web Character set | Web jeu de caractères | +| Web Client IP address to listen | Web client adresse IP d’écoute | +| Web HSTS enabled | Web HSTS activé | +| Web HSTS max age | Web HSTS max age | +| Web HTTP Compression Level | Web niveau de compression HTTP | +| Web HTTP Compression Threshold | Web seuil de compression HTTP | +| Web HTTP TRACE | Web TRACE HTTP | +| Web HTTP enabled | Web HTTP activé | +| Web HTTPS Port ID | Web numéro de port HTTPS | +| Web HTTPS enabled | Web HTTPS activé | +| Web IP address to listen | Web adresse IP d’écoute | +| Web Inactive process timeout | Web timeout process | +| Web Inactive session timeout | Web timeout session | +| Web Log Recording | Web enreg requêtes | +| Web Max Concurrent Processes | Web process Web simultanés maxi | +| Web Max sessions | Web nombre de sessions max | +| Web Maximum requests size | Web taille max requêtes | +| Web Port ID | Web numéro du port | +| Web Process on 4D Remote | Process Web 4D distant | +| Web Process with no Context | Process Web sans contexte | +| Web SameSite Lax | Web SameSite Lax | +| Web SameSite None | Web SameSite Aucun | +| Web SameSite Strict | Web SameSite Strict | +| Web Service Compression | Web Service compression | +| Web Service Detailed Message | Web Service message | +| Web Service Dynamic | Web Service dynamique | +| Web Service Error Code | Web Service code erreur | +| Web Service Fault Actor | Web Service origine erreur | +| Web Service HTTP Compression | Web Service compression HTTP | +| Web Service HTTP Status code | Web Service code statut HTTP | +| Web Service HTTP Timeout | Web Service timeout HTTP | +| Web Service Manual | Web Service manuel | +| Web Service Manual In | Web Service entrée manuel | +| Web Service Manual Out | Web Service sortie manuel | +| Web Service SOAP Header | Web Service header SOAP | +| Web Service SOAP Version | Web Service version SOAP | +| Web Service SOAP_1_1 | Web Service SOAP_1_1 | +| Web Service SOAP_1_2 | Web Service SOAP_1_2 | +| Web Service display auth dialog | Web Service afficher dial auth | +| Web Service reset auth settings | Web Service effacer infos auth | +| Web Session IP address validation enabled | Web validation adresse IP de session acctivé | +| Web Session cookie domain | Web domaine du cookie de session | +| Web Session cookie name | Web nom du cookie de session | +| Web Session cookie path | Web chemin du cookie de session | +| Web debug log | Web debug log | +| Web legacy session | Web sessions anciennes | +| Web scalable session | Web session extensible | +| Web server Process | Process du serveur Web | +| Web server database | Web serveur de base de données | +| Web server host database | Web serveur de base de données hôte | +| Web server receiving request | Web serveur recevant requête | +| Wednesday | Mercredi | +| White | Blanc | +| Windows | Windows | +| Windows MIDI Document | Document MIDI Windows | +| Windows Sound Document | Document son Windows | +| Windows Video Document | Document vidéo Windows | +| Worker pool in use | Process Worker pool utilisé | +| Worker pool spare | Process Worker pool réserve | +| Worker process | Process worker | +| Write Mode | Mode écriture | +| XML BOM | XML BOM | +| XML Base64 | XML Base64 | +| XML CDATA | XML CDATA | +| XML CR | XML CR | +| XML CRLF | XML CRLF | +| XML Convert to PNG | XML convertir en PNG | +| XML DATA | XML DATA | +| XML DOCTYPE | XML DOCTYPE | +| XML DOM case sensitivity | XML DOM sensibilité à la casse | +| XML ISO | XML ISO | +| XML LF | XML LF | +| XML Native codec | XML codec natif | +| XML UTC | XML UTC | +| XML binary encoding | XML encodage binaire | +| XML case insensitive | XML casse insensible | +| XML case sensitive | XML casse sensible | +| XML comment | XML commentaire | +| XML data URI scheme | XML data URI scheme | +| XML date encoding | XML encodage dates | +| XML datetime UTC | XML datetime UTC | +| XML datetime local | XML datetime local | +| XML datetime local absolute | XML datetime local absolu | +| XML default | XML valeur par défaut | +| XML disabled | XML désactivé | +| XML duration | XML durée | +| XML element | XML élément | +| XML enabled | XML activé | +| XML end Document | XML fin document | +| XML end Element | XML fin élément | +| XML entity | XML entité | +| XML external entity resolution | XML résolution des entités externes | +| XML indentation | XML indentation | +| XML line ending | XML fin de ligne | +| XML local | XML local | +| XML no indentation | XML sans indentation | +| XML picture encoding | XML encodage images | +| XML processing Instruction | XML instruction de traitement | +| XML raw data | XML données brutes | +| XML seconds | XML secondes | +| XML start Document | XML début document | +| XML start Element | XML début élément | +| XML string encoding | XML encodage chaînes | +| XML time encoding | XML encodage heures | +| XML with escaping | XML avec échappement | +| XML with indentation | XML avec indentation | +| XY Current form | XY Formulaire courant | +| XY Current window | XY Fenêtre courante | +| XY Main window | XY Fenêtre principale | +| XY Screen | XY Ecran | +| Yellow | Jaune | +| ZIP Compression LZMA | ZIP Compression LZMA | +| ZIP Compression XZ | ZIP Compression XZ | +| ZIP Compression none | ZIP Compression aucune | +| ZIP Compression standard | ZIP Compression standard | +| ZIP Encryption AES128 | ZIP Chiffrement AES128 | +| ZIP Encryption AES192 | ZIP Chiffrement AES192 | +| ZIP Encryption AES256 | ZIP Chiffrement AES256 | +| ZIP Encryption none | ZIP Chiffrement aucun | +| ZIP Ignore invisible files | ZIP Ignorer fichier invisible | +| ZIP Without enclosing folder | ZIP Sans dossier parent | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/delete-folder.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/delete-folder.md index 19bb962415bd8c..adc143df4615f9 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/delete-folder.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/delete-folder.md @@ -31,7 +31,7 @@ Par défaut pour des raisons de sécurité, si vous omettez le paramètre *optio * Si vous passez Delete with contents : * Le dossier ainsi que tout son contenu sont supprimés. **Attention :** Si le dossier est verrouillé ou en lecture seule, il sera néanmoins supprimé si l'utilisateur courant dispose des droits d’accès nécessaires. - * Si le dossier désigné ou un des fichiers qu'il contient ne peut pas être supprimé, la procédure de suppression est abandonnée dès que le premier élément inaccessible est atteint, et une erreur(\*) est retournée. Dans ce cas, le dossier ne sera que partiellement supprimé. Il est cependant possible d'utiliser la commande [Last errors](last-errors.md) pour obtenir le nom et le chemin d’accès du fichier à l'origine de l'erreur. + * Si le dossier désigné ou un des fichiers qu'il contient ne peut pas être supprimé, la procédure de suppression est abandonnée dès que le premier élément inaccessible est atteint, et une erreur(\*) est retournée. Dans ce cas, le dossier ne sera que partiellement supprimé. Il est cependant possible d'utiliser la commande [Last errors](../commands/last-errors.md) pour obtenir le nom et le chemin d’accès du fichier à l'origine de l'erreur. * Si le dossier désigné n'existe pas, la commande ne fait rien et aucune erreur n'est générée. (\*) sous Windows : -54 (Tentative d'écriture dans un fichier verrouillé) sous macOS : -45 (Fichier verrouillé ou chemin d'accès invalide) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md index 9b9ec4b584d39d..f0c5bf5865287e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md @@ -32,7 +32,7 @@ Dans l'objet *options*, passez les propriétés à utiliser lors de la générat ### Gestion des erreurs -Les erreurs suivantes peuvent être retournées. Vous pouvez récupérer et analyser les erreurs à l'aide des commandes [Last errors](last-errors.md) et [ON ERR CALL](on-err-call.md). +Les erreurs suivantes peuvent être retournées. Vous pouvez récupérer et analyser les erreurs à l'aide des commandes [Last errors](../commands/last-errors.md) et [ON ERR CALL](on-err-call.md). | **Numéro** | **Message** | | ---------- | ------------------------------------------------------------------------------------------ | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/last-errors.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/last-errors.md deleted file mode 100644 index f6c44024b4ae4f..00000000000000 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/last-errors.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -id: last-errors -title: Last errors -slug: /commands/last-errors -displayed_sidebar: docs ---- - -**Last errors** : Collection - -| Paramètre | Type | | Description | -| --- | --- | --- | --- | -| Résultat | Collection | ← | Collection d'objets erreur | - - - -#### Description - -La commande **Last errors** retourne la pile d'erreurs courante de l'application 4D sous forme de collection d'objets erreur, ou **null** si aucune erreur ne s'est produite. La pile d'erreurs inclut les objets envoyés par la commande [throw](throw.md), le cas échéant. - -Chaque objet erreur contient les attributs suivants : - -| **Propriété** | **Type** | **Description** | -| ------------------ | -------- | ------------------------------------------------------ | -| errCode | nombre | Code d'erreur | -| message | texte | Description de l'erreur | -| componentSignature | texte | Signature du composant interne qui a retourné l'erreur | - -:::note - -Pour une description des signatures de composants, veuillez vous référer à la section [Codes d'erreur](../Concepts/error-handling.md#error-codes). - -::: - -Cette commande doit être appelée depuis une méthode d'appel sur erreur installée par la commande [ON ERR CALL](on-err-call.md). - - -#### Voir aussi - -[ON ERR CALL](on-err-call.md) -[throw](throw.md) -[Error handling](../Concepts/error-handling.md) - -#### Propriétés - -| | | -| --- | --- | -| Numéro de commande | 1799 | -| Thread safe | ✓ | - - diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md index e0272edcd7eeb0..242bb34916ac18 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md @@ -22,7 +22,7 @@ La commande vérifie la conformité de chaque fichier de session dans le dossier Si un fichier de session n'est pas valide ou a été supprimé, la session correspondante est supprimée de la mémoire. -La commande peut renvoyer l'une des erreurs suivantes, qui peuvent être traitées via les commandes [ON ERR CALL](on-err-call.md) et [Last errors](last-errors.md) : +La commande peut renvoyer l'une des erreurs suivantes, qui peuvent être traitées via les commandes [ON ERR CALL](on-err-call.md) et [Last errors](../commands/last-errors.md) : | **Nom du composant** | **Code d'erreur** | **Description** | | -------------------- | ----------------- | ------------------------------------------------------------------- | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md index f9f4c227b13e20..372b9332a1f5a2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ Pour les besoins de votre interface, vous souhaitez entourer d'un rectangle roug Dans la méthode objet de la list box, vous écrivez : ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //initialiser un rectangle rouge + OBJECT SET VISIBLE(*;"RedRect";False) //initialiser un rectangle rouge  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md index 84c596555aacfa..7f68f70f6b9fe1 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md @@ -41,7 +41,7 @@ Pour désinstaller une méthode de gestion des erreurs, appelez de nouveau **ON Vous pouvez identifier les erreurs en lisant la variable système Error, qui contient le code de l'erreur. Les codes d'erreurs retournés par 4D sont traités dans les sections *Codes d'erreurs*. Reportez-vous par exemple à la section *Erreurs de syntaxe (1 -> 81)*. La variable Error n'est définie qu'à l'intérieur de la méthode de gestion des erreurs ; si vous souhaitez que le code soit accessible dans la méthode ayant provoqué l'erreur, copiez la variable Error dans votre propre variable process. Vous pouvez également accéder aux variables système Error method, Error line et Error formula contenant respectivement le nom de la méthode, le numéro de ligne et le texte de la formule à l'origine de l'erreur (cf. [Gérer les erreurs dans une méthode](../Concepts/error-handling.md#gérer-les-erreurs-dans-une-méthode)). -Vous pouvez utiliser la commande [Last errors](last-errors.md) ou [Last errors](last-errors.md) pour obtenir la séquence d'erreurs (c'est-à-dire la "pile" d'erreurs) à l'origine de l'interruption. +Vous pouvez utiliser la commande [Last errors](../commands/last-errors.md) ou [Last errors](../commands/last-errors.md) pour obtenir la séquence d'erreurs (c'est-à-dire la "pile" d'erreurs) à l'origine de l'interruption. La méthode de gestion des erreurs doit généralement traiter les erreurs de manière appropriée ou afficher un message d'erreur à l'utilisateur. Les erreurs peuvent être générées lors de traitements effectués sur : @@ -175,8 +175,8 @@ La méthode de gestion d'erreurs suivante ignore les interruptions de l'utilisat [ABORT](abort.md) *Gestionnaire d'erreur* -[Last errors](last-errors.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) +[Last errors](../commands/last-errors.md) [Method called on error](method-called-on-error.md) *Variables système* diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md index 546ab9374b3208..2023014c56a208 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md @@ -49,7 +49,7 @@ Les paramètres *param1...N* sont envoyés au PHP au format JSON en utf-8\. Ils **Note :** Pour des raisons techniques, la taille des paramètres passés via le protocole fast cgi ne doit pas dépasser 64 Ko. Vous devez tenir compte de cette limitation si vous utilisez des paramètres de type Texte. -La commande retourne Vrai si l’exécution s’est déroulée correctement côté 4D, c’est-à-dire si le lancement de l’environnement d’exécution, l’ouverture du script et l’établissement de la communication avec l’interpréteur PHP ont été réussis. Dans le cas contraire, une erreur est générée, que vous pouvez intercepter avec la commande [ON ERR CALL](on-err-call.md) et analyser avec [Last errors](last-errors.md) . +La commande retourne Vrai si l’exécution s’est déroulée correctement côté 4D, c’est-à-dire si le lancement de l’environnement d’exécution, l’ouverture du script et l’établissement de la communication avec l’interpréteur PHP ont été réussis. Dans le cas contraire, une erreur est générée, que vous pouvez intercepter avec la commande [ON ERR CALL](on-err-call.md) et analyser avec [Last errors](../commands/last-errors.md) . En outre, le script lui-même peut générer des erreurs PHP. Dans ce cas, vous devez utiliser la commande [PHP GET FULL RESPONSE](php-get-full-response.md) afin d’analyser la source de l’erreur (voir exemple 4). **Note :** PHP permet de configurer la gestion d’erreurs. Pour plus d’informations, reportez-vous par exemple à la page . diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md index af089c4f6f721f..50c0beec06a4a9 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Description -**Printing page** retourne le numéro de la page en cours d'impression. Cette fonction vous permet de numéroter automatiquement les pages d'une impression en cours à l'aide de [PRINT SELECTION](print-selection.md) ou du menu Impression dans le mode Développement. +**Printing page** retourne le numéro de la page en cours d'impression. Cette fonction vous permet de numéroter automatiquement les pages d'une impression en cours. ## Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/resume-transaction.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/resume-transaction.md index f599edda6d4dd4..24eaea6703acdd 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/resume-transaction.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/resume-transaction.md @@ -16,13 +16,14 @@ displayed_sidebar: docs La commande **RESUME TRANSACTION** réactive la transaction qui a été suspendue à l'aide de la commande [SUSPEND TRANSACTION](suspend-transaction.md) au niveau correspondant dans le process courant. Toute opération effectuée après l'appel de cette commande retourne sous le contrôle de la transaction (hormis si plusieurs transactions suspendues sont imbriquées). -Pour plus d'informations, veuillez vous référer à la section *Suspendre des transactions*. +Pour plus d'informations, veuillez vous référer à la section [Suspendre des transactions](../Develop-legacy/transactions.md#suspending-transactions) +. ## Voir aussi [Active transaction](active-transaction.md) [SUSPEND TRANSACTION](suspend-transaction.md) -*Suspendre des transactions* +[Suspendre des transactions](../Develop-legacy/transactions.md#suspending-transactions) ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md index 9698100e25d598..dd5acffd1f2985 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md @@ -32,7 +32,7 @@ Les deux derniers paramètres ne sont remplis que si l’erreur provient de la s ## Voir aussi -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/start-transaction.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/start-transaction.md index c155a48ec2a07b..5af3db1b934482 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/start-transaction.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/start-transaction.md @@ -23,7 +23,7 @@ A compter de la version 11 de 4D, vous pouvez imbriquer plusieurs transactions ( [CANCEL TRANSACTION](cancel-transaction.md) [In transaction](in-transaction.md) [Transaction level](transaction-level.md) -*Utiliser des transactions* +[Transactions](../Develop-legacy/transactions.md) [VALIDATE TRANSACTION](validate-transaction.md) ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/suspend-transaction.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/suspend-transaction.md index 4ac1495489e9f6..21011e78734e92 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/suspend-transaction.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/suspend-transaction.md @@ -16,13 +16,14 @@ displayed_sidebar: docs La commande **SUSPEND TRANSACTION** suspend les mécanismes de la transaction courante dans le process courant. Vous pouvez alors manipuler des données dans d'autres parties de la base, sans qu'elles soient contrôlées par la transaction, tout en préservant le contexte courant de la transaction. Tout enregistrement qui a été mis à jour ou ajouté durant la transaction est verrouillé jusqu'à ce que la transaction soit réactivée à l'aide de la commande [RESUME TRANSACTION](resume-transaction.md). -Pour plus d'informations, veuillez vous référer à la section *Suspendre des transactions*. +Pour plus d'informations, veuillez vous référer à la section [Suspendre des transactions](../Develop-legacy/transactions.md#suspending-transactions). ## Voir aussi [Active transaction](active-transaction.md) [RESUME TRANSACTION](resume-transaction.md) -*Suspendre des transactions* +[Suspendre des transactions](../Develop-legacy/transactions.md#suspending-transactions) + ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/throw.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/throw.md index a88146c28526cf..eca8538da4a474 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/throw.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/throw.md @@ -47,9 +47,9 @@ L'objet *errorObj* permet d'obtenir des informations plus détaillées sur les e | message | texte | Description de l'erreur. Le **message** peut contenir des placeholders qui seront remplacés par des propriétés personnalisées ajoutées à l'objet *errorObj*. Chaque placeholder doit être spécifié en utilisant des accolades {} entourant le nom de la propriété à utiliser. If the **message** is not provided or is an empty string, the command will look for a description in the current database xliff files with a resname built as follows: ERR\_{componentSignature}\_{errCode}". Si le **message** n'est pas fourni ou s'il s'agit d'une chaîne vide, la commande recherchera une description dans les fichiers xliff de la base de données actuelle, avec un nouveau nom construit comme suit : ERR\_{componentSignature}\_{errCode}". | | deferred | booléen | Vrai si l'erreur doit être différée au retour de la méthode en cours ou à la fin du [Try block](developer.4d.com/docs/fr/Concepts/error-handling#trycatchend-try). La valeur par défaut est faux. | -When you use this syntax, the *errorObj* object is returned in [Last errors](last-errors.md). +When you use this syntax, the *errorObj* object is returned in [Last errors](../commands/last-errors.md). -Lorsque vous utilisez cette syntaxe, l'objet *errorObj* est renvoyé dans [Last errors](last-errors.md). +Lorsque vous utilisez cette syntaxe, l'objet *errorObj* est renvoyé dans [Last errors](../commands/last-errors.md). **Note :** Il est possible d'appeler la commande plusieurs fois dans la même méthode de projet pour générer plusieurs erreurs. Vous pouvez utiliser l'option **deferred** pour envoyer toutes les erreurs en une seule fois. @@ -57,7 +57,7 @@ Lorsque vous utilisez cette syntaxe, l'objet *errorObj* est renvoyé dans [Last Elle lance toutes les erreurs courantes en ***mode différé***, ce qui signifie qu'elles seront ajoutées à une pile et traitées au retour de la méthode appelante. Ceci est typiquement fait à l'intérieur d'un [ON ERR CALL](on-err-call.md) callback. -* **Dans une application :** Lorsqu'une erreur survient, elle est ajoutée à la pile d'erreurs et la méthode [ON ERR CALL](on-err-call.md) de l'application est appelée à la fin de la méthode courante. La fonction [Last errors](last-errors.md) renvoie la pile d'erreurs. +* **Dans une application :** Lorsqu'une erreur survient, elle est ajoutée à la pile d'erreurs et la méthode [ON ERR CALL](on-err-call.md) de l'application est appelée à la fin de la méthode courante. La fonction [Last errors](../commands/last-errors.md) renvoie la pile d'erreurs. * **Par conséquent, dans un composant** : La pile d'erreurs peut être envoyée à l'application hôte et la méthode [ON ERR CALL](on-err-call.md) de l'application hôte est appelée. ## Example 1 @@ -105,7 +105,7 @@ throw({componentSignature: "xbox"; errCode: 600; name: "myFileName"; path: "myFi ## Voir aussi [ASSERT](assert.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/transaction-level.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/transaction-level.md index e162d29c6c3acc..e61279526fb894 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/transaction-level.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/transaction-level.md @@ -21,7 +21,8 @@ displayed_sidebar: docs [In transaction](in-transaction.md) [START TRANSACTION](start-transaction.md) -*Utiliser des transactions* +[Transactions](../Develop-legacy/transactions.md) + ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/validate-transaction.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/validate-transaction.md index e902b30572b081..cd6cb195c219a2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/validate-transaction.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/validate-transaction.md @@ -29,7 +29,8 @@ A noter que lorsque OK vaut 0, la transaction est automatiquement annulée en in [CANCEL TRANSACTION](cancel-transaction.md) [In transaction](in-transaction.md) [START TRANSACTION](start-transaction.md) -*Utiliser des transactions* +[Transactions](../Develop-legacy/transactions.md) + ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md index e96dcb5f835db7..13cf4529b0a02d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md @@ -23,7 +23,7 @@ Cette fonction compare *motDePasse* à un *hash* généré par la commande [Gene ### Gestion des erreurs -Les erreurs suivantes peuvent être retournées. Vous pouvez récupérer et analyser les erreurs à l'aide des commandes [Last errors](last-errors.md) et [ON ERR CALL](on-err-call.md). +Les erreurs suivantes peuvent être retournées. Vous pouvez récupérer et analyser les erreurs à l'aide des commandes [Last errors](../commands/last-errors.md) et [ON ERR CALL](on-err-call.md). | **Numéro** | **Message** | | ---------- | -------------------------------------------------------- | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/call-chain.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/call-chain.md index e329a1ede4ecfa..1d1c683f873084 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/call-chain.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/call-chain.md @@ -9,50 +9,50 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ---------- | --------------------------- | ---------------------------------------------------------------- | -| Résultat | Collection | ← | Collection of objects describing the call chain within a process | +| Paramètres | Type | | Description | +| ---------- | ---------- | --------------------------- | --------------------------------------------------------------------- | +| Résultat | Collection | ← | Collection d'objets décrivant la chaîne d'appels au sein d'un process |

    Historique -| Release | Modifications | -| ------- | ----------------------------- | -| 20 R9 | Support of `formula` property | +| Release | Modifications | +| ------- | ----------------------------------------- | +| 20 R9 | Prise en charge de la propriété `formula` |
    ## Description -The **Call chain** command returns a collection of objects describing each step of the method call chain within the current process. It provides the same information as the Debugger window. It has the added benefit of being able to be executed from any 4D environment, including compiled mode. +La commande **Call chain** renvoie une collection d'objets décrivant chaque maillon de la chaîne d'appels des méthodes dans le process courant. Elle fournit les mêmes informations que la fenêtre du débogueur. Elle présente l'avantage supplémentaire de pouvoir être exécutée à partir de n'importe quel environnement 4D, y compris en mode compilé. -The command facilitates debugging by enabling the identification of the method or formula called, the component that called it, and the line number where the call was made. Each object in the returned collection contains the following properties: +Cette commande facilite le débogage en permettant d'identifier la méthode ou la formule appelée, le composant qui l'a appelée et le numéro de ligne d'où l'appel a été effectué. Chaque objet de la collection retournée contient les propriétés suivantes : -| **Propriété** | **Type** | **Description** | **Example** | -| ------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | -| database | Text | Name of the database calling the method (to distinguish host methods and component methods) | "database":"contactInfo" | -| formula | Text (if any) | Contents of the current line of code at the current level of the call chain (raw text). Corresponds to the contents of the line referenced by the `line` property in the source file indicated by method. If the source code is not available, `formula` property is omitted (Undefined). | "var $stack:=Call chain" | -| ligne | Integer | Line number of call to the method | "line":6 | -| name | Ttext | Name of the called method | "name":"On Load" | -| type | Text | Type of the method:
  • "projectMethod"
  • "formObjectMethod"
  • "formmethod"
  • "databaseMethod"
  • "triggerMethod"
  • "executeOnServer" (when calling a project method with the *Execute on Server attribute*)
  • "executeFormula" (when executing a formula via [PROCESS 4D TAGS](../commands-legacy/process-4d-tags.md) or the evaluation of a formula in a 4D Write Pro document)
  • "classFunction"
  • "formMethod"
  • | "type":"formMethod" | +| **Propriété** | **Type** | **Description** | **Example** | +| ------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | +| database | Text | Nom de la base de données appelant la méthode (pour distinguer les méthodes de l'hôte et les méthodes des composants) | "database":"contactInfo" | +| formula | Texte (le cas échéant) | Contenu de la ligne de code courante au niveau courant de la chaîne d'appel (texte brut). Correspond au contenu de la ligne référencée par la propriété `line` dans le fichier source indiqué par la méthode. Si le code source n'est pas disponible, la propriété `formula` est omise (Undefined). | "var $stack:=Call chain" | +| line | Integer | Numéro de ligne de l'appel à la méthode | "line":6 | +| name | Text | Nom de la méthode appelée | "name":"On Load" | +| type | Text | Type de la méthode :
  • "projectMethod"
  • "formObjectMethod"
  • "formmethod"
  • "databaseMethod"
  • "triggerMethod"
  • "executeOnServer" (lors de l'appel d'une méthode projet avec l'attribut *Exécuter sur serveur*)
  • "executeFormula" (lors de l'exécution d'une formule via [PROCESS 4D TAGS](../commands-legacy/process-4d-tags.md) ou de l'évaluation d'une formule dans un document 4D Write Pro)
  • "classFunction"
  • "formMethod"
  • | "type":"formMethod" | :::note -For this command to be able to operate in compiled mode, the [Range checking](../Project/compiler.md#range-checking) must not be disabled. +Pour que cette commande puisse fonctionner en mode compilé, le [Range checking] (../Project/compiler.md#range-checking) ne doit pas être désactivé. ::: ## Exemple -The following code returns a collection of objects containing information about the method call chain: +Le code suivant renvoie une collection d'objets contenant des informations sur la chaîne d'appels de méthodes : ```4d var $currentCallChain : Collection $currentCallChain:=Call chain ``` -If a project method is executed, the call chain could contain (for example): +Si une méthode projet est exécutée, la chaîne d'appels peut contenir (par exemple) : ```json [ @@ -65,7 +65,7 @@ If a project method is executed, the call chain could contain (for example): ] ``` -If a form object method is executed, the call chain could contain (for example): +Si une méthode objet de formulaire est exécutée, la chaîne d'appels peut contenir (par exemple) : ```json [ diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/command-index.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/command-index.md index 1006f9bbbf648f..11d5d54c6c2606 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/command-index.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/command-index.md @@ -530,7 +530,7 @@ title: Index L -[`Last errors`](../commands-legacy/last-errors.md)
    +[`Last errors`](last-errors.md)
    [`Last field number`](../commands-legacy/last-field-number.md)
    [`Last query path`](../commands-legacy/last-query-path.md)
    [`Last query plan`](../commands-legacy/last-query-plan.md)
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/command-name.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/command-name.md index a6b67b37a681c6..39c9616d0f3001 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/command-name.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/command-name.md @@ -9,42 +9,42 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ------- | --------------------------- | ---------------------------- | -| command | Integer | → | Numéro de commande | -| info | Integer | ← | Command property to evaluate | -| theme | Text | ← | Language theme of command | -| Résultat | Text | ← | Localized command name | +| Paramètres | Type | | Description | +| ---------- | ------- | --------------------------- | ---------------------------------- | +| command | Integer | → | Numéro de commande | +| info | Integer | ← | Propriété de la commande à évaluer | +| theme | Text | ← | Thème du langage de la commande | +| Résultat | Text | ← | Nom de la commande |
    Historique -| Release | Modifications | -| ------- | ------------------------------ | -| 20 R9 | Support of deprecated property | +| Release | Modifications | +| ------- | ---------------------------------------- | +| 20 R9 | Prise en charge de la propriété obsolète |
    ## Description -The **Command name** command returns the name as well as (optionally) the properties of the command whose command number you pass in *command*.The number of each command is indicated in the Explorer as well as in the Properties area of this documentation. +La commande **Command name** retourne le nom ainsi que (optionnellement) les propriétés de la commande dont vous passez le numéro dans *commande*. Le numéro de chaque commande est indiqué dans l'explorateur ainsi que dans la zone Propriétés de cette documentation. -**Compatibility note:** A command name may vary from one 4D version to the next (commands renamed), this command was used in previous versions to designate a command directly by means of its number, especially in non-tokenized portions of code. This need has diminished over time as 4D continues to evolve because, for non-tokenized statements (formulas), 4D now provides a token syntax. This syntax allows you to avoid potential problems due to variations in command names as well as other elements such as tables, while still being able to type these names in a legible manner (for more information, refer to the *Using tokens in formulas* section). Note also that the \*[Use regional system settings\* option of the Preferences](../Preferences/methods.md#4d-programming-language-use-regional-system-settings) allows you to continue using the French language in a French version of 4D. +**Note de compatibilité :** Le nom d'une commande pouvant varier d'une version à l'autre de 4D (commandes renommées), cette commande était utilisée dans les versions précédentes pour désigner une commande directement par son numéro, notamment dans les portions de code non tokenisées. Ce besoin a diminué au fil du temps alors que 4D continue d'évoluer parce que, pour les requêtes non tokenisées (formules), 4D fournit maintenant une syntaxe avec tokens. Cette syntaxe de s'affranchir des variations des noms de commandes mais aussi des autres éléments comme les tables, tout en permettant de les saisir de façon lisible (pour plus d'informations, se référer à la section *Utilisation des tokens dans les formules*). Notez également que l'option [*Utiliser les paramètres régionaux du système* des Préférences](../Preferences/methods.md#4d-programming-language-use-regional-system-settings) vous permet de continuer à utiliser le langage en Français dans une version française de 4D. -Two optional parameters are available: +Deux paramètres optionnels sont disponibles : -- *info*: properties of the command. The returned value is a *bit field*, where the following bits are meaningful: - - First bit (bit 0): set to 1 if the command is [**thread-safe**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (i.e., compatible with execution in a preemptive process) and 0 if it is **thread-unsafe**. Only thread-safe commands can be used in [preemptive processes](../Develop/preemptive.md). - - Second bit (bit 1): set to 1 if the command is **deprecated**, and 0 if it is not. A deprecated command will continue to work normally as long as it is supported, but should be replaced whenever possible and must no longer be used in new code. Deprecated commands in your code generate warnings in the [live checker and the compiler](../code-editor/write-class-method.md#warnings-and-errors). +- *info* : propriétés de la commande. La valeur renvoyée est un *champ de bits*, où les bits suivants sont significatifs : + - Premier bit (bit 0) : il vaut 1 si la commande est [**thread-safe**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (c'est-à-dire compatible avec une exécution dans un processus préemptif) et 0 si elle est **thread-unsafe**. Seules les commandes thread-safe peuvent être utilisées dans les [process préemptifs](../Develop/preemptive.md). + - Deuxième bit (bit 1) : mis à 1 si la commande est **obsolète**, et à 0 si elle ne l'est pas. Une commande obsolète (ou dépréciée) continuera à fonctionner normalement tant qu'elle sera prise en charge, mais elle doit être remplacée dans la mesure du possible et ne doit plus être utilisée dans le nouveau code. Les commandes obsolètes dans votre code génèrent des avertissements dans le [live checker et le compilateur](../code-editor/write-class-method.md#warnings-and-errors). -*theme*: name of the 4D language theme for the command. +*thème* : nom du thème du langage 4D pour la commande. -The **Command name** command sets the *OK* variable to 1 if *command* corresponds to an existing command number, and to 0 otherwise. Note, however, that some existing commands have been disabled, in which case **Command name** returns an empty string (see last example). +La commande **Command name** met la variable *OK* à 1 si *command* correspond à un numéro de commande existant, et à 0 sinon. Notez toutefois que certaines commandes existantes ont été désactivées, auquel cas **Command name** renvoie une chaîne vide (voir le dernier exemple). ## Exemple 1 -The following code allows you to load all valid 4D commands in an array: +Le code suivant permet de charger toutes les commandes 4D valides dans un tableau : ```4d  var $Lon_id : Integer @@ -55,18 +55,18 @@ The following code allows you to load all valid 4D commands in an array:  Repeat     $Lon_id:=$Lon_id+1     $Txt_command:=Command name($Lon_id) -    If(OK=1) //command number exists -       If(Length($Txt_command)>0) //command is not disabled +    If(OK=1) //le numéro de commande existe +       If(Length($Txt_command)>0) //la commande n'est pas désactivée           APPEND TO ARRAY($tTxt_commands;$Txt_command)           APPEND TO ARRAY($tLon_Command_IDs;$Lon_id)        End if     End if - Until(OK=0) //end of existing commands + Until(OK=0) //fin des commandes existantes ``` ## Exemple 2 -In a form, you want a drop-down list populated with the basic summary report commands. In the object method for that drop-down list, you write: +Dans un formulaire, vous voulez afficher une liste déroulante contenant les commandes standard de génération d'états. Dans la méthode objet de cette liste déroulante, vous écrivez : ```4d  Case of @@ -80,13 +80,13 @@ In a form, you want a drop-down list populated with the basic summary report com  End case ``` -In the English version of 4D, the drop-down list will read: Sum, Average, Min, and Max. In the French version\*, the drop-down list will read: Somme, Moyenne, Min, and Max. +Dans la version anglaise de 4D, la liste déroulante contiendra : Sum, Average, Min et Max. Dans la version française\*, la liste déroulante contiendra : Somme, Moyenne, Min et Max. -\*with a 4D application configured to use the French programming language (see compatibility note) +\*avec une application 4D configurée pour utiliser le langage de programmation français (voir note de compatibilité) ## Exemple 3 -You want to create a method that returns **True** if the command, whose number is passed as parameter, is thread-safe, and **False** otherwise. +Vous souhaitez créer une méthode qui renvoie **True** si la commande, dont le numéro est passé en paramètre, est thread-safe, et **False** dans le cas contraire. ```4d   //Is_Thread_Safe project method @@ -94,23 +94,23 @@ You want to create a method that returns **True** if the command, whose number i  var $threadsafe : Integer  var $name; $theme : Text  $name:=Command name($command;$threadsafe;$theme) - If($threadsafe ?? 0) //if the first bit is set to 1 + If($threadsafe ?? 0) //si le premier bit est à 1     return True  Else     return False  End if ``` -Then, for the "SAVE RECORD" command (53) for example, you can write: +Ensuite, pour la commande "SAVE RECORD" (53) par exemple, vous pouvez écrire : ```4d  $isSafe:=Is_Thread_Safe(53) -  // returns True +  // renvoie True ``` ## Exemple 4 -You want to return a collection of all deprecated commands in your version of 4D. +Vous souhaitez renvoyer une collection de toutes les commandes obsolètes dans votre version de 4D. ```4d var $info; $Lon_id : Integer @@ -120,11 +120,11 @@ var $deprecated : Collection Repeat $Lon_id:=$Lon_id+1 $Txt_command:=Command name($Lon_id;$info) - If($info ?? 1) //the second bit is set to 1 - //then the command is deprecated + If($info ?? 1) //le 2e bit est à 1 + //alors la commande est dépréciée $deprecated.push($Txt_command) End if -Until(OK=0) //end of existing commands +Until(OK=0) //fin des commandes existantes ``` diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/ds.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/ds.md index 435f8a47e295bb..b3ea0a66e21aed 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/ds.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/ds.md @@ -19,9 +19,9 @@ displayed_sidebar: docs La commande `ds` retourne une référence vers le datastore correspondant à la base de données 4D courante ou à la base de données désignée par *localID*. -Si vous omettez le paramètre *localID* (ou si vous passez une chaîne vide ""), la commande renvoie une référence au datastore correspondant à la base de données 4D locale (ou à la base 4D Server en cas d'ouverture d'une base de données distante sur 4D Ser Le datastore est ouvert automatiquement et est disponible directement via `ds`. Le datastore est ouvert automatiquement et est disponible directement via `ds`. +Si vous omettez le paramètre *localID* (ou si vous passez une chaîne vide ""), la commande renvoie une référence au datastore correspondant à la base de données 4D locale (ou à la base 4D Server en cas d'ouverture d'une base de données distante sur 4D Server). Le datastore est ouvert automatiquement et est disponible directement via `ds`. -Vous pouvez également obtenir une référence sur un datastore distant ouvert en passant son identifiant local dans le paramètre *localID*. Vous pouvez également obtenir une référence sur un datastore distant ouvert en passant son identifiant local dans le paramètre *localID*. L'identifiant local est défini lors de l'utilisation de cette commande. +Vous pouvez également obtenir une référence sur un datastore distant ouvert en passant son identifiant local dans le paramètre *localID*. Le datastore doit avoir été préalablement ouvert avec la commande [`Open datastore`](open-datastore.md) par la base de données courante (hôte ou composant). L'identifiant local est défini lors de l'utilisation de cette commande. > La portée de l'identifiant local est la base de données dans laquelle le datastore a été ouvert. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/last-errors.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/last-errors.md new file mode 100644 index 00000000000000..c89cf37896baf9 --- /dev/null +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/last-errors.md @@ -0,0 +1,91 @@ +--- +id: last-errors +title: Last errors +slug: /commands/last-errors +displayed_sidebar: docs +--- + +**Last errors** : Collection + + + +| Paramètres | Type | | Description | +| ---------- | ---------- | --------------------------- | -------------------------- | +| Résultat | Collection | ← | Collection d'objets erreur | + + + +## Description + +La commande **Last errors** renvoie la pile d'erreurs courante de l'application 4D sous la forme d'une collection d'objets erreur, ou **null** si aucune erreur ne s'est produite. La pile d'erreurs inclut les objets envoyés par la commande [throw](../commands-legacy/throw.md), le cas échéant. + +Cette commande doit être appelée à partir d'une méthode d'appel sur erreur installée par la commande [ON ERR CALL](../commands-legacy/on-err-call.md) ou dans un contexte [Try ou Try/Catch](../Concepts/error-handling.md#tryexpression). + +Chaque objet erreur contient les propriétés suivantes : + +| **Propriété** | **Type** | **Description** | +| ------------------ | -------- | ------------------------------------------------------------------------------------------ | +| errCode | number | Code d'erreur | +| message | text | Description de l'erreur | +| componentSignature | text | Signature du composant interne qui a renvoyé l'erreur (voir ci-dessous) | + +#### Signatures des composants internes (4D) + +| Signature du composant | Composant | +| ------------------------- | ------------------------------------------------------------------- | +| 4DCM | 4D Compiler runtime | +| 4DRT | 4D runtime | +| bkrs | 4D backup & restore manager | +| brdg | SQL 4D bridge | +| cecm | 4D code Editor | +| CZip | zip 4D apis | +| dbmg | 4D database manager | +| FCGI | fast cgi 4D bridge | +| FiFo | 4D file objects | +| HTCL | http client 4D apis | +| HTTP | 4D http server | +| IMAP | IMAP 4D apis | +| JFEM | Form Macro apis | +| LD4D | LDAP 4D apis | +| lscm | 4D language syntax manager | +| MIME | MIME 4D apis | +| mobi | 4D Mobile | +| pdf1 | 4D pdf apis | +| PHP_ | php 4D bridge | +| POP3 | POP3 4D apis | +| SMTP | SMTP 4D apis | +| SQLS | 4D SQL server | +| srvr | 4D network layer apis | +| svg1 | SVG 4D apis | +| ugmg | 4D users and groups manager | +| UP4D | 4D updater | +| VSS | 4D VSS support (Windows Volume Snapshot Service) | +| webc | 4D Web view | +| xmlc | XML 4D apis | +| wri1 | 4D Write Pro | + +#### Signatures des composants internes (système) + +| Signature du composant | Composant | +| ---------------------- | -------------------------------------------------------- | +| CARB | Carbon subsystem | +| COCO | Cocoa subsystem | +| MACH | macOS Mach subsystem | +| POSX | posix/bsd subsystem (mac, linux, win) | +| PW32 | Pre-Win32 subsystem | +| WI32 | Win32 subsystem | + +## Voir également + +[ON ERR CALL](../commands-legacy/on-err-call.md) +[throw](../commands-legacy/throw.md)\ +[Error handling](../Concepts/error-handling.md) + +## Propriétés + +| | | +| ------------------ | --------------------------- | +| Numéro de commande | 1799 | +| Thread safe | ✓ | + + diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/open-datastore.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/open-datastore.md index 36b46adc6506c5..721d7aeaa7d9a7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/open-datastore.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/open-datastore.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## Description -The `Open datastore` command connects the application to the remote datastore identified by the *connectionInfo* parameter and returns a matching `4D.DataStoreImplementation` object associated with the *localID* local alias. +La commande `Open datastore` connecte l'application au datastore distant identifié par le paramètre *connectionInfo* et renvoie un objet `4D.DataStoreImplementation` correspondant associé à l'alias local *localID*. Les datastores distants suivants sont pris en charge par la commande : @@ -71,7 +71,7 @@ Une fois la session ouverte, les instructions suivantes deviennent équivalentes //$myds et $myds2 sont équivalents ``` -Objects available in the `4D.DataStoreImplementation` are mapped with respect to the [ORDA general rules](ORDA/dsMapping.md#general-rules). +Les objets disponibles dans `4D.DataStoreImplementation` sont mappés conformément aux [règles générales ORDA](ORDA/dsMapping.md#general-rules). Si aucun datastore correspondant n'est trouvé, `Open datastore` retourne **Null**. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/pop3-new-transporter.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/pop3-new-transporter.md index 482a210e7dcae0..de172d95455182 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/pop3-new-transporter.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/pop3-new-transporter.md @@ -25,21 +25,21 @@ displayed_sidebar: docs ## Description -La commande `POP3 New transporter` configure une nouvelle connexion POP3en fonction du paramètre *server* et retourne un nouvel objet [POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object). L'objet transporteur retourné sera alors utilisé pour la réception d'emails. +La commande `POP3 New transporter` configure une nouvelle connexion POP3 en fonction du paramètre *server* et retourne un nouvel objet [POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object). L'objet transporteur retourné sera alors utilisé pour la réception d'emails. Dans le paramètre *server*, passez un objet contenant les propriétés suivantes : -| *server* | Valeur par défaut (si omise) | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| [](../API/POP3TransporterClass.md#acceptunsecureconnection)
    | False | -| .**accessTokenOAuth2** : Text
    .**accessTokenOAuth2** : Object
    Chaîne ou objet token représentant les informations d'autorisation OAuth2. Utilisé uniquement avec OAUTH2 `authenticationMode`. Si `accessTokenOAuth2` est utilisé mais que `authenticationMode` est omis, le protocole OAuth 2 est utilisé (si le serveur l'autorise). Not returned in *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)* object. | aucun | -| [](../API/POP3TransporterClass.md#authenticationmode)
    | le mode d'authentification le plus sûr pris en charge par le serveur est utilisé | -| [](../API/POP3TransporterClass.md#connectiontimeout)
    | 30 | -| [](../API/POP3TransporterClass.md#host)
    | *obligatoire* | -| [](../API/POP3TransporterClass.md#logfile)
    | aucun | -| **password** : Text
    Mot de passe utilisateur pour l'authentification sur le serveur. Not returned in *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)* object. | aucun | -| [](../API/POP3TransporterClass.md#port)
    | 995 | -| [](../API/POP3TransporterClass.md#user)
    | aucun | +| *server* | Valeur par défaut (si omise) | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| [](../API/POP3TransporterClass.md#acceptunsecureconnection)
    | False | +| .**accessTokenOAuth2** : Text
    .**accessTokenOAuth2** : Object
    Chaîne ou objet token représentant les informations d'autorisation OAuth2. Utilisé uniquement avec OAUTH2 `authenticationMode`. Si `accessTokenOAuth2` est utilisé mais que `authenticationMode` est omis, le protocole OAuth 2 est utilisé (si le serveur l'autorise). Non renvoyé dans l'objet *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)*. | aucun | +| [](../API/POP3TransporterClass.md#authenticationmode)
    | le mode d'authentification le plus sûr pris en charge par le serveur est utilisé | +| [](../API/POP3TransporterClass.md#connectiontimeout)
    | 30 | +| [](../API/POP3TransporterClass.md#host)
    | *obligatoire* | +| [](../API/POP3TransporterClass.md#logfile)
    | aucun | +| **password** : Text
    Mot de passe utilisateur pour l'authentification sur le serveur. Non renvoyé dans l'objet *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)*. | aucun | +| [](../API/POP3TransporterClass.md#port)
    | 995 | +| [](../API/POP3TransporterClass.md#user)
    | aucun | ## Résultat diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/print-form.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/print-form.md index 7418f07dd3cad7..8e4b4910b6ac60 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/print-form.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/print-form.md @@ -8,32 +8,32 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ------------ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| aTable | Table | → | Table owning the form, or Default table, if omitted | -| form | Text, Object | → | Name (string) of the form, or a POSIX path (string) to a .json file describing the form, or an object describing the form to print | -| formData | Object | → | Données à associer au formulaire | -| areaStart | Integer | → | Print marker, or Beginning area (if areaEnd is specified) | -| areaEnd | Integer | → | Ending area (if areaStart specified) | -| Résultat | Integer | ← | Height of printed section | +| Paramètres | Type | | Description | +| ---------- | ------------ | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| aTable | Table | → | Table du formulaire, ou table par défaut si omis | +| form | Text, Object | → | Nom (chaîne) du formulaire, ou chemin POSIX (chaîne) vers un fichier .json décrivant le formulaire, ou objet décrivant le formulaire à imprimer | +| formData | Object | → | Données à associer au formulaire | +| areaStart | Integer | → | Marqueur d'impression ou zone de démarrage (si areaEnd est spécifié) | +| areaEnd | Integer | → | Zone de fin (si areaStart est spécifié) | +| Résultat | Integer | ← | Hauteur de la section imprimée | ## Description -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*.La commande **Print form** imprime simplement *form* avec les valeurs courantes des champs et des variables de la table *aTable*. Elle est généralement utilisée pour imprimer des états très complexes qui nécessitent un contrôle complet du processus d'impression. **Print form** ne gère pas les traitements d'enregistrements, ni les ruptures, sauts de pages, en-têtes ou pieds de pages. Vous devez vous-même prendre en charge ces opérations. **Print form** imprime uniquement des champs et des variables avec une taille fixe, la commande ne gère pas les objets de taille variable. Dans le paramètre *form*, vous pouvez passer soit : - le nom d'un formulaire, -- the path (in POSIX syntax) to a valid .json file containing a description of the form to use (see *Form file path*), or +- le chemin d'accès (en syntaxe POSIX) d'un fichier .json valide contenant une description du formulaire à utiliser (voir *Chemin d'accès au fichier de formulaire*), ou - un objet contenant la description du formulaire à utiliser. -Since **Print form** does not issue a page break after printing the form, it is easy to combine different forms on the same page. Thus, **Print form** is perfect for complex printing tasks that involve different tables and different forms. To force a page break between forms, use the [PAGE BREAK](../commands-legacy/page-break.md) command. In order to carry printing over to the next page for a form whose height is greater than the available space, call the [CANCEL](../commands-legacy/cancel.md) command before the [PAGE BREAK](../commands-legacy/page-break.md) command. +Comme **Print form** ne génère pas de saut de page après avoir imprimé un formulaire, elle vous permet de combiner facilement différents formulaires sur la même page. Ainsi, **Print form** est idéale pour effectuer des impressions complexes impliquant plusieurs tables et plusieurs formulaires. Pour forcer un saut de page entre les formulaires, utilisez la commande [PAGE BREAK](../commands-legacy/page-break.md). Pour reporter l'impression à la page suivante d'un formulaire dont la hauteur est supérieure à l'espace disponible, appelez la commande [CANCEL](../commands-legacy/cancel.md) avant la commande [PAGE BREAK](../commands-legacy/page-break.md). -Three different syntaxes may be used: +Trois syntaxes différentes peuvent être utilisées : -- **Detail area printing** +- **Impression du corps d'un formulaire** Syntaxe : @@ -41,9 +41,9 @@ Syntaxe :  height:=Print form(myTable;myForm) ``` -In this case, **Print form** only prints the Detail area (the area between the Header line and the Detail line) of the form. +Dans ce cas, **Print form** n'imprime que la zone de corps du formulaire (la zone comprise entre les marqueur d'en-tête et de corps). -- **Form area printing** +- **Impression de zone de formulaire** Syntaxe : @@ -51,7 +51,7 @@ Syntaxe :  height:=Print form(myTable;myForm;marker) ``` -In this case, the command will print the section designated by the *marker*. Pass one of the constants of the *Form Area* theme in the marker parameter: +Dans ce cas, la commande imprime la section désignée par *marker*. Passez dans le paramètre *marker* une des constantes : | Constante | Type | Valeur | | ------------- | ------- | ------ | @@ -79,7 +79,7 @@ In this case, the command will print the section designated by the *marker*. Pas | Form header8 | Integer | 208 | | Form header9 | Integer | 209 | -- **Section printing** +- **Impression de section** Syntaxe : @@ -87,58 +87,58 @@ Syntaxe :  height:=Print form(myTable;myForm;areaStart;areaEnd) ``` -In this case, the command will print the section included between the *areaStart* and *areaEnd* parameters. The values entered must be expressed in pixels. +Dans ce cas, la commande imprime la section comprise entre les paramètres *areaStart* et *areaEnd*. Les valeurs saisies doivent être exprimées en pixels. **formData** -Optionnellement, vous pouvez passer des paramètres au formulaire *form* en utilisant soit l'objet *formData*, soit l'objet de classe de formulaire automatiquement instancié par 4D si vous avez [associé une classe utilisateur au formulaire](../FormEditor/properties_FormProperties.md#form-class). Toutes les propriétés de l'objet de données du formulaire seront alors disponibles dans le contexte du formulaire par le biais de la commande [Form](form.md). Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). +Optionnellement, vous pouvez passer des paramètres au formulaire *form* en utilisant soit l'objet *formData*, soit l'objet de classe de formulaire automatiquement instancié par 4D si vous avez [associé une classe utilisateur au formulaire](../FormEditor/properties_FormProperties.md#form-class). Toutes les propriétés de l'objet de données du formulaire seront alors disponibles dans le contexte du formulaire par le biais de la commande [Form](form.md). L'objet form data est disponible dans l'[événement formulaire `On Printing Detail`](../Events/onPrintingDetail.md). Pour des informations détaillées sur l'objet de données formulaire, veuillez vous référer à la commande [`DIALOG`](dialog.md). **Valeur retournée** -The value returned by **Print form** indicates the height of the printable area. This value will be automatically taken into account by the [Get printed height](../commands-legacy/get-printed-height.md) command. +La valeur retournée par **Print form** indique la hauteur de la zone d’impression. Cette valeur sera automatiquement prise en compte par la commande [Get printed height](../commands-legacy/get-printed-height.md). -The printer dialog boxes do not appear when you use **Print form**. The report does not use the print settings that were assigned to the form in the Design environment. There are two ways to specify the print settings before issuing a series of calls to **Print form**: +Les boîtes de dialogue standard d'impression n'apparaissent pas lorsque vous utilisez la commande **Print form**. L'état généré ne tient pas compte des paramètres d'impression définis en mode Développement pour le formulaire. Il y a deux manières de définir les paramètres d'impression avant d'effectuer une série d'appels à **Print form** : -- Call [PRINT SETTINGS](../commands-legacy/print-settings.md). In this case, you let the user choose the settings. -- Call [SET PRINT OPTION](../commands-legacy/set-print-option.md) and [GET PRINT OPTION](../commands-legacy/get-print-option.md). In this case, print settings are specified programmatically. +- Appeler [PRINT SETTINGS](../commands-legacy/print-settings.md). Dans ce cas, vous laissez l'utilisateur définir ses paramètres dans les boîtes de dialogue d'impression. +- Appeler [SET PRINT OPTION](../commands-legacy/set-print-option.md) et [GET PRINT OPTION](../commands-legacy/get-print-option.md). Dans ce cas, les paramètres sont définis par programmation. -**Print form** builds each printed page in memory. Each page is printed when the page in memory is full or when you call [PAGE BREAK](../commands-legacy/page-break.md). To ensure the printing of the last page after any use of **Print form**, you must conclude with the [PAGE BREAK](../commands-legacy/page-break.md) command (except in the context of an [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), see note). Otherwise, if the last page is not full, it stays in memory and is not printed. +**Print form** construit chaque page à imprimer en mémoire. Chaque page est imprimée lorsque la page en mémoire est remplie ou lorsque vous appelez [PAGE BREAK](../commands-legacy/page-break.md). Pour vous assurer que la dernière page d'une impression exécutée par l'intermédiaire de **Print form** est effectivement imprimée, il faut terminer par la commande [PAGE BREAK](../commands-legacy/page-break.md) (sauf dans le cadre d'un [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), voir note). Sinon, la dernière page, si elle n'est pas remplie, reste en mémoire et n'est pas imprimée. -**Warning:** If the command is called in the context of a printing job opened with [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), you must NOT call [PAGE BREAK](../commands-legacy/page-break.md) for the last page because it is automatically printed by the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command. If you call [PAGE BREAK](../commands-legacy/page-break.md) in this case, a blank page is printed. +**Attention :** Si la commande est appelée dans le contexte d'une tâche d'impression ouverte avec [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), vous ne devez PAS appeler [PAGE BREAK](../commands-legacy/page-break.md) pour la dernière page car celle-ci est automatiquement imprimée par la commande [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md). Si vous appelez [PAGE BREAK](../commands-legacy/page-break.md) dans ce cas, une page vide est imprimée. -This command prints external areas and objects (for example, 4D Write or 4D View areas). The area is reset for each execution of the command. +Cette commande permet d'imprimer des zones et des objets externes (par exemple, les zones 4D Write Pro ou 4D View Pro). La zone est réinitialisée à chaque exécution de la commande. -**Warning:** Subforms are not printed with **Print form**. To print only one form with such objects, use [PRINT RECORD](../commands-legacy/print-record.md) instead. +**Attention :** **Print form** n'imprime pas les sous-formulaires. Si vous voulez imprimer uniquement un formulaire comportant de tels objets, utilisez plutôt [PRINT RECORD](../commands-legacy/print-record.md). -**Print form** generates only one [`On Printing Detail` event](../Events/onPrintingDetail.md) for the form method. +**Print form** ne génère qu'un seul événement [`On Printing Detail`](../Events/onPrintingDetail.md) pour la méthode formulaire. -**4D Server:** This command can be executed on 4D Server within the framework of a stored procedure. In this context: +**4D Server:** Cette commande peut être exécutée sur 4D Server dans le cadre d'une procédure stockée. Dans ce contexte : -- Make sure that no dialog box appears on the server machine (except for a specific requirement). -- In the case of a problem concerning the printer (out of paper, printer disconnected, etc.), no error message is generated. +- Veillez à ce qu'aucune boîte de dialogue n'apparaisse sur la machine serveur (sauf exigence particulière). +- Dans le cas d'un problème concernant l'imprimante (manque de papier, imprimante déconnectée, etc.), aucun message d'erreur n'est généré. ## Exemple 1 -The following example performs as a [PRINT SELECTION](../commands-legacy/print-selection.md) command would. However, the report uses one of two different forms, depending on whether the record is for a check or a deposit: +L'exemple suivant effectue la même chose que ce que ferait la commande [PRINT SELECTION](../commands-legacy/print-selection.md). Cependant, l'état utilise deux formulaires différents suivant le type d'enregistrement (chèque émis ou dépôt) : ```4d - QUERY([Register]) // Select the records + QUERY([Register]) // sélectionner les enregistrements  If(OK=1) -    ORDER BY([Register]) // Sort the records +    ORDER BY([Register]) // trier les enregistrements     If(OK=1) -       PRINT SETTINGS // Display Printing dialog boxes +       PRINT SETTINGS // Afficher les boîtes de dialogue d'impression        If(OK=1)           For($vlRecord;1;Records in selection([Register]))              If([Register]Type ="Check") -                Print form([Register];"Check Out") // Use one form for checks +                Print form([Register];"Check Out") // formulaire de chèque              Else -                Print form([Register];"Deposit Out") // Use another form for deposits +                Print form([Register];"Deposit Out") // formulaire de dépôt              End if              NEXT RECORD([Register])           End for -          PAGE BREAK // Make sure the last page is printed +          PAGE BREAK // S'assurer que la dernière page est imprimée        End if     End if  End if @@ -146,15 +146,15 @@ The following example performs as a [PRINT SELECTION](../commands-legacy/print-s ## Exemple 2 -Refer to the example of the [SET PRINT MARKER](../commands-legacy/set-print-marker.md) command. +Voir l'exemple de la commande [SET PRINT MARKER](../commands-legacy/set-print-marker.md). ## Exemple 3 -This form is used as dialog, then printed with modifications: +Ce formulaire est utilisé comme dialogue, puis imprimé avec des modifications : ![](../assets/en/commands/pict6264975.en.png) -The form method: +La méthode formulaire : ```4d  If(Form event code=On Printing Detail) @@ -164,7 +164,7 @@ The form method:  End if ``` -The code that calls the dialog then prints its body: +Le code qui appelle la boîte de dialogue imprime ensuite le corps : ```4d  $formData:=New object diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/process-info.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/process-info.md index 7cd320449a6062..2151b672b79934 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/process-info.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/process-info.md @@ -8,10 +8,10 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ------------- | ------- | :-------------------------: | ----------------------------- | -| processNumber | Integer | → | Process number | -| Résultat | Object | ← | Informations sur le processus | +| Paramètres | Type | | Description | +| ------------- | ------- | :-------------------------: | --------------------------- | +| processNumber | Integer | → | Numéro du process | +| Résultat | Object | ← | Informations sur le process | @@ -25,26 +25,26 @@ displayed_sidebar: docs ## Description -The `Process info` command returns an object providing detailed information about process whose number you pass in *processNumber*. If you pass an incorrect process number, the command returns a null object. +La commande `Process info` renvoie un objet fournissant des informations détaillées sur le process dont le numéro est passé dans *processNumber*. Si vous passez un numéro de process incorrect, la commande renvoie un objet null. L'objet retourné contient les propriétés suivantes : -| Propriété | Type | Description | -| ---------------- | --------------------------------------- | -------------------------------------------------------------------------------- | -| cpuTime | Real | Running time (seconds) | -| cpuUsage | Real | Percentage of time devoted to this process (between 0 and 1) | -| creationDateTime | Text (Date ISO 8601) | Date and time of process creation | -| ID | Integer | Process unique ID | -| name | Text | Nom du process | -| number | Integer | Process number | -| préemptif | Boolean | True if run preemptive, false otherwise | -| sessionID | Text | UUID de la session | -| state | Integer | Current status. Possible values: see below | -| systemID | Text | ID for the user process, 4D process or spare process | -| type | Integer | Running process type. Possible values: see below | -| visible | Boolean | True if visible, false otherwise | - -- Possible values for "state": +| Propriété | Type | Description | +| ---------------- | --------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| cpuTime | Real | Durée d'exécution (secondes) | +| cpuUsage | Real | Pourcentage de temps consacré à ce process (entre 0 et 1) | +| creationDateTime | Text (Date ISO 8601) | Date et heure de création du process | +| ID | Integer | ID unique du process | +| name | Text | Nom du process | +| number | Integer | Numéro du process | +| preemptive | Boolean | Vrai si l'exécution est préemptive, faux sinon | +| sessionID | Text | UUID de la session | +| state | Integer | Statut courant. Valeurs possibles : voir ci-dessous | +| systemID | Text | ID du process utilisateur, 4D ou de réserve | +| type | Integer | Type de process en cours d'exécution. Valeurs possibles : voir ci-dessous | +| visible | Boolean | Vrai si visible, faux sinon | + +- Valeurs possibles pour "state" : | Constante | Valeur | | ------------------------- | ------ | @@ -57,7 +57,7 @@ L'objet retourné contient les propriétés suivantes : | Waiting for internal flag | 4 | | Paused | 5 | -- Possible values for "type": +- Valeurs possibles pour "type" : | Constante | Valeur | | ----------------------------- | ------ | @@ -118,11 +118,11 @@ L'objet retourné contient les propriétés suivantes : :::note -4D's internal processes have a negative type value and processes generated by the user have a positive value. Worker processes launched by user have type 5. +Les process internes de 4D ont une valeur de type négative et les process générés par l'utilisateur ont une valeur positive. Les process worker lancés par l'utilisateur sont de type 5. ::: -Voici un exemple d'objet de sortie : +Voici un exemple d'objet retourné : ```json @@ -145,7 +145,7 @@ Voici un exemple d'objet de sortie : ## Exemple -Vous voulez savoir si le processus est préventif : +Vous voulez savoir si le process est préemptif : ```4d diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/process-number.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/process-number.md index b4845c02ec8975..ba1b678c82e096 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/process-number.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/process-number.md @@ -9,30 +9,30 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | --------- | --------------------------- | -------------------------------------------------------- | -| name | Text | → | Name of process for which to retrieve the process number | -| id | Text | → | ID of process for which to retrieve the process number | -| \* | Opérateur | → | Return the process number from the server | -| Résultat | Integer | ← | Process number | +| Paramètres | Type | | Description | +| ---------- | --------- | --------------------------- | ----------------------------------------------- | +| name | Text | → | Nom du process duquel obtenir le numéro | +| id | Text | → | ID du process duquel récupérer le numéro | +| \* | Opérateur | → | Renvoyer le numéro du process depuis le serveur | +| Résultat | Integer | ← | Numéro du process |
    Historique -| Release | Modifications | -| ------- | ----------------------- | -| 20 R7 | Support of id parameter | +| Release | Modifications | +| ------- | ------------------------------- | +| 20 R7 | Prise en charge du paramètre id |
    ## Description -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter. If no process is found, `Process number` returns 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameterLa commande `Process number` renvoie le numéro du process dont le nom *name* ou l'*id* est passé en premier paramètre. Si aucun process n'est trouvé, `Process number` renvoie 0. -The optional parameter \* allows you to retrieve, from a remote 4D, the number of a process that is executed on the server. In this case, the returned value is negative. This option is especially useful when using the [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) and [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md) commands. +Le paramètre optionnel \* permet de récupérer, à partir d'un 4D distant, le numéro d'un process exécuté sur le serveur. Dans ce cas, la valeur retournée est négative. Cette option est particulièrement utile lors de l'utilisation des commandes [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) et [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md). -If the command is executed with the \* parameter from a process on the server machine, the returned value is positive. +Si la commande est exécutée avec le paramètre \* à partir d'un process sur la machine serveur, la valeur renvoyée est positive. ## Voir également diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/select-log-file.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/select-log-file.md index 5a5bed4154ed07..cc84d9eff37f02 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/select-log-file.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/select-log-file.md @@ -21,7 +21,7 @@ displayed_sidebar: docs Passez dans *logFile* le nom ou le chemin d'accès complet du fichier d'historique à créer. Si vous passez uniquement un nom, le fichier sera créé dans le dossier "Logs" de la base, à côte du fichier de structure de la base. -Si vous passez une chaîne vide, **SELECT LOG FILE** présente une boîte de dialogue standard d'enregistrement de fichier, permettant à l'utilisateur de choisir le nom et l'emplacement du fichier d'historique à créer. If the file is created correctly, the OK variable is set to 1. Autrement, si l'utilisateur clique sur le bouton Annuler ou si le fichier d'historique ne peut pas être créé, OK prend la valeur 0. +Si vous passez une chaîne vide, **SELECT LOG FILE** présente une boîte de dialogue standard d'enregistrement de fichier, permettant à l'utilisateur de choisir le nom et l'emplacement du fichier d'historique à créer. Si le fichier est correctement créé, la variable OK prend la valeur 1. Autrement, si l'utilisateur clique sur le bouton Annuler ou si le fichier d'historique ne peut pas être créé, OK prend la valeur 0. **Note :** Le nouveau fichier journal n'est pas généré immédiatement après l'exécution de la commande, mais après la sauvegarde suivante (le paramétrage est conservé dans le fichier de données et sera pris en compte même si la base de données est fermée entre-temps) ou un appel à la commande [`New log file`](new-log-file.md). Vous pouvez appeler la commande [BACKUP](../commands-legacy/backup.md) pour déclencher la création du fichier journal. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/session-info.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/session-info.md index 790e34844c475b..b94bd9a45589d2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/session-info.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/session-info.md @@ -49,7 +49,7 @@ Cette commande renvoie la propriété [`.info`](../API/SessionClass.md#info) de ::: -Voici un exemple d'objet de sortie : +Voici un exemple d'objet retourné : ```json diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/session.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/session.md index 4d4b18093f7421..e6e0b844d3486f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/session.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/session.md @@ -33,7 +33,7 @@ Selon le process à partir duquel la commande est appelée, la session utilisate - une session web (lorsque les [sessions évolutives sont activées](WebServer/sessions.md#enabling-web-sessions)), - une session de client distant, - la session des procédures stockées, -- the *designer* session in a standalone application. +- la session *designer* dans une application autonome. Pour plus d'informations, voir le paragraphe [Types de session](../API/SessionClass.md#session-types). @@ -70,9 +70,9 @@ Tous les process des procédures stockées partagent la même session d'utilisat Pour des informations sur la session d'utilisateur virtuel des procédures stockées, veuillez vous référer à la page [4D Server et langage 4D](https://doc.4d.com/4Dv20/4D/20/4D-Server-and-the-4D-Language.300-6330554.en.html). -## Standalone session +## Session autonome -The `Session` object is available from any process in standalone (single-user) applications so that you can write and test your client/server code using the `Session` object in your 4D development environment. +L'objet `Session` est disponible à partir de n'importe quel process dans les applications autonomes (mono-utilisateur) afin que vous puissiez écrire et tester votre code client/serveur en utilisant l'objet `Session` dans votre environnement de développement 4D. ## Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/set-allowed-methods.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/set-allowed-methods.md index 4fe05d6e19e113..34ea3ae747b594 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/set-allowed-methods.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/set-allowed-methods.md @@ -9,9 +9,9 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ------------ | ---------- | --------------------------- | --------------------- | -| methodsArray | Text array | → | Array of method names | +| Paramètres | Type | | Description | +| ------------ | ---------- | --------------------------- | --------------------------- | +| methodsArray | Text array | → | Tableau de noms de méthodes | @@ -19,32 +19,32 @@ displayed_sidebar: docs The **SET ALLOWED METHODS** command designates the project methods that can be entered via the application. -4D includes a security mechanism that filters enterable project methods from the following contexts: +4D inclut un mécanisme de sécurité filtrant les méthodes projet saisissables depuis les contextes suivants : -- The formula editor - allowed methods appear at the end of the list of default commands and can be used in formulas (see section *Description of formula editor*). -- The label editor - the allowed methods are listed in the **Apply** menu if they are also shared with the component (see section *Description of label editor*). -- Formulas inserted in styled text areas or 4D Write Pro documents through the [ST INSERT EXPRESSION](../commands-legacy/st-insert-expression.md) command - disallowed methods are automatically rejected. -- 4D View Pro documents - by default, if the [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md) command has never been called during the session, 4D View Pro formulas only accept methods defined by **SET ALLOWED METHODS**. However, using [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md) is recommended. See [Declaring allowed method](../ViewPro/formulas.md#declaring-allowed-methods). +- L'éditeur de formules - les méthodes autorisées apparaissent à la fin de la liste des commandes par défaut et peuvent être utilisées dans les formules (voir la section *Description de l'éditeur de formules*). +- L'éditeur d'étiquettes - les méthodes autorisées sont listées dans le menu **Appliquer** si elles sont également partagées avec le composant (voir la section *Description de l'éditeur d'étiquettes*). +- Les formules insérées dans des zones de texte stylées ou dans des documents 4D Write Pro par la commande [ST INSERT EXPRESSION](../commands-legacy/st-insert-expression.md) - les méthodes non autorisées sont automatiquement rejetées. +- Les documents 4D View Pro - par défaut, si la commande [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md) n'a jamais été appelée au cours de la session, les formules 4D View Pro n'acceptent que les méthodes définies par **SET ALLOWED METHODS**. Cependant, il est recommandé d'utiliser [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md). Voir [Déclarer une méthode autorisée](../ViewPro/formulas.md#declaring-allowed-methods). -By default, if you do not use the **SET ALLOWED METHODS** command, no method is enterable (using an unauthorized method in an expression causes an error). +Par défaut, si vous n'utilisez pas la commande **SET ALLOWED METHODS**, aucune méthode n'est appelable (l'utilisation d'une méthode non autorisée dans une expression provoque une erreur). -In the *methodsArray* parameter, pass the name of an array containing the list of methods to allow. The array must have been set previously. +Dans le paramètre *methodsArray*, passez le nom d'un tableau contenant la liste des méthodes à autoriser. Le tableau doit avoir été défini précédemment. -You can use the wildcard character (@) in method names to define one or more authorized method groups. +Vous pouvez utiliser le caractère "joker" (@) dans les noms des méthodes pour définir un ou plusieurs groupe(s) de méthodes autorisées. -If you would like the user to be able to call 4D commands that are unauthorized by default or plug-in commands, you must use specific methods that handle these commands. +Si vous souhaitez que l'utilisateur puisse appeler des commandes 4D non autorisées par défaut ou des commandes de plug-in, vous devez utiliser des méthodes spécifiques chargées d’exécuter ces commandes. -**Note:** Formula filtering access can be disabled for all users or for the Designer and Administrator via [an option on the "Security" page of the Settings](../settings/security.md#options). If the "Disabled for all" option is checked, the **SET ALLOWED METHODS** command will have no effect. +**Note :** Le filtrage des commandes et méthodes peut être désactivé pour tous les utilisateurs ou pour le Super_Utilisateur et l'Administrateur via [une option sur la page "Sécurité" des Paramètres](../settings/security.md#options). Si l'option "Désactivé pour tous" est sélectionnée, la commande **SET ALLOWED METHODS** n'aura aucun effet. :::warning -This command only filters the **input** of methods, not their **execution**. It does not control the execution of formulas created outside the application. +Cette commande ne filtre que la **saisie** des méthodes, pas leur **exécution**. Elle ne contrôle pas l'exécution des formules créées en dehors de l'application. ::: ## Exemple -This example authorizes all methods starting with “formula” and the “Total\_general” method to be entered by the user in protected contexts: +Cet exemple autorise la saisie de toutes les méthodes commençant par "formula" et de la méthode "Total_general" par l'utilisateur dans des contextes protégés : ```4d  ARRAY TEXT(methodsArray;2) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/set-window-document-icon.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/set-window-document-icon.md index f895f7c478ee26..8682495bf5e82e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/set-window-document-icon.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/set-window-document-icon.md @@ -26,49 +26,49 @@ displayed_sidebar: docs ## Description -The `SET WINDOW DOCUMENT ICON` command allows you to define an icon for windows in multi-window applications using either an *image* and/or *file* with the window reference *winRef*. The icon will be visible within the window itself and on the windows taskbar to help users identify and navigate different windows. +La commande `SET WINDOW DOCUMENT ICON` vous permet de définir une icône pour les fenêtres dans les applications multi-fenêtres en utilisant une *image* et/ou un *file* avec la référence de la fenêtre *winRef*. L'icône sera visible dans la fenêtre elle-même et dans la barre des tâches pour aider les utilisateurs à identifier les différentes fenêtres et à naviguer parmi elles. -In the case of an MDI application on Windows, you can pass `-1` in *winRef* to set the icon of the main window. In other contexts (macOS or [SDI application](../Menus/sdi.md) on Windows), using -1 does nothing. +Dans le cas d'une application MDI sous Windows, vous pouvez passer `-1` dans *winRef* pour définir l'icône de la fenêtre principale. Dans d'autres contextes (macOS ou [application SDI](../Menus/sdi.md) sous Windows), passer -1 ne fait rien. -- If only *file* is passed, the window uses the icon corresponding to the file type and the file’s path is displayed in the window’s menu. -- If only *image* is passed, 4D does not show the path and the passed image is used for the window icon. -- If both *file* and *image* are passed, the file’s path is displayed in the window’s menu and the passed image is used for the window icon. -- If only *winRef* is passed or *image* is empty, the icon is removed on macOS and the default icon is displayed on Windows (application icon). +- Si seul *file* est passé, la fenêtre utilise l'icône correspondant au type de fichier et le chemin d'accès du fichier est affiché dans le menu de la fenêtre. +- Si seul *image* est passé, 4D n'affiche pas le chemin et l'image passée est utilisée pour l'icône de la fenêtre. +- Si *file* et *image* sont tous les deux passés, le chemin d’accès du fichier est affiché dans le menu de la fenêtre et l’image passée est utilisée pour l’icône de la fenêtre. +- Si seul *winRef* est passé ou si *image* est vide, l'icône est supprimée sous macOS et l'icône par défaut est affichée sous Windows (icône de l'application). ## Exemple Dans cet exemple, nous voulons créer quatre fenêtres : -1. Utilisez l'icône de l'application sous Windows et aucune icône sur macOS (état par défaut quand aucune *image* ou *file* n'est utilisée). +1. Utiliser l'icône de l'application sous Windows et aucune icône sur macOS (état par défaut quand aucune *image* ou *file* n'est utilisée). 2. Utilisez une icône "user". 3. Associer un document à la fenêtre ( cela utilise l'icône du type de fichier correspondant). 4. Personnaliser l'icône associée au document. ```4d var $winRef : Integer - var $userImage : Picture + var $userImage : Image var $file : 4D.File - // 1- Open "Contact" form + // 1- Ouvrir le formulaire "Contact" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) SET WINDOW DOCUMENT ICON($winRef) DIALOG("Contact";*) - // 2- Open "Contact" form with "user" icon + // 2- Ouvrir le formulaire "Contact" avec l'icône "user" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) - BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent();$userImage) + BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent() ;$userImage) SET WINDOW DOCUMENT ICON($winRef;$userImage) DIALOG("Contact";*) - // 3- Open "Contact" form associated with the document "user" + // 3- Ouvrir le formulaire "Contact" associé au document "user" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) $file:=File("/RESOURCES/files/user.txt") SET WINDOW DOCUMENT ICON($winRef;$file) DIALOG("Contact";*) - // 4- Open "Contact" form associated with the document "user" with "user" icon + // 4- Ouvrir le formulaire "Contact" associé au document "user" avec l'icône "user" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) - BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent();$userImage) + BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent() ;$userImage) $file:=File("/RESOURCES/files/user.txt") SET WINDOW DOCUMENT ICON($winRef;$userImage;$file) DIALOG("Contact";*) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/smtp-new-transporter.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/smtp-new-transporter.md index 2cd12b438cccb2..090d1f384a107a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/smtp-new-transporter.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/smtp-new-transporter.md @@ -8,10 +8,10 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ---------------------------------- | --------------------------- | --------------------------------------------------------------------------------- | -| server | Object | → | Informations sur le serveur de messagerie | -| Résultat | 4D.SMTPTransporter | ← | [SMTP transporter object](../API/SMTPTransporterClass.md#smtp-transporter-object) | +| Paramètres | Type | | Description | +| ---------- | ---------------------------------- | --------------------------- | -------------------------------------------------------------------------------- | +| server | Object | → | Informations sur le serveur de messagerie | +| Résultat | 4D.SMTPTransporter | ← | [Objet SMTP transporter](../API/SMTPTransporterClass.md#smtp-transporter-object) | @@ -27,14 +27,14 @@ displayed_sidebar: docs ## Description -The `SMTP New transporter` command configures a new SMTP connection according to the *server* parameter and returns a new [SMTP transporter object](../API/SMTPTransporterClass.md#smtp-transporter-object) object. L'objet transporteur retourné sera alors utilisé pour l'envoi d'emails. +La commande `SMTP New transporter` configure une nouvelle connexion SMTP en fonction du paramètre *server* et renvoie un nouvel [objet SMTP transporter](../API/SMTPTransporterClass.md#smtp-transporter-object). L'objet transporteur retourné sera alors utilisé pour l'envoi d'emails. -> Cette commande n'ouvre pas de connexion au serveur SMTP. Cette commande n'ouvre pas de connexion au serveur SMTP. +> Cette commande n'ouvre pas de connexion au serveur SMTP. La connexion SMTP est réellement ouverte lorsque la fonction [`.send()`](../API/SMTPTransporterClass.md#send) est exécutée. > > La connexion SMTP est automatiquement fermée : > > - lorsque l'objet transporter est détruit si la propriété [`keepAlive`](../API/SMTPTransporterClass.md#keepalive) est à true (par défaut), -> - after each [`.send()`](../API/SMTPTransporterClass.md#send) function execution if the [`keepAlive`](../API/SMTPTransporterClass.md#keepalive) property is set to false. +> - après chaque exécution de la fonction [`send()`](../API/SMTPTransporterClass.md#send) si la propriété [`keepAlive`](../API/SMTPTransporterClass.md#keepalive) est false. Dans le paramètre *server*, passez un objet contenant les propriétés suivantes : diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/super.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/super.md index eda9d144e1bf80..5761e8db3d7878 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/super.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/super.md @@ -19,7 +19,7 @@ Le mot-clé `Super` permet les appels à la `Super` peut être utilisé de deux différentes manières : -1. A l'intérieur du code de la fonction [constructeur](../Concepts/classes.md#class-constructor), `Super` est une commande qui permet d'appeler le constructeur de la superclass. When used in a constructor, the `Super` command appears alone and must be used before the [`This`](this.md) keyword is used. +1. A l'intérieur du code de la fonction [constructor](../Concepts/classes.md#class-constructor), `Super` est une commande qui permet d'appeler le constructeur de la superclass. Dans une fonction constructor, la commande `Super` est utilisée seule et doit être appelée avant que le mot-clé `This` soit utilisé. - Si tous les class constructors dans l'arbre des héritages ne sont pas appelés correctement, l'erreur -10748 et générée. Il est de la responsabilité du développeur 4D de s'assurer que tous les appels sont valides. - Si la commande `This` est appelée sur un objet dont les superclasses n'ont pas été construites, l'erreur -10743 est générée. @@ -32,7 +32,7 @@ Super($text1) //appel du constructeur de la superclasse avec un paramètre text This.param:=$text2 // utilisation d'un second param ``` -2. Inside a [class function](../Concepts/classes.md#function), `Super` designates the prototype of the [`superclass`](../API/ClassClass.md#superclass) and allows to call a function of the superclass hierarchy. +2. A l'intérieur d'une [fonction de classe](../Concepts/classes.md#function), `Super` désigne le prototype de la [`superclass`](../API/ClassClass.md#superclass) et permet d'appeler une fonction de la hiérarchie de la superclasse. ```4d Super.doSomething(42) //appelle la fonction "doSomething" @@ -67,11 +67,11 @@ Class extends Rectangle Class constructor ($side : Integer) - // It calls the parent class's constructor with lengths - // provided for the Rectangle's width and height + // Appelle le constructeur de la classe parente avec les dimensions + // fournies pour la largeur et la hauteur du Rectangle Super($side;$side) - // In derived classes, Super must be called - // before you can use 'This' + // Dans les classes dérivées, Super doit être appelé + // avant que vous puissiez utiliser 'This' This.name:="Square" Function getArea() : Integer @@ -111,7 +111,7 @@ $message:=$square.description() //I have 4 sides which are all equal ## Voir également -[**Concept page for Classes**](../Concepts/classes.md). +[**Page de Concept pour les Classes**](../Concepts/classes.md). ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md index 8e40003c8a814e..5d62ac7920e45a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md @@ -14,7 +14,6 @@ slug: /commands/theme/4D-Environment | [](../../commands-legacy/compact-data-file.md)
    | | [](../../commands-legacy/component-list.md)
    | | [](../../commands-legacy/create-data-file.md)
    | -| [](../../commands/create-entity-selection.md)
    | | [](../../commands-legacy/data-file.md)
    | | [](../../commands-legacy/database-measures.md)
    | | [](../../commands-legacy/drop-remote-user.md)
    | @@ -46,7 +45,6 @@ slug: /commands/theme/4D-Environment | [](../../commands-legacy/set-update-folder.md)
    | | [](../../commands-legacy/structure-file.md)
    | | [](../../commands-legacy/table-fragmentation.md)
    | -| [](../../commands/use-entity-selection.md)
    | | [](../../commands-legacy/verify-current-data-file.md)
    | | [](../../commands-legacy/verify-data-file.md)
    | | [](../../commands-legacy/version-type.md)
    | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md index 2492c60f10f3a2..78f57c7e7294e6 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md @@ -11,7 +11,7 @@ slug: /commands/theme/Interruptions | [](../../commands-legacy/asserted.md)
    | | [](../../commands-legacy/filter-event.md)
    | | [](../../commands-legacy/get-assert-enabled.md)
    | -| [](../../commands-legacy/last-errors.md)
    | +| [](../../commands/last-errors.md)
    | | [](../../commands-legacy/method-called-on-error.md)
    | | [](../../commands-legacy/method-called-on-event.md)
    | | [](../../commands-legacy/on-err-call.md)
    | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/Selection.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/Selection.md index 2a7eb007e6ec07..e4feecb2ff414d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/Selection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/theme/Selection.md @@ -9,6 +9,7 @@ slug: /commands/theme/Selection | [](../../commands-legacy/all-records.md)
    | | [](../../commands-legacy/apply-to-selection.md)
    | | [](../../commands-legacy/before-selection.md)
    | +| [](../../commands/create-entity-selection.md)
    | | [](../../commands-legacy/create-selection-from-array.md)
    | | [](../../commands-legacy/delete-selection.md)
    | | [](../../commands-legacy/display-selection.md)
    | @@ -28,3 +29,4 @@ slug: /commands/theme/Selection | [](../../commands-legacy/scan-index.md)
    | | [](../../commands-legacy/selected-record-number.md)
    | | [](../../commands-legacy/truncate-table.md)
    | +| [](../../commands/use-entity-selection.md)
    | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/use-entity-selection.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/use-entity-selection.md index dce5ee9992876f..befd73468036e7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/use-entity-selection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/use-entity-selection.md @@ -48,11 +48,11 @@ USE ENTITY SELECTION($entitySel) //La sélection courante de la table Employee e ## Propriétés -| | | -| ------------------------- | --------------------------- | -| Numéro de commande | 1513 | -| Thread safe | ✓ | -| Changes current record | | -| Changes current selection | | +| | | +| -------------------------------- | --------------------------- | +| Numéro de commande | 1513 | +| Thread safe | ✓ | +| Modifie l'enregistrement courant | | +| Modifie la sélection courante | | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/wa-get-context.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/wa-get-context.md index 340390f8979f9a..adbddd236cd341 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/wa-get-context.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/wa-get-context.md @@ -7,27 +7,27 @@ title: WA Get context -| Paramètres | Type | | Description | -| ---------- | ------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| \* | Opérateur | → | If specified, *object* is an object name (string). If omitted, *object* is a variable. | -| object | Objet de formulaire | → | Object name (if \* is specified) or Variable (if \* is omitted). | -| contextObj | Object | ← | Context object if previously defined, otherwise `null`. | +| Paramètres | Type | | Description | +| ---------- | ------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| \* | Opérateur | → | Si passé, *object* est un nom d'objet (chaîne de caractères). Si omis, *object* est une variable. | +| object | Objet de formulaire | → | Nom de l'objet (si \* est spécifié) ou Variable (si \* est omis). | +| contextObj | Object | ← | Objet contexte si défini précédemment, sinon `null`. | ### Description -The `WA Get context` command retrieves the context object defined for `$4d` in the Web area designated by the \* and *object* parameters using [`WA SET CONTEXT`](./wa-set-context.md). If `WA SET CONTEXT` was not called for the web area the command returns `null`. +La commande `WA Get context` récupère l'objet contexte défini pour `$4d` dans la zone Web désignée par les paramètres \* et *object* en utilisant [`WA SET CONTEXT`](./wa-set-context.md). Si `WA SET CONTEXT` n'a pas été appelé pour la zone web, la commande renvoie `null`. :::note -The command is only usable with an embedded web area where the [**Use embedded web rendering engine**](../FormObjects/properties_WebArea.md#use-embedded-web-rendering-engine) and **Access 4D methods** parameters are set to `true`. +La commande n'est utilisable qu'avec une zone web intégrée où les paramètres [**Utiliser le moteur de rendu web intégré**](../FormObjects/properties_WebArea.md#use-embedded-web-rendering-engine) et **Accéder aux méthodes 4D** sont fixés à `true`. ::: ### Exemple -Checking if a context exists: +Vérification de l'existence d'un contexte : ```4d var $contextObj:=WA Get context(*; "myWebArea") diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/wa-set-context.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/wa-set-context.md index 7312405b0a0ba9..71b05ccc4c7995 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/wa-set-context.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/wa-set-context.md @@ -7,32 +7,32 @@ title: WA SET CONTEXT -| Paramètres | Type | | Description | -| ---------- | ------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| \* | Opérateur | → | If specified, *object* is an object name (string). If omitted, *object* is a variable. | -| object | Objet de formulaire | → | Object name (if \* is specified) or Variable (if \* is omitted). | -| contextObj | Object | → | Object containing the functions that can be called with `$4d`. | +| Paramètres | Type | | Description | +| ---------- | ------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| \* | Opérateur | → | Si passé, *object* est un nom d'objet (chaîne de caractères). Si omis, *object* est une variable. | +| object | Objet de formulaire | → | Nom de l'objet (si \* est spécifié) ou Variable (si \* est omis). | +| contextObj | Object | → | Objet contenant les fonctions qui peuvent être appelées avec `$4d`. | ### Description -The `WA SET CONTEXT` command defines a context object *contextObj* for `$4d` in the Web area designated by the \* and *object* parameters. When this command is used, `$4d` can only access contents declared within the provided *contextObj*. When no context object is set, `$4d` has access to all 4D methods and can not access user classes. +La commande `WA SET CONTEXT` définit un objet contexte *contextObj* pour `$4d` dans la zone Web désignée par les paramètres \* et *object*. Lorsque cette commande est utilisée, `$4d` ne peut accéder qu'aux contenus déclarés dans le *contextObj* fourni. Si aucun objet contexte n'est défini, `$4d` a accès à toutes les méthodes 4D et ne peut pas accéder aux classes utilisateurs. :::note -The command is only usable with an embedded web area where the [**Use embedded web rendering engine**](../FormObjects/properties_WebArea.md#use-embedded-web-rendering-engine) and **Access 4D methods** parameters are set to `true`. +La commande n'est utilisable qu'avec une zone web intégrée où les paramètres [**Utiliser le moteur de rendu web intégré**](../FormObjects/properties_WebArea.md#use-embedded-web-rendering-engine) et **Accéder aux méthodes 4D** sont fixés à `true`. ::: -Pass in *contextObj* user class instances or formulas to be allowed in `$4d` as objects. Class functions that begin with `_` are considered hidden and cannot be used with `$4d`. +Passez dans *contextObj* les instances de classes utilisateurs ou les formules à autoriser dans `$4d` en tant qu'objets. Les fonctions de classe qui commencent par `_` sont considérées comme cachées et ne peuvent pas être utilisées avec `$4d`. -- If *contextObj* is null, `$4d` has access to all 4D methods. -- If *contextObj* is empty, `$4d` has no access. +- Si *contextObj* est null, `$4d` a accès à toutes les méthodes 4D. +- Si *contextObj* est vide, `$4d` n'a aucun accès. ### Exemple 1 -Allow `$4d` to specific methods +Autoriser l'accès à des méthodes spécifiques via `$4d` ```4d var $context:={} @@ -42,17 +42,17 @@ Allow `$4d` to specific methods WA SET CONTEXT(*; "myWebArea"; $context) ``` -**In JavaScript:** +**En JavaScript:** ```js -$4d.myMethod(); // Allowed -$4d.myMethod2(); // Allowed -$4d.someOtherMethod(); // Not accessible +$4d.myMethod(); // Autorisé +$4d.myMethod2(); // Autorisé +$4d.someOtherMethod(); // Non autorisé ``` ### Exemple 2 -Using a Class Object +Utiliser un objet de classe ```4d var $myWAObject:=cs.WAFunctions.new() @@ -60,11 +60,11 @@ Using a Class Object WA SET CONTEXT(*; "MyWA"; $myWAObject) ``` -**In JavaScript:** +**En JavaScript:** ```js -$4d.myWAFunction(); // Allowed -$4d._myPrivateFunction(); // Will do nothing because function is private +$4d.myWAFunction(); // Autorisé +$4d._myPrivateFunction(); // Ne fera rien car la function est privée ``` ### Voir également diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/DataClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/DataClassClass.md index 075a4d749ebb5b..a5ce57ec143a72 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/DataClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/DataClassClass.md @@ -734,7 +734,7 @@ où : | Conjonction | Symbole(s) | | ----------- | ----------------------- | | AND | &, &&, and | - | OR | |,||, or | + | OU | |,||, or | * **order by attributePath** : vous pouvez inclure une déclaration order by *attributePath* dans la requête afin que les données résultantes soient triées selon cette déclaration. Vous pouvez utiliser plusieurs tris par déclaration, en les séparant par des virgules (e.g., order by *attributePath1* desc, *attributePath2* asc). Par défaut, le tri est par ordre croissant. Passez 'desc' pour définir un tri par ordre décroissant et 'asc' pour définir un tri par ordre croissant. > > > *If you use this statement, the returned entity selection is ordered (for more information, please refer to [Ordered vs Unordered entity selections](ORDA/dsMapping.md#ordered-or-unordered-entity-selection)). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md index d7d24af253a024..a8dd7789a2e232 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md @@ -164,7 +164,7 @@ Connexion à un datastore distant sans utilisateur/mot de passe : ```4d var $connectTo : Object - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation $connectTo:=New object("type";"4D Server";"hostname";"192.168.18.11:8044") $remoteDS:=Open datastore($connectTo;"students") ALERT("This remote datastore contains "+String($remoteDS.Students.all().length)+" students") @@ -176,7 +176,7 @@ Connexion à un datastore distant avec utilisateur/mot de passe/timeout/tls : ```4d var $connectTo : Object - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation $connectTo:=New object("type";"4D Server";"hostname";\"192.168.18.11:4443";\ "user";"marie";"password";$pwd;"idleTimeout";70;"tls";True) $remoteDS:=Open datastore($connectTo;"students") @@ -401,7 +401,7 @@ La fonction `.getInfo()` retourne Sur un datastore distant : ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -750,7 +750,7 @@ Vous pouvez imbriquer plusieurs transactions (sous-transactions). Chaque transac ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/EntityClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/EntityClass.md index b95ff2ab532d76..ec01cb0bb3bb39 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/EntityClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/EntityClass.md @@ -600,15 +600,14 @@ Le code générique suivant duplique toute entité :
    -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Paramètres | Type | | Description | | ---------- | ------- |:--:| ---------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: retourner la clé primaire en texte, quel que soit son type d'origine | -| Résultat | Text | <- | Valeur de la clé primaire texte de l'entité | -| Résultat | Integer | <- | Valeur de la clé primaire numérique de l'entité | +| Résultat | any | <- | Valeur de la clé primaire de l'entité (Integer ou Text) | @@ -979,7 +978,7 @@ Exemple avec option `dk reload if stamp changed` : La fonction `.next()` retourne une référence vers l'entité suivante dans l'entity selection à laquelle appartient l'entité. -| +Si l'entité n'appartient à aucune entity selection existante (i.e. [.getSelection()](#getselection) retourne Null), la fonction renvoie une valeur Null. S'il n'y a pas d'entité suivante valide dans l'entity selection (i.e. vous êtes sur la dernière entité de la sélection), la fonction retourne Null. Si l'entité suivante a été supprimée, la fonction renvoie l'entité valide suivante (et finalement Null). @@ -1021,7 +1020,7 @@ S'il n'y a pas d'entité suivante valide dans l'entity selection (i.e. vous ête La fonction `.previous()` retourne une référence vers l'entité précédente dans l'entity selection à laquelle appartient l'entité. -| +Si l'entité n'appartient à aucune entity selection existante (i.e. [.getSelection()](#getselection) retourne Null), la fonction renvoie une valeur Null. Si l'entité n'appartient à aucune entity selection (i.e. [.getSelection( )](#getselection) retourne Null), la fonction renvoie une valeur Null. @@ -1539,11 +1538,12 @@ Retourne : #### Description -La fonction `touched()` vérifie si un attribut de l'entité a été modifié depuis que l'entité a été chargée en mémoire ou sauvegardée. +La fonction `touched()` renvoie True si au moins un attribut de l'entité a été modifié depuis que l'entité a été chargée en mémoire ou sauvegardée. Vous pouvez utiliser cette fonction pour déterminer si vous devez sauvegarder l'entité. + +Ceci ne s'applique qu'aux attributs du [type](DataClassClass.md#attributename) `storage` ou `relatedEntity`. -Si un attribut a été modifié ou calculé, la fonction retourne Vrai, sinon elle retourne Faux. Vous pouvez utiliser cette fonction pour savoir s'il est nécessaire de sauvegarder l'entité. +Pour une nouvelle entité qui vient d'être créée (avec [`.new()`](DataClassClass.md#new)), la fonction renvoie False. Toutefois, dans ce contexte, si vous accédez à un attribut dont [la propriété`autoFilled`](./DataClassClass.md#returned-object) est True, la fonction `.touched()` renverra alors True. Par exemple, après avoir exécuté `$id:=ds.Employee.ID` pour une nouvelle entité (en supposant que l'attribut ID possède la propriété "Autoincrement"), `.touched()` renvoie True. -Cette fonction retourne Faux pour une entité qui vient d'être créée (avec [`.new( )`](DataClassClass.md#new)). A noter cependant que si vous utilisez une fonction pour calculer un attribut de l'entité, la fonction `.touched()` retournera Vrai. Par exemple, si vous appelez [`.getKey()`](#getkey) pour calculer la clé primaire, `.touched()` retourne alors Vrai. #### Exemple @@ -1586,7 +1586,7 @@ Cet exemple vérifie s'il est nécessaire de sauvegarder l'entité : La fonction `.touchedAttributes()` retourne les noms des attributs qui ont été modifiés depuis que l'entité a été chargée en mémoire. -Cette fonction est applicable aux attributs dont le [kind](DataClassClass.md#attributename) est `storage` ou `relatedEntity`. +Ceci ne s'applique qu'aux attributs du [type](DataClassClass.md#attributename) `storage` ou `relatedEntity`. Dans le cas d'un attribut relationnel ayant été "touché" (i.e., la clé étrangère), le nom de l'entité liée et celui de sa clé primaire sont retournés. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/FileClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/FileClass.md index a2b69d835c6174..4798501e97b500 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/FileClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/FileClass.md @@ -515,12 +515,12 @@ Vous souhaitez que "ReadMe.txt" soit renommé "ReadMe_new.txt" : La fonction `.setAppInfo()` écrit les propriétés de *info* comme contenu d'information d'un fichier **.exe**, **.dll** ou **.plist**. -La fonction doit être utilisée avec un fichier .exe, .dll ou .plist existant. Si le fichier n'existe pas sur le disque ou n'est pas un fichier .exe, .dll ou .plist valide, la fonction ne fait rien (aucune erreur n'est générée). - -> Cette fonction ne prend en charge que les fichiers .plist au format xml (texte). Une erreur est retournée si elle est utilisée avec un fichier .plist au format binaire. **Paramètre *info* avec un fichier .exe or .dll** +La fonction doit être utilisée avec un fichier .exe ou .dll existant et valide, sinon elle ne fait rien (aucune erreur n'est générée). + + > La modification des informations d'un fichier .exe ou .dll n'est possible que sous Windows. Chaque propriété valide définie dans le paramètre objet *info* est écrite dans la ressource de version du fichier .exe ou .dll. Les propriétés disponibles sont (toute autre propriété sera ignorée) : @@ -540,6 +540,8 @@ Si vous passez null ou un texte vide comme valeur, une chaîne vide est écrite **Paramètre *info* avec un fichier .plist** +> Cette fonction ne prend en charge que les fichiers .plist au format xml (texte). Une erreur est retournée si elle est utilisée avec un fichier .plist au format binaire. + Chaque propriété valide définie dans le paramètre objet *info* est écrite dans le fichier . plist sous forme de clé. Tous les noms de clés sont acceptés. Les types des valeurs sont préservés si possible. Si une clé définie dans le paramètre *info* est déjà définie dans le fichier .plist, sa valeur est mise à jour tout en conservant son type d'origine. Les autres clés définies dans le fichier .plist ne sont pas modifiées. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md index f5346f531392c7..1c90bbd6e09f77 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md @@ -699,7 +699,7 @@ La fonction `.start()` démarre le s Le serveur Web démarre avec les paramètres par défaut définis dans le fichier de settings du projet ou (base hôte uniquement) à l'aide de la commande `WEB SET OPTION`. Cependant, à l'aide du paramètre *settings*, vous pouvez définir des paramètres personnalisés pour la session du serveur Web. -Tous les paramètres des [objets Web Server](#web-server-object) peuvent être personnalisés, hormis les propriétés en lecture seule ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), et [.sessionCookieName](#sessioncookiename)). +All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Les paramètres de session personnalisés seront réinitialisés lorsque la fonction [`.stop()`](#stop) sera appelée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/dt_boolean.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/dt_boolean.md index 6115b5e7c205f9..2182745f9d3129 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/dt_boolean.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/dt_boolean.md @@ -36,7 +36,7 @@ monBooléen:=(monBouton=1) | AND | Booléen & Booléen | Boolean | ("A" = "A") & (15 # 3) | True | | | | | ("A" = "B") & (15 # 3) | False | | | | | ("A" = "B") & (15 = 3) | False | -| OR | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | +| OU | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | | | | | ("A" = "B") | (15 # 3) | True | | | | | ("A" = "B") | (15 = 3) | False | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/methods.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/methods.md index e6c89e68602dc0..b038623cd04ac6 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/methods.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/methods.md @@ -1,6 +1,6 @@ --- id: methods -title: Methods +title: Méthodes --- diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/quick-tour.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/quick-tour.md index d7ce645ed579a7..3c01d2531565b4 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/quick-tour.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/Concepts/quick-tour.md @@ -97,12 +97,12 @@ objectRef:=SVG_New_arc(svgRef;100;100;90;90;180) 4D propose un large ensemble de constantes prédéfinies, dont les valeurs sont accessibles par un nom. Elles permettent d'écrire un code plus lisible. Par exemple, `XML DATA` est une constante (valeur 6). ```4d -vRef:=Open document("PassFile";"TEXTE";Read Mode) // ouvrir le doc en mode lecture seule +vRef:=Open document("PassFile";"TEXT";Read Mode) // ouvre le document en lecture seule ``` > Les constantes prédéfinies apparaissent soulignées par défaut dans l'éditeur de code 4D. -## Methods +## Méthodes 4D propose un grand nombre de méthodes (ou de commandes) intégrées, mais vous permet également de créer vos propres **méthodes de projet**. Les méthodes de projet sont des méthodes définies par l'utilisateur qui contiennent des commandes, des opérateurs et d'autres parties du langage. Les méthodes projet sont des méthodes génériques, mais il existe d'autres types de méthodes : les méthodes objet, les méthodes formulaire, les méthodes table (Triggers) et les méthodes base. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/FormEditor/formEditor.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/FormEditor/formEditor.md index 57e7dafa9ad3af..76df3863376f97 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/FormEditor/formEditor.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/FormEditor/formEditor.md @@ -241,7 +241,7 @@ Pour grouper les objets : Pour dégrouper un groupe d’objets : 1. Sélectionnez le groupe que vous souhaitez dégrouper. -2. Choisissez **Dégrouper** dans le menu **Objets**.

    OR

    Sélectionnez la commande **Dégrouper** (menu du bouton **Grouper**) dans la barre d’outils de l’éditeur de formulaires.

    Si la commande **Dégrouper** est désactivée, cela veut dire que l’objet sélectionné est déjà sous sa forme la plus simple.

    4D rematérialise les bordures des objets qui constituaient le groupe avec des poignées. +2. Choisissez **Dégrouper** dans le menu **Objets**.

    OU

    Sélectionnez la commande **Dégrouper** (menu du bouton **Grouper**) dans la barre d’outils de l’éditeur de formulaires.

    Si la commande **Dégrouper** est désactivée, cela veut dire que l’objet sélectionné est déjà sous sa forme la plus simple.

    4D rematérialise les bordures des objets qui constituaient le groupe avec des poignées. ### Aligner des objets @@ -304,7 +304,7 @@ Pour répartir directement une sélection d’objets (verticalement ou horizonta 1. Sélectionnez les objets (au moins trois) que vous souhaitez répartir. -2. Dans la barre d’outils, cliquez sur l’outil de répartition qui correspond la répartition que vous souhaitez appliquer.

    ![](../assets/en/FormEditor/distributionTool.png)

    OR

    Sélectionnez une commande de distribution dans le sous-menu **Alignement** du menu **Objet** ou dans le menu contextuel de l'éditeur.

    4D distribue les objets en conséquence. Les objets sont répartis en fonction de la distance entre leurs centres et la plus grande distance entre deux objets consécutifs est utilisée comme référence. +2. Dans la barre d’outils, cliquez sur l’outil de répartition qui correspond la répartition que vous souhaitez appliquer.

    ![](../assets/en/FormEditor/distributionTool.png)

    OU

    Sélectionnez une commande de distribution dans le sous-menu **Alignement** du menu **Objet** ou dans le menu contextuel de l'éditeur.

    4D distribue les objets en conséquence. Les objets sont répartis en fonction de la distance entre leurs centres et la plus grande distance entre deux objets consécutifs est utilisée comme référence. Pour répartir des objets à l’aide de la boîte de dialogue d'alignement et répartition : @@ -684,7 +684,7 @@ Sélectionnez simplement la vue de destination, faites un clic droit puis sélec ![](../assets/en/FormEditor/moveObject.png) -OR +OU Sélectionnez la vue de destination de la sélection et cliquez sur le bouton **Déplacer vers** en bas de la palette des vues : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/MSC/encrypt.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/MSC/encrypt.md index fbd75c9a21b54e..51c28cb6c7ffe8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/MSC/encrypt.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/MSC/encrypt.md @@ -50,7 +50,7 @@ Pour des raisons de sécurité, toutes les opérations de maintenance liées au - Si la clé de chiffrement des données n'est pas identifiée, vous devez la fournir. La boîte de dialogue suivante s'affiche : ![](../assets/en/MSC/MSC_encrypt7.png) À ce stade, deux options s'offrent à vous : -- entrer la phrase secrète actuelle(2) et cliquer sur **OK**. OR +- entrer la phrase secrète actuelle(2) et cliquer sur **OK**. OU - connecter un appareil tel qu'une clé USB et cliquer sur le bouton **Scanner les disques**. (1) Le trousseau de 4D stocke toutes les clés de chiffrement de données valides saisies durant la session d'application session. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/Project/architecture.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/Project/architecture.md index 623d55098f6462..a6132e713a441d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/Project/architecture.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/Project/architecture.md @@ -31,7 +31,7 @@ La hiérarchie du dossier Project se présente généralement comme suit : - Sources - Classes - DatabaseMethods - - Methods + - Méthodes - Formulaires - TableForms - Triggers @@ -114,7 +114,7 @@ Le fichier de développement de projet, utilisé pour désigner et lancer le pro Le dossier Trash contient des méthodes et des formulaires qui ont été supprimés du projet (le cas échéant). Il peut contenir les dossiers suivants : -- Methods +- Méthodes - Formulaires - TableForms diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/Project/documentation.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/Project/documentation.md index 0733d61d212b44..d07437ae4eae72 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/Project/documentation.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/Project/documentation.md @@ -44,7 +44,7 @@ L'architecture du dossier `Documentation` est la suivante : - **Formulaires** - loginDial.md - ... - - **Methods** + - **Méthodes** - myMethod.md - ... - **TableForms** diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/REST/$entityset.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/REST/$entityset.md index d021d9973ec227..91e793d751fe94 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/REST/$entityset.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/REST/$entityset.md @@ -51,7 +51,7 @@ Voici les opérateurs logiques : | Opérateur | Description | | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | AND | Retourne les entités communes aux deux entity sets | -| OR | Retourne les entités contenues dans les deux entity sets | +| OU | Retourne les entités contenues dans les deux entity sets | | EXCEPT | Retourne les entités de l'entity set #1 moins celles de l'entity set #2 | | INTERSECT | Retourne true ou false s'il existe une intersection des entités dans les deux entity sets (ce qui signifie qu'au moins une entité est commune aux deux entity sets) | > Les opérateurs logiques ne sont pas sensibles à la casse, vous pouvez donc écrire "AND" ou "and". @@ -62,7 +62,7 @@ Vous trouverez ci-dessous une représentation des opérateurs logiques basés su ![](../assets/en/REST/and.png) -**OR** +**OU** ![](../assets/en/REST/or.png) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/ClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/ClassClass.md index 73070ecc963862..ad0682c3cf4590 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/ClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/ClassClass.md @@ -99,7 +99,7 @@ Cette propriété est en **lecture seule**. #### Description -La propriété `.me` renvoie l'instance unique de la classe singleton `cs.className`. Si la classe singleton n'a jamais été instanciée au préalable, cette propriété appelle le constructeur de la classe sans paramètres et crée l'instance. Sinon, elle renvoie l'instance singleton existante. +Sommaire Si la classe singleton n'a jamais été instanciée au préalable, cette propriété appelle le constructeur de la classe sans paramètres et crée l'instance. Sinon, elle renvoie l'instance singleton existante. Si `cs.className` n'est pas une [classe singleton](../Concepts/classes.md#singleton-classes), `.me` est **undefined** par défaut. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/CollectionClass.md index 2fe0745e563ccd..5407dfda23a807 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/CollectionClass.md @@ -2462,7 +2462,7 @@ où : | Conjonction | Symbole(s) | | ----------- | ----------------------------------------------------------------------------------- | | AND | &, &&, and | -| OR | |,||, or | +| OU | |,||, or | #### Utilisation de guillemets diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/DataClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/DataClassClass.md index 49bf9b4a6fdf0d..91fe49899d570d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/DataClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/DataClassClass.md @@ -942,7 +942,7 @@ Les formules contenues dans les requêtes peuvent recevoir des paramètres via $ | Conjonction | Symbole(s) | | ----------- | ----------------------------------------------------------------------------------- | | AND | &, &&, and | -| OR | |,||, or | +| OU | |,||, or | - **order by attributePath** : vous pouvez inclure une déclaration order by *attributePath* dans la requête afin que les données résultantes soient triées selon cette déclaration. Vous pouvez utiliser plusieurs tris par déclaration, en les séparant par des virgules (e.g., order by *attributePath1* desc, *attributePath2* asc). Par défaut, le tri est par ordre croissant. Passez 'desc' pour définir un tri par ordre décroissant et 'asc' pour définir un tri par ordre croissant. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md index 8d6e0df8f966a2..9182769547457f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md @@ -460,7 +460,7 @@ La fonction `.getInfo()` renvoie u Sur un datastore distant : ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1123,7 +1123,7 @@ Vous pouvez imbriquer plusieurs transactions (sous-transactions). Chaque transac ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md index 6028b11b6840be..5580cf8b4c3830 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md @@ -3,7 +3,7 @@ id: EntityClass title: Entity --- -Une [entity](ORDA/dsMapping.md#entity) est une instance d'une [Dataclass](ORDA/dsMapping.md#dataclass), tel un enregistrement de la table correspondant à la dataclass contenue dans son datastore associé. Elle contient les mêmes attributs que la dataclass ainsi que les valeurs des données et des propriétés et fonctions spécifiques. +Une [entity](ORDA/dsMapping.md#entity) (ou "entité") est une instance d'une [Dataclass](ORDA/dsMapping.md#dataclass), tel un enregistrement de la table correspondant à la dataclass contenue dans son datastore associé. Elle contient les mêmes attributs que la dataclass ainsi que les valeurs des données et des propriétés et fonctions spécifiques. ### Sommaire @@ -611,15 +611,14 @@ Le code générique suivant duplique toute entité :
    -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Paramètres | Type | | Description | | ---------- | ------- | :-------------------------: | -------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: retourner la clé primaire en texte, quel que soit son type d'origine | -| Résultat | Text | <- | Valeur de la clé primaire texte de l'entité | -| Résultat | Integer | <- | Valeur de la clé primaire numérique de l'entité | +| Résultat | any | <- | Valeur de la clé primaire de l'entité (Integer ou Text) | @@ -657,7 +656,7 @@ Les clés primaires peuvent être des nombres (integer) ou des textes. Vous pouv | Paramètres | Type | | Description | | ---------- | ---- | --------------------------- | ------------------------------------------------------------------ | -| Résultat | Text | <- | Attirbuts de contexte associés à l'entity, séparés par une virgule | +| Résultat | Text | <- | Attributs de contexte associés à l'entity, séparés par une virgule | @@ -1635,11 +1634,11 @@ Retourne : #### Description -La fonction `.touched()` vérifie si un attribut de l'entité a été modifié ou non depuis que l'entité a été chargée en mémoire ou sauvegardée. +La fonction `.touched()` renvoie True si au moins un attribut de l'entité a été modifié depuis que l'entité a été chargée en mémoire ou sauvegardée. Vous pouvez utiliser cette fonction pour déterminer si vous devez sauvegarder l'entité. -Si un attribut a été modifié ou calculé, la fonction retourne Vrai, sinon elle retourne Faux. Vous pouvez utiliser cette fonction pour savoir s'il est nécessaire de sauvegarder l'entité. +Ceci ne s'applique qu'aux attributs de [`kind`](DataClassClass.md#returned-object) "storage" ou "relatedEntity". -Cette fonction renvoie Faux pour une nouvelle entité qui vient d'être créée (avec [`.new()`](DataClassClass.md#new)). A noter cependant que si vous utilisez une fonction pour calculer un attribut de l'entité, la fonction `.touched()` retournera Vrai. Par exemple, si vous appelez [`.getKey()`](#getkey) pour calculer la clé primaire, `.touched()` renvoie Vrai. +Pour une nouvelle entité qui vient d'être créée (avec [`.new()`](DataClassClass.md#new)), la fonction renvoie False. Cependant, dans ce contexte, si vous accédez à un attribut dont la propriété [`autoFilled`](./DataClassClass.md#returned-object) est True, la fonction `.touched()` renverra True. Par exemple, après avoir exécuté `$id:=ds.Employee.ID` pour une nouvelle entité (en supposant que l'attribut ID possède la propriété "Autoincrement"), `.touched()` renvoie True. #### Exemple @@ -1683,7 +1682,7 @@ Cet exemple vérifie s'il est nécessaire de sauvegarder l'entité : La fonction `.touchedAttributes()` renvoie les noms des attributs qui ont été modifiés depuis que l'entité a été chargée en mémoire. -Cette fonction est applicable aux attributs dont le [kind](DataClassClass.md#attributename) est `storage` ou `relatedEntity`. +Ceci ne s'applique qu'aux attributs de [`kind`](DataClassClass.md#returned-object) "storage" ou "relatedEntity". Dans le cas d'un attribut relationnel ayant été "touché" (i.e., la clé étrangère), le nom de l'entité liée et celui de sa clé primaire sont retournés. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md index 4c97793a081ce7..3dac00c4344bb0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md @@ -538,15 +538,13 @@ Vous souhaitez que "ReadMe.txt" soit renommé "ReadMe_new.txt" : La fonction `.setAppInfo()` écrit les propriétés *info* en tant que contenu d'information d'un fichier **.exe**, **.dll** ou **.plist**. -La fonction doit être utilisée avec un fichier .exe, .dll ou .plist existant. Si le fichier n'existe pas sur le disque ou n'est pas un fichier .exe, .dll ou .plist valide, la fonction ne fait rien (aucune erreur n'est générée). - -> Cette fonction ne prend en charge que les fichiers .plist au format xml (texte). Une erreur est retournée si elle est utilisée avec un fichier .plist au format binaire. - **Paramètre *info* avec un fichier .exe or .dll** +La fonction doit être utilisée avec un fichier .exe ou .dll existant et valide, sinon elle ne fait rien (aucune erreur n'est générée). + > La modification des informations d'un fichier .exe ou .dll n'est possible que sous Windows. -Chaque propriété valide définie dans le paramètre objet *info* est écrite dans la ressource de version du fichier .exe ou .dll. Les propriétés disponibles sont (toute autre propriété sera ignorée) : +Chaque propriété valide définie dans le paramètre objet *info* est écrite dans la ressource version du fichier .exe ou .dll. Les propriétés disponibles sont (toute autre propriété sera ignorée) : | Propriété | Type | Commentaire | | ---------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -566,6 +564,8 @@ Pour la propriété `WinIcon`, si le fichier d'icône n'existe pas ou a un forma **Paramètre *info* avec un fichier .plist** +> Cette fonction ne prend en charge que les fichiers .plist au format xml (texte). Une erreur est retournée si elle est utilisée avec un fichier .plist au format binaire. + Chaque propriété valide définie dans le paramètre objet *info* est écrite dans le fichier . plist sous forme de clé. Tous les noms de clés sont acceptés. Les types des valeurs sont préservés si possible. Si une clé définie dans le paramètre *info* est déjà définie dans le fichier .plist, sa valeur est mise à jour tout en conservant son type d'origine. Les autres clés définies dans le fichier .plist ne sont pas modifiées. @@ -580,7 +580,7 @@ var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file ; fk platform path) $iconFile:=File("/RESOURCES/myApp.ico") -$info:=Nouvel objet +$info:=New object $info.LegalCopyright:="Copyright 4D 2023" $info.ProductVersion:="1.0.0" $info.WinIcon:=$iconFile.path @@ -592,9 +592,9 @@ $exeFile.setAppInfo($info) var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") -$info:=Nouvel objet +$info:=New object $info.Copyright:="Copyright 4D 2023" //text -$info.ProductVersion:=12 //integer .ShipmentDate:="2023-04-22T06:00:00Z" //timestamp .ProductVersion:=12 //integer +$info.ProductVersion:=12 //integer $info.ShipmentDate:="2023-04-22T06:00:00Z" //timestamp $info.CFBundleIconFile:="myApp.icns" //pour macOS $infoPlistFile.setAppInfo($info) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/IncomingMessageClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/IncomingMessageClass.md index a92fd620bb77bc..c3823327a7b25e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/IncomingMessageClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/IncomingMessageClass.md @@ -3,11 +3,11 @@ id: IncomingMessageClass title: IncomingMessage --- -The `4D.IncomingMessage` class allows you to handle the object received by a custom [**HTTP request handler**](../WebServer/http-request-handler.md). HTTP requests and their properties are automatically received as an instance of the `4D.IncomingMessage` class. Parameters given directly in the request with GET verb are handled by the [`.urlQuery`](#urlquery) property, while parameters passed in the body of the request are available through functions such as [`.getBlob()`](#getblob) or [`getText()`](#gettext). +La classe `4D.IncomingMessage` vous permet de gérer l'objet reçu par un [**HTTP request handler**](../WebServer/http-request-handler.md) personnalisé. Les requêtes HTTP et leurs propriétés sont automatiquement reçues en tant qu'instance de la classe `4D.IncomingMessage`. Les paramètres fournis directement dans la requête avec le verbe GET sont gérés par la propriété [`.urlQuery`](#urlquery), tandis que les paramètres passés dans le corps de la requête sont disponibles via des fonctions telles que [`.getBlob()`](#getblob) ou [`getText()`](#gettext). -The HTTP request handler can return any value (or nothing). It usually returns an instance of the [`4D.OutgoingMessage`](OutgoingMessageClass.md) class. +Le gestionnaire de requêtes HTTP peut renvoyer n'importe quelle valeur (ou rien). Il renvoie généralement une instance de la classe [`4D.OutgoingMessage`](OutgoingMessageClass.md). -All properties of this class are read-only. They are automatically filled by the request handler. +Toutes les propriétés de cette classe sont en lecture seule. Elles sont automatiquement remplies par le request handler.
    Historique @@ -19,7 +19,7 @@ All properties of this class are read-only. They are automatically filled by the ### Exemple -The following [**HTTPHandlers.json** file](../WebServer/http-request-handler.md) has been defined: +Le fichier [**HTTPHandlers.json**](../WebServer/http-request-handler.md) suivant a été défini : ```json [ @@ -32,7 +32,7 @@ The following [**HTTPHandlers.json** file](../WebServer/http-request-handler.md) ] ``` -The `http://127.0.0.1/start/example?param=demo&name=4D` request is run with a `GET` verb in a browser. It is handled by the *gettingStarted* function of the following *GeneralHandling* singleton class: +La requête `http://127.0.0.1/start/example?param=demo&name=4D` est exécutée avec un verbe `GET` dans un navigateur. Elle est gérée par la fonction *gettingStarted* de la classe singleton *GeneralHandling* suivante : ```4d shared singleton Class constructor() @@ -59,9 +59,9 @@ Function gettingStarted($request : 4D.IncomingMessage) : 4D.OutgoingMessage ``` -The request is received on the server as *$request*, an object instance of the `4D.IncomingMessage` class. +La requête est reçue sur le serveur en tant que *$request*, une instance d'objet de la classe `4D.IncomingMessage`. -Here is the response: +Voici la réponse : ```json Called URL: /start/example? param=demo&name=4D @@ -74,9 +74,9 @@ The verb is: GET There are 2 url parts - Url parts are: start - example ``` -### IncomingMessage Object +### Objet IncomingMessage -4D.IncomingMessage objects provide the following properties and functions: +Les objets 4D.IncomingMessage offrent les propriétés et fonctions suivantes : | | | ----------------------------------------------------------------------------------------------------------------------------------------- | @@ -93,7 +93,7 @@ There are 2 url parts - Url parts are: start - example :::note -A 4D.IncomingMessage object is a [non-sharable](../Concepts/shared.md) object. +Un objet 4D.IncomingMessage est [non partageable](../Concepts/shared.md). ::: @@ -105,17 +105,17 @@ A 4D.IncomingMessage object is a [non-sharable](../Concepts/shared.md) object. -| Paramètres | Type | | Description | -| ---------- | ---- | --------------------------- | ----------------------------- | -| Résultat | Blob | <- | Body of the request as a Blob | +| Paramètres | Type | | Description | +| ---------- | ---- | --------------------------- | ----------------------------------- | +| Résultat | Blob | <- | Body de la requête en tant que Blob | #### Description -The `.getBlob()` function returns the body of the request as a Blob. +La fonction `.getBlob()` renvoie le body de la requête sous forme de Blob. -If the body has not been given as a binary content, the function tries to convert the value but it can give unexpected results. +Si le body n'a pas été fourni sous forme de contenu binaire, la fonction tente de convertir la valeur, mais elle peut donner des résultats inattendus. @@ -127,27 +127,27 @@ If the body has not been given as a binary content, the function tries to conver -| Paramètres | Type | | Description | -| ---------- | ---- | --------------------------- | -------------------------------- | -| key | Text | -> | Header property to get | -| Résultat | Text | <- | Valeur de la propriété de header | +| Paramètres | Type | | Description | +| ---------- | ---- | --------------------------- | ---------------------------------------------------------- | +| key | Text | -> | Propriété de header (en-tête) à obtenir | +| Résultat | Text | <- | Valeur de la propriété de header | #### Description -The `.getHeader()` function returns the value of the *key* header. +La fonction `.getHeader()` renvoie la valeur de l'en-tête *key*. :::note -The *key* parameter is not case sensitive. +Le paramètre *key* n'est pas sensible à la casse. ::: #### Exemple ```4d -var $value : Text +var $value : Texte var $request : 4D.IncomingMessage $value := $request.getHeader("content-type") ``` @@ -162,17 +162,17 @@ $value := $request.getHeader("content-type") -| Paramètres | Type | | Description | -| ---------- | ------- | --------------------------- | ------------------------------------------ | -| Résultat | Variant | <- | JSON resolution of the body of the request | +| Paramètres | Type | | Description | +| ---------- | ------- | --------------------------- | ------------------------------------- | +| Résultat | Variant | <- | Résolution JSON du body de la requête | #### Description -The `.getJSON()` function returns the body of the request as a JSON resolution. +La fonction `.getJSON()` renvoie le body de la requête sous forme de résolution JSON. -If the body has not been given as JSON valid content, an error is raised. +Si le body n'a pas été fourni sous la forme d'un contenu JSON valide, une erreur est générée. @@ -184,25 +184,25 @@ If the body has not been given as JSON valid content, an error is raised. -| Paramètres | Type | | Description | -| ---------- | ------- | --------------------------- | ------------------------------ | -| Résultat | Picture | <- | Body of the request as picture | +| Paramètres | Type | | Description | +| ---------- | ------- | --------------------------- | ----------------------------------- | +| Résultat | Picture | <- | Body de la requête en tant qu'image | #### Description -The `.getPicture()` function returns the body of the request as a picture (in case of a body sent as a picture). +La fonction `.getPicture()` renvoie le body de la requête sous forme d'image (dans le cas d'un body envoyé en tant qu'image). -The content-type must be given in the headers to indicate that the body is a picture. +Le content-type doit être fourni dans les headers pour indiquer que le body est une image. :::note -If the request is built using the [`HTTPRequest` class](HTTPRequestClass.md), the picture must be sent in the body as a Blob with the appropriate content-type. +Si la requête est construite en utilisant la classe [`HTTPRequest`](HTTPRequestClass.md), l'image doit être envoyée dans le body sous forme de Blob avec le content-type approprié. ::: -If the body is not received as a valid picture, the function returns null. +Si le body n'est pas reçu comme une image valide, la fonction renvoie null. @@ -214,17 +214,17 @@ If the body is not received as a valid picture, the function returns null. -| Paramètres | Type | | Description | -| ---------- | ---- | --------------------------- | --------------------------- | -| Résultat | Text | <- | Body of the request as text | +| Paramètres | Type | | Description | +| ---------- | ---- | --------------------------- | ------------------------------------ | +| Résultat | Text | <- | Body de la requête en tant que texte | #### Description -The `.getText()` function returns the body of the request as a text value. +La fonction `.getText()` renvoie le body de la requête sous forme de texte. -If the body has not been given as a string value, the function tries to convert the value but it can give unexpected results. +Si le body n'a pas été fourni sous forme de chaine, la fonction tente de convertir la valeur, mais elle peut donner des résultats inattendus. @@ -236,11 +236,11 @@ If the body has not been given as a string value, the function tries to convert #### Description -The `.headers` property contains the current headers of the incoming message as key/value pairs (strings). +La propriété `.headers` contient les headers courants du message entrant sous forme de paires clé/valeur (chaînes). La propriété `.headers` est en lecture seule. -Header names (keys) are lowercased. Note header names are case sensitive. +Les noms des en-têtes (clés) sont en minuscules. Les noms des headers sont sensibles à la casse. @@ -252,15 +252,15 @@ Header names (keys) are lowercased. Note header names are case sensitive. #### Description -The `.url` property contains the URL of the request without the *IP:port* part and as a string. +La propriété `.url` contient l'URL de la requête sans la partie *IP:port* et sous forme de chaîne. -For example, if the request is addressed to: "http://127.0.0.1:80/docs/invoices/today", the `.url` property is "/docs/invoices/today". +Par exemple, si la requête est adressée à: "http://127.0.0.1:80/docs/invoices/today", la propriété `.url` est "/docs/invoices/today". -The `.url` property is read-only. +La propriété `.url` est en lecture seule. :::note -The "host" part of the request (*IP:port*) is provided by the [`host` header](#headers). +La partie "host" de la requête (*IP:port*) est fournie par le header [`host`](#headers). ::: @@ -274,11 +274,11 @@ The "host" part of the request (*IP:port*) is provided by the [`host` header](#h #### Description -The `.urlPath` property contains the URL of the request without the *IP:port* part and as a collection of strings. +La propriété `.urlPath` contient l'URL de la requête sans la partie *IP:port* et sous la forme d'une collection de chaînes. -For example, if the request is addressed to: "http://127.0.0.1:80/docs/invoices/today", the `.urlPath` property is ["docs", "invoices" ,"today"]. +Par exemple, si la requête est adressée à: "http://127.0.0.1:80/docs/invoices/today", la propriété `.urlPath` est ["docs", "invoices" ,"today"]. -The `.urlPath` property is read-only. +La propriété `.urlPath` est en lecture seule. @@ -290,34 +290,34 @@ The `.urlPath` property is read-only. #### Description -The `.urlQuery` property contains the parameters of the request when they have been given in the URL as key/value pairs. +La propriété `.urlQuery` contient les paramètres de la requête lorsqu'ils ont été passés dans l'URL sous forme de paires clé/valeur. -The `.urlQuery` property is read-only. +La propriété `.urlQuery` est en lecture seule. -Parameters can be passed in the URL of requests **directly** or **as JSON contents**. +Les paramètres peuvent être passés dans l'URL des requêtes **directement** ou **en tant que contenu JSON**. -#### Direct parameters +#### Paramètres directs -Example: `http://127.0.0.1:8044/myCall?firstname=Marie&id=2&isWoman=true` +Exemple : `http://127.0.0.1:8044/myCall?firstname=Marie&id=2&isWoman=true` -In this case, parameters are received as stringified values in the `urlQuery` property: `urlQuery = {"firstname":"Marie" ,"id":"2" ,"isWoman":"true"}` +Dans ce cas, les paramètres sont reçus sous forme de valeurs "stringifiées" dans la propriété `urlQuery` : `urlQuery = {"firstname" : "Marie" , "id" : "2" , "isWoman" : "true"}` -#### JSON contents parameters +#### Paramètres contenu JSON -Example: `http://127.0.0.1:8044/myCall/?myparams='[{"firstname": "Marie","isWoman": true,"id": 3}]'`. +Exemple : `http://127.0.0.1:8044/myCall/?myparams='[{"firstname" : "Marie", "isWoman" : true, "id" : 3}]'`. -Parameters are passed in JSON format and enclosed within a collection. +Les paramètres sont passés au format JSON et sont inclus dans une collection. -In this case, parameters are received as JSON text in the `urlQuery` property and can be parsed using [`JSON Parse`](../commands-legacy/json-parse.md). +Dans ce cas, les paramètres sont reçus sous forme de texte JSON dans la propriété `urlQuery` et peuvent être analysés à l'aide de [`JSON Parse`](../commands-legacy/json-parse.md). ```4d //urlQuery.myparams: "[{"firstname": "Marie","isWoman": true,"id": 3}]" $test:=Value type(JSON Parse($r.urlQuery.myparams))=Is collection) //true ``` -Special characters such as simple quotes or carriage returns must be escaped. +Les caractères spéciaux tels que les guillemets simples ou les retours à la ligne doivent être échappés. -Example: `http://127.0.0.1:8044/syntax/?mdcode=%60%60%604d` +Exemple : `http://127.0.0.1:8044/syntax/?mdcode=%60%60%604d` ````4d //urlQuery.mdcode = ```4d @@ -326,7 +326,7 @@ $test:=Length($r.urlQuery.mdcode) //5 :::note -Parameters given in the body of the request using POST or PUT verbs are handled through dedicated functions: [`getText()`](#gettext), [`getPicture()`](#getpicture), [`getBlob()`](#getblob), [`getJSON()`](#getjson). +Les paramètres fournis dans le body de la requête à l'aide des verbes POST ou PUT sont traités par des fonctions dédiées : [`getText()`](#gettext), [`getPicture()`](#getpicture), [`getBlob()`](#getblob), [`getJSON()`](#getjson). ::: @@ -340,11 +340,11 @@ Parameters given in the body of the request using POST or PUT verbs are handled #### Description -The `.verb` property contains the verb used by the request. +La propriété `.verb` contient le verbe utilisé par la requête. -HTTP and HTTPS request verbs include for example "get", "post", "put", etc. +Les verbes de requête HTTP et HTTPS incluent par exemple "get", "post", "put", etc. -The `.verb` property is read-only. +La propriété `.verb` est en lecture seule. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md index 5ed78b3ba8719b..f51aa4f88908ac 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md @@ -5,7 +5,7 @@ title: OutgoingMessage La classe `4D.OutgoingMessage` vous permet de construire des messages qui seront renvoyés par les fonctions de votre application en réponse aux [requêtes REST](../REST/REST_requests.md). Lorsque la réponse est de type `4D.OutgoingMessage`, le serveur REST ne renvoie pas un objet mais une instance d'objet de la classe `OutgoingMessage`. -Typiquement, cette classe peut être utilisée dans des fonctions personnalisées de [HTTP request handler](../WebServer/http-request-handler.md#function-configuration) ou dans des fonctions déclarées avec le mot-clé [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) et conçues pour gérer des requêtes HTTP GET. Ces requêtes sont utilisées, par exemple, pour implémenter des fonctionnalités telles que le téléchargement de fichier, la génération et le téléchargement d'images ainsi que la réception de tout content-type via un navigateur. +Typically, this class can be used in custom [HTTP request handler functions](../WebServer/http-request-handler.md#function-configuration) or in functions declared with the [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keyword and designed to handle HTTP GET requests. Ces requêtes sont utilisées, par exemple, pour implémenter des fonctionnalités telles que le téléchargement de fichier, la génération et le téléchargement d'images ainsi que la réception de tout content-type via un navigateur. Une instance de cette classe est construite sur 4D Server et peut être envoyée au navigateur via le [serveur REST 4D](../REST/gettingStarted.md) uniquement. Cette classe permet d'utiliser d'autres technologies que HTTP (par exemple, mobile). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/SessionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/SessionClass.md index 7f47561cc2fa8d..2d993ba9b2d83d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/SessionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/SessionClass.md @@ -66,11 +66,11 @@ Cette fonction ne fait rien et retourne toujours **True** avec les sessions clie ::: -La fonction `.clearPrivileges()` supprime tous les privilèges associés à la session et retourne **True** si l'exécution a réussi. Unless in ["forceLogin" mode](../REST/authUsers.md#force-login-mode), the session automatically becomes a Guest session. +La fonction `.clearPrivileges()` supprime tous les privilèges associés à la session et retourne **True** si l'exécution a réussi. Hormis si vous êtes en mode ["forceLogin"](../REST/authUsers.md#force-login-mode), la session devient automatiquement une session Invité. :::note -In "forceLogin" mode, `.clearPrivileges()` does not transform the session to a Guest session, it only clears the session's privileges. +En mode "forceLogin", `.clearPrivileges()` ne transforme pas la session en session Invité, elle efface seulement les privilèges de la session. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/SystemWorkerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/SystemWorkerClass.md index bb7dd12fde036d..91466825120221 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/SystemWorkerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/SystemWorkerClass.md @@ -112,7 +112,7 @@ Voici la séquence des appels de callbacks : 1. `onData` et `onDataError` sont exécutés une ou plusieurs fois 2. s'il est appelé, `onError` est exécuté une fois (arrête le traitement du system worker) 3. si aucune erreur ne s'est produite, `onResponse` est exécuté une fois -4. `onTerminate` is always executed +4. `onTerminate` est toujours exécuté :::info diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/TCPConnectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/TCPConnectionClass.md index 5a562e5860db28..1de53d234d0614 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/TCPConnectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/TCPConnectionClass.md @@ -5,13 +5,13 @@ title: TCPConnection La classe `TCPConnection` vous permet de gérer des connexions TCP (Transmission Control Protocol) clientes à un serveur pour l'envoi et la réception des données ainsi que la gestion des événements du cycle de vie de la connexion via des rétroappels. -La classe `TCPConnection` est disponible dans le class store `4D`. You can create a TCP connection using the [4D.TCPConnection.new()](#4dtcpconnectionnew) function, which returns a [TCPConnection object](#tcpconnection-object). +La classe `TCPConnection` est disponible dans le class store `4D`. Vous pouvez créer une connexion TCP à l'aide de la fonction [4D.TCPConnection.new()](#4dtcpconnectionnew), qui renvoie un objet [TCPConnection](#tcpconnection-object). -All `TCPConnection` class functions are thread-safe. +Toutes les fonctions de la classe `TCPConnection` sont thread-safe. -Thanks to the standard 4D object *refcounting*, a TCPConnection is automatically released when it is no longer referenced. Consequently, the associated resources, are properly cleaned up without requiring explicit closure. +Grâce au *refcounting* d'objet standard de 4D, une TCPConnection est automatiquement libérée lorsqu'elle n'est plus référencée. Par conséquent, les ressources associées sont correctement refermées sans qu'il soit nécessaire de procéder à une clôture explicite. -TCPConnection objects are released when no more references to them exist in memory. This typically occurs, for example, at the end of a method execution for local variables. If you want to "force" the closure of a connection at any moment, [**nullify** its references by setting them to **Null**](../Concepts/dt_object.md#resources). +Les objets TCPConnection sont libérés lorsqu'il n'existe plus de références à ces objets dans la mémoire. Cela se produit généralement, par exemple, à la fin de l'exécution d'une méthode pour les variables locales. Si vous souhaitez "forcer" la fermeture d'une connexion à tout moment, [**nullifiez** ses références en leur attribuant la valeur **Null**](../Concepts/dt_object.md#resources).
    Historique @@ -23,23 +23,23 @@ TCPConnection objects are released when no more references to them exist in memo ### Exemples -The following examples demonstrate how to use the 4D.TCPConnection and 4D.TCPEvent classes to manage a TCP client connection, handle events, send data, and properly close the connection. Both synchronous and asynchronous examples are provided. +Les exemples suivants montrent comment utiliser les classes 4D.TCPConnection et 4D.TCPEvent pour gérer une connexion client TCP, traiter les événements, envoyer des données et fermer correctement la connexion. Des exemples synchrones et asynchrones sont fournis. -#### Synchronous Example +#### Exemple synchrone -This example shows how to establish a connection, send data, and shut it down using a simple object for configuration: +Cet exemple montre comment établir une connexion, envoyer des données et la fermer en utilisant un objet simple pour la configuration : ```4d var $domain : Text := "127.0.0.1" var $port : Integer := 10000 -var $options : Object := New object() // Configuration object +var $options : Object := New object() // objet de configuration var $tcpClient : 4D.TCPConnection var $message : Text := "test message" -// Open a connection +// Ouvrir une connexion $tcpClient := 4D.TCPConnection.new($domain; $port; $options) -// Send data +// Envoyer des données var $blobData : Blob TEXT TO BLOB($message; $blobData; UTF8 text without length) $tcpClient.send($blobData) @@ -50,61 +50,61 @@ $tcpClient.wait(0) ``` -#### Asynchronous Example +#### Exemple asynchrone -This example defines a class that handles the connection lifecycle and events, showcasing how to work asynchronously: +Cet exemple définit une classe qui gère le cycle de vie de la connexion et les événements, et montre comment travailler de manière asynchrone : ```4d -// Class definition: cs.MyAsyncTCPConnection +// classe : cs.MyAsyncTCPConnection -Class constructor($url : Text; $port : Integer) +Class constructor($url : Text ; $port : Integer) This.connection := Null This.url := $url This.port := $port -// Connect to one of the servers launched inside workers +// Se connecter à l'un des serveurs lancés à l'intérieur de workers Function connect() - This.connection := 4D.TCPConnection.new(This.url; This.port; This) + This.connection := 4D.TCPConnection.new(This.url ; This.port ; This) -// Disconnect from the server +// Se déconnecter du serveur Function disconnect() This.connection.shutdown() This.connection := Null -// Send data to the server +// Envoyer des données au serveur Function getInfo() var $blob : Blob - TEXT TO BLOB("Information"; $blob) + TEXT TO BLOB("Information" ; $blob) This.connection.send($blob) -// Callback called when the connection is successfully established -Function onConnection($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelée lorsque la connexion est établie avec succès +Function onConnection($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection established") -// Callback called when the connection is properly closed -Function onShutdown($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelée lorsque la connexion est correctement fermée +Function onShutdown($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection closed") -// Callback called when receiving data from the server -Function onData($connection : 4D.TCPConnection; $event : 4D.TCPEvent) - ALERT(BLOB to text($event.data; UTF8 text without length)) +// Callback appelée lors de la réception de données du serveur +Function onData($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) + ALERT(BLOB to text($event.data ; UTF8 text without length)) - //Warning: There's no guarantee you'll receive all the data you need in a single network packet. + //Attention: Il n'y a aucune garantie que vous recevrez toutes les données dont vous avez besoin dans un seul paquet réseau. -// Callback called when the connection is closed unexpectedly -Function onError($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelée lorsque la connexion est fermée de manière inattendue +Function onError($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection error") -// Callback called after onShutdown/onError just before the TCPConnection object is released -Function onTerminate($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelé après onShutdown/onError juste avant que l'objet TCPConnection ne soit libéré +Function onTerminate($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection terminated") ``` -##### Usage example +##### Exemple d'utilisation -Create a new method named AsyncTCP, to initialize and manage the TCP connection: +Créer une nouvelle méthode nommée AsyncTCP, pour initialiser et gérer la connexion TCP : ```4d var $myObject : cs.MyAsyncTCPConnection @@ -115,18 +115,18 @@ $myObject.disconnect() ``` -Call the AsyncTCP method in a worker: +Appeler la méthode AsyncTCP dans un worker : ```4d CALL WORKER("new process"; "Async_TCP") ``` -### TCPConnection Object +### Objet TCPConnection -A TCPConnection object is a non-sharable object. +Un objet TCPConnection est un objet non partageable. -TCPConnection objects provide the following properties and functions: +Les objets TCPConnection offrent les propriétés et fonctions suivantes : | | | --------------------------------------------------------------------------------------------------------------------- | @@ -147,51 +147,51 @@ TCPConnection objects provide the following properties and functions: | Paramètres | Type | | Description | | ------------- | ------------- | --------------------------- | -------------------------------------------------------------- | -| serverAddress | Text | -> | Domain name or IP address of the server | -| serverPort | Integer | -> | Port number of the server | -| options | Object | -> | Configuration [options](#options-parameter) for the connection | -| Résultat | TCPConnection | <- | New TCPConnection object | +| serverAddress | Text | -> | Nom de domaine ou adresse IP du serveur | +| serverPort | Integer | -> | Numéro de port du serveur | +| options | Object | -> | [options](#options-parameter) de configuration de la connexion | +| Résultat | TCPConnection | <- | Nouvel objet TCPConnection | #### Description -The `4D.TCPConnection.new()` function creates a new TCP connection to the specified *serverAddress* and *serverPort*, using the defined *options*, and returns a `4D.HTTPRequest` object. +La fonction `4D.TCPConnection.new()` crée une nouvelle connexion TCP vers les *serverAddress* et *serverPort* spécifiés, en utilisant les *options* définies, et renvoie un objet `4D.HTTPRequest`. #### Paramètre `options` Dans le paramètre *options*, passez un objet qui peut contenir les propriétés suivantes : -| Propriété | Type | Description | Par défaut | -| ------------ | ------- | ---------------------------------------------------------------------- | ---------- | -| onConnection | Formula | Callback triggered when the connection is established. | Undefined | -| onData | Formula | Callback triggered when data is received | Undefined | -| onShutdown | Formula | Callback triggered when the connection is properly closed | Undefined | -| onError | Formula | Callback triggered in case of an error | Undefined | -| onTerminate | Formula | Callback triggered just before the TCPConnection is released | Undefined | -| noDelay | Boolean | **Read-only** Disables Nagle's algorithm if `true` | False | +| Propriété | Type | Description | Par défaut | +| ------------ | ------- | --------------------------------------------------------------------- | ---------- | +| onConnection | Formula | Callback déclenchée lorsque la connexion est établie. | Undefined | +| onData | Formula | Callback déclenchée lors de la réception de données | Undefined | +| onShutdown | Formula | Callback déclenchée lorsque la connexion est correctement fermée | Undefined | +| onError | Formula | Callback déclenchée en cas d'erreur | Undefined | +| onTerminate | Formula | Callback déclenchée juste avant que la TCPConnection ne soit libérée | Undefined | +| noDelay | Boolean | **Lecture seulement** Désactive l'algorithme de Nagle si `true` | False | #### Fonctions de callback -All callback functions receive two parameters: +Toutes les fonctions de callback reçoivent deux paramètres : -| Paramètres | Type | Description | -| ----------- | ----------------------------------------------- | ----------------------------------------------------- | -| $connection | [`TCPConnection` object](#tcpconnection-object) | The current TCP connection instance. | -| $event | [`TCPEvent` object](#tcpevent-object) | Contains information about the event. | +| Paramètres | Type | Description | +| ----------- | ---------------------------------------------- | ---------------------------------------------------------- | +| $connection | [objet `TCPConnection`](#tcpconnection-object) | L'instance de connexion TCP courante. | +| $event | [objet `TCPEvent`](#tcpevent-object) | Contient des informations sur l'événement. | -**Sequence of Callback Calls:** +**Séquence des appels de callbacks :** -1. `onConnection` is triggered when the connection is established. -2. `onData` is triggered each time data is received. -3. Either `onShutdown` or `onError` is triggered: - - `onShutdown` is triggered when the connection is properly closed. - - `onError` is triggered if an error occurs. -4. `onTerminate` is always triggered just before the TCPConnection is released (connection is closed or an error occured). +1. `onConnection` est déclenchée lorsque la connexion est établie. +2. `onData` est déclenchée à chaque fois que des données sont reçues. +3. `onShutdown` ou `onError` est déclenchée : + - `onShutdown` est déclenchée lorsque la connexion est correctement fermée. + - `onError` est déclenchée en cas d'erreur. +4. `onTerminate` est toujours déclenchée juste avant que la TCPConnection soit libérée (la connexion est fermée ou une erreur s'est produite). -#### TCPEvent object +#### Objet TCPEvent -A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](#callback-functions) is called. +Un objet [`TCPEvent`](TCPEventClass.md) est renvoyé lorsqu'une [fonction de callback](#callback-functions) est appelée. @@ -203,7 +203,7 @@ A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](# #### Description -The `.closed` property contains whether the connection is closed. Returns `true` if the connection is closed, either due to an error, a call to `shutdown()`, or closure by the server. +La propriété `.closed` indique si la connexion est fermée. Retourne `true` si la connexion est fermée en raison d'une erreur, d'un appel à `shutdown()`, ou de la fermeture par le serveur. @@ -215,7 +215,7 @@ The `.closed` property contains whethe #### Description -The `.errors` property contains a collection of error objects associated with the connection. Each error object includes the error code, a description, and the signature of the component that caused the error. +La propriété `.errors` contient une collection d'objets erreur associés à la connexion. Chaque objet erreur comprend le code d'erreur, une description et la signature du composant qui a provoqué l'erreur. | Propriété | | Type | Description | | --------- | ----------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------ | @@ -234,7 +234,7 @@ The `.errors` property contains a coll #### Description -The `.noDelay` property contains whether Nagle's algorithm is disabled (`true`) or enabled (`false`). Cette propriété est en **lecture seule**. +La propriété `.noDelay` indiquesi l'algorithme de Nagle est désactivé (`true`) ou activé (`false`). Cette propriété est en **lecture seule**. @@ -246,15 +246,15 @@ The `.noDelay` property contains whet -| Paramètres | Type | | Description | -| ---------- | ---- | -- | --------------- | -| data | Blob | -> | Data to be sent | +| Paramètres | Type | | Description | +| ---------- | ---- | -- | ----------------- | +| data | Blob | -> | Données à envoyer | #### Description -The `send()` function sends data to the server. If the connection is not established yet, the data is sent once the connection is established. +La fonction `send()` envoie les données au serveur. Si la connexion n'est pas encore établie, les données sont envoyées une fois la connexion établie. @@ -274,7 +274,7 @@ The `send()` function sends data to th #### Description -The `shutdown()` function closes the *write* channel of the connection (client to server stream) while keeping the *read* channel (server to client stream) open, allowing you to continue receiving data until the connection is fully closed by the server or an error occurs. +La fonction `shutdown()` ferme le canal *écriture* de la connexion (flux client vers serveur) tout en gardant le canal *lecture* (flux serveur vers client) ouvert, ce qui vous permet de continuer à recevoir des données jusqu'à ce que la connexion soit complètement fermée par le serveur ou qu'une erreur se produise. @@ -294,11 +294,11 @@ The `shutdown()` function closes t #### Description -The `wait()` function waits until the TCP connection is closed or the specified `timeout` is reached +La fonction `wait()` attend que la connexion TCP soit fermée ou que le `timeout` spécifié soit atteint :::note -Pendant une exécution `.wait()`, les fonctions de callback sont exécutées, en particulier les callbacks provenant d'autres événements ou d'autres instances de `SystemWorker`. You can exit from a `.wait()` by calling [`shutdown()`](#shutdown) from a callback. +Pendant une exécution `.wait()`, les fonctions de callback sont exécutées, en particulier les callbacks provenant d'autres événements ou d'autres instances de `SystemWorker`. Vous pouvez sortir d'un `.wait()` en appelant [`shutdown()`](#shutdown) depuis un callback. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/TCPEventClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/TCPEventClass.md index 969e01c7c04d84..b15b2e91bed2bb 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/TCPEventClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/TCPEventClass.md @@ -3,7 +3,7 @@ id: TCPEventClass title: TCPEvent --- -The `TCPEvent` class provides information about events occurring during the lifecycle of a TCP connection. It is generated when a [TCPConnection](TCPConnectionClass.md) is opened and is typically utilized in callbacks such as `onConnection`, `onData`, `onError`, and others. +La classe `TCPEvent` fournit des informations sur les événements survenant au cours du cycle de vie d'une connexion TCP. Un événement est généré lorsqu'une [TCPConnection](TCPConnectionClass.md) est ouverte et est typiquement utilisé dans des callbacks tels que `onConnection`, `onData`, `onError`, et d'autres.
    Historique @@ -13,9 +13,9 @@ The `TCPEvent` class provides information about events occurring during the life
    -### TCPEvent Object +### Objet TCPEvent -A `TCPEvent` object is immutable and non-streamable. +Un objet `TCPEvent` est immutable et non-streamable. Les propriétés suivantes sont disponibles : @@ -32,11 +32,11 @@ Les propriétés suivantes sont disponibles : #### Description -The `.data` property contains the data associated with the event. It is only valid for events of type `"data"`. +La propriété `.data` contient les données associées à l'événement. Elle n'est valide que pour les événements de type `"data"`. :::note -When working with low-level TCP/IP connections, keep in mind there is no guarantee that all data will arrive in a single packet. Data arrives in order but may be fragmented across multiple packets. +Lorsque vous travaillez avec des connexions TCP/IP de bas niveau, n'oubliez pas qu'il n'y a aucune garantie que toutes les données arrivent en un seul paquet. Les données arrivent dans l'ordre mais peuvent être fragmentées en plusieurs paquets. ::: @@ -50,13 +50,13 @@ When working with low-level TCP/IP connections, keep in mind there is no guarant #### Description -The `.type` property contains the type of the event. Valeurs possibles : +La propriété `.type` contient le type d'événement. Valeurs possibles : -- `"connection"`: Indicates that a TCPConnection was successfully established. -- `"data"`: Indicates that data has been received. -- `"error"`: Indicates that an error occurred during the TCPConnection. -- `"close"`: Indicates that the TCPConnection has been properly closed. -- `"terminate"`: Indicates that the TCPConnection is about to be released. +- `"connection"` : indique qu'une connexion TCP a été établie avec succès. +- `"data"` : indique que des données ont été reçues. +- `"error"`: indique qu'une erreur est survenue pendant la TCPConnection. +- `"close"` : indique que la connexion TCP a été correctement fermée. +- `"terminate"` : indique que la connexion TCP est sur le point d'être libérée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md index 0cb9ff98d348c1..f4447d72e12332 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md @@ -568,7 +568,7 @@ La fonction `.start()` démarre le s Le serveur Web démarre avec les paramètres par défaut définis dans le fichier de settings du projet ou (base hôte uniquement) à l'aide de la commande `WEB SET OPTION`. Cependant, à l'aide du paramètre *settings*, vous pouvez définir des paramètres personnalisés pour la session du serveur Web. -All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +Tous les paramètres des [objets serveur Web] (../commands/web-server.md-object) peuvent être personnalisés, à l'exception des propriétés en lecture seule ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), et [.sessionCookieName](#sessioncookiename)). Les paramètres de session personnalisés seront réinitialisés lorsque la fonction [`.stop()`](#stop) sera appelée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketClass.md index 1d1d9542a7048f..075cc1a7ee6d20 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketClass.md @@ -112,7 +112,7 @@ Voici la séquence des appels de callbacks : 1. `onOpen` est exécuté une fois 2. Zéro ou plusieurs `onMessage` sont exécutés 3. Zéro ou un `onError` est exécuté (stoppe le traitement) -4. `onTerminate` is always executed +4. `onTerminate` est toujours exécuté #### Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketServerClass.md index ae93e29ca6b8f1..b46af40d967f88 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketServerClass.md @@ -37,7 +37,7 @@ De plus, vous devrez créer deux classes utilisateurs qui contiendront les fonct - une classe utilisateur pour gérer les connexions serveur, - une classe utilisateur pour gérer les messages. -You must [create the WebSocket server](#4dwebsocketservernew) within a [worker](../Develop/processes.md#worker-processes) to keep the connection alive. +Vous devez [créer le serveur WebSocket](#4dwebsocketservernew) dans un [worker](../Develop/processes.md#worker-processes) pour maintenir la connexion en vie. Le [serveur Web 4D](WebServerClass.md) doit être démarré. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Backup/restore.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Backup/restore.md index 6122c5d7047880..f7494e25f55c14 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Backup/restore.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Backup/restore.md @@ -12,7 +12,7 @@ title: Restitution - La perte de fichier(s) de l'application. Cet incident peut être causé par des secteurs défectueux sur le disque contenant l'application, un virus, une erreur de manipulation, etc. Il est nécessaire de restituer la dernière sauvegarde puis d’intégrer éventuellement l’historique courant. Pour savoir si une application a été endommagée à la suite d’un incident, il suffit de la relancer avec 4D. Le programme effectue un auto-diagnostic et précise les opérations de réparation à effectuer. En mode automatique, ces opérations sont effectuées directement, sans intervention de l’utilisateur. Si une stratégie de sauvegarde régulière a été mise en place, les outils de récupération de 4D vous permettront (dans la plupart des cas) de retrouver l'application dans l’état exact où elle se trouvait avant l’incident. -> 4D peut lancer automatiquement des procédures de récupération des applications après incident. Ces mécanismes sont gérés à l’aide de deux options accessibles dans la Page **Sauvegarde/Sauvegarde & et Restitution** de la fenêtre des Propriétés. For more information, refer to the [Automatic Restore](settings.md#automatic-restore-and-log-integration) paragraph.\ +> 4D peut lancer automatiquement des procédures de récupération des applications après incident. Ces mécanismes sont gérés à l’aide de deux options accessibles dans la Page **Sauvegarde/Sauvegarde & et Restitution** de la fenêtre des Propriétés. Pour plus d'informations, reportez-vous au paragraphe [Restitution automatique](settings.md#automatic-restore-and-log-integration).\ > Si l'incident résulte d'une opération inappropriée effectuée sur les données (suppression d'un enregistrement par exemple), vous pouvez tenter de réparer le fichier de données à l'aide de la fonction "rollback" du fichier d'historique. Cette fonction est accessible dans la Page [Retour arrière](MSC/rollback.md) du CSM. ## Restitution manuelle d’une sauvegarde (dialogue standard) @@ -25,7 +25,8 @@ Pour restituer manuellement une application via une boîte de dialogue standard 1. Lancez l’application 4D et choisissez la commande **Restituer...** dans le menu **Fichier**. Il n'est pas obligatoire qu'un projet d'application soit ouvert. - OR Execute the `RESTORE` command from a 4D method. + OU BIEN + Exécutez la commande `RESTORE` depuis une méthode de 4D. Une boîte de dialogue standard d’ouverture de fichiers apparaît. 2. Désignez le fichier de sauvegarde (.4bk) ou le fichier de sauvegarde de l’historique (.4bl) à restituer et cliquez sur **Ouvrir**. Un boîte de dialogue apparaît, vous permettant de désigner l’emplacement auquel vous souhaitez que les fichiers soient restitués . Par défaut, 4D restitue les fichiers dans un dossier nommé *“Nomarchive”* (sans extension) placé à côté de l’archive. Vous pouvez afficher le chemin : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md index d8ddfc878e3b29..40dcec43591b6b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md @@ -509,9 +509,9 @@ Dans le fichier de définition de la classe, les déclarations de propriétés c `Function get` retourne une valeur du type de la propriété et `Function set` prend un paramètre du type de la propriété. Les deux arguments doivent être conformes aux [paramètres de fonction](#parameters) standard. -Lorsque les deux fonctions sont définies, la propriété calculée est en **lecture-écriture**. Si seule une `Function get` est définie, la propriété calculée est en **lecture seule**. Dans ce cas, une erreur est retournée si le code tente de modifier la propriété. Dans ce cas, une erreur est retournée si le code tente de modifier la propriété. +Lorsque les deux fonctions sont définies, la propriété calculée est en **lecture-écriture**. Si seule une `Function get` est définie, la propriété calculée est en **lecture seule**. Dans ce cas, une erreur est retournée si le code tente de modifier la propriété. Si seule une `Function set` est définie, 4D retourne *undefined* lorsque la propriété est lue. -If the functions are declared in a [shared class](#shared-classes), you can use the `shared` keyword with them so that they could be called without [`Use...End use` structure](shared.md#useend-use). Pour plus d'informations, consultez le paragraphe sur les [fonctions partagées](#shared-functions) ci-dessous. +Si les fonctions sont déclarées dans une [classe partagée](#shared-classes), vous pouvez utiliser le mot-clé `shared` avec elles afin qu'elles puissent être appelées sans [structure `Use...End use`](shared.md#useend-use). Pour plus d'informations, consultez le paragraphe sur les [fonctions partagées](#shared-functions) ci-dessous. Le type de la propriété calculée est défini par la déclaration de type `$return` du *getter*. Il peut s'agir de n'importe quel [type de propriété valide](dt_object.md). @@ -606,19 +606,19 @@ Class constructor ($side : Integer) $area:=This.height*This.width ``` -## Class function commands +## Commandes de fonctions de classe -The following commands have specific features when they are used within class functions: +Les commandes suivantes ont des caractéristiques spécifiques lorsqu'elles sont utilisées dans les fonctions de classe : ### `Super` -The [`Super`](../commands/super.md) command allows calls to the [`superclass`](../API/ClassClass#superclass), i.e. the parent class of the function. Il ne peut y avoir qu'une seule fonction constructor dans une classe (sinon une erreur est renvoyée). +La commande [`Super`](../commands/super.md) permet d'appeler la [`superclass`](../API/ClassClass#superclass), c'est-à-dire la classe mère de la fonction. Il ne peut y avoir qu'une seule fonction constructor dans une classe (sinon une erreur est renvoyée). -For more details, see the [`Super`](../commands/super.md) command description. +Pour plus de détails, voir la description de la commande [`Super`](../commands/super.md). ### `This` -The [`This`](../commands/this.md) command returns a reference to the currently processed object. In most cases, the value of `This` is determined by how a class function is called. Usually, `This` refers to the object the function was called on, as if the function were on the object. +La commande [`This`](../commands/this.md) renvoie une référence à l'objet en cours de traitement. Dans la plupart des cas, la valeur de `This` est déterminée par la manière dont une fonction de classe est appelée. Habituellement, `This` fait référence à l'objet sur lequel la fonction a été appelée, comme si la fonction était sur l'objet. Voici un exemple : @@ -629,7 +629,7 @@ Function f() : Integer return This.a+This.b ``` -Then you can write in a method: +Ensuite, vous pouvez écrire dans une méthode : ```4d $o:=cs.ob.new() @@ -638,7 +638,7 @@ $o.b:=3 $val:=$o.f() //8 ``` -For more details, see the [`This`](../commands/this.md) command description. +Pour plus de détails, voir la description de la commande [`This`](../commands/this.md). ## Commandes de classes @@ -713,17 +713,17 @@ Si le mot-clé `shared` est utilisé devant une fonction dans une classe utilisa ## Classes Singleton -Une **classe singleton** est une classe utilisateur qui ne produit qu'une seule instance. For more information on the concept of singletons, please see the [Wikipedia page about singletons](https://en.wikipedia.org/wiki/Singleton_pattern). +Une **classe singleton** est une classe utilisateur qui ne produit qu'une seule instance. Pour plus d’informations sur le concept de singleton, veuillez consulter la [page Wikipédia sur les singletons](https://en.wikipedia.org/wiki/Singleton_pattern). -### Singletons types +### Types de singletons -4D supports three types of singletons: +4D prend en charge trois types de singletons : -- a **process singleton** has a unique instance for the process in which it is instantiated, -- a **shared singleton** has a unique instance for all processes on the machine. -- a **session singleton** is a shared singleton but with a unique instance for all processes in the [session](../API/SessionClass.md). Session singletons are shared within an entire session but vary between sessions. In the context of a client-server or a web application, session singletons make it possible to create and use a different instance for each session, and therefore for each user. +- un **singleton process** a une instance unique pour le process dans lequel il est instancié, +- un **singleton partagé** a une instance unique pour tous les process sur la machine. +- une **singleton session** est un singleton partagé, mais avec une instance unique pour tous les process de la [session](../API/SessionClass.md). Les singletons de session sont partagés au sein d'une session entière mais varient d'une session à l'autre. Dans le contexte d'un client-serveur ou d'une application web, les singletons de session permettent de créer et d'utiliser une instance différente pour chaque session, et donc pour chaque utilisateur. -Singletons are useful to define values that need to be available from anywhere in an application, a session, or a process. +Les singletons sont utiles pour définir des valeurs qui doivent être disponibles partout dans une application, une session ou un process. :::info @@ -731,28 +731,28 @@ Les classes Singleton ne sont pas prises en charge par [les classes ORDA](../ORD ::: -The following table indicates the scope of a singleton instance depending on where it was created: +Le tableau suivant indique la portée d'une instance de singleton en fonction de l'endroit où elle a été créée : -| Singleton créé sur | Scope of process singleton | Scope of shared singleton | Scope of session singleton | -| ----------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------- | --------------------------------------------------------------------- | -| **4D mono-utilisateur** | Process | Application | Application or Web/REST session | -| **4D Server** | Process | Machine 4D Server | Client/server session or Web/REST session or Stored procedure session | -| **4D mode distant** | Process (*note*: les singletons ne sont pas synchronisés sur les process jumeaux) | Machine 4D distant | 4D remote machine or Web/REST session | +| Singleton créé sur | Portée d'un singleton process | Portée d'un singleton partagé | Portée d'un singleton session | +| ----------------------- | -------------------------------------------------------------------------------------------------------------------- | ----------------------------- | -------------------------------------------------------------------------- | +| **4D mono-utilisateur** | Process | Application | Application ou session Web/REST | +| **4D Server** | Process | Machine 4D Server | Session client/serveur ou session Web/REST ou session de procédure stockée | +| **4D mode distant** | Process (*note*: les singletons ne sont pas synchronisés sur les process jumeaux) | Machine 4D distant | Machine distante 4D ou session Web/REST | Une fois instanciée, une classe singleton (et son singleton) existe aussi longtemps qu'une référence à cette classe existe quelque part dans l'application sur le poste. -### Creating and using singletons +### Création et utilisation de singletons -You declare singleton classes by adding appropriate keyword(s) before the [`Class constructor`](#class-constructor): +Vous déclarez des classes singleton en ajoutant le(s) mot(s) clé(s) approprié(s) devant le [`Class constructor`](#class-constructor) : -- To declare a (process) singleton class, write `singleton Class Constructor()`. -- To declare a shared singleton class, write `shared singleton Class constructor()`. -- To declare a session singleton class, write `session singleton Class constructor()`. +- Pour déclarer une classe singleton process, écrivez `singleton Class Constructor()`. +- Pour déclarer une classe singleton partagée, écrivez `shared singleton Class constructor()`. +- Pour déclarer une classe singleton de session, écrivez `session singleton Class constructor()`. :::note -- Session singletons are automatically shared singletons (there's no need to use the `shared` keyword in the class constructor). -- Singleton shared functions support [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). +- Les singletons de session sont automatiquement des singletons partagés (il n'est pas nécessaire d'utiliser le mot-clé `shared` dans le constructeur de la classe). +- Les fonctions de singletons partagés prennent en charge le mot-clé [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). ::: @@ -760,13 +760,13 @@ Le singleton de la classe est instancié lors du premier appel de la propriété Si vous avez besoin d'instancier un singleton avec des paramètres, vous pouvez également appeler la fonction [`new()`](../API/ClassClass.md#new). Dans ce cas, il est recommandé d'instancier le singleton dans du code exécuté au démarrage de l'application. -La propriété [`.isSingleton`](../API/ClassClass.md#issingleton) des objets Class permet de savoir si la classe est un singleton. +La propriété [`.isSingleton`](../API/ClassClass.md#issingleton) des objets de classe permet de savoir si la classe est un singleton. -The [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton) property of Class objects allows to know if the class is a session singleton. +La propriété [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton) des objets de classe permet de savoir si la classe est un singleton de session. ### Exemples -#### Process singleton +#### Singleton process ```4d //class: ProcessTag @@ -795,7 +795,7 @@ var $myOtherSingleton := cs.ProcessTag.me //$myOtherSingleton.tag = 14856 ``` -#### Shared singleton +#### Singleton partagé ```4d //Class VehicleFactory @@ -830,9 +830,9 @@ $vehicle:=cs.VehicleFactory.me.buildVehicle("truck") Étant donné que la fonction *buildVehicle()* modifie le singleton **cs.VehicleFactory** (en incrémentant `This.vehicleBuilt`), vous devez ajouter le mot-clé `shared` à celle-ci. -#### Session singleton +#### Singleton session -In an inventory application, you want to implement an item inventory using session singletons. +Dans une application d'inventaire, vous souhaitez mettre en œuvre un inventaire d'articles à l'aide de singletons de session. ```4d //class ItemInventory @@ -845,15 +845,15 @@ shared function addItem($item:object) This.itemList.push($item) ``` -By defining the ItemInventory class as a session singleton, you make sure that every session and therefore every user has their own inventory. Accessing the user's inventory is as simple as: +En définissant la classe ItemInventory comme un singleton de session, vous vous assurez que chaque session, et donc chaque utilisateur, dispose de son propre inventaire. Pour accéder à l'inventaire de l'utilisateur, rien de plus simple : ```4d -//in a user session +//dans une session utilisateur $myList := cs.ItemInventory.me.itemList -//current user's item list +//liste d'objets de l'utilisateur courant ``` #### Voir également -[Singletons in 4D](https://blog.4d.com/singletons-in-4d) (blog post)
    [Session Singletons](https://blog.4d.com/introducing-session-singletons) (blog post). +[Singletons dans 4D](https://blog.4d.com/singletons-in-4d) (blog post)
    [Session Singletons](https://blog.4d.com/introducing-session-singletons) (blog post). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/components.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/components.md index edd49a53d38257..7db6e099377e5b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/components.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/components.md @@ -9,7 +9,7 @@ Un composant 4D est un ensemble de code et de formulaires 4D représentant une o Plusieurs composants sont [préinstallés dans l'environnement de développement 4D](Extensions/overview.md), mais de nombreux composants 4D de la communauté 4D sont disponibles sur GitHub. De plus, vous pouvez développer vos propres composants 4D. -Installation and loading of components in your 4D projects are handled through the [4D dependency manager](../Project/components.md). +L'installation et le chargement des composants dans vos projets 4D sont gérés par le [Gestionnaire de dépendances de 4D](../Project/components.md). ## Utilisation des composants diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/data-types.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/data-types.md index a6c812a91dc71f..17b4e6b8b865b0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/data-types.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/data-types.md @@ -7,7 +7,7 @@ Dans 4D, les données sont gérées selon leur type à deux endroits : dans les Bien qu'ils soient généralement équivalents, certains types de données de la base ne sont pas disponibles dans le langage et sont automatiquement convertis. A l'inverse, certains types de données sont gérés uniquement par le langage. Le tableau suivant liste tous les types de données disponibles, leur prise en charge et leur déclaration : -| Types de données | Pris en charge par la base(1) | Pris en charge par le langage | [`var` declaration](variables.md) | [Déclaration `ARRAY`](arrays.md) | +| Types de données | Pris en charge par la base(1) | Pris en charge par le langage | [Déclaration `var`](variables.md) | [Déclaration `ARRAY`](arrays.md) | | ------------------------------------------------------- | ------------------------------------------------ | ----------------------------- | --------------------------------- | -------------------------------- | | [Alphanumérique](dt_string.md) | Oui | Converti en texte | - | - | | [Text](Concepts/dt_string.md) | Oui | Oui | `Text` | `ARRAY TEXT` | @@ -33,10 +33,10 @@ Bien qu'ils soient généralement équivalents, certains types de données de la ## Commandes -You can always know the type of a field or variable using the following commands: +Vous pouvez à tout moment connaître le type d'un champ ou d'une variable en utilisant les commandes suivantes : -- [`Type`](../commands-legacy/type.md) for fields and scalar variables -- [`Value type`](../commands-legacy/value-type.md) for expressions +- [`Type`](../commands-legacy/type.md) pour les champs et les variables scalaires +- [`Value type`](../commands-legacy/value-type.md) pour les expressions ## Valeurs par défaut @@ -72,9 +72,9 @@ Le tableau ci-dessous liste les types de données pouvant être convertis, le ty | Types à convertir | en Chaîne | en Numérique | en Date | en Heure | en Booléen | | -------------------------------- | --------- | ------------ | ------- | -------- | ---------- | | Chaîne (1) | | `Num` | `Date` | `Time` | `Bool` | -| Numérique (2) | `Chaîne` | | | | `Bool` | -| Date | `Chaîne` | | | | `Bool` | -| Time | `Chaîne` | | | | `Bool` | +| Numérique (2) | `String` | | | | `Bool` | +| Date | `String` | | | | `Bool` | +| Time | `String` | | | | `Bool` | | Boolean | | `Num` | | | | (1) Les chaînes formatées en JSON peuvent être converties en données scalaires, objets ou collections à l'aide de la commande `JSON Parse`. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_boolean.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_boolean.md index 0c7667661eb06c..fbade769f7e8ae 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_boolean.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_boolean.md @@ -36,7 +36,7 @@ monBooléen:=(monBouton=1) | AND | Booléen & Booléen | Boolean | ("A" = "A") & (15 # 3) | True | | | | | ("A" = "B") & (15 # 3) | False | | | | | ("A" = "B") & (15 = 3) | False | -| OR | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | +| OU | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | | | | | ("A" = "B") | (15 # 3) | True | | | | | ("A" = "B") | (15 = 3) | False | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_null_undefined.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_null_undefined.md index 6f14c34ab4d119..3957cfc8f28ba4 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_null_undefined.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_null_undefined.md @@ -132,7 +132,7 @@ Les comparaisons avec les opérateurs Supérieur à (`>`), Inférieur à (`<`), :::info -Comparisons of Undefined values with Pointer, Picture, Boolean, Blob, Object, Collection, Undefined or Null values using Greater than (`>`), Less than (`<`), Greater than or equal to (`>=`), and Less than or equal to (`<=`) operators are not supported and return an error. +Les comparaisons des valeurs Undefined avec des valeurs Pointer, Picture, Boolean, Blob, Object, Collection, Undefined ou Null en utilisant les opérateurs Supérieur à (`>`), Inférieur à (`<`), Supérieur ou égal à (`>=`), et Inférieur ou égal à (`<=`) ne sont pas prises en charge et renvoient une erreur. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_number.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_number.md index 4f9b14ceeef70b..44835ec8294c1d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_number.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_number.md @@ -1,25 +1,25 @@ --- id: number -title: Number (Real, Integer) +title: Numérique (Real, Integer) --- Numérique est un terme générique utilisé pour : - Les champs, variables ou expression de type Réel. Les nombres de type Réel sont compris dans l'intervalle ±1.7e±308 (13 chiffres significatifs). -- Integer variable or expression. The range for the Integer data type is -2^31..(2^31)-1 (4-byte Integer, aka *Long* or *Longint*). +- Les champs, variables ou expression de type Entier (Integer). La plage pour le type de données Integer est -2^31..(2^31)-1 (Integer de 4 octets, alias *Long* ou *Longint*). :::info Compatibilité -Usually when working with Integers, you handle *Long* values (4-byte Integer). However, there are two cases where Integers are stored as *Shorts* values (2-byte Integer), i.e. in the range -32,768..32,767 (2^15..(2^15)-1): +Habituellement, lorsque vous travaillez avec des Integers, vous manipulez des valeurs *Long* (nombres entiers de 4 octets). Toutefois, dans deux cas, les nombres entiers sont stockés sous forme de valeurs *Shorts* (nombres entiers de 2 octets), c'est-à-dire dans l'intervalle -32 768..32 767 (2^15..(2^15)-1) : -- Database fields with `Integer` type, -- Elements of arrays declared with [`ARRAY INTEGER`](../commands-legacy/array-integer.md). +- Champs de la base de données de type `Integer`, +- Éléments des tableaux déclarés avec [`ARRAY INTEGER`](../commands-legacy/array-integer.md). -These legacy data types are automatically converted in *Longs* when used in the 4D Language. +Ces types de données anciens sont automatiquement convertis en *longs* lorsqu'ils sont utilisés dans le langage 4D. ::: -Vous pouvez assigner tout nombre d'un type numérique à un nombre d'un autre type numérique, 4D effectue automatiquement la conversion, en tronquant ou en arrondissant les valeurs si nécessaire. Notez cependant que lorsqu'une valeur est située en-dehors de l'intervalle du type de destination, 4D ne pourra la convertir. You can mix number data types in expressions. +Vous pouvez assigner tout nombre d'un type numérique à un nombre d'un autre type numérique, 4D effectue automatiquement la conversion, en tronquant ou en arrondissant les valeurs si nécessaire. Notez cependant que lorsqu'une valeur est située en-dehors de l'intervalle du type de destination, 4D ne pourra la convertir. Vous pouvez mélanger les types de données numériques dans les expressions. ## Constantes littérales numériques @@ -62,7 +62,7 @@ Les nombres négatifs s’écrivent précédés du signe moins (-). Par exemple | | | | 11 < 10 | False | | Supérieur ou égal à | Nombre >= Nombre | Boolean | 11 >= 10 | True | | | | | 10 >= 11 | False | -| Inférieur ou égal à | Number <= Number | Boolean | 10 <= 11 | True | +| Inférieur ou égal à | Nombre <= Nombre | Boolean | 10 <= 11 | True | | | | | 11 <= 10 | False | ### Modulo @@ -75,7 +75,7 @@ L'opérateur modulo % divise le premier nombre par le second et retourne le rest :::warning -L'opérateur modulo % retourne des valeurs significatives avec des nombres appartenant à la catégorie des entiers longs (de –2^31 à +2^31 moins 1). To calculate the modulo with numbers outside of this range, use the [`Mod`](../commands-legacy/mod.md) command. +L'opérateur modulo % retourne des valeurs significatives avec des nombres appartenant à la catégorie des entiers longs (de –2^31 à +2^31 moins 1). Pour calculer le modulo avec des nombres en dehors de cette plage, utilisez la commande [`Mod`](../commands-legacy/mod.md). ::: @@ -85,11 +85,11 @@ L'opérateur division entière \ retourne des valeurs significatives avec des no ### Comparaison des réels -To compare two reals for equality, the 4D language actually compares the absolute value of the difference with *epsilon*. See the [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md) command. +Pour comparer l'égalité de deux réels, le langage 4D compare en fait la valeur absolue de la différence avec *epsilon*. Voir la commande [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md). :::note -For consistency, the 4D database engine always compares database fields of the real type using a 10^-6 value for *epsilon* and does not take the [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md) setting into account. +Par souci de cohérence, le moteur de base de données 4D compare toujours les champs de base de données de type réel en utilisant une valeur de 10^-6 pour *epsilon* et ne tient pas compte du paramètre [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md). ::: @@ -115,15 +115,15 @@ Des parenthèses peuvent être incluses dans d'autres parenthèses. Assurez-vous ## Opérateurs sur les bits -The bitwise operators operates on (Long) Integers expressions or values. +Les opérateurs bit à bit opèrent sur des expressions ou des valeurs d'Integers (longs). -> If you pass a (Short) Integer or a Real value to a bitwise operator, 4D evaluates the value as a Long value before calculating the expression that uses the bitwise operator. +> Si vous passez un entier (Short) ou une valeur réelle à un opérateur bit à bit, 4D évalue la valeur comme une valeur longue avant de calculer l'expression qui utilise l'opérateur bit à bit. -While using the bitwise operators, you must think about a Long value as an array of 32 bits. Les bits sont numérotés de 0 à 31, de droite à gauche. +Lors de l'utilisation des opérateurs bit à bit, vous devez considérer une valeur Long comme un tableau de 32 bits. Les bits sont numérotés de 0 à 31, de droite à gauche. -Comme un bit peut valoir 0 (zéro) ou 1, vous pouvez également considérer une valeur de type Entier long comme une expression dans laquelle vous pouvez stocker 32 valeurs de type Booléen. A bit equal to 1 means **True** and a bit equal to 0 means **False**. +Comme un bit peut valoir 0 (zéro) ou 1, vous pouvez également considérer une valeur de type Entier long comme une expression dans laquelle vous pouvez stocker 32 valeurs de type Booléen. Un bit égal à 1 signifie **Vrai** et un bit égal à 0 signifie **Faux**. -An expression that uses a bitwise operator returns a Long value, except for the Bit Test operator, where the expression returns a Boolean value. Le tableau suivant fournit la liste des opérateurs sur les bits et leur syntaxe : +Une expression qui utilise un opérateur bit à bit renvoie une valeur de type Long, à l'exception de l'opérateur Bit Test, pour lequel l'expression renvoie une valeur booléenne. Le tableau suivant fournit la liste des opérateurs sur les bits et leur syntaxe : | Opération | Opérateur | Syntaxe | Retourne | | -------------------------------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------ | @@ -138,21 +138,21 @@ An expression that uses a bitwise operator returns a Long value, except for the #### Notes -1. For the `Left Bit Shift` and `Right Bit Shift` operations, the second operand indicates the number of positions by which the bits of the first operand will be shifted in the resulting value. Par conséquent, ce second opérande doit être compris entre 0 et 31. Notez qu'un décalage de 0 retourne une valeur inchangée et qu'un décalage de plus de 31 bits retourne 0x00000000 car tous les bits sont perdus. Si vous passez une autre valeur en tant que second opérande, le résultat sera non significatif. -2. For the `Bit Set`, `Bit Clear` and `Bit Test` operations , the second operand indicates the number of the bit on which to act. Par conséquent, ce second opérande doit être compris entre 0 et 31, sinon le résultat de l'expression sera non significatif. +1. Pour les opérations "Décaler bits à gauche" et "Décaler bits à droite", le second opérande indique le nombre de positions par lesquelles les bits du premier opérande seront décalés dans la valeur résultante. Par conséquent, ce second opérande doit être compris entre 0 et 31. Notez qu'un décalage de 0 retourne une valeur inchangée et qu'un décalage de plus de 31 bits retourne 0x00000000 car tous les bits sont perdus. Si vous passez une autre valeur en tant que second opérande, le résultat sera non significatif. +2. Pour les opérations `Mettre bit à 1`, `Mettre bit à 0` et `Tester bit`, le second opérande indique le numéro du bit sur lequel agir. Par conséquent, ce second opérande doit être compris entre 0 et 31, sinon le résultat de l'expression sera non significatif. Le tableau suivant dresse la liste des opérateurs sur les bits et de leurs effets : -| Opération | Description | -| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ET | Chaque bit résultant est le ET logique des bits dans les deux opérandes. Chaque bit résultant est le ET logique des bits dans les deux opérandes. | -| OU (inclusif) | Each resulting bit is the logical OR of the bits in the two operands.Here is the logical OR table:
  • 1 | 1 --> 1
  • 0 | 1 --> 1
  • 1 | 0 --> 1
  • 0 | 0 --> 0
  • In other words, the resulting bit is 1 if at least one of the two operand bits is 1; otherwise the resulting bit is 0. | -| OU (exclusif) | Each resulting bit is the logical XOR of the bits in the two operands.Here is the logical XOR table:
  • 1 ^ | 1 --> 0
  • 0 ^ | 1 --> 1
  • 1 ^ | 0 --> 1
  • 0 ^ | 0 --> 0
  • In other words, the resulting bit is 1 if only one of the two operand bits is 1; otherwise the resulting bit is 0. | -| Décaler bits à gauche | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la gauche du nombre de positions indiqué par le deuxième opérande. Les bits auparavant situés à gauche sont perdus et les nouveaux bits situés à droite ont la valeur 0. **Note:** Taking into account only positive values, shifting to the left by N bits is the same as multiplying by 2^N. | -| Décaler bits à droite | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la droite du nombre de positions indiqué par le deuxième opérande. The bits on the right are lost and the new bits on the left are set to 0.**Note:** Taking into account only positive values, shifting to the right by N bits is the same as dividing by 2^N. | -| Mettre bit à 1 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | -| Mettre bit à 0 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | -| Tester bit | Retourne Vrai si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 1. Retourne Faux si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 0. | +| Opération | Description | +| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ET | Chaque bit résultant est le ET logique des bits dans les deux opérandes. Voici la table logique ET :
  • 1 & 1 --> 1
  • 0 & 1 --> 0
  • 1 & 0 --> 0
  • 0 & 0 --> 0
  • En d'autres termes, le bit résultant est 1 si les deux bits de l'opérande sont 1 ; sinon, le bit résultant est 0. | +| OU (inclusif) | Chaque bit résultant est le OU logique des bits des deux opérandes. Voici la table du OU logique :
  • 1 | 1 --> 1
  • 0 | 1 --> 1
  • 1 | 0 --> 1
  • 0 | 0 --> 0
  • En d'autres termes, le bit résultant est 1 si au moins un des deux bits de l'opérande est 1 ; sinon, le bit résultant est 0. | +| OU (exclusif) | Chaque bit résultant est le XOR logique des bits des deux opérandes. Voici la table du XOR logique :
  • 1 ^ | 1 --> 0
  • 0 ^ | 1 --> 1
  • 1 ^ | 0 --> 1
  • 0 ^ | 0 --> 0
  • En d'autres termes, le bit résultant est 1 si uniquement un des deux bits de l'opérande est 1 ; sinon, le bit résultant est 0. | +| Décaler bits à gauche | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la gauche du nombre de positions indiqué par le deuxième opérande. Les bits auparavant situés à gauche sont perdus et les nouveaux bits situés à droite ont la valeur 0. **Note :** Si l'on ne tient compte que des valeurs positives, un décalage vers la gauche de N bits équivaut à une multiplication par 2^N. | +| Décaler bits à droite | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la droite du nombre de positions indiqué par le deuxième opérande. Les bits de droite sont perdus et les nouveaux bits de gauche sont mis à 0. **Note :** Si l'on ne tient compte que des valeurs positives, le décalage vers la droite de N bits revient à diviser par 2^N. | +| Mettre bit à 1 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | +| Mettre bit à 0 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | +| Tester bit | Retourne Vrai si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 1. Retourne Faux si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 0. | ### Exemples diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/error-handling.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/error-handling.md index c1f5352b542e13..4246ef38074167 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/error-handling.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/error-handling.md @@ -98,7 +98,7 @@ Dans une méthode de gestion d'erreur personnalisée, vous avez accès à plusie ::: - la commande [`Last errors`](../commands-legacy/last-errors.md) qui renvoie sous forme de collection la pile courante d'erreurs survenues dans l'application 4D. -- the `Call chain` command that returns a collection of objects describing each step of the method call chain within the current process. +- la commande `Call chain` qui renvoie une collection d'objets décrivant chaque étape de la chaîne d'appel de méthode dans le process en cours. #### Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/methods.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/methods.md index 8e3099b0a1e9e6..5caa0eb03da3d8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/methods.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/methods.md @@ -1,6 +1,6 @@ --- id: methods -title: Methods +title: Méthodes --- Une méthode est essentiellement un morceau de code qui exécute une ou plusieurs action(s). Une méthode est composée d'instructions. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/quick-tour.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/quick-tour.md index b10cefe3ed9763..2251a72ff5479f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/quick-tour.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Concepts/quick-tour.md @@ -54,7 +54,7 @@ Même si cela est généralement déconseillé, vous pouvez créer des variables MyOtherDate:=Current date+30 ``` -La ligne de code se lit "MyOtherDate obtient la date actuelle plus 30 jours." Cette ligne crée la variable, lui attribue à la fois le type de date (temporaire) et un contenu. Une variable créée par affectation est interprétée comme étant sans type, c'est-à-dire qu'elle peut être affectée à d'autres types dans d'autres lignes et changer de type dynamiquement. This flexibility does not apply to variables declared with the `var` keyword (their type cannot change) and in [compiled mode](interpreted.md) where the type can never be changed, regardless of how the variable was created. +La ligne de code se lit "MyOtherDate obtient la date actuelle plus 30 jours." Cette ligne crée la variable, lui attribue à la fois le type de date (temporaire) et un contenu. Une variable créée par affectation est interprétée comme étant sans type, c'est-à-dire qu'elle peut être affectée à d'autres types dans d'autres lignes et changer de type dynamiquement. Cette flexibilité ne s'applique pas aux variables déclarées avec le mot-clé `var` (leur type ne peut pas changer) et en [mode compilé](interpreted.md) où le type ne peut jamais être changé, quelle que soit la façon dont la variable a été créée. ## Commandes @@ -96,12 +96,12 @@ objectRef:=SVG_New_arc(svgRef;100;100;90;90;180) 4D propose un large ensemble de constantes prédéfinies, dont les valeurs sont accessibles par un nom. Elles permettent d'écrire un code plus lisible. Par exemple, `XML DATA` est une constante (valeur 6). ```4d -vRef:=Open document("PassFile";"TEXTE";Read Mode) // ouvrir le doc en mode lecture seule +vRef:=Open document("PassFile";"TEXT";Read Mode) // ouvre le document en lecture seule ``` > Les constantes prédéfinies apparaissent soulignées par défaut dans l'éditeur de code 4D. -## Methods +## Méthodes 4D propose un grand nombre de méthodes (ou de commandes) intégrées, mais vous permet également de créer vos propres **méthodes de projet**. Les méthodes de projet sont des méthodes définies par l'utilisateur qui contiennent des commandes, des opérateurs et d'autres parties du langage. Les méthodes projet sont des méthodes génériques, mais il existe d'autres types de méthodes : les méthodes objet, les méthodes formulaire, les méthodes table (Triggers) et les méthodes base. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Desktop/building.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Desktop/building.md index 9973ba3e283aad..fbe056f35cd211 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Desktop/building.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Desktop/building.md @@ -20,8 +20,8 @@ Le générateur d'applications vous permet de : Générer un package de projet peut être réalisé à l'aide de : -- either the [`BUILD APPLICATION`](../commands-legacy/build-application.md) command, -- or the [Build Application dialog](#build-application-dialog). +- soit la commande [`BUILD APPLICATION`](../commands-legacy/build-application.md), +- soit la [boîte de dialogue Générer application](#build-application-dialog). :::tip @@ -45,7 +45,7 @@ La génération ne peut s'effectuer qu'une fois le projet compilé. Si vous sél Chaque paramètre du générateur d'application est sauvegardé en tant que clé XML dans le fichier XML du projet d'application nommé `buildApp.4DSettings`, situé dans le [dossier `Settings` du projet](../Project/architecture.md#settings-user). -Des paramètres par défaut sont utilisés lors de la première utilisation de la boîte de dialogue du Générateur d'application. Le contenu du fichier est mis à jour, si nécessaire, lorsque vous cliquez sur **Construire** ou **Enregistrer les paramètres**. You can define several other XML settings file for the same project and employ them using the [`BUILD APPLICATION`](../commands-legacy/build-application.md) command. +Des paramètres par défaut sont utilisés lors de la première utilisation de la boîte de dialogue du Générateur d'application. Le contenu du fichier est mis à jour, si nécessaire, lorsque vous cliquez sur **Construire** ou **Enregistrer les paramètres**. Vous pouvez définir plusieurs autres fichiers de paramètres XML pour le même projet et les passer à la commande [`BUILD APPLICATION`](../commands-legacy/build-application.md). Les clés XML fournissent des options supplémentaires à celles affichées dans la boîte de dialogue du Générateur d'application. La description de ces clés est détaillée dans le manuel [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html). @@ -59,9 +59,9 @@ Lorsqu'une application est créée, 4D génère un fichier journal nommé *Build - Toutes les erreurs qui se sont produites, - Tout problème de signature (par exemple, un plug-in non signé). -Checking this file may help you saving time during the subsequent deployment steps, for example if you intend to [notarize](#about-notarization) your application on macOS. +La vérification de ce fichier peut vous aider à gagner du temps lors des étapes de déploiement ultérieures, par exemple si vous avez l'intention de [notariser](#about-notarization) votre application sur macOS. -> Use the `Get 4D file(Build application log file)` statement to get the log file location. +> Utilisez l'instruction `Get 4D file(Build application log file)` pour obtenir l'emplacement du fichier journal. ## Nom de l'application et dossier de destination @@ -87,7 +87,7 @@ Cette fonctionnalité crée un fichier *.4dz* dans un dossier `Compiled Database Un fichier .4dz est essentiellement une version compressée du dossier du projet. Les fichiers .4dz peuvent être utilisés par 4D Server, 4D Volume Desktop (applications fusionnées) et 4D. La taille compacte et optimisée des fichiers .4dz facilite le déploiement des packages de projet. -> Lors de la génération de fichiers .4dz, 4D utilise par défaut un format zip **standard**. L'avantage de ce format est qu'il est facilement lisible par tout outil de dézippage. If you do not want to use this standard format, add the `UseStandardZipFormat` XML key with value `False` in your [`buildApp.4DSettings`](#buildapp4dsettings) file (for more information, see the [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html) manual). +> Lors de la génération de fichiers .4dz, 4D utilise par défaut un format zip **standard**. L'avantage de ce format est qu'il est facilement lisible par tout outil de dézippage. Si vous ne voulez pas utiliser ce format standard, ajoutez la clé XML `UseStandardZipFormat` avec la valeur `False` dans votre fichier [`buildApp.4DSettings`](#buildapp4dsettings) (pour plus d'informations, voir le manuel [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html)). #### Inclure les dossiers associés @@ -99,20 +99,20 @@ Génère un composant compilé à partir de la structure. Un [composant](../Extensions/develop-components.md) est un fichier de structure 4D standard dans lequel des fonctionnalités spécifiques ont été développées. Une fois que le composant a été configuré et [installé dans un autre projet 4D](../Project/components.md) (le projet de l'application hôte), ses fonctionnalités sont accessibles depuis le projet hôte. -If you have named your application *MyComponent*, 4D will automatically create a *Components* folder with the following structure: +Si vous avez nommé votre application *MonComposant*, 4D créera automatiquement un dossier *Components* avec la structure suivante : -`/Components/MyComponent.4dbase/Contents/`. +`/Components/MonComposant.4dbase/Contents/`. -The *MyComponent.4dbase* folder is the [package folder of the compiled component](../Project/components.md#package-folder). +Le dossier *MonComposant.4dbase* est le [dossier racine du composant compilé](../Project/components.md#package-folder). -The *Contents* folder contains: +Le dossier *Contents* contient : -- *MyComponent.4DZ* file - the [compiled structure](#build-compiled-structure). +- Fichier *MonComposant.4DZ* - la [structure compilée](#build-compiled-structure). - Un dossier *Resources* - toutes les ressources associées sont automatiquement copiées dans ce dossier. Les autres composants et/ou dossiers de plugins ne sont pas copiés (un composant ne peut pas utiliser de plug-ins ou d'autres composants). -- An *Info.plist* file - this file is required to build [notarizeable and stapleable](#about-notarization) components for macOS (it is ignored on Windows). The following [Apple bundle keys](https://developer.apple.com/documentation/bundleresources/information-property-list) are prefilled: - - `CFBundleDisplayName` and `CFBundleName` for the application name, - - `NSHumanReadableCopyright`, can be [set using an XML key](https://doc.4d.com/4Dv20/4D/20/CommonCopyright.300-6335859.en.html). - - `CFBundleShortVersionString` and `CFBundleVersion` for the application version (x.x.x format, e.g. 1.0.5), can be [set using an XML key](https://doc.4d.com/4Dv20/4D/20/CommonVersion.300-6335858.en.html). +- Un fichier *Info.plist* - ce fichier est nécessaire pour créer des composants [notarisables et agrafables](#about-notarization) pour macOS (il est ignoré sous Windows). Les [clés de bundle Apple](https://developer.apple.com/documentation/bundleresources/information-property-list) suivantes sont pré-remplies : + - `CFBundleDisplayName` et `CFBundleName` pour le nom de l'application, + - `NSHumanReadableCopyright`, peut être [définie à l'aide d'une clé XML](https://doc.4d.com/4Dv20/4D/20/CommonCopyright.300-6335859.en.html). + - `CFBundleShortVersionString` et `CFBundleVersion` pour la version de l'application (format x.x.x, par exemple 1.0.5), peuvent être [définies à l'aide d'une clé XML](https://doc.4d.com/4Dv20/4D/20/CommonVersion.300-6335858.en.html). ## Page Application @@ -124,7 +124,7 @@ Cet onglet vous permet de créer une version monoposte autonome de votre applica Cochez l'option **Créer une application autonome** et cliquez sur **Générer** pour créer une application autonome (double-cliquable) directement à partir de votre projet d'application. Sous Windows, cette fonctionnalité crée un fichier exécutable (.exe). Sous macOS, il gère la création de progiciels. -The principle consists of merging a compiled structure file with **4D Volume Desktop** (the 4D database engine). Les fonctionnalités offertes par le fichier 4D Volume Desktop sont liées à l’offre commerciale à laquelle vous avez souscrite. Pour plus d’informations sur ce point, reportez-vous à la documentation commerciale et au site Internet de [4D Sas (http://www.4d.com/)](http://www.4d.com/). +Le principe consiste à fusionner un fichier de structure compilé avec **4D Volume Desktop** (le moteur de base de données de 4D). Les fonctionnalités offertes par le fichier 4D Volume Desktop sont liées à l’offre commerciale à laquelle vous avez souscrite. Pour plus d’informations sur ce point, reportez-vous à la documentation commerciale et au site Internet de [4D Sas (http://www.4d.com/)](http://www.4d.com/). - Vous pouvez définir un fichier de données par défaut ou permettre aux utilisateurs de [créer et utiliser leur propre fichier de données](#gestion-des-fichiers-de-données). - You can either embed a deployment license or let the final user enter their license at the first application launch (see the [**About licenses**](#about-licenses) paragraph). @@ -146,7 +146,7 @@ Pour sélectionner le dossier de 4D Volume Desktop, cliquez sur le bouton **[... Une fois le dossier sélectionné, son chemin d’accès complet est affiché et, s’il contient effectivement 4D Volume Desktop, l’option de génération d’application exécutable est activée. -> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. For example, if you use 4D 20, you must select a 4D Volume Desktop 20. +> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. Par exemple, si vous utilisez 4D 20, vous devez sélectionner un 4D Volume Desktop 20. ### Mode de liaison des données @@ -167,7 +167,7 @@ Si vous avez nommé votre application "MyProject", vous trouverez les fichiers s - *Windows* - MonAppli.exe qui est votre exécutable et MonAppli.Rsr qui contient les ressources de l’application - Les dossiers 4D Extensions et Resources ainsi que les diverses librairies (DLL), le dossier Native Components et SAS Plugins -fichiers nécessaires au fonctionnement de l’application - - Database folder - Includes a Resources folder and MyProject.4DZ file. Ils constituent la structure compilée du projet et son dossier Resources. + - Dossier Database - Inclut un dossier Resources et le fichier MyProject.4DZ. Ils constituent la structure compilée du projet et son dossier Resources. **Note** : Ce dossier contient également le dossier *Default Data*, s'il a été défini (cf. [Gestion du fichier de données dans les applications finales](#management-of-data-files)). - (Facultatif) Un dossier Components et/ou un dossier Plugins contenant les fichiers des composants et/ou des plug-ins éventuellement inclus dans le projet. Pour plus d’informations sur ce point, reportez-vous à la section [Plugins et composants](#plugins--components-page). - (Facultatif) Dossier Licences - Un fichier XML des numéros de licence intégrés dans l'application, le cas échéant. Pour plus d’informations sur ce point, reportez-vous à la section [Licences & Certificat](#licenses--certificate-page). @@ -183,7 +183,7 @@ Tous ces éléments doivent être conservés dans le même dossier afin que l’ Lors de la construction de l’application exécutable, 4D duplique le contenu du dossier 4D Volume Desktop dans le dossier *Final Application*. Vous pouvez donc parfaitement personnaliser le contenu du dossier 4D Volume Desktop d’origine en fonction de vos besoins. Vous pouvez, par exemple : - Installer une version de 4D Volume Desktop correspondant à une langue spécifique ; -- Add a custom *Plugins* folder; +- Ajouter un dossier *PlugIns* personnalisé ; - Personnaliser le contenu du dossier *Resources*. > Dans macOS, 4D Volume Desktop est fourni sous la forme d'un package. Pour le modifier, vous devez d'abord afficher son contenu (**Contrôle+clic** sur l'icône). @@ -224,11 +224,11 @@ En outre, l’application client/serveur est personnalisée et son maniement est - Pour lancer la partie cliente, l’utilisateur double-clique simplement sur l’application cliente, qui se connecte directement à l’application serveur. Il n’est pas nécessaire de choisir un serveur dans une boîte de dialogue de connexion. Le client cible le serveur soit via son nom, lorsque client et serveur sont sur le même sous-réseau, soit via son adresse IP, à définir via la clé XML `IPAddress` dans le fichier buildapp.4DSettings. Si la connexion échoue, [des mécanismes alternatifs spécifiques peuvent être mis en place](#management-of-client-connections). Il est également possible de “forcer” l’affichage de la boîte de dialogue de connexion standard en maintenant la touche **Option** (macOS) ou **Alt** (Windows) enfoncée lors du lancement de l’application cliente. Seule la partie cliente peut se connecter à la partie serveur correspondante. Si un utilisateur tente de se connecter à la partie serveur à l’aide d’une application 4D standard, un message d’erreur est retourné et la connexion est impossible. - Une application client/serveur peut être paramétrée de telle sorte que la partie cliente [puisse être mise à jour automatiquement via le réseau](#copy-of-client-applications-inside-the-server-application). Il vous suffit de créer et de distribuer une version initiale de l'application cliente, les mises à jour ultérieures sont gérées à l'aide du mécanisme de mise à jour automatique. -- It is also possible to automate the update of the server part through the use of a sequence of language commands ([SET UPDATE FOLDER](../commands-legacy/set-update-folder.md) and [RESTART 4D](../commands-legacy/restart-4d.md). +- Il est également possible d'automatiser la mise à jour de la partie serveur en utilisant une séquence de commandes de langage ([SET UPDATE FOLDER](../commands-legacy/set-update-folder.md) et [RESTART 4D](../commands-legacy/restart-4d.md). :::note -If you want client/server connections to be made in [TLS](../Admin/tls.md), simply check the [appropriate setting](../settings/client-server.md#encrypt-client-server-communications). If you wish to use a custom certificate, please consider using the [`CertificateAuthoritiesCertificates`](https://doc.4d.com/4Dv20R8/4D/20-R8/CertificateAuthoritiesCertificates.300-7479862.en.html). +Si vous souhaitez que les connexions client/serveur se fassent en [TLS](../Admin/tls.md), cochez simplement le [paramètre approprié](../settings/client-server.md#encrypt-client-server-communications). Si vous souhaitez utiliser un certificat personnalisé, considérez l'utilisation de [`CertificateAuthoritiesCertificates`](https://doc.4d.com/4Dv20R8/4D/20-R8/CertificateAuthoritiesCertificates.300-7479862.en.html). ::: @@ -302,11 +302,11 @@ Vous pouvez cocher cette option : Désigne l'emplacement sur votre disque de l'application 4D Volume Desktop à utiliser pour construire la partie cliente de votre application. -> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. For example, if you use 4D 20, you must select a 4D Volume Desktop 20. +> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. Par exemple, si vous utilisez 4D 20, vous devez sélectionner un 4D Volume Desktop 20. Ce 4D Volume Desktop doit correspondre à la plate-forme courante (qui sera également la plate-forme de l’application cliente). Si vous souhaitez générer une version de l’application cliente pour la plate-forme “concurrente”, vous devez répéter l'opération en utilisant une application 4D tournant sur cette plate-forme. -Si vous souhaitez que l'application cliente se connecte au serveur via une adresse spécifique (autre que le nom du serveur publié sur le sous-réseau), vous devez utiliser la clé XML `IPAddress` dans le fichier buildapp.4DSettings. For more information about this file, refer to the description of the [`BUILD APPLICATION`](../commands-legacy/build-application.md) command. Vous pouvez également mettre en place des mécanismes spécifiques en cas d'échec de la connexion. Les différents scénarios proposés sont décrits dans la section [Gestion de la connexion des applications clientes](#management-of-client-connections). +Si vous souhaitez que l'application cliente se connecte au serveur via une adresse spécifique (autre que le nom du serveur publié sur le sous-réseau), vous devez utiliser la clé XML `IPAddress` dans le fichier buildapp.4DSettings. Pour plus d'informations sur ce fichier, reportez-vous à la description de la commande [`BUILD APPLICATION`](../commands-legacy/build-application.md). Vous pouvez également mettre en place des mécanismes spécifiques en cas d'échec de la connexion. Les différents scénarios proposés sont décrits dans la section [Gestion de la connexion des applications clientes](#management-of-client-connections). #### Copie des applications clientes dans l'application serveur @@ -426,7 +426,7 @@ Le scénario standard est le suivant : - la clé `PublishName` n'est pas copiée dans le *info.plist* du client fusionné - si l'application monoposte ne possède pas de dossier "Data" par défaut, le client fusionné sera exécuté sans données. -Automatic update 4D Server features ([Current version](#current-version) number, [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md) command...) fonctionnent avec une application monoposte comme avec une application distante standard. Lors de la connexion, l'application monoposte compare sa clé `CurrentVers` à la plage de version 4D Server. Si elle se trouve en dehors de plage, l'application cliente monoposte mise à jour est téléchargée depuis le serveur et l'Updater lance le processus de mise à jour locale. +Les fonctionnalités de mise à jour automatique de 4D Server (numéro de [version courante](#current-version), commande [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md)...) fonctionnent avec une application monoposte comme avec une application distante standard. Lors de la connexion, l'application monoposte compare sa clé `CurrentVers` à la plage de version 4D Server. Si elle se trouve en dehors de plage, l'application cliente monoposte mise à jour est téléchargée depuis le serveur et l'Updater lance le processus de mise à jour locale. ### Personnalisation des noms de dossier de cache client et/ou serveur @@ -476,7 +476,7 @@ La page liste les éléments chargés par l'application 4D courante : ### Ajout de plugins ou de composants -If you want to integrate other plug-ins or components into the executable application, you just need to place them in a **Plugins** or **Components** folder next to the 4D Volume Desktop application or next to the 4D Server application. Le mécanisme de copie du contenu du dossier de l’application source (cf. paragraphe [Personnaliser le dossier 4D Volume Desktop](#customizing-4d-volume-desktop-folder)) permet d’intégrer tout type de fichier à l’application exécutable. +Si vous souhaitez intégrer d'autres plug-ins ou composants dans l'application exécutable, il vous suffit de les placer dans un dossier **Plugins** ou **Components** à côté de l'application 4D Volume Desktop ou à côté de l'application 4D Server. Le mécanisme de copie du contenu du dossier de l’application source (cf. paragraphe [Personnaliser le dossier 4D Volume Desktop](#customizing-4d-volume-desktop-folder)) permet d’intégrer tout type de fichier à l’application exécutable. En cas de conflit entre deux versions différentes d’un même plug-in (l’une chargée par 4D et l’autre placée dans le dossier de l’application source), la priorité revient au plug-in installé dans le dossier de 4D Volume Desktop/4D Server. En revanche, la présence de deux instances d’un même composant empêchera l’ouverture de l’application. @@ -502,14 +502,14 @@ Les modules optionnels suivants peuvent être désélectionnés : La page Licences & Certificat vous permet de : -- designate the license(s) that you want to integrate into your [stand-alone](#application-page) or [client-server](#clientserver-page) application, +- désigner la ou les licence(s) que vous souhaitez intégrer dans votre application [autonome](#application-page) ou [client-serveur](#clientserver-page), - signer l'application à l'aide d'un certificat sous macOS. ![](../assets/en/Admin/buildappCertif.png) ### À propos des licences -A built 4D application requires a deployment license. Elle peut être intégrée par le développeur à l'étape de la construction ou saisie par l'utilisateur final lors du premier lancement, comme décrit dans le tableau suivant : +Une application 4D générée nécessite une licence de déploiement. Elle peut être intégrée par le développeur à l'étape de la construction ou saisie par l'utilisateur final lors du premier lancement, comme décrit dans le tableau suivant : | Licence de déploiement | Description | Où la saisir | | ---------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | @@ -521,53 +521,53 @@ A built 4D application requires a deployment license. Elle peut être intégrée :::note -You can also build an [evaluation application](#build-an-evaluation-application), in which case a limited term deployment license is automatically provided to the user at startup. +Vous pouvez également créer une [application d'évaluation](#build-an-evaluation-application), auquel cas une licence de déploiement à durée limitée est automatiquement fournie à l'utilisateur au démarrage. ::: ### Licences -This tab displays the [Build an evaluation application](#build-an-evaluation-application) option and the list of available [deployment licenses that you can embed](#about-licenses) into your application (stand-alone or client-server). Par défaut, la liste est vide. +Cet onglet affiche l'option [Créer une application d'évaluation](#build-an-evaluation-application) et la liste des [licences de déploiement disponibles que vous pouvez intégrer](#about-licenses) dans votre application (autonome ou client-serveur). Par défaut, la liste est vide. -You can use this tab to build: +Vous pouvez utiliser cet onglet pour construire : -- an evaluation application, -- a licensed application without embedded license (the user has to have a per-user license), -- a licensed application with embedded license(s). +- une application d'évaluation, +- une application sous licence mais sans licence intégrée (l'utilisateur doit disposer d'une licence personnelle), +- une application sous licence mais avec licence(s) intégrée(s). -#### Build an evaluation application +#### Créer une application d'évaluation -Check this option to create an evaluation version of your application. +Cochez cette option pour créer une version d'évaluation de votre application. -An evaluation application allows the end-user to run a full-featured version of your stand-alone or server application on their machine for a limited period of time, starting at first launch. At the end of the evaluation period, the application can no longer be used for a certain period of time on the same machine. +Une application d'évaluation permet à l'utilisateur final d'exécuter une version complète de votre application autonome ou serveur sur son ordinateur pendant une période limitée, à partir du premier lancement. À la fin de la période d'évaluation, l'application ne peut plus être utilisée pendant un certain temps sur la même machine. :::info -An internet connection is required on the user machine at the first launch of the evaluation application. +Une connexion internet est requise sur la machine de l'utilisateur lors du premier lancement de l'application d'évaluation. ::: -As soon as the "Build an evaluation application" option is enabled, deployment licenses are ignored. +Dès que l'option "Créer une application d'évaluation" est activée, les licences de déploiement sont ignorées. :::note Notes -- The [`License info`](../commands/license-info.md) command allows you to know the application license type (*.attributes* collection) and its expiration date (*.expirationDate* object). -- The BuildApplication [`EvaluationMode`](https://doc.4d.com/4Dv20R8/4D/20-R8/EvaluationMode.300-7542468.en.html) xml key allows you to manage evaluation versions. -- The [`CHANGE LICENCES`](../commands-legacy/change-licenses.md) command does nothing when called from an evaluation version. +- La commande [`License info`](../commands/license-info.md) vous permet de connaître le type de licence de l'application (collection *.attributes*) et sa date d'expiration (objet *.expirationDate*). +- La clé xml BuildApplication [`EvaluationMode`](https://doc.4d.com/4Dv20R8/4D/20-R8/EvaluationMode.300-7542468.en.html) permet de gérer les versions d'évaluation. +- La commande [`CHANGE LICENCES`](../commands-legacy/change-licenses.md) ne fait rien lorsqu'elle est appelée depuis une version d'évaluation. ::: -#### Build a licensed application without embedded license(s) +#### Construire une application sous licence mais sans licence(s) intégrée(s) -To build an application without embedded deployment license, just keep the license list empty and make sure the "Build an evaluation application" option is **unchecked**. +Pour créer une application sans licence de déploiement intégrée, il suffit de laisser la liste des licences vide et de s'assurer que l'option "Créer une application d'évaluation" est **décochée**. -In this case, the end-user will have to purchase and enter a per-user *4D Desktop* or *4D Server* license at first application startup (when you embed a deployment license, the user does not have to enter or use their own license number). For more information, see the [**About licenses**](#about-licenses) paragraph. +Dans ce cas, l'utilisateur final devra acheter et saisir une licence *4D Desktop* ou *4D Server* personnelle au premier démarrage de l'application (lorsque vous intégrez une licence de déploiement, l'utilisateur ne doit pas saisir ou utiliser son propre numéro de licence). For more information, see the [**About licenses**](#about-licenses) paragraph. -#### Build a licensed application with embedded license(s) +#### Créer une application sous licence avec une ou plusieurs licence(s) intégrée(s) -This option allows you to build a ready-to-use application, in which necessary licenses are already embedded. +Cette option vous permet de créer une application prête à l'emploi, dans laquelle les licences nécessaires sont déjà intégrées. -You must designate the files that contain your deployment licenses. These files were generated or updated when the *4D Developer Professional* license and the deployment licenses were purchased. Your current *4D Developer Professional* license is automatically associated with each deployment license to be used in the application built. Vous pouvez ajouter un autre numéro de 4D Developer Professional et ses licences associées. +Vous devez désigner les fichiers qui contiennent vos licences de déploiement. Ces fichiers ont été générés ou mis à jour lors de l'achat de la licence *4D Developer Professional* et des licences de déploiement. Votre licence *4D Developer Professional* courante est automatiquement associée à chaque licence de déploiement à utiliser dans l'application créée. Vous pouvez ajouter un autre numéro de 4D Developer Professional et ses licences associées. Pour ajouter ou supprimer des licences, utilisez les boutons **[+]** et **[-]** situés en bas de la fenêtre. Lorsque vous cliquez sur le bouton \[+], une boîte de dialogue d’ouverture de document apparaît, affichant par défaut le contenu du dossier *[Licenses]* de votre poste. Pour plus d'informations sur l'emplacement de ce dossier, reportez-vous à la commande [Get 4D folder](../commands-legacy/get-4d-folder.md). @@ -584,13 +584,13 @@ Vous pouvez désigner autant de fichiers valides que vous voulez. Lors de la gé > Des licences "R" dédiées sont requises pour générer des applications basées sur des versions "R-release" (les numéros de licence des produits "R" débutent par "R-4DDP"). -After a licensed application is built, a new deployment license file is automatically included in the Licenses folder next to the executable application (Windows) or in the package (macOS). +Après la création d'une application sous licence, un nouveau fichier de licence de déploiement est automatiquement inclus dans le dossier Licenses à côté de l'application exécutable (Windows) ou dans le paquet (macOS). ### Certificat de signature macOS Le Générateur d’application permet de signer les applications 4D fusionnées sous macOS (applications monoposte, composants, 4D Server et parties clientes sous macOS). Signer une application permet d’autoriser son exécution par la fonctionnalité Gatekeeper de macOS lorsque l’option "Mac App Store et Développeurs identifiés" est sélectionnée (cf. "A propos de Gatekeeper" ci-dessous). -- Check the **Sign application** option to include certification in the application builder procedure for macOS. 4D vérifiera la disponibilité des éléments nécessaires à la certification au moment de la génération : +- Cochez l'option **Signer l'application** pour inclure la certification dans la procédure de création de l'application pour macOS. 4D vérifiera la disponibilité des éléments nécessaires à la certification au moment de la génération : ![](../assets/en/Admin/buildapposxcertProj.png) @@ -626,7 +626,7 @@ Les [fonctionnalités de signature intégrées](#macos-signing-certificate) ont Pour plus d'informations sur le concept de notarisation, veuillez consulter [cette page sur le site Apple developer](https://developer.apple.com/documentation/xcode/notarizing_your_app_before_distribution/customizing_the_notarization_workflow). -For more information on the stapling concept, please read [this Apple forum post](https://forums.developer.apple.com/forums/thread/720093). +Pour plus d'informations sur le concept d'agrafage du ticket de notarisation (*stapling*), veuillez consulter [ce post sur le forum d'Apple](https://forums.developer.apple.com/forums/thread/720093). ## Personnaliser les icônes d’une application @@ -787,9 +787,9 @@ Vous pouvez choisir d'afficher ou non la boîte de dialogue standard de sélecti En principe, la mise à jour des applications serveur ou des applications mono-utilisateur fusionnées nécessite l'intervention de l'utilisateur (ou la programmation de routines système personnalisées) : chaque fois qu'une nouvelle version de l'application fusionnée est disponible, vous devez quitter l'application en production et remplacer manuellement les anciens fichiers par les nouveaux ; puis redémarrer l'application et sélectionner le fichier de données courant. -You can automate this procedure to a large extent using the following language commands: [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md), [`RESTART 4D`](../commands-legacy/restart-4d.md), and also [`Get last update log path`](../commands-legacy/last-update-log-path.md) for monitoring operations. L'idée est d'implémenter une fonction dans votre application 4D déclenchant la séquence de mise à jour automatique décrite ci-dessous. Il peut s'agir d'une commande de menu ou d'un process s'exécutant en arrière-plan et vérifiant à intervalles réguliers la présence d'une archive sur un serveur. +Vous pouvez automatiser cette procédure dans une large mesure en utilisant les commandes suivantes : [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md), [`RESTART 4D`](../commands-legacy/restart-4d.md), et aussi [`Get last update log path`](../commands-legacy/last-update-log-path.md) pour les opérations de surveillance. L'idée est d'implémenter une fonction dans votre application 4D déclenchant la séquence de mise à jour automatique décrite ci-dessous. Il peut s'agir d'une commande de menu ou d'un process s'exécutant en arrière-plan et vérifiant à intervalles réguliers la présence d'une archive sur un serveur. -> You also have XML keys to elevate installation privileges so that you can use protected files under Windows (see the [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html) manual). +> Vous disposez également de clés XML pour élever les privilèges d'installation afin de pouvoir utiliser des fichiers protégés sous Windows (voir le manuel [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html)). Voici le scénario pour la mise à jour d'un serveur ou d'une application mono-utilisateur fusionnée : @@ -805,4 +805,4 @@ La procédure d'installation produit un fichier journal détaillant les opérati Le journal de mise à jour est nommé `YYYY-MM-DD_HH-MM-SS_log_X.txt`, par exemple, `2021-08-25_14-23-00_log_1.txt` pour un fichier créé le 25 août 2021 à 14h23. -Ce fichier est créé dans le dossier de l'application "Updater", dans le dossier de l'utilisateur du système. You can find out the location of this file at any time using the [`Get last update log path`](../commands-legacy/last-update-log-path.md) command. +Ce fichier est créé dans le dossier de l'application "Updater", dans le dossier de l'utilisateur du système. Vous pouvez connaître l'emplacement de ce fichier à tout moment en utilisant la commande [`Get last update log path`](../commands-legacy/last-update-log-path.md). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Develop/preemptive.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Develop/preemptive.md index 75cfa6bfd1b8dc..5fcc317462fd30 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Develop/preemptive.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Develop/preemptive.md @@ -13,7 +13,7 @@ Lorsqu'ils sont exécutés en mode *coopératif*, tous les process sont gérés En conséquence, en mode préemptif, les performances globales de l'application sont améliorées, notamment sur les machines multicœurs, car plusieurs process peuvent réellement s'exécuter simultanément. Cependant, les gains réels dépendent des opérations en cours d'exécution. En contrepartie, étant donné qu'en mode préemptif chaque process est indépendant des autres et n'est pas géré directement par l'application, il y a des contraintes spécifiques appliquées au code que vous souhaitez rendre compatible avec une utilisation en préemptif. De plus, l'exécution en préemptif n'est disponible que dans certains contextes. -## Availability of preemptive mode {#availability-of-preemptive-mode} +## Disponibilité du mode préemptif {#availability-of-preemptive-mode} L'utilisation du mode préemptif est prise en charge dans les contextes d'exécution suivants : @@ -41,7 +41,7 @@ Le code 4D ne peut être exécuté dans un process préemptif que lorsque certai La propriété "thread safety" de chaque élément dépend de l'élément lui-même : -- Commandes 4D : la propriété thread-safe est une propriété interne. In the 4D documentation, thread-safe commands are identified by the ![](../assets/en/Develop/thread-safe.png) icon. You can also use the [`Command name`](../commands-legacy/command-name.md) command to know if a command is thread-safe. Une grande partie des commandes 4D peut s'exécuter en mode préemptif. +- Commandes 4D : la propriété thread-safe est une propriété interne. Dans la documentation 4D, les commandes thread-safe sont identifiées par l'icône ![](../assets/en/Develop/thread-safe.png). Vous pouvez également utiliser la commande [`Command name`](../commands-legacy/command-name.md) pour savoir si une commande est thread-safe. Une grande partie des commandes 4D peut s'exécuter en mode préemptif. - Méthodes projet : les conditions pour être thread-safe sont répertoriées dans [ce paragraphe](#writing-a-thread-safe-method). Fondamentalement, le code à exécuter dans des threads préemptifs ne peut pas appeler des parties avec des interactions externes, telles que du code de plug-in ou des variables interprocess. Cependant, l'accès aux données est autorisé car le serveur de données 4D et ORDA prennent en charge l'exécution préemptive. @@ -141,7 +141,7 @@ Exécuter une méthode en mode préemptif dépendra de sa propriété "execution 4D vous permet d'identifier le mode d'exécution des process en mode compilé : -- The [`Process info`](../commands/process-info.md) command allows you to find out whether a process is run in preemptive or cooperative mode. +- La commande [`Process info`](../commands/process-info.md) vous permet de savoir si un process est exécuté en mode préemptif ou coopératif. - L'Explorateur d'exécution et la [fenêtre d'administration de 4D Server](../ServerWindow/processes.md#process-type) affichent des icônes spécifiques pour les process préemptifs. ## Ecrire une méthode thread-safe @@ -155,10 +155,10 @@ Pour être thread-safe, une méthode doit respecter les règles suivantes : - Elle ne doit pas utiliser de variables interprocess(1) - Elle ne doit pas appeler d'objets d'interface (2) (il y a cependant des exceptions, voir ci-dessous). -(1) To exchange data between preemptive processes (and between all processes), you can pass [shared collections or shared objects](../Concepts/shared.md) as parameters to processes, and/or use the [`Storage`](../commands-legacy/storage.md) catalog. +(1) Pour échanger des données entre process préemptifs (et entre tous les process), vous pouvez passer des [collections partagées ou objets partagés](../Concepts/shared.md) comme paramètres aux process, et/ou utiliser le catalogue [`Storage`](../commands-legacy/storage.md). Les [process Worker](processes.md#worker-processes) vous permettent également d'échanger des messages entre tous les process, y compris les process préemptifs. -(2) The [`CALL FORM`](../commands-legacy/call-form.md) command provides an elegant solution to call interface objects from a preemptive process. +(2) La commande [`CALL FORM`](../commands-legacy/call-form.md) fournit une solution élégante pour appeler des objets d'interface à partir d'un process préemptif. :::note Notes @@ -193,7 +193,7 @@ Les seuls accès possibles à l'interface utilisateur depuis un thread préempti ### Triggers -When a method uses a command that can call a [trigger](https://doc.4d.com/4Dv20/4D/20.6/Triggers.300-7488308.en.html), the 4D compiler evaluates the thread safety of the trigger in order to check the thread safety of the method: +Lorsqu'une méthode utilise une commande qui peut appeler un [trigger](https://doc.4d.com/4Dv20/4D/20.6/Triggers.300-7488308.en.html), le compilateur 4D évalue la "thread safety" du trigger afin de vérifier celle de la méthode : ```4d SAVE RECORD([Table_1]) //trigger sur Table_1, s'il existe, doit être thread-safe @@ -216,7 +216,7 @@ Dans ce cas, tous les triggers sont évalués. Si une commande thread-unsafe est :::note -In [client/server applications](../Desktop/clientServer.md), triggers may be executed in cooperative mode, even if their code is thread-safe. This happens when a trigger is activated from a remote process: in this case, the trigger is executed in the ["twinned" process of the client process](https://doc.4d.com/4Dv20/4D/20/4D-Server-and-the-4D-Language.300-6330554.en.html#68972) on the server machine. Since this process is used for all calls from the client, it is always executed in cooperative mode. +Dans les [applications client/serveur](../Desktop/clientServer.md), les triggers peuvent être exécutés en mode coopératif, même si leur code est thread-safe. Cela se produit lorsqu'un trigger est déclenché à partir d'un process distant : dans ce cas, le trigger est exécuté dans le [process "jumeau" du process client](https://doc.4d.com/4Dv20/4D/20/4D-Server-and-the-4D-Language.300-6330554.en.html#68972) sur la machine serveur. Comme ce process est utilisé pour tous les appels du client, il est toujours exécuté en mode coopératif. ::: @@ -268,12 +268,12 @@ Il peut y avoir certains cas où vous préférez que la vérification de la prop Pour faire cela, vous devez entourer le code à exclure de la vérification avec les directives spéciales `%T-` et `%T+` en tant que commentaires. Le commentaire `//%T-` désactive la vérification de la propriété thread safe et `//%T+` la réactive : ```4d - //%T- to disable thread safety checking - - // Place the code containing commands to be excluded from thread safety checking here - $w:=Open window(10;10;100;100) //for example - - //%T+ to enable thread safety checking again for the rest of the method + //%T- pour désactiver la vérification thread safety + + // Placez le code contenant les commandes à exclure de la vérification thread safety ici + $w:=Open window(10;10;100;100) //par exemple + + //%T+ pour réactiver la vérification thread safety pour le reste de la méthode ``` Bien entendu, le développeur 4D est responsable de la compatibilité du code entre les directives de désactivation et de réactivation avec le mode préemptif. Des erreurs d'exécution seront générées si du code thread-unsafe est exécuté dans un process préemptif. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Develop/processes.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Develop/processes.md index 6fd734b8abdd63..9a095b4d704ad2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Develop/processes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Develop/processes.md @@ -18,9 +18,9 @@ L'application 4D crée des process pour ses propres besoins, par exemple le proc Il existe plusieurs façons de créer un nouveau process : - Exécuter une méthode en mode Développement en sélectionnant la case à cocher **Nouveau process** dans la boîte de dialogue d'exécution de méthode. La méthode choisie dans ce dialogue est la méthode process. -- Use the [`New process`](../commands-legacy/new-process.md) command. La méthode passée en tant que paramètre à la commande `New process` est la méthode process. +- Utilisez la commande [`New process`](../commands-legacy/new-process.md). La méthode passée en tant que paramètre à la commande `New process` est la méthode process. - Utiliser la commande [`Execute on server`](../commands-legacy/execute-on-server.md) afin de créer une procédure stockée sur le serveur. La méthode passée en paramètre à la commande est la méthode process. -- Use the [`CALL WORKER`](../commands-legacy/call-worker.md) command. Si le process du worker n'existe pas déjà, il est créé. +- Utiliser la commande [`CALL WORKER`](../commands-legacy/call-worker.md). Si le process du worker n'existe pas déjà, il est créé. :::note @@ -50,7 +50,7 @@ Chaque process contient des éléments spécifiques qu'il peut traiter indépend ### Éléments d'interface -Les éléments d'interface sont utilisés dans les [Applications Desktop] (../category/desktop-applications). Il s'agit des éléments suivants : +Les éléments d'interface sont utilisés dans les [Applications Desktop](../category/desktop-applications). Il s'agit des éléments suivants : - [Barre de menus](../Menus/creating.md) : Chaque process peut avoir sa propre barre de menus courante. La barre de menus du process au premier plan est la barre de menus courante de l'application. - Une ou plusieurs fenêtres : Chaque processus peut avoir plusieurs fenêtres ouvertes simultanément. A l'inverse, des process peuvent n'avoir pas de fenêtre du tout. @@ -98,13 +98,13 @@ Un process worker peut être "engagé" par n'importe quel process (en utilisant :::info -In Desktop applications, a project method can also be executed with parameters in the context of any form using the [`CALL FORM`](../commands-legacy/call-form.md) command. +Dans les applications Desktop, une méthode projet peut également être exécutée avec des paramètres dans le contexte de n'importe quel formulaire en utilisant la commande [`CALL FORM`](../commands-legacy/call-form.md). ::: Cette fonctionnalité répond aux besoins suivants en matière de communication interprocess de 4D : -- Étant donné qu'ils sont pris en charge par les process coopératifs et préemptifs, ils constituent la solution idéale pour la communication interprocessus dans les [process préemptifs] (preemptive.md) ([les variables interprocess sont dépréciées] (https://doc.4d.com/4Dv20/4D/20/Deprecated-or-Removed-Features.100-6259787.en.html#5868705) et ne sont pas autorisées dans les processus préemptifs). +- Étant donné qu'ils sont pris en charge par les process coopératifs et préemptifs, ils constituent la solution idéale pour la communication interprocess dans les [process préemptifs](preemptive.md) ([les variables interprocess sont dépréciées](https://doc.4d.com/4Dv20/4D/20/Deprecated-or-Removed-Features.100-6259787.en.html#5868705) et ne sont pas autorisées dans les process préemptifs). - Ils constituent une alternative simple aux sémaphores, qui peuvent être lourds à mettre en place et complexes à utiliser :::note @@ -144,10 +144,10 @@ Le process principal créé par 4D lors de l'ouverture d'une base de données po ### Identifier les process worker -All worker processes, except the main process, have the process type `Worker process` (5) returned by the [`Process info`](../commands/process-info.md) command. +Tous les process worker, à l'exception du process principal, ont le type de process `Worker process` (5) renvoyé par la commande [`Process info`](../commands/process-info.md). Des [icônes spécifiques](../ServerWindow/processes#process-type) identifient les process worker. ### Voir également -Pour plus d'informations, veuillez consulter [cet article de blog] (https://blog.4d.com/4d-summit-2016-laurent-esnault-presents-workers-and-ui-in-preemptive-mode/) sur l'utilisation des workers. +Pour plus d'informations, veuillez consulter [cet article de blog](https://blog.4d.com/4d-summit-2016-laurent-esnault-presents-workers-and-ui-in-preemptive-mode/) sur l'utilisation des workers. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md index 1bcdd19324d3a5..56e99ad2e29cac 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md @@ -29,7 +29,7 @@ Hormis les [commandes non utilisables](#unusable-commands), un composant peut ut Lorsqu'elles sont appelées depuis un composant, elles sont exécutées dans le contexte du composant, à l'exception de la commande [`EXECUTE METHOD`](https://doc.4d.com/4dv20/help/command/fr/page1007.html) et de la commande [`EXECUTE FORMULA`](https://doc.4d.com/4dv20/help/command/fr/page63.html) qui utilisent le contexte de la méthode spécifiée par la commande. A noter également que les commandes de lecture du thème “Utilisateurs et groupes” sont utilisables depuis un composant mais lisent les utilisateurs et les groupes du projet hôte (un composant n’a pas d’utilisateurs et groupes propres). -Les commandes [`SET DATABASE PARAMETER`](https://doc.4d.com/4dv20/help/command/fe/page7836.html) et [`Get database parameter`](https://doc.4d.com/4dv20/help/command/fe/page7837.html) sont une exception : leur portée est globale à l'application. Lorsque ces commandes sont appelées depuis un composant, elles s’appliquent au projet d'application hôte. +The [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands are an exception: their scope is global to the application. Lorsque ces commandes sont appelées depuis un composant, elles s’appliquent au projet d'application hôte. Par ailleurs, des dispositions spécifiques sont définies pour les commandes `Structure file` et `Get 4D folder` lorsqu’elles sont utilisées dans le cadre des composants. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormEditor/formEditor.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormEditor/formEditor.md index c261d28379d42a..b287c7227c47f3 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormEditor/formEditor.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormEditor/formEditor.md @@ -697,7 +697,7 @@ Sélectionnez simplement la vue de destination, faites un clic droit puis sélec ![](../assets/en/FormEditor/moveObject.png) -OR +OU Sélectionnez la vue de destination de la sélection et cliquez sur le bouton **Déplacer vers** en bas de la palette des vues : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/listbox_overview.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/listbox_overview.md index a12ec2f8ffea5a..7a6b32914d7cb6 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/listbox_overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/listbox_overview.md @@ -197,7 +197,7 @@ Les propriétés prises en charge dépendent du type de list box. ### Événements formulaire pris en charge -| Evénement formulaire | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | Commentaires | +| Evénement formulaire | Propriétés supplémentaires renvoyées (voir [Form event](../commands/form-event.md) pour les propriétés principales) | Commentaires | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | | On After Keystroke |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | @@ -271,7 +271,7 @@ You can set standard properties (text, background color, etc.) for each column o ### Événements formulaire pris en charge -| Evénement formulaire | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | Commentaires | +| Evénement formulaire | Propriétés supplémentaires renvoyées (voir [Form event](../commands/form-event.md) pour les propriétés principales) | Commentaires | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | | On After Keystroke |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/properties_Text.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/properties_Text.md index 6395799e134852..d14d69eea77453 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/properties_Text.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/properties_Text.md @@ -25,7 +25,7 @@ When this property is enabled, the [OPEN FONT PICKER](../commands-legacy/open-fo Le texte sélectionné est plus foncé et plus épais. -You can set this property using the [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md) command. +Vous pouvez définir cette propriété en utilisant la commande [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md). > This is normal text.
    > **This is bold text.** @@ -46,7 +46,7 @@ You can set this property using the [**OBJECT SET FONT STYLE**](../commands-lega Fait pencher le texte sélectionné légèrement vers la droite. -You can also set this property via the [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md) command. +Vous pouvez également définir cette propriété via la commande [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md). > This is normal text.
    > *This is text in italics.* diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/tabControl.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/tabControl.md index 9c265a8533d106..06eb20418719bf 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/tabControl.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/FormObjects/tabControl.md @@ -11,7 +11,7 @@ Le formulaire multi-pages suivant utilise un onglet : Pour passer d’un écran à l’autre, l’utilisateur clique simplement sur l’onglet correspondant. -Un onglet peut être utilisé, entre autres, pour gérer la navigation entre les pages d’un formulaire multi-pages. If the tab control is used as a page navigation tool, then the [`FORM GOTO PAGE`](https://doc.4d.com/4dv19/help/command/en/page247.html) command or the `gotoPage` standard action would be used when a user clicks a tab. +Un onglet peut être utilisé, entre autres, pour gérer la navigation entre les pages d’un formulaire multi-pages. Si l'onglet est utilisé comme outil de navigation de page, la commande [`FORM GOTO PAGE`](https://doc.4d.com/4dv19/help/command/en/page247.html) ou l'action standard `gotoPage` est utilisée lorsque l'utilisateur clique sur un onglet. Un onglet peut aussi être utilisé pour contrôler les données qui sont affichées dans un sous-formulaire. On peut, par exemple, implémenter un rolodex à l’aide d’un onglet. Chaque onglet afficherait alors une des lettres de l’alphabet et l’action de l’onglet serait de charger les informations correspondantes à la lettre sur lequel l’utilisateur a cliqué. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/MSC/encrypt.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/MSC/encrypt.md index dc6046006019d4..a3a76c8ef18318 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/MSC/encrypt.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/MSC/encrypt.md @@ -69,7 +69,7 @@ Pour des raisons de sécurité, toutes les opérations de maintenance liées au À ce stade, deux options s'offrent à vous : - entrez la phrase secrète courante(2) et cliquez sur **OK**. - OR + OU - connectez un périphérique tel qu'une clé USB et cliquez sur le bouton **Scanner les disques**. (1) Le trousseau 4D stocke toutes les clés de chiffrement des données valides qui ont été saisies au cours de la session d'application.\ diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md index 140c5a522a1ce3..0004bc25790e65 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md @@ -23,7 +23,7 @@ Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8 - The following commands now allow parameters such as objects or collections: [WP SET ATTRIBUTES](../WritePro/commands/wp-set-attributes.md), [WP Get attributes](../WritePro/commands/wp-get-attributes.md), [WP RESET ATTRIBUTES](../WritePro/commands/wp-reset-attributes.md), [WP Table append row](../WritePro/commands/wp-table-append-row.md), [WP Import document](../WritePro/commands/wp-import-document.md), [WP EXPORT DOCUMENT](../WritePro/commands/wp-export-document.md), [WP Add picture](../WritePro/commands/wp-add-picture.md), and [WP Insert picture](../WritePro/commands/wp-insert-picture.md). - [WP Insert formula](../WritePro/commands/wp-insert-formula.md), [WP Insert document body](../WritePro/commands/wp-insert-document-body.md), and [WP Insert break](../WritePro/commands/wp-insert-break.md), are now functions that return ranges. - New expressions related to document attributes: [This.sectionIndex](../WritePro/managing-formulas.md), [This.sectionName](../WritePro/managing-formulas.md) and [This.pageIndex](../WritePro/managing-formulas.md). -- Langage 4D : +- Langage 4D: - Modified commands: [`FORM EDIT`](../commands/form-edit.md) - [`.sign()`](../API/CryptoKeyClass.md#sign) and [`.verify()`](../API/CryptoKeyClass.md#verify) functions of the [4D.CryptoKey class](../API/CryptoKeyClass.md) support Blob in the *message* parameter. - [**Liste des bugs corrigés**](https://bugs.4d.fr/fixedbugslist?version=20_R8) : liste de tous les bugs qui ont été corrigés dans 4D 20 R8. @@ -43,12 +43,12 @@ Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7 - Vous pouvez désormais [ajouter et supprimer des composants à l'aide de l'interface du Gestionnaire de composants](../Project/components.md#monitoring-project-dependencies). - Nouveau [**mode de typage direct**](../Project/compiler.md#enabling-direct-typing) dans lequel vous déclarez toutes les variables et paramètres dans votre code en utilisant les mots-clés `var` et `#DECLARE`/`Function` (seul mode supporté dans les nouveaux projets). La [fonctionnalité de vérification de syntaxe](../Project/compiler.md#check-syntax) a été adaptée en conséquence. - Prise en charge des [singletons de session](../Concepts/classes.md#singleton-classes) et nouvelle propriété de classe [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton). -- Nouveau [mot-clé de fonction `onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) pour définir des fonctions singleton ou ORDA qui peuvent être appelées par des [requêtes HTTP REST GET](../REST/ClassFunctions.md#function-calls). +- New [`onHTTPGet` function keyword](../ORDA/ordaClasses.md#onhttpget-keyword) to define singleton or ORDA functions that can be called through [HTTP REST GET requests](../REST/ClassFunctions.md#function-calls). - Nouvelle classe [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) pour que le serveur REST retourne n'importe quel contenu web. - Qodly Studio : Vous pouvez maintenant [attacher le débogueur Qodly à 4D Server](../WebServer/qodly-studio.md#using-qodly-debugger-on-4d-server). - Nouvelles clés Build Application pour que les applications 4D distantes valident les [signatures](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateAuthoritiesCertificates.300-7425900.fe.html) et/ou les [domaines](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.fe.html) des autorités de certification des serveurs. - Possibilité de [construire des applications autonomes sans licences intégrées](../Desktop/building.md#licenses). -- Langage 4D : +- Langage 4D: - Nouvelles commandes : [Process info](../commands/process-info.md), [Session info](../commands/session-info.md), [SET WINDOW DOCUMENT ICON](../commands/set-window-document-icon.md) - Commandes modifiées : [Process activity](../commands/process-activity.md), [Process number](../commands/process-number.md) - 4D Write Pro : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/REST/$entityset.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/REST/$entityset.md index c4e658e90aa14c..74cf649d88d2c0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/REST/$entityset.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/REST/$entityset.md @@ -50,7 +50,7 @@ Voici les opérateurs logiques : | Opérateur | Description | | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | AND | Retourne les entités communes aux deux entity sets | -| OR | Retourne les entités contenues dans les deux entity sets | +| OU | Retourne les entités contenues dans les deux entity sets | | EXCEPT | Retourne les entités de l'entity set #1 moins celles de l'entity set #2 | | INTERSECT | Retourne true ou false s'il existe une intersection des entités dans les deux entity sets (ce qui signifie qu'au moins une entité est commune aux deux entity sets) | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/WebServer/qodly-studio.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/WebServer/qodly-studio.md index 089f9f1b308351..80858a91e349e3 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/WebServer/qodly-studio.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/WebServer/qodly-studio.md @@ -138,8 +138,7 @@ Il n'y a pas de compatibilité directe entre les applications implémentées ave | Débogueur | 4D IDE debugger
    *4D Server only*: Qodly Studio debugger (see [this paragraph](#using-qodly-debugger-on-4d-server)) | Débogueur Qodly Studio | | Rôles et privilèges REST/Web | Edition directe roles.json / Éditeur de rôles et privilèges de Qodly Studio | Éditeur de rôles et privilèges de Qodly Studio | -Note that in 4D single-user, if you open some 4D code with the Qodly Studio code editor, syntax coloring is not available and a "Lsp not loaded" warning is displayed. (1) The **Model** item is disabled in Qodly Studio.
    -(2) In 4D Server, opening 4D code with the Qodly Studio code editor is supported **for testing and debugging purposes** (see [this paragraph](#development-and-deployment)). +Note that in 4D single-user, if you open some 4D code with the Qodly Studio code editor, syntax coloring is not available and a "Lsp not loaded" warning is displayed. Notez que dans 4D monoposte, si vous ouvrez du code 4D avec l'éditeur de code de Qodly Studio, la coloration syntaxique n'est pas disponible et un avertissement "Lsp not loaded" est affiché. ### Langage diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/WebServer/webServerConfig.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/WebServer/webServerConfig.md index dbc396bea42703..f21215a50097fb 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/WebServer/webServerConfig.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/WebServer/webServerConfig.md @@ -626,7 +626,7 @@ Dans certains cas, d'autres fonctions internes optimisées peuvent être appelé Deux options permettent de définir le mode de fonctionnement des connexions persistantes : -- **Nombre de demandes par connexion** : Permet de définir le nombre maximal de requêtes et de réponses capables d'être transmises sur une connexion persistante. Limiter le nombre de demandes par connexion permet d'éviter le server flooding, provoqué par un trop grand nombre de requêtes entrantes (technique utilisée par les pirates informatiques).

    +- **Nombre de requêtes par connexion** : Permet de définir le nombre maximal de requêtes et de réponses capables d'être transmises lors d'une connexion persistante. Limiter le nombre de demandes par connexion permet d'éviter le server flooding, provoqué par un trop grand nombre de requêtes entrantes (technique utilisée par les pirates informatiques).

    La valeur par défaut (100) peut être augmentée ou diminuée en fonction des ressources de la machine hébergeant le Serveur Web 4D.

    - **Délai avant déconnexion** : Cette valeur définit l'attente maximale (en secondes) pour le maintien d'une connexion TCP sans réception d'une requête de la part du navigateur web. Une fois cette période terminée, le serveur ferme la connexion.

    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/code-editor/write-class-method.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/code-editor/write-class-method.md index 1dec914a77eeee..df6fd1e830a5d8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/code-editor/write-class-method.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/code-editor/write-class-method.md @@ -802,7 +802,7 @@ La balise `` permet de générer et d'utiliser des macro-commandes qui e Le code d'une méthode appelée est exécuté dans un nouveau process. Ce process est tué une fois la méthode exécutée. -> Le process de structure reste figé jusqu'à ce que l'exécution de la méthode appelée soit terminée. Vous devez vous assurer que l'exécution est rapide et qu'il n'y a aucun risque qu'elle bloque l'application. If this occurs, use the **Ctrl+F8** (Windows) or **Command+F8** (macOS) command to "kill" the process. +> Le process de structure reste figé jusqu'à ce que l'exécution de la méthode appelée soit terminée. Vous devez vous assurer que l'exécution est rapide et qu'il n'y a aucun risque qu'elle bloque l'application. Si cela se produit, utilisez la commande **Ctrl+F8** (Windows) ou **Command+F8** (macOS) pour "tuer" le process. ### Appeler des macros @@ -834,7 +834,7 @@ La prise en charge des macros peut changer d'une version de 4D à l'autre. Afin #### Variables de sélection de texte pour les méthodes -Il est recommandé de gérer les sélections de texte à l'aide des commandes [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) et [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) . Ces commandes peuvent être utilisées pour surmonter le cloisonnement des espaces d'exécution du projet hôte/composant et ainsi permettre la création de composants dédiés à la gestion des macros. Afin d'activer ce mode pour une macro, vous devez déclarer l'attribut Version avec la valeur 2 dans l'élément Macro. In this case, 4D no longer manages the predefined variables _textSel,_textReplace, etc. and the [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) and [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) commands are used. Cet attribut doit être déclaré comme suit : +Il est recommandé de gérer les sélections de texte à l'aide des commandes [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) et [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) . Ces commandes peuvent être utilisées pour surmonter le cloisonnement des espaces d'exécution du projet hôte/composant et ainsi permettre la création de composants dédiés à la gestion des macros. Afin d'activer ce mode pour une macro, vous devez déclarer l'attribut Version avec la valeur 2 dans l'élément Macro. Dans ce cas, 4D ne gère plus les variables prédéfinies _textSel, _textReplace, etc. et les commandes [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) et [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) sont utilisées. Cet attribut doit être déclaré comme suit : ``
    `--- Text of the macro ---`
    `
    ` diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md index f9f4c227b13e20..372b9332a1f5a2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ Pour les besoins de votre interface, vous souhaitez entourer d'un rectangle roug Dans la méthode objet de la list box, vous écrivez : ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //initialiser un rectangle rouge + OBJECT SET VISIBLE(*;"RedRect";False) //initialiser un rectangle rouge  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md index af089c4f6f721f..50c0beec06a4a9 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Description -**Printing page** retourne le numéro de la page en cours d'impression. Cette fonction vous permet de numéroter automatiquement les pages d'une impression en cours à l'aide de [PRINT SELECTION](print-selection.md) ou du menu Impression dans le mode Développement. +**Printing page** retourne le numéro de la page en cours d'impression. Cette fonction vous permet de numéroter automatiquement les pages d'une impression en cours. ## Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/ds.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/ds.md index 435f8a47e295bb..b3ea0a66e21aed 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/ds.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/ds.md @@ -19,9 +19,9 @@ displayed_sidebar: docs La commande `ds` retourne une référence vers le datastore correspondant à la base de données 4D courante ou à la base de données désignée par *localID*. -Si vous omettez le paramètre *localID* (ou si vous passez une chaîne vide ""), la commande renvoie une référence au datastore correspondant à la base de données 4D locale (ou à la base 4D Server en cas d'ouverture d'une base de données distante sur 4D Ser Le datastore est ouvert automatiquement et est disponible directement via `ds`. Le datastore est ouvert automatiquement et est disponible directement via `ds`. +Si vous omettez le paramètre *localID* (ou si vous passez une chaîne vide ""), la commande renvoie une référence au datastore correspondant à la base de données 4D locale (ou à la base 4D Server en cas d'ouverture d'une base de données distante sur 4D Server). Le datastore est ouvert automatiquement et est disponible directement via `ds`. -Vous pouvez également obtenir une référence sur un datastore distant ouvert en passant son identifiant local dans le paramètre *localID*. Vous pouvez également obtenir une référence sur un datastore distant ouvert en passant son identifiant local dans le paramètre *localID*. L'identifiant local est défini lors de l'utilisation de cette commande. +Vous pouvez également obtenir une référence sur un datastore distant ouvert en passant son identifiant local dans le paramètre *localID*. Le datastore doit avoir été préalablement ouvert avec la commande [`Open datastore`](open-datastore.md) par la base de données courante (hôte ou composant). L'identifiant local est défini lors de l'utilisation de cette commande. > La portée de l'identifiant local est la base de données dans laquelle le datastore a été ouvert. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/open-datastore.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/open-datastore.md index 7ecbc534c0b324..eeb50262f02561 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/open-datastore.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/open-datastore.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## Description -The `Open datastore` command connects the application to the remote datastore identified by the *connectionInfo* parameter and returns a matching `4D.DataStoreImplementation` object associated with the *localID* local alias. +La commande `Open datastore` connecte l'application au datastore distant identifié par le paramètre *connectionInfo* et renvoie un objet `4D.DataStoreImplementation` correspondant associé à l'alias local *localID*. Les datastores distants suivants sont pris en charge par la commande : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/pop3-new-transporter.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/pop3-new-transporter.md index 482a210e7dcae0..de172d95455182 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/pop3-new-transporter.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/pop3-new-transporter.md @@ -25,21 +25,21 @@ displayed_sidebar: docs ## Description -La commande `POP3 New transporter` configure une nouvelle connexion POP3en fonction du paramètre *server* et retourne un nouvel objet [POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object). L'objet transporteur retourné sera alors utilisé pour la réception d'emails. +La commande `POP3 New transporter` configure une nouvelle connexion POP3 en fonction du paramètre *server* et retourne un nouvel objet [POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object). L'objet transporteur retourné sera alors utilisé pour la réception d'emails. Dans le paramètre *server*, passez un objet contenant les propriétés suivantes : -| *server* | Valeur par défaut (si omise) | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| [](../API/POP3TransporterClass.md#acceptunsecureconnection)
    | False | -| .**accessTokenOAuth2** : Text
    .**accessTokenOAuth2** : Object
    Chaîne ou objet token représentant les informations d'autorisation OAuth2. Utilisé uniquement avec OAUTH2 `authenticationMode`. Si `accessTokenOAuth2` est utilisé mais que `authenticationMode` est omis, le protocole OAuth 2 est utilisé (si le serveur l'autorise). Not returned in *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)* object. | aucun | -| [](../API/POP3TransporterClass.md#authenticationmode)
    | le mode d'authentification le plus sûr pris en charge par le serveur est utilisé | -| [](../API/POP3TransporterClass.md#connectiontimeout)
    | 30 | -| [](../API/POP3TransporterClass.md#host)
    | *obligatoire* | -| [](../API/POP3TransporterClass.md#logfile)
    | aucun | -| **password** : Text
    Mot de passe utilisateur pour l'authentification sur le serveur. Not returned in *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)* object. | aucun | -| [](../API/POP3TransporterClass.md#port)
    | 995 | -| [](../API/POP3TransporterClass.md#user)
    | aucun | +| *server* | Valeur par défaut (si omise) | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| [](../API/POP3TransporterClass.md#acceptunsecureconnection)
    | False | +| .**accessTokenOAuth2** : Text
    .**accessTokenOAuth2** : Object
    Chaîne ou objet token représentant les informations d'autorisation OAuth2. Utilisé uniquement avec OAUTH2 `authenticationMode`. Si `accessTokenOAuth2` est utilisé mais que `authenticationMode` est omis, le protocole OAuth 2 est utilisé (si le serveur l'autorise). Non renvoyé dans l'objet *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)*. | aucun | +| [](../API/POP3TransporterClass.md#authenticationmode)
    | le mode d'authentification le plus sûr pris en charge par le serveur est utilisé | +| [](../API/POP3TransporterClass.md#connectiontimeout)
    | 30 | +| [](../API/POP3TransporterClass.md#host)
    | *obligatoire* | +| [](../API/POP3TransporterClass.md#logfile)
    | aucun | +| **password** : Text
    Mot de passe utilisateur pour l'authentification sur le serveur. Non renvoyé dans l'objet *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)*. | aucun | +| [](../API/POP3TransporterClass.md#port)
    | 995 | +| [](../API/POP3TransporterClass.md#user)
    | aucun | ## Résultat diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md index 7418f07dd3cad7..8e4b4910b6ac60 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md @@ -8,32 +8,32 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ------------ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| aTable | Table | → | Table owning the form, or Default table, if omitted | -| form | Text, Object | → | Name (string) of the form, or a POSIX path (string) to a .json file describing the form, or an object describing the form to print | -| formData | Object | → | Données à associer au formulaire | -| areaStart | Integer | → | Print marker, or Beginning area (if areaEnd is specified) | -| areaEnd | Integer | → | Ending area (if areaStart specified) | -| Résultat | Integer | ← | Height of printed section | +| Paramètres | Type | | Description | +| ---------- | ------------ | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| aTable | Table | → | Table du formulaire, ou table par défaut si omis | +| form | Text, Object | → | Nom (chaîne) du formulaire, ou chemin POSIX (chaîne) vers un fichier .json décrivant le formulaire, ou objet décrivant le formulaire à imprimer | +| formData | Object | → | Données à associer au formulaire | +| areaStart | Integer | → | Marqueur d'impression ou zone de démarrage (si areaEnd est spécifié) | +| areaEnd | Integer | → | Zone de fin (si areaStart est spécifié) | +| Résultat | Integer | ← | Hauteur de la section imprimée | ## Description -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*.La commande **Print form** imprime simplement *form* avec les valeurs courantes des champs et des variables de la table *aTable*. Elle est généralement utilisée pour imprimer des états très complexes qui nécessitent un contrôle complet du processus d'impression. **Print form** ne gère pas les traitements d'enregistrements, ni les ruptures, sauts de pages, en-têtes ou pieds de pages. Vous devez vous-même prendre en charge ces opérations. **Print form** imprime uniquement des champs et des variables avec une taille fixe, la commande ne gère pas les objets de taille variable. Dans le paramètre *form*, vous pouvez passer soit : - le nom d'un formulaire, -- the path (in POSIX syntax) to a valid .json file containing a description of the form to use (see *Form file path*), or +- le chemin d'accès (en syntaxe POSIX) d'un fichier .json valide contenant une description du formulaire à utiliser (voir *Chemin d'accès au fichier de formulaire*), ou - un objet contenant la description du formulaire à utiliser. -Since **Print form** does not issue a page break after printing the form, it is easy to combine different forms on the same page. Thus, **Print form** is perfect for complex printing tasks that involve different tables and different forms. To force a page break between forms, use the [PAGE BREAK](../commands-legacy/page-break.md) command. In order to carry printing over to the next page for a form whose height is greater than the available space, call the [CANCEL](../commands-legacy/cancel.md) command before the [PAGE BREAK](../commands-legacy/page-break.md) command. +Comme **Print form** ne génère pas de saut de page après avoir imprimé un formulaire, elle vous permet de combiner facilement différents formulaires sur la même page. Ainsi, **Print form** est idéale pour effectuer des impressions complexes impliquant plusieurs tables et plusieurs formulaires. Pour forcer un saut de page entre les formulaires, utilisez la commande [PAGE BREAK](../commands-legacy/page-break.md). Pour reporter l'impression à la page suivante d'un formulaire dont la hauteur est supérieure à l'espace disponible, appelez la commande [CANCEL](../commands-legacy/cancel.md) avant la commande [PAGE BREAK](../commands-legacy/page-break.md). -Three different syntaxes may be used: +Trois syntaxes différentes peuvent être utilisées : -- **Detail area printing** +- **Impression du corps d'un formulaire** Syntaxe : @@ -41,9 +41,9 @@ Syntaxe :  height:=Print form(myTable;myForm) ``` -In this case, **Print form** only prints the Detail area (the area between the Header line and the Detail line) of the form. +Dans ce cas, **Print form** n'imprime que la zone de corps du formulaire (la zone comprise entre les marqueur d'en-tête et de corps). -- **Form area printing** +- **Impression de zone de formulaire** Syntaxe : @@ -51,7 +51,7 @@ Syntaxe :  height:=Print form(myTable;myForm;marker) ``` -In this case, the command will print the section designated by the *marker*. Pass one of the constants of the *Form Area* theme in the marker parameter: +Dans ce cas, la commande imprime la section désignée par *marker*. Passez dans le paramètre *marker* une des constantes : | Constante | Type | Valeur | | ------------- | ------- | ------ | @@ -79,7 +79,7 @@ In this case, the command will print the section designated by the *marker*. Pas | Form header8 | Integer | 208 | | Form header9 | Integer | 209 | -- **Section printing** +- **Impression de section** Syntaxe : @@ -87,58 +87,58 @@ Syntaxe :  height:=Print form(myTable;myForm;areaStart;areaEnd) ``` -In this case, the command will print the section included between the *areaStart* and *areaEnd* parameters. The values entered must be expressed in pixels. +Dans ce cas, la commande imprime la section comprise entre les paramètres *areaStart* et *areaEnd*. Les valeurs saisies doivent être exprimées en pixels. **formData** -Optionnellement, vous pouvez passer des paramètres au formulaire *form* en utilisant soit l'objet *formData*, soit l'objet de classe de formulaire automatiquement instancié par 4D si vous avez [associé une classe utilisateur au formulaire](../FormEditor/properties_FormProperties.md#form-class). Toutes les propriétés de l'objet de données du formulaire seront alors disponibles dans le contexte du formulaire par le biais de la commande [Form](form.md). Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). +Optionnellement, vous pouvez passer des paramètres au formulaire *form* en utilisant soit l'objet *formData*, soit l'objet de classe de formulaire automatiquement instancié par 4D si vous avez [associé une classe utilisateur au formulaire](../FormEditor/properties_FormProperties.md#form-class). Toutes les propriétés de l'objet de données du formulaire seront alors disponibles dans le contexte du formulaire par le biais de la commande [Form](form.md). L'objet form data est disponible dans l'[événement formulaire `On Printing Detail`](../Events/onPrintingDetail.md). Pour des informations détaillées sur l'objet de données formulaire, veuillez vous référer à la commande [`DIALOG`](dialog.md). **Valeur retournée** -The value returned by **Print form** indicates the height of the printable area. This value will be automatically taken into account by the [Get printed height](../commands-legacy/get-printed-height.md) command. +La valeur retournée par **Print form** indique la hauteur de la zone d’impression. Cette valeur sera automatiquement prise en compte par la commande [Get printed height](../commands-legacy/get-printed-height.md). -The printer dialog boxes do not appear when you use **Print form**. The report does not use the print settings that were assigned to the form in the Design environment. There are two ways to specify the print settings before issuing a series of calls to **Print form**: +Les boîtes de dialogue standard d'impression n'apparaissent pas lorsque vous utilisez la commande **Print form**. L'état généré ne tient pas compte des paramètres d'impression définis en mode Développement pour le formulaire. Il y a deux manières de définir les paramètres d'impression avant d'effectuer une série d'appels à **Print form** : -- Call [PRINT SETTINGS](../commands-legacy/print-settings.md). In this case, you let the user choose the settings. -- Call [SET PRINT OPTION](../commands-legacy/set-print-option.md) and [GET PRINT OPTION](../commands-legacy/get-print-option.md). In this case, print settings are specified programmatically. +- Appeler [PRINT SETTINGS](../commands-legacy/print-settings.md). Dans ce cas, vous laissez l'utilisateur définir ses paramètres dans les boîtes de dialogue d'impression. +- Appeler [SET PRINT OPTION](../commands-legacy/set-print-option.md) et [GET PRINT OPTION](../commands-legacy/get-print-option.md). Dans ce cas, les paramètres sont définis par programmation. -**Print form** builds each printed page in memory. Each page is printed when the page in memory is full or when you call [PAGE BREAK](../commands-legacy/page-break.md). To ensure the printing of the last page after any use of **Print form**, you must conclude with the [PAGE BREAK](../commands-legacy/page-break.md) command (except in the context of an [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), see note). Otherwise, if the last page is not full, it stays in memory and is not printed. +**Print form** construit chaque page à imprimer en mémoire. Chaque page est imprimée lorsque la page en mémoire est remplie ou lorsque vous appelez [PAGE BREAK](../commands-legacy/page-break.md). Pour vous assurer que la dernière page d'une impression exécutée par l'intermédiaire de **Print form** est effectivement imprimée, il faut terminer par la commande [PAGE BREAK](../commands-legacy/page-break.md) (sauf dans le cadre d'un [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), voir note). Sinon, la dernière page, si elle n'est pas remplie, reste en mémoire et n'est pas imprimée. -**Warning:** If the command is called in the context of a printing job opened with [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), you must NOT call [PAGE BREAK](../commands-legacy/page-break.md) for the last page because it is automatically printed by the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command. If you call [PAGE BREAK](../commands-legacy/page-break.md) in this case, a blank page is printed. +**Attention :** Si la commande est appelée dans le contexte d'une tâche d'impression ouverte avec [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), vous ne devez PAS appeler [PAGE BREAK](../commands-legacy/page-break.md) pour la dernière page car celle-ci est automatiquement imprimée par la commande [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md). Si vous appelez [PAGE BREAK](../commands-legacy/page-break.md) dans ce cas, une page vide est imprimée. -This command prints external areas and objects (for example, 4D Write or 4D View areas). The area is reset for each execution of the command. +Cette commande permet d'imprimer des zones et des objets externes (par exemple, les zones 4D Write Pro ou 4D View Pro). La zone est réinitialisée à chaque exécution de la commande. -**Warning:** Subforms are not printed with **Print form**. To print only one form with such objects, use [PRINT RECORD](../commands-legacy/print-record.md) instead. +**Attention :** **Print form** n'imprime pas les sous-formulaires. Si vous voulez imprimer uniquement un formulaire comportant de tels objets, utilisez plutôt [PRINT RECORD](../commands-legacy/print-record.md). -**Print form** generates only one [`On Printing Detail` event](../Events/onPrintingDetail.md) for the form method. +**Print form** ne génère qu'un seul événement [`On Printing Detail`](../Events/onPrintingDetail.md) pour la méthode formulaire. -**4D Server:** This command can be executed on 4D Server within the framework of a stored procedure. In this context: +**4D Server:** Cette commande peut être exécutée sur 4D Server dans le cadre d'une procédure stockée. Dans ce contexte : -- Make sure that no dialog box appears on the server machine (except for a specific requirement). -- In the case of a problem concerning the printer (out of paper, printer disconnected, etc.), no error message is generated. +- Veillez à ce qu'aucune boîte de dialogue n'apparaisse sur la machine serveur (sauf exigence particulière). +- Dans le cas d'un problème concernant l'imprimante (manque de papier, imprimante déconnectée, etc.), aucun message d'erreur n'est généré. ## Exemple 1 -The following example performs as a [PRINT SELECTION](../commands-legacy/print-selection.md) command would. However, the report uses one of two different forms, depending on whether the record is for a check or a deposit: +L'exemple suivant effectue la même chose que ce que ferait la commande [PRINT SELECTION](../commands-legacy/print-selection.md). Cependant, l'état utilise deux formulaires différents suivant le type d'enregistrement (chèque émis ou dépôt) : ```4d - QUERY([Register]) // Select the records + QUERY([Register]) // sélectionner les enregistrements  If(OK=1) -    ORDER BY([Register]) // Sort the records +    ORDER BY([Register]) // trier les enregistrements     If(OK=1) -       PRINT SETTINGS // Display Printing dialog boxes +       PRINT SETTINGS // Afficher les boîtes de dialogue d'impression        If(OK=1)           For($vlRecord;1;Records in selection([Register]))              If([Register]Type ="Check") -                Print form([Register];"Check Out") // Use one form for checks +                Print form([Register];"Check Out") // formulaire de chèque              Else -                Print form([Register];"Deposit Out") // Use another form for deposits +                Print form([Register];"Deposit Out") // formulaire de dépôt              End if              NEXT RECORD([Register])           End for -          PAGE BREAK // Make sure the last page is printed +          PAGE BREAK // S'assurer que la dernière page est imprimée        End if     End if  End if @@ -146,15 +146,15 @@ The following example performs as a [PRINT SELECTION](../commands-legacy/print-s ## Exemple 2 -Refer to the example of the [SET PRINT MARKER](../commands-legacy/set-print-marker.md) command. +Voir l'exemple de la commande [SET PRINT MARKER](../commands-legacy/set-print-marker.md). ## Exemple 3 -This form is used as dialog, then printed with modifications: +Ce formulaire est utilisé comme dialogue, puis imprimé avec des modifications : ![](../assets/en/commands/pict6264975.en.png) -The form method: +La méthode formulaire : ```4d  If(Form event code=On Printing Detail) @@ -164,7 +164,7 @@ The form method:  End if ``` -The code that calls the dialog then prints its body: +Le code qui appelle la boîte de dialogue imprime ensuite le corps : ```4d  $formData:=New object diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/process-info.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/process-info.md index 7cd320449a6062..beaa5cb365a0b5 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/process-info.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/process-info.md @@ -8,10 +8,10 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ------------- | ------- | :-------------------------: | ----------------------------- | -| processNumber | Integer | → | Process number | -| Résultat | Object | ← | Informations sur le processus | +| Paramètres | Type | | Description | +| ------------- | ------- | :-------------------------: | --------------------------- | +| processNumber | Integer | → | Process number | +| Résultat | Object | ← | Informations sur le process | @@ -25,26 +25,26 @@ displayed_sidebar: docs ## Description -The `Process info` command returns an object providing detailed information about process whose number you pass in *processNumber*. If you pass an incorrect process number, the command returns a null object. +La commande `Process info` renvoie un objet fournissant des informations détaillées sur le process dont le numéro est passé dans *processNumber*. Si vous passez un numéro de process incorrect, la commande renvoie un objet null. L'objet retourné contient les propriétés suivantes : -| Propriété | Type | Description | -| ---------------- | --------------------------------------- | -------------------------------------------------------------------------------- | -| cpuTime | Real | Running time (seconds) | -| cpuUsage | Real | Percentage of time devoted to this process (between 0 and 1) | -| creationDateTime | Text (Date ISO 8601) | Date and time of process creation | -| ID | Integer | Process unique ID | -| name | Text | Nom du process | -| number | Integer | Process number | -| préemptif | Boolean | True if run preemptive, false otherwise | -| sessionID | Text | UUID de la session | -| state | Integer | Current status. Possible values: see below | -| systemID | Text | ID for the user process, 4D process or spare process | -| type | Integer | Running process type. Possible values: see below | -| visible | Boolean | True if visible, false otherwise | - -- Possible values for "state": +| Propriété | Type | Description | +| ---------------- | --------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| cpuTime | Real | Durée d'exécution (secondes) | +| cpuUsage | Real | Pourcentage de temps consacré à ce process (entre 0 et 1) | +| creationDateTime | Text (Date ISO 8601) | Date et heure de création du process | +| ID | Integer | ID unique du process | +| name | Text | Nom du process | +| number | Integer | Process number | +| préemptif | Boolean | Vrai si l'exécution est préemptive, faux sinon | +| sessionID | Text | UUID de la session | +| state | Integer | Statut courant. Valeurs possibles : voir ci-dessous | +| systemID | Text | ID du process utilisateur, 4D ou de réserve | +| type | Integer | Type de process en cours d'exécution. Valeurs possibles : voir ci-dessous | +| visible | Boolean | Vrai si visible, faux sinon | + +- Valeurs possibles pour "state" : | Constante | Valeur | | ------------------------- | ------ | @@ -57,7 +57,7 @@ L'objet retourné contient les propriétés suivantes : | Waiting for internal flag | 4 | | Paused | 5 | -- Possible values for "type": +- Valeurs possibles pour "type" : | Constante | Valeur | | ----------------------------- | ------ | @@ -118,11 +118,11 @@ L'objet retourné contient les propriétés suivantes : :::note -4D's internal processes have a negative type value and processes generated by the user have a positive value. Worker processes launched by user have type 5. +Les process internes de 4D ont une valeur de type négative et les process générés par l'utilisateur ont une valeur positive. Les process worker lancés par l'utilisateur sont de type 5. ::: -Voici un exemple d'objet de sortie : +Voici un exemple d'objet retourné : ```json @@ -145,7 +145,7 @@ Voici un exemple d'objet de sortie : ## Exemple -Vous voulez savoir si le processus est préventif : +Vous voulez savoir si le process est préemptif : ```4d diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md index b4845c02ec8975..84ed99f177bcd0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md @@ -9,30 +9,30 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | --------- | --------------------------- | -------------------------------------------------------- | -| name | Text | → | Name of process for which to retrieve the process number | -| id | Text | → | ID of process for which to retrieve the process number | -| \* | Opérateur | → | Return the process number from the server | -| Résultat | Integer | ← | Process number | +| Paramètres | Type | | Description | +| ---------- | --------- | --------------------------- | ----------------------------------------------- | +| name | Text | → | Nom du process duquel obtenir le numéro | +| id | Text | → | ID du process duquel récupérer le numéro | +| \* | Opérateur | → | Renvoyer le numéro du process depuis le serveur | +| Résultat | Integer | ← | Process number |

    Historique -| Release | Modifications | -| ------- | ----------------------- | -| 20 R7 | Support of id parameter | +| Release | Modifications | +| ------- | ------------------------------- | +| 20 R7 | Prise en charge du paramètre id |
    ## Description -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter. If no process is found, `Process number` returns 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameterLa commande `Process number` renvoie le numéro du process dont le nom *name* ou l'*id* est passé en premier paramètre. Si aucun process n'est trouvé, `Process number` renvoie 0. -The optional parameter \* allows you to retrieve, from a remote 4D, the number of a process that is executed on the server. In this case, the returned value is negative. This option is especially useful when using the [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) and [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md) commands. +Le paramètre optionnel \* permet de récupérer, à partir d'un 4D distant, le numéro d'un process exécuté sur le serveur. Dans ce cas, la valeur retournée est négative. Cette option est particulièrement utile lors de l'utilisation des commandes [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) et [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md). -If the command is executed with the \* parameter from a process on the server machine, the returned value is positive. +Si la commande est exécutée avec le paramètre \* à partir d'un process sur la machine serveur, la valeur renvoyée est positive. ## Voir également diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/session-info.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/session-info.md index 790e34844c475b..b94bd9a45589d2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/session-info.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/session-info.md @@ -49,7 +49,7 @@ Cette commande renvoie la propriété [`.info`](../API/SessionClass.md#info) de ::: -Voici un exemple d'objet de sortie : +Voici un exemple d'objet retourné : ```json diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/session.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/session.md index 4d4b18093f7421..e6e0b844d3486f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/session.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/session.md @@ -33,7 +33,7 @@ Selon le process à partir duquel la commande est appelée, la session utilisate - une session web (lorsque les [sessions évolutives sont activées](WebServer/sessions.md#enabling-web-sessions)), - une session de client distant, - la session des procédures stockées, -- the *designer* session in a standalone application. +- la session *designer* dans une application autonome. Pour plus d'informations, voir le paragraphe [Types de session](../API/SessionClass.md#session-types). @@ -70,9 +70,9 @@ Tous les process des procédures stockées partagent la même session d'utilisat Pour des informations sur la session d'utilisateur virtuel des procédures stockées, veuillez vous référer à la page [4D Server et langage 4D](https://doc.4d.com/4Dv20/4D/20/4D-Server-and-the-4D-Language.300-6330554.en.html). -## Standalone session +## Session autonome -The `Session` object is available from any process in standalone (single-user) applications so that you can write and test your client/server code using the `Session` object in your 4D development environment. +L'objet `Session` est disponible à partir de n'importe quel process dans les applications autonomes (mono-utilisateur) afin que vous puissiez écrire et tester votre code client/serveur en utilisant l'objet `Session` dans votre environnement de développement 4D. ## Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/set-allowed-methods.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/set-allowed-methods.md index 4fe05d6e19e113..34ea3ae747b594 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/set-allowed-methods.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/set-allowed-methods.md @@ -9,9 +9,9 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ------------ | ---------- | --------------------------- | --------------------- | -| methodsArray | Text array | → | Array of method names | +| Paramètres | Type | | Description | +| ------------ | ---------- | --------------------------- | --------------------------- | +| methodsArray | Text array | → | Tableau de noms de méthodes | @@ -19,32 +19,32 @@ displayed_sidebar: docs The **SET ALLOWED METHODS** command designates the project methods that can be entered via the application. -4D includes a security mechanism that filters enterable project methods from the following contexts: +4D inclut un mécanisme de sécurité filtrant les méthodes projet saisissables depuis les contextes suivants : -- The formula editor - allowed methods appear at the end of the list of default commands and can be used in formulas (see section *Description of formula editor*). -- The label editor - the allowed methods are listed in the **Apply** menu if they are also shared with the component (see section *Description of label editor*). -- Formulas inserted in styled text areas or 4D Write Pro documents through the [ST INSERT EXPRESSION](../commands-legacy/st-insert-expression.md) command - disallowed methods are automatically rejected. -- 4D View Pro documents - by default, if the [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md) command has never been called during the session, 4D View Pro formulas only accept methods defined by **SET ALLOWED METHODS**. However, using [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md) is recommended. See [Declaring allowed method](../ViewPro/formulas.md#declaring-allowed-methods). +- L'éditeur de formules - les méthodes autorisées apparaissent à la fin de la liste des commandes par défaut et peuvent être utilisées dans les formules (voir la section *Description de l'éditeur de formules*). +- L'éditeur d'étiquettes - les méthodes autorisées sont listées dans le menu **Appliquer** si elles sont également partagées avec le composant (voir la section *Description de l'éditeur d'étiquettes*). +- Les formules insérées dans des zones de texte stylées ou dans des documents 4D Write Pro par la commande [ST INSERT EXPRESSION](../commands-legacy/st-insert-expression.md) - les méthodes non autorisées sont automatiquement rejetées. +- Les documents 4D View Pro - par défaut, si la commande [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md) n'a jamais été appelée au cours de la session, les formules 4D View Pro n'acceptent que les méthodes définies par **SET ALLOWED METHODS**. Cependant, il est recommandé d'utiliser [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md). Voir [Déclarer une méthode autorisée](../ViewPro/formulas.md#declaring-allowed-methods). -By default, if you do not use the **SET ALLOWED METHODS** command, no method is enterable (using an unauthorized method in an expression causes an error). +Par défaut, si vous n'utilisez pas la commande **SET ALLOWED METHODS**, aucune méthode n'est appelable (l'utilisation d'une méthode non autorisée dans une expression provoque une erreur). -In the *methodsArray* parameter, pass the name of an array containing the list of methods to allow. The array must have been set previously. +Dans le paramètre *methodsArray*, passez le nom d'un tableau contenant la liste des méthodes à autoriser. Le tableau doit avoir été défini précédemment. -You can use the wildcard character (@) in method names to define one or more authorized method groups. +Vous pouvez utiliser le caractère "joker" (@) dans les noms des méthodes pour définir un ou plusieurs groupe(s) de méthodes autorisées. -If you would like the user to be able to call 4D commands that are unauthorized by default or plug-in commands, you must use specific methods that handle these commands. +Si vous souhaitez que l'utilisateur puisse appeler des commandes 4D non autorisées par défaut ou des commandes de plug-in, vous devez utiliser des méthodes spécifiques chargées d’exécuter ces commandes. -**Note:** Formula filtering access can be disabled for all users or for the Designer and Administrator via [an option on the "Security" page of the Settings](../settings/security.md#options). If the "Disabled for all" option is checked, the **SET ALLOWED METHODS** command will have no effect. +**Note :** Le filtrage des commandes et méthodes peut être désactivé pour tous les utilisateurs ou pour le Super_Utilisateur et l'Administrateur via [une option sur la page "Sécurité" des Paramètres](../settings/security.md#options). Si l'option "Désactivé pour tous" est sélectionnée, la commande **SET ALLOWED METHODS** n'aura aucun effet. :::warning -This command only filters the **input** of methods, not their **execution**. It does not control the execution of formulas created outside the application. +Cette commande ne filtre que la **saisie** des méthodes, pas leur **exécution**. Elle ne contrôle pas l'exécution des formules créées en dehors de l'application. ::: ## Exemple -This example authorizes all methods starting with “formula” and the “Total\_general” method to be entered by the user in protected contexts: +Cet exemple autorise la saisie de toutes les méthodes commençant par "formula" et de la méthode "Total_general" par l'utilisateur dans des contextes protégés : ```4d  ARRAY TEXT(methodsArray;2) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/set-window-document-icon.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/set-window-document-icon.md index f895f7c478ee26..8682495bf5e82e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/set-window-document-icon.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/set-window-document-icon.md @@ -26,49 +26,49 @@ displayed_sidebar: docs ## Description -The `SET WINDOW DOCUMENT ICON` command allows you to define an icon for windows in multi-window applications using either an *image* and/or *file* with the window reference *winRef*. The icon will be visible within the window itself and on the windows taskbar to help users identify and navigate different windows. +La commande `SET WINDOW DOCUMENT ICON` vous permet de définir une icône pour les fenêtres dans les applications multi-fenêtres en utilisant une *image* et/ou un *file* avec la référence de la fenêtre *winRef*. L'icône sera visible dans la fenêtre elle-même et dans la barre des tâches pour aider les utilisateurs à identifier les différentes fenêtres et à naviguer parmi elles. -In the case of an MDI application on Windows, you can pass `-1` in *winRef* to set the icon of the main window. In other contexts (macOS or [SDI application](../Menus/sdi.md) on Windows), using -1 does nothing. +Dans le cas d'une application MDI sous Windows, vous pouvez passer `-1` dans *winRef* pour définir l'icône de la fenêtre principale. Dans d'autres contextes (macOS ou [application SDI](../Menus/sdi.md) sous Windows), passer -1 ne fait rien. -- If only *file* is passed, the window uses the icon corresponding to the file type and the file’s path is displayed in the window’s menu. -- If only *image* is passed, 4D does not show the path and the passed image is used for the window icon. -- If both *file* and *image* are passed, the file’s path is displayed in the window’s menu and the passed image is used for the window icon. -- If only *winRef* is passed or *image* is empty, the icon is removed on macOS and the default icon is displayed on Windows (application icon). +- Si seul *file* est passé, la fenêtre utilise l'icône correspondant au type de fichier et le chemin d'accès du fichier est affiché dans le menu de la fenêtre. +- Si seul *image* est passé, 4D n'affiche pas le chemin et l'image passée est utilisée pour l'icône de la fenêtre. +- Si *file* et *image* sont tous les deux passés, le chemin d’accès du fichier est affiché dans le menu de la fenêtre et l’image passée est utilisée pour l’icône de la fenêtre. +- Si seul *winRef* est passé ou si *image* est vide, l'icône est supprimée sous macOS et l'icône par défaut est affichée sous Windows (icône de l'application). ## Exemple Dans cet exemple, nous voulons créer quatre fenêtres : -1. Utilisez l'icône de l'application sous Windows et aucune icône sur macOS (état par défaut quand aucune *image* ou *file* n'est utilisée). +1. Utiliser l'icône de l'application sous Windows et aucune icône sur macOS (état par défaut quand aucune *image* ou *file* n'est utilisée). 2. Utilisez une icône "user". 3. Associer un document à la fenêtre ( cela utilise l'icône du type de fichier correspondant). 4. Personnaliser l'icône associée au document. ```4d var $winRef : Integer - var $userImage : Picture + var $userImage : Image var $file : 4D.File - // 1- Open "Contact" form + // 1- Ouvrir le formulaire "Contact" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) SET WINDOW DOCUMENT ICON($winRef) DIALOG("Contact";*) - // 2- Open "Contact" form with "user" icon + // 2- Ouvrir le formulaire "Contact" avec l'icône "user" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) - BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent();$userImage) + BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent() ;$userImage) SET WINDOW DOCUMENT ICON($winRef;$userImage) DIALOG("Contact";*) - // 3- Open "Contact" form associated with the document "user" + // 3- Ouvrir le formulaire "Contact" associé au document "user" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) $file:=File("/RESOURCES/files/user.txt") SET WINDOW DOCUMENT ICON($winRef;$file) DIALOG("Contact";*) - // 4- Open "Contact" form associated with the document "user" with "user" icon + // 4- Ouvrir le formulaire "Contact" associé au document "user" avec l'icône "user" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) - BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent();$userImage) + BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent() ;$userImage) $file:=File("/RESOURCES/files/user.txt") SET WINDOW DOCUMENT ICON($winRef;$userImage;$file) DIALOG("Contact";*) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/smtp-new-transporter.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/smtp-new-transporter.md index 2cd12b438cccb2..090d1f384a107a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/smtp-new-transporter.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/smtp-new-transporter.md @@ -8,10 +8,10 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ---------------------------------- | --------------------------- | --------------------------------------------------------------------------------- | -| server | Object | → | Informations sur le serveur de messagerie | -| Résultat | 4D.SMTPTransporter | ← | [SMTP transporter object](../API/SMTPTransporterClass.md#smtp-transporter-object) | +| Paramètres | Type | | Description | +| ---------- | ---------------------------------- | --------------------------- | -------------------------------------------------------------------------------- | +| server | Object | → | Informations sur le serveur de messagerie | +| Résultat | 4D.SMTPTransporter | ← | [Objet SMTP transporter](../API/SMTPTransporterClass.md#smtp-transporter-object) | @@ -27,14 +27,14 @@ displayed_sidebar: docs ## Description -The `SMTP New transporter` command configures a new SMTP connection according to the *server* parameter and returns a new [SMTP transporter object](../API/SMTPTransporterClass.md#smtp-transporter-object) object. L'objet transporteur retourné sera alors utilisé pour l'envoi d'emails. +La commande `SMTP New transporter` configure une nouvelle connexion SMTP en fonction du paramètre *server* et renvoie un nouvel [objet SMTP transporter](../API/SMTPTransporterClass.md#smtp-transporter-object). L'objet transporteur retourné sera alors utilisé pour l'envoi d'emails. -> Cette commande n'ouvre pas de connexion au serveur SMTP. Cette commande n'ouvre pas de connexion au serveur SMTP. +> Cette commande n'ouvre pas de connexion au serveur SMTP. La connexion SMTP est réellement ouverte lorsque la fonction [`.send()`](../API/SMTPTransporterClass.md#send) est exécutée. > > La connexion SMTP est automatiquement fermée : > > - lorsque l'objet transporter est détruit si la propriété [`keepAlive`](../API/SMTPTransporterClass.md#keepalive) est à true (par défaut), -> - after each [`.send()`](../API/SMTPTransporterClass.md#send) function execution if the [`keepAlive`](../API/SMTPTransporterClass.md#keepalive) property is set to false. +> - après chaque exécution de la fonction [`send()`](../API/SMTPTransporterClass.md#send) si la propriété [`keepAlive`](../API/SMTPTransporterClass.md#keepalive) est false. Dans le paramètre *server*, passez un objet contenant les propriétés suivantes : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/super.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/super.md index f7764346147173..342a0efa6c0a1c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/super.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/super.md @@ -19,7 +19,7 @@ Le mot-clé `Super` permet les appels à la `Super` peut être utilisé de deux différentes manières : -1. A l'intérieur d'un [code constructeur](../Concepts/classes.md#classe-constructeur), `Super` est une commande qui permet d'appeler le constructeur de la superclasse. When used in a constructor, the `Super` command appears alone and must be used before the [`This`](this.md) keyword is used. +1. A l'intérieur d'un [code constructeur](../Concepts/classes.md#classe-constructeur), `Super` est une commande qui permet d'appeler le constructeur de la superclasse. Dans une fonction constructor, la commande `Super` est utilisée seule et doit être appelée avant que le mot-clé `This` soit utilisé. - Si tous les class constructors dans l'arbre des héritages ne sont pas appelés correctement, l'erreur -10748 et générée. Il est de la responsabilité du développeur 4D de s'assurer que tous les appels sont valides. - Si la commande `This` est appelée sur un objet dont les superclasses n'ont pas été construites, l'erreur -10743 est générée. @@ -32,7 +32,7 @@ Super($text1) //appel du constructeur de la superclasse avec un paramètre text This.param:=$text2 // utilisation d'un second param ``` -2. Inside a [class function](../Concepts/classes.md#function), `Super` designates the prototype of the [`superclass`](../API/ClassClass.md#superclass) and allows to call a function of the superclass hierarchy. +2. A l'intérieur d'une [fonction de classe](../Concepts/classes.md#function), `Super` désigne le prototype de la [`superclass`](../API/ClassClass.md#superclass) et permet d'appeler une fonction de la hiérarchie de la superclasse. ```4d Super.doSomething(42) //appelle la fonction "doSomething" @@ -67,11 +67,11 @@ Class extends Rectangle Class constructor ($side : Integer) - // It calls the parent class's constructor with lengths - // provided for the Rectangle's width and height + // Appelle le constructeur de la classe parente avec les dimensions + // fournies pour la largeur et la hauteur du Rectangle Super($side;$side) - // In derived classes, Super must be called - // before you can use 'This' + // Dans les classes dérivées, Super doit être appelé + // avant que vous puissiez utiliser 'This' This.name:="Square" Function getArea() : Integer @@ -111,7 +111,7 @@ $message:=$square.description() //I have 4 sides which are all equal ## Voir également -[**Concept page for Classes**](../Concepts/classes.md). +[**Page de Concept pour les Classes**](../Concepts/classes.md). ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/use-entity-selection.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/use-entity-selection.md index dce5ee9992876f..befd73468036e7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/use-entity-selection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/commands/use-entity-selection.md @@ -48,11 +48,11 @@ USE ENTITY SELECTION($entitySel) //La sélection courante de la table Employee e ## Propriétés -| | | -| ------------------------- | --------------------------- | -| Numéro de commande | 1513 | -| Thread safe | ✓ | -| Changes current record | | -| Changes current selection | | +| | | +| -------------------------------- | --------------------------- | +| Numéro de commande | 1513 | +| Thread safe | ✓ | +| Modifie l'enregistrement courant | | +| Modifie la sélection courante | | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md index 7fc583ae3f0781..c1387a89966093 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md @@ -20,9 +20,9 @@ La page Compatibilité regroupe les paramètres relatifs au maintien de la compa Même si ces fonctionnalités ne sont pas standard, vous pourriez vouloir continuer à les utiliser afin que votre code continue de fonctionner comme avant -- dans ce cas, il vous suffit de *désélectionner* l'option. Par contre, si votre code ne repose pas sur l'implémentation non standard et si vous voulez bénéficier des fonctionnalités XPath étendues dans vos bases de données (comme décrit dans la commande [`DOM Find XML element`](https://doc.4d.com/4dv20/help/command/fe/page864.html)), assurez-vous que l'option **Utiliser XPath standard** est *cochée*. -- **Utiliser LF comme caractère de fin de ligne sur macOS :** À partir de 4D 19 R2 (et 4D 19 R3 pour les fichiers XML), 4D écrit les fichiers texte avec un saut de ligne (LF) comme caractère de fin de ligne (EOL) par défaut au lieu de Retour Chariot (CR) (CRLF pour xml SAX) sur macOS dans les nouveaux projets. Si vous souhaitez bénéficier de ce nouveau comportement dans les projets convertis à partir de versions antérieures de 4D, cochez cette option. See [`TEXT TO DOCUMENT`](https://doc.4d.com/4dv20/help/command/en/page1237.html), [`Document to text`](https://doc.4d.com/4dv19R/help/command/en/page1236.html), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- **Utiliser LF comme caractère de fin de ligne sur macOS :** À partir de 4D 19 R2 (et 4D 19 R3 pour les fichiers XML), 4D écrit les fichiers texte avec un saut de ligne (LF) comme caractère de fin de ligne (EOL) par défaut au lieu de Retour Chariot (CR) (CRLF pour xml SAX) sur macOS dans les nouveaux projets. Si vous souhaitez bénéficier de ce nouveau comportement dans les projets convertis à partir de versions antérieures de 4D, cochez cette option. See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). -- **Ne pas ajouter de BOM lors de l'écriture d'un fichier texte unicode par défaut :** À partir de 4D 19 R2 (et 4D 19 R3 pour les fichiers XML), 4D écrit des fichiers texte sans BOM ("Byte order mark") par défaut. Dans les versions antérieures, les fichiers texte étaient écrits avec un BOM par défaut. Sélectionnez cette option si vous souhaitez activer le nouveau comportement dans les projets convertis. See [`TEXT TO DOCUMENT`](https://doc.4d.com/4dv20/help/command/en/page1237.html), [`Document to text`](https://doc.4d.com/4dv20/help/command/en/page1236.html), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- **Ne pas ajouter de BOM lors de l'écriture d'un fichier texte unicode par défaut :** À partir de 4D 19 R2 (et 4D 19 R3 pour les fichiers XML), 4D écrit des fichiers texte sans BOM ("Byte order mark") par défaut. Dans les versions antérieures, les fichiers texte étaient écrits avec un BOM par défaut. Sélectionnez cette option si vous souhaitez activer le nouveau comportement dans les projets convertis. See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). - **Traduire les NULL en valeurs vides non cochée par défaut à la création d'un champ** : Pour une meilleure conformité avec les spécifications ORDA, dans les bases de données créées avec 4D 19 R4 et versions ultérieures, la propriété de champ **Traduire les NULL en valeurs vides** est non cochée par défaut lors de la création des champs. Vous pouvez appliquer ce comportement par défaut à vos bases de données converties en cochant cette option (il est recommandé de travailler avec des valeurs Null car elles sont entièrement prises en charge par [ORDA](../ORDA/overview.md)). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/settings/php.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/settings/php.md index ec63e8b4f1e758..14b6131d5ef679 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/settings/php.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R8/settings/php.md @@ -7,7 +7,7 @@ Vous pouvez [exécuter des scripts PHP dans 4D](https://doc.4d.com/4Dv20/4D/20.1 :::note -Ces paramètres sont définis pour toutes les machines connectées et toutes les sessions. You can also modify and read them separately for each machine and each session using the [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](https://doc.4d.com/4dv20/help/command/en/page643.html) commands. Les paramètres modifiés par la commande `SET DATABASE PARAMETER` ont la priorité pour la session courante. +Ces paramètres sont définis pour toutes les machines connectées et toutes les sessions. You can also modify and read them separately for each machine and each session using the [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands. Les paramètres modifiés par la commande `SET DATABASE PARAMETER` ont la priorité pour la session courante. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/ClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/ClassClass.md index 73070ecc963862..ad0682c3cf4590 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/ClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/ClassClass.md @@ -99,7 +99,7 @@ Cette propriété est en **lecture seule**. #### Description -La propriété `.me` renvoie l'instance unique de la classe singleton `cs.className`. Si la classe singleton n'a jamais été instanciée au préalable, cette propriété appelle le constructeur de la classe sans paramètres et crée l'instance. Sinon, elle renvoie l'instance singleton existante. +Sommaire Si la classe singleton n'a jamais été instanciée au préalable, cette propriété appelle le constructeur de la classe sans paramètres et crée l'instance. Sinon, elle renvoie l'instance singleton existante. Si `cs.className` n'est pas une [classe singleton](../Concepts/classes.md#singleton-classes), `.me` est **undefined** par défaut. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/CollectionClass.md index 2fe0745e563ccd..5407dfda23a807 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/CollectionClass.md @@ -2462,7 +2462,7 @@ où : | Conjonction | Symbole(s) | | ----------- | ----------------------------------------------------------------------------------- | | AND | &, &&, and | -| OR | |,||, or | +| OU | |,||, or | #### Utilisation de guillemets diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/DataClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/DataClassClass.md index f3986a52fcc57f..dd596d39ffff14 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/DataClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/DataClassClass.md @@ -942,7 +942,7 @@ Les formules contenues dans les requêtes peuvent recevoir des paramètres via $ | Conjonction | Symbole(s) | | ----------- | ----------------------------------------------------------------------------------- | | AND | &, &&, and | -| OR | |,||, or | +| OU | |,||, or | - **order by attributePath** : vous pouvez inclure une déclaration order by *attributePath* dans la requête afin que les données résultantes soient triées selon cette déclaration. Vous pouvez utiliser plusieurs tris par déclaration, en les séparant par des virgules (e.g., order by *attributePath1* desc, *attributePath2* asc). Par défaut, le tri est par ordre croissant. Passez 'desc' pour définir un tri par ordre décroissant et 'asc' pour définir un tri par ordre croissant. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md index 13e4bbbb08b937..79f5723c54448e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md @@ -460,7 +460,7 @@ La fonction `.getInfo()` renvoie u Sur un datastore distant : ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1123,7 +1123,7 @@ Vous pouvez imbriquer plusieurs transactions (sous-transactions). Chaque transac ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md index 70a3aebd08977f..1755c27de8733e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md @@ -3,7 +3,7 @@ id: EntityClass title: Entity --- -Une [entity](ORDA/dsMapping.md#entity) est une instance d'une [Dataclass](ORDA/dsMapping.md#dataclass), tel un enregistrement de la table correspondant à la dataclass contenue dans son datastore associé. Elle contient les mêmes attributs que la dataclass ainsi que les valeurs des données et des propriétés et fonctions spécifiques. +Une [entity](ORDA/dsMapping.md#entity) (ou "entité") est une instance d'une [Dataclass](ORDA/dsMapping.md#dataclass), tel un enregistrement de la table correspondant à la dataclass contenue dans son datastore associé. Elle contient les mêmes attributs que la dataclass ainsi que les valeurs des données et des propriétés et fonctions spécifiques. ### Sommaire @@ -611,15 +611,14 @@ Le code générique suivant duplique toute entité :
    -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Paramètres | Type | | Description | | ---------- | ------- | :-------------------------: | -------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: retourner la clé primaire en texte, quel que soit son type d'origine | -| Résultat | Text | <- | Valeur de la clé primaire texte de l'entité | -| Résultat | Integer | <- | Valeur de la clé primaire numérique de l'entité | +| Résultat | any | <- | Valeur de la clé primaire de l'entité (Integer ou Text) | @@ -657,7 +656,7 @@ Les clés primaires peuvent être des nombres (integer) ou des textes. Vous pouv | Paramètres | Type | | Description | | ---------- | ---- | --------------------------- | ------------------------------------------------------------------ | -| Résultat | Text | <- | Attirbuts de contexte associés à l'entity, séparés par une virgule | +| Résultat | Text | <- | Attributs de contexte associés à l'entity, séparés par une virgule | @@ -1635,11 +1634,11 @@ Retourne : #### Description -La fonction `.touched()` vérifie si un attribut de l'entité a été modifié ou non depuis que l'entité a été chargée en mémoire ou sauvegardée. +La fonction `.touched()` renvoie True si au moins un attribut de l'entité a été modifié depuis que l'entité a été chargée en mémoire ou sauvegardée. Vous pouvez utiliser cette fonction pour déterminer si vous devez sauvegarder l'entité. -Si un attribut a été modifié ou calculé, la fonction retourne Vrai, sinon elle retourne Faux. Vous pouvez utiliser cette fonction pour savoir s'il est nécessaire de sauvegarder l'entité. +Ceci ne s'applique qu'aux attributs de [`kind`](DataClassClass.md#returned-object) "storage" ou "relatedEntity". -Cette fonction renvoie Faux pour une nouvelle entité qui vient d'être créée (avec [`.new()`](DataClassClass.md#new)). A noter cependant que si vous utilisez une fonction pour calculer un attribut de l'entité, la fonction `.touched()` retournera Vrai. Par exemple, si vous appelez [`.getKey()`](#getkey) pour calculer la clé primaire, `.touched()` renvoie Vrai. +Pour une nouvelle entité qui vient d'être créée (avec [`.new()`](DataClassClass.md#new)), la fonction renvoie False. Cependant, dans ce contexte, si vous accédez à un attribut dont la propriété [`autoFilled`](./DataClassClass.md#returned-object) est True, la fonction `.touched()` renverra True. Par exemple, après avoir exécuté `$id:=ds.Employee.ID` pour une nouvelle entité (en supposant que l'attribut ID possède la propriété "Autoincrement"), `.touched()` renvoie True. #### Exemple @@ -1683,7 +1682,7 @@ Cet exemple vérifie s'il est nécessaire de sauvegarder l'entité : La fonction `.touchedAttributes()` renvoie les noms des attributs qui ont été modifiés depuis que l'entité a été chargée en mémoire. -Cette fonction est applicable aux attributs dont le [kind](DataClassClass.md#attributename) est `storage` ou `relatedEntity`. +Ceci ne s'applique qu'aux attributs de [`kind`](DataClassClass.md#returned-object) "storage" ou "relatedEntity". Dans le cas d'un attribut relationnel ayant été "touché" (i.e., la clé étrangère), le nom de l'entité liée et celui de sa clé primaire sont retournés. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md index bbaa339c44d855..7fe9f5381760f2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md @@ -590,7 +590,7 @@ Vous souhaitez que "ReadMe.txt" soit renommé "ReadMe_new.txt" : La fonction `.setAppInfo()` écrit les propriétés *info* en tant que contenu d'information d'un fichier d'application. -La fonction doit être utilisée avec un fichier existant et pris en charge : **.plist** (toutes les plateformes), **.exe**/**.dll** (Windows), ou **exécutable macOS**. Si le fichier n'existe pas sur le disque ou n'est pas un fichier pris en charge, la fonction ne fait rien (aucune erreur n'est générée). +La fonction doit être utilisée avec un fichier existant et pris en charge : **.plist** (toutes les plateformes), **.exe**/**.dll** (Windows), ou **exécutable macOS**. Si elle est utilisée avec un autre type de fichier ou avec des fichiers **.exe**/**.dll** qui n'existent pas déjà sur le disque, la fonction ne fait rien (aucune erreur n'est générée). **Paramètre *info* avec un fichier .plist (toutes plateformes)** @@ -600,6 +600,8 @@ Cette fonction ne prend en charge que les fichiers .plist au format xml (texte). ::: +Si le fichier .plist existe déjà sur le disque, il est mis à jour. Dans le cas contraire, il est créé. + Chaque propriété valide définie dans le paramètre objet *info* est écrite dans le fichier . plist sous forme de clé. Tous les noms de clés sont acceptés. Les types des valeurs sont préservés si possible. Si une clé définie dans le paramètre *info* est déjà définie dans le fichier .plist, sa valeur est mise à jour tout en conservant son type d'origine. Les autres clés définies dans le fichier .plist ne sont pas modifiées. @@ -610,9 +612,9 @@ Pour définir une valeur de type Date, le format à utiliser est chaîne de time ::: -**Paramètre *info* avec un fichier .exe ou .dll (Windows uniquement)** +**Paramètre objet *info* avec un fichier .exe ou .dll (Windows uniquement)** -Chaque propriété valide définie dans le paramètre objet *info* est écrite dans la ressource de version du fichier .exe ou .dll. Les propriétés disponibles sont (toute autre propriété sera ignorée) : +Chaque propriété valide définie dans le paramètre objet *info* est écrite dans la ressource version du fichier .exe ou .dll. Les propriétés disponibles sont (toute autre propriété sera ignorée) : | Propriété | Type | Commentaire | | ---------------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -630,16 +632,16 @@ Pour toutes les propriétés à l'exception de `WinIcon`, si vous passez un text Pour la propriété `WinIcon`, si le fichier d'icône n'existe pas ou a un format incorrect, une erreur est générée. -**Paramètre *info* avec un fichier exécutable macOS (macOS uniquement)** +**Paramètre *info* avec un fichier macOS exécutable (macOS uniquement)** *info* doit être un objet avec une seule propriété nommée `archs` qui est une collection d'objets dans le format retourné par [`getAppInfo()`](#getappinfo). Chaque objet doit contenir au moins les propriétés `type` et `uuid` (`name` n'est pas utilisé). Chaque objet de la collection *info*.archs doit contenir les propriétés suivantes : -| Propriété | Type | Description | -| --------- | ------ | ------------------------------------------------------- | -| type | Number | Identifiant numérique de l'architecture à modifier | -| uuid | Text | Représentation textuelle du nouvel uuid de l'exécutable | +| Propriété | Type | Description | +| --------- | ------ | -------------------------------------------------- | +| type | Number | Identifiant numérique de l'architecture à modifier | +| uuid | Text | Représentation textuelle du nouvel uuid exécutable | #### Exemple 1 @@ -648,9 +650,9 @@ Chaque objet de la collection *info*.archs doit contenir les propriétés suivan var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") -$info:=Nouvel objet +$info:=New object $info.Copyright:="Copyright 4D 2023" //text -$info.ProductVersion:=12 //integer .ShipmentDate:="2023-04-22T06:00:00Z" //timestamp .ProductVersion:=12 //integer +$info.ProductVersion:=12 //integer $info.ShipmentDate:="2023-04-22T06:00:00Z" //timestamp $info.CFBundleIconFile:="myApp.icns" //pour macOS $infoPlistFile.setAppInfo($info) @@ -664,7 +666,7 @@ var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file ; fk platform path) $iconFile:=File("/RESOURCES/myApp.ico") -$info:=Nouvel objet +$info:=New object $info.LegalCopyright:="Copyright 4D 2023" $info.ProductVersion:="1.0.0" $info.WinIcon:=$iconFile.path diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/IncomingMessageClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/IncomingMessageClass.md index 0de5e838829fea..675b93727c83b4 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/IncomingMessageClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/IncomingMessageClass.md @@ -3,11 +3,11 @@ id: IncomingMessageClass title: IncomingMessage --- -The `4D.IncomingMessage` class allows you to handle the object received by a custom [**HTTP request handler**](../WebServer/http-request-handler.md). HTTP requests and their properties are automatically received as an instance of the `4D.IncomingMessage` class. Parameters given directly in the request with GET verb are handled by the [`.urlQuery`](#urlquery) property, while parameters passed in the body of the request are available through functions such as [`.getBlob()`](#getblob) or [`getText()`](#gettext). +La classe `4D.IncomingMessage` vous permet de gérer l'objet reçu par un [**HTTP request handler**](../WebServer/http-request-handler.md) personnalisé. Les requêtes HTTP et leurs propriétés sont automatiquement reçues en tant qu'instance de la classe `4D.IncomingMessage`. Les paramètres fournis directement dans la requête avec le verbe GET sont gérés par la propriété [`.urlQuery`](#urlquery), tandis que les paramètres passés dans le corps de la requête sont disponibles via des fonctions telles que [`.getBlob()`](#getblob) ou [`getText()`](#gettext). -The HTTP request handler can return any value (or nothing). It usually returns an instance of the [`4D.OutgoingMessage`](OutgoingMessageClass.md) class. +Le gestionnaire de requêtes HTTP peut renvoyer n'importe quelle valeur (ou rien). Il renvoie généralement une instance de la classe [`4D.OutgoingMessage`](OutgoingMessageClass.md). -All properties of this class are read-only. They are automatically filled by the request handler. +Toutes les propriétés de cette classe sont en lecture seule. Elles sont automatiquement remplies par le request handler.
    Historique @@ -19,7 +19,7 @@ All properties of this class are read-only. They are automatically filled by the ### Exemple -The following [**HTTPHandlers.json** file](../WebServer/http-request-handler.md) has been defined: +Le fichier [**HTTPHandlers.json**](../WebServer/http-request-handler.md) suivant a été défini : ```json [ @@ -32,7 +32,7 @@ The following [**HTTPHandlers.json** file](../WebServer/http-request-handler.md) ] ``` -The `http://127.0.0.1/start/example?param=demo&name=4D` request is run with a `GET` verb in a browser. It is handled by the *gettingStarted* function of the following *GeneralHandling* singleton class: +La requête `http://127.0.0.1/start/example?param=demo&name=4D` est exécutée avec un verbe `GET` dans un navigateur. Elle est gérée par la fonction *gettingStarted* de la classe singleton *GeneralHandling* suivante : ```4d shared singleton Class constructor() @@ -59,9 +59,9 @@ Function gettingStarted($request : 4D.IncomingMessage) : 4D.OutgoingMessage ``` -The request is received on the server as *$request*, an object instance of the `4D.IncomingMessage` class. +La requête est reçue sur le serveur en tant que *$request*, une instance d'objet de la classe `4D.IncomingMessage`. -Here is the response: +Voici la réponse : ```json Called URL: /start/example? param=demo&name=4D @@ -74,9 +74,9 @@ The verb is: GET There are 2 url parts - Url parts are: start - example ``` -### IncomingMessage Object +### Objet IncomingMessage -4D.IncomingMessage objects provide the following properties and functions: +Les objets 4D.IncomingMessage offrent les propriétés et fonctions suivantes : | | | ----------------------------------------------------------------------------------------------------------------------------------------- | @@ -93,7 +93,7 @@ There are 2 url parts - Url parts are: start - example :::note -A 4D.IncomingMessage object is a [non-sharable](../Concepts/shared.md) object. +Un objet 4D.IncomingMessage est [non partageable](../Concepts/shared.md). ::: @@ -105,17 +105,17 @@ A 4D.IncomingMessage object is a [non-sharable](../Concepts/shared.md) object. -| Paramètres | Type | | Description | -| ---------- | ---- | --------------------------- | ----------------------------- | -| Résultat | Blob | <- | Body of the request as a Blob | +| Paramètres | Type | | Description | +| ---------- | ---- | --------------------------- | ----------------------------------- | +| Résultat | Blob | <- | Body de la requête en tant que Blob | #### Description -The `.getBlob()` function returns the body of the request as a Blob. +La fonction `.getBlob()` renvoie le body de la requête sous forme de Blob. -If the body has not been given as a binary content, the function tries to convert the value but it can give unexpected results. +Si le body n'a pas été fourni sous forme de contenu binaire, la fonction tente de convertir la valeur, mais elle peut donner des résultats inattendus. @@ -127,27 +127,27 @@ If the body has not been given as a binary content, the function tries to conver -| Paramètres | Type | | Description | -| ---------- | ---- | --------------------------- | -------------------------------- | -| key | Text | -> | Header property to get | -| Résultat | Text | <- | Valeur de la propriété de header | +| Paramètres | Type | | Description | +| ---------- | ---- | --------------------------- | ---------------------------------------------------------- | +| key | Text | -> | Propriété de header (en-tête) à obtenir | +| Résultat | Text | <- | Valeur de la propriété de header | #### Description -The `.getHeader()` function returns the value of the *key* header. +La fonction `.getHeader()` renvoie la valeur de l'en-tête *key*. :::note -The *key* parameter is not case sensitive. +Le paramètre *key* n'est pas sensible à la casse. ::: #### Exemple ```4d -var $value : Text +var $value : Texte var $request : 4D.IncomingMessage $value := $request.getHeader("content-type") ``` @@ -162,17 +162,17 @@ $value := $request.getHeader("content-type") -| Paramètres | Type | | Description | -| ---------- | ------- | --------------------------- | ------------------------------------------ | -| Résultat | Variant | <- | JSON resolution of the body of the request | +| Paramètres | Type | | Description | +| ---------- | ------- | --------------------------- | ------------------------------------- | +| Résultat | Variant | <- | Résolution JSON du body de la requête | #### Description -The `.getJSON()` function returns the body of the request as a JSON resolution. +La fonction `.getJSON()` renvoie le body de la requête sous forme de résolution JSON. -If the body has not been given as JSON valid content, an error is raised. +Si le body n'a pas été fourni sous la forme d'un contenu JSON valide, une erreur est générée. @@ -184,25 +184,25 @@ If the body has not been given as JSON valid content, an error is raised. -| Paramètres | Type | | Description | -| ---------- | ------- | --------------------------- | ------------------------------ | -| Résultat | Picture | <- | Body of the request as picture | +| Paramètres | Type | | Description | +| ---------- | ------- | --------------------------- | ----------------------------------- | +| Résultat | Picture | <- | Body de la requête en tant qu'image | #### Description -The `.getPicture()` function returns the body of the request as a picture (in case of a body sent as a picture). +La fonction `.getPicture()` renvoie le body de la requête sous forme d'image (dans le cas d'un body envoyé en tant qu'image). -The content-type must be given in the headers to indicate that the body is a picture. +Le content-type doit être fourni dans les headers pour indiquer que le body est une image. :::note -If the request is built using the [`HTTPRequest` class](HTTPRequestClass.md), the picture must be sent in the body as a Blob with the appropriate content-type. +Si la requête est construite en utilisant la classe [`HTTPRequest`](HTTPRequestClass.md), l'image doit être envoyée dans le body sous forme de Blob avec le content-type approprié. ::: -If the body is not received as a valid picture, the function returns null. +Si le body n'est pas reçu comme une image valide, la fonction renvoie null. @@ -214,17 +214,17 @@ If the body is not received as a valid picture, the function returns null. -| Paramètres | Type | | Description | -| ---------- | ---- | --------------------------- | --------------------------- | -| Résultat | Text | <- | Body of the request as text | +| Paramètres | Type | | Description | +| ---------- | ---- | --------------------------- | ------------------------------------ | +| Résultat | Text | <- | Body de la requête en tant que texte | #### Description -The `.getText()` function returns the body of the request as a text value. +La fonction `.getText()` renvoie le body de la requête sous forme de texte. -If the body has not been given as a string value, the function tries to convert the value but it can give unexpected results. +Si le body n'a pas été fourni sous forme de chaine, la fonction tente de convertir la valeur, mais elle peut donner des résultats inattendus. @@ -236,11 +236,11 @@ If the body has not been given as a string value, the function tries to convert #### Description -The `.headers` property contains the current headers of the incoming message as key/value pairs (strings). +La propriété `.headers` contient les headers courants du message entrant sous forme de paires clé/valeur (chaînes). La propriété `.headers` est en lecture seule. -Header names (keys) are lowercased. Note header names are case sensitive. +Les noms des en-têtes (clés) sont en minuscules. Les noms des headers sont sensibles à la casse. @@ -252,15 +252,15 @@ Header names (keys) are lowercased. Note header names are case sensitive. #### Description -The `.url` property contains the URL of the request without the *IP:port* part and as a string. +La propriété `.url` contient l'URL de la requête sans la partie *IP:port* et sous forme de chaîne. -For example, if the request is addressed to: "http://127.0.0.1:80/docs/invoices/today", the `.url` property is "/docs/invoices/today". +Par exemple, si la requête est adressée à: "http://127.0.0.1:80/docs/invoices/today", la propriété `.url` est "/docs/invoices/today". -The `.url` property is read-only. +La propriété `.url` est en lecture seule. :::note -The "host" part of the request (*IP:port*) is provided by the [`host` header](#headers). +La partie "host" de la requête (*IP:port*) est fournie par le header [`host`](#headers). ::: @@ -274,11 +274,11 @@ The "host" part of the request (*IP:port*) is provided by the [`host` header](#h #### Description -The `.urlPath` property contains the URL of the request without the *IP:port* part and as a collection of strings. +La propriété `.urlPath` contient l'URL de la requête sans la partie *IP:port* et sous la forme d'une collection de chaînes. -For example, if the request is addressed to: "http://127.0.0.1:80/docs/invoices/today", the `.urlPath` property is ["docs", "invoices" ,"today"]. +Par exemple, si la requête est adressée à: "http://127.0.0.1:80/docs/invoices/today", la propriété `.urlPath` est ["docs", "invoices" ,"today"]. -The `.urlPath` property is read-only. +La propriété `.urlPath` est en lecture seule. @@ -290,34 +290,34 @@ The `.urlPath` property is read-only. #### Description -The `.urlQuery` property contains the parameters of the request when they have been given in the URL as key/value pairs. +La propriété `.urlQuery` contient les paramètres de la requête lorsqu'ils ont été passés dans l'URL sous forme de paires clé/valeur. -The `.urlQuery` property is read-only. +La propriété `.urlQuery` est en lecture seule. -Parameters can be passed in the URL of requests **directly** or **as JSON contents**. +Les paramètres peuvent être passés dans l'URL des requêtes **directement** ou **en tant que contenu JSON**. -#### Direct parameters +#### Paramètres directs -Example: `http://127.0.0.1:8044/myCall?firstname=Marie&id=2&isWoman=true` +Exemple : `http://127.0.0.1:8044/myCall?firstname=Marie&id=2&isWoman=true` -In this case, parameters are received as stringified values in the `urlQuery` property: `urlQuery = {"firstname":"Marie" ,"id":"2" ,"isWoman":"true"}` +Dans ce cas, les paramètres sont reçus sous forme de valeurs "stringifiées" dans la propriété `urlQuery` : `urlQuery = {"firstname" : "Marie" , "id" : "2" , "isWoman" : "true"}` -#### JSON contents parameters +#### Paramètres contenu JSON -Example: `http://127.0.0.1:8044/myCall/?myparams='[{"firstname": "Marie","isWoman": true,"id": 3}]'`. +Exemple : `http://127.0.0.1:8044/myCall/?myparams='[{"firstname" : "Marie", "isWoman" : true, "id" : 3}]'`. -Parameters are passed in JSON format and enclosed within a collection. +Les paramètres sont passés au format JSON et sont inclus dans une collection. -In this case, parameters are received as JSON text in the `urlQuery` property and can be parsed using [`JSON Parse`](../commands-legacy/json-parse.md). +Dans ce cas, les paramètres sont reçus sous forme de texte JSON dans la propriété `urlQuery` et peuvent être analysés à l'aide de [`JSON Parse`](../commands-legacy/json-parse.md). ```4d //urlQuery.myparams: "[{"firstname": "Marie","isWoman": true,"id": 3}]" $test:=Value type(JSON Parse($r.urlQuery.myparams))=Is collection) //true ``` -Special characters such as simple quotes or carriage returns must be escaped. +Les caractères spéciaux tels que les guillemets simples ou les retours à la ligne doivent être échappés. -Example: `http://127.0.0.1:8044/syntax/?mdcode=%60%60%604d` +Exemple : `http://127.0.0.1:8044/syntax/?mdcode=%60%60%604d` ```4d //urlQuery.mdcode = ```4d @@ -326,7 +326,7 @@ $test:=Length($r.urlQuery.mdcode) //5 :::note -Parameters given in the body of the request using POST or PUT verbs are handled through dedicated functions: [`getText()`](#gettext), [`getPicture()`](#getpicture), [`getBlob()`](#getblob), [`getJSON()`](#getjson). +Les paramètres fournis dans le body de la requête à l'aide des verbes POST ou PUT sont traités par des fonctions dédiées : [`getText()`](#gettext), [`getPicture()`](#getpicture), [`getBlob()`](#getblob), [`getJSON()`](#getjson). ::: @@ -340,11 +340,11 @@ Parameters given in the body of the request using POST or PUT verbs are handled #### Description -The `.verb` property contains the verb used by the request. +La propriété `.verb` contient le verbe utilisé par la requête. -HTTP and HTTPS request verbs include for example "get", "post", "put", etc. +Les verbes de requête HTTP et HTTPS incluent par exemple "get", "post", "put", etc. -The `.verb` property is read-only. +La propriété `.verb` est en lecture seule. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md index 5ed78b3ba8719b..f51aa4f88908ac 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md @@ -5,7 +5,7 @@ title: OutgoingMessage La classe `4D.OutgoingMessage` vous permet de construire des messages qui seront renvoyés par les fonctions de votre application en réponse aux [requêtes REST](../REST/REST_requests.md). Lorsque la réponse est de type `4D.OutgoingMessage`, le serveur REST ne renvoie pas un objet mais une instance d'objet de la classe `OutgoingMessage`. -Typiquement, cette classe peut être utilisée dans des fonctions personnalisées de [HTTP request handler](../WebServer/http-request-handler.md#function-configuration) ou dans des fonctions déclarées avec le mot-clé [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) et conçues pour gérer des requêtes HTTP GET. Ces requêtes sont utilisées, par exemple, pour implémenter des fonctionnalités telles que le téléchargement de fichier, la génération et le téléchargement d'images ainsi que la réception de tout content-type via un navigateur. +Typically, this class can be used in custom [HTTP request handler functions](../WebServer/http-request-handler.md#function-configuration) or in functions declared with the [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keyword and designed to handle HTTP GET requests. Ces requêtes sont utilisées, par exemple, pour implémenter des fonctionnalités telles que le téléchargement de fichier, la génération et le téléchargement d'images ainsi que la réception de tout content-type via un navigateur. Une instance de cette classe est construite sur 4D Server et peut être envoyée au navigateur via le [serveur REST 4D](../REST/gettingStarted.md) uniquement. Cette classe permet d'utiliser d'autres technologies que HTTP (par exemple, mobile). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SessionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SessionClass.md index 3fb36a80363148..f97b52ac56e37c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SessionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SessionClass.md @@ -68,11 +68,11 @@ Cette fonction ne fait rien et retourne toujours **True** avec les sessions clie ::: -La fonction `.clearPrivileges()` supprime tous les privilèges associés à la session et retourne **True** si l'exécution a réussi. Unless in ["forceLogin" mode](../REST/authUsers.md#force-login-mode), the session automatically becomes a Guest session. +La fonction `.clearPrivileges()` supprime tous les privilèges associés à la session et retourne **True** si l'exécution a réussi. Hormis si vous êtes en mode ["forceLogin"](../REST/authUsers.md#force-login-mode), la session devient automatiquement une session Invité. :::note -In "forceLogin" mode, `.clearPrivileges()` does not transform the session to a Guest session, it only clears the session's privileges. +En mode "forceLogin", `.clearPrivileges()` ne transforme pas la session en session Invité, elle efface seulement les privilèges de la session. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md index 68dbceda05c1a4..cdf12d5bdb8eef 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md @@ -196,7 +196,7 @@ If the signal is already in the signaled state (i.e. the `.signaled` property is La fonction retourne la valeur de la propriété `.signaled`. - Evaluer cette valeur permet de savoir si la fonction a retourné à cause de l'appel de `.trigger( )` (`.signaled` est **true**) ou si le *timeout* a expiré (`.signaled` est **false**). -- **false** if the timeout expired before the signal was triggered. +- **false** si le délai a expiré avant que le signal ne soit déclenché. :::note Attention diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SystemWorkerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SystemWorkerClass.md index d71e157e9e451c..b2356a13098e9c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SystemWorkerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/SystemWorkerClass.md @@ -94,7 +94,7 @@ Dans le paramètre *options*, passez un objet qui peut contenir les propriétés | onTerminate | Formula | undefined | Callback lorsque le process externe est terminé. Elle reçoit deux objets en paramètres (voir ci-dessous) | | timeout | Number | undefined | Délai en secondes avant que le process soit tué s'il est toujours actif | | dataType | Text | "text" | Type de contenu du corps de la réponse. Valeurs possibles : "text" (par défaut), "blob". | -| encoding | Text | "UTF-8" | Seulement si `dataType="text"`. Encodage du contenu du corps de la réponse. For the list of available values, see the [`CONVERT FROM TEXT`](../commands-legacy/convert-from-text.md) command description | +| encoding | Text | "UTF-8" | Seulement si `dataType="text"`. Encodage du contenu du corps de la réponse. Pour la liste des valeurs disponibles, voir la description de la commande [`CONVERT FROM TEXT`](../commands-legacy/convert-from-text.md) | | variables | Object | | Définit des variables d'environnement personnalisées pour le system worker. Syntaxe : `variables.key=value`, où `key` est le nom de la variable et `value` sa valeur. Les valeurs sont converties en chaînes de caractères lorsque cela est possible. La valeur ne peut pas contenir un '='. S'il n'est pas défini, le system worker hérite de l'environnement 4D. | | currentDirectory | Folder | | Répertoire de travail dans lequel le process est exécuté | | hideWindow | Boolean | true | (Windows) Masquer la fenêtre de l'application (si possible) ou la console Windows | @@ -112,7 +112,7 @@ Voici la séquence des appels de callbacks : 1. `onData` et `onDataError` sont exécutés une ou plusieurs fois 2. s'il est appelé, `onError` est exécuté une fois (arrête le traitement du system worker) 3. si aucune erreur ne s'est produite, `onResponse` est exécuté une fois -4. `onTerminate` is always executed +4. `onTerminate` est toujours exécuté :::info diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPConnectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPConnectionClass.md index d0c64a020846b0..844e309363b4c1 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPConnectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPConnectionClass.md @@ -5,42 +5,42 @@ title: TCPConnection La classe `TCPConnection` vous permet de gérer des connexions TCP (Transmission Control Protocol) clientes à un [serveur](./TCPListenerClass.md) pour l'envoi et la réception des données ainsi que la gestion des événements du cycle de vie de la connexion via des rétroappels. -La classe `TCPConnection` est disponible dans le class store `4D`. You can create a TCP connection using the [4D.TCPConnection.new()](#4dtcpconnectionnew) function, which returns a [TCPConnection object](#tcpconnection-object). +La classe `TCPConnection` est disponible dans le class store `4D`. Vous pouvez créer une connexion TCP à l'aide de la fonction [4D.TCPConnection.new()](#4dtcpconnectionnew), qui renvoie un objet [TCPConnection](#tcpconnection-object). -All `TCPConnection` class functions are thread-safe. +Toutes les fonctions de la classe `TCPConnection` sont thread-safe. -Thanks to the standard 4D object *refcounting*, a TCPConnection is automatically released when it is no longer referenced. Consequently, the associated resources, are properly cleaned up without requiring explicit closure. +Grâce au *refcounting* d'objet standard de 4D, une TCPConnection est automatiquement libérée lorsqu'elle n'est plus référencée. Par conséquent, les ressources associées sont correctement refermées sans qu'il soit nécessaire de procéder à une clôture explicite. -TCPConnection objects are released when no more references to them exist in memory. This typically occurs, for example, at the end of a method execution for local variables. If you want to "force" the closure of a connection at any moment, [**nullify** its references by setting them to **Null**](../Concepts/dt_object.md#resources). +Les objets TCPConnection sont libérés lorsqu'il n'existe plus de références à ces objets dans la mémoire. Cela se produit généralement, par exemple, à la fin de l'exécution d'une méthode pour les variables locales. Si vous souhaitez "forcer" la fermeture d'une connexion à tout moment, [**nullifiez** ses références en leur attribuant la valeur **Null**](../Concepts/dt_object.md#resources).
    Historique -| Release | Modifications | -| ------- | ------------------------------------------------ | -| 20 R9 | New `listener`, `address`, and `port` attributes | -| 20 R8 | Classe ajoutée | +| Release | Modifications | +| ------- | -------------------------------------------------- | +| 20 R9 | Nouveaux attributs `listener`, `address` et `port` | +| 20 R8 | Classe ajoutée |
    ### Exemples -The following examples demonstrate how to use the 4D.TCPConnection and 4D.TCPEvent classes to manage a TCP client connection, handle events, send data, and properly close the connection. Both synchronous and asynchronous examples are provided. +Les exemples suivants montrent comment utiliser les classes 4D.TCPConnection et 4D.TCPEvent pour gérer une connexion client TCP, traiter les événements, envoyer des données et fermer correctement la connexion. Des exemples synchrones et asynchrones sont fournis. -#### Synchronous Example +#### Exemple synchrone -This example shows how to establish a connection, send data, and shut it down using a simple object for configuration: +Cet exemple montre comment établir une connexion, envoyer des données et la fermer en utilisant un objet simple pour la configuration : ```4d var $domain : Text := "127.0.0.1" var $port : Integer := 10000 -var $options : Object := New object() // Configuration object +var $options : Object := New object() // objet de configuration var $tcpClient : 4D.TCPConnection var $message : Text := "test message" -// Open a connection +// Ouvrir une connexion $tcpClient := 4D.TCPConnection.new($domain; $port; $options) -// Send data +// Envoyer des données var $blobData : Blob TEXT TO BLOB($message; $blobData; UTF8 text without length) $tcpClient.send($blobData) @@ -51,61 +51,61 @@ $tcpClient.wait(0) ``` -#### Asynchronous Example +#### Exemple asynchrone -This example defines a class that handles the connection lifecycle and events, showcasing how to work asynchronously: +Cet exemple définit une classe qui gère le cycle de vie de la connexion et les événements, et montre comment travailler de manière asynchrone : ```4d -// Class definition: cs.MyAsyncTCPConnection +// classe : cs.MyAsyncTCPConnection -Class constructor($url : Text; $port : Integer) +Class constructor($url : Text ; $port : Integer) This.connection := Null This.url := $url This.port := $port -// Connect to one of the servers launched inside workers +// Se connecter à l'un des serveurs lancés à l'intérieur de workers Function connect() - This.connection := 4D.TCPConnection.new(This.url; This.port; This) + This.connection := 4D.TCPConnection.new(This.url ; This.port ; This) -// Disconnect from the server +// Se déconnecter du serveur Function disconnect() This.connection.shutdown() This.connection := Null -// Send data to the server +// Envoyer des données au serveur Function getInfo() var $blob : Blob - TEXT TO BLOB("Information"; $blob) + TEXT TO BLOB("Information" ; $blob) This.connection.send($blob) -// Callback called when the connection is successfully established -Function onConnection($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelée lorsque la connexion est établie avec succès +Function onConnection($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection established") -// Callback called when the connection is properly closed -Function onShutdown($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelée lorsque la connexion est correctement fermée +Function onShutdown($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection closed") -// Callback called when receiving data from the server -Function onData($connection : 4D.TCPConnection; $event : 4D.TCPEvent) - ALERT(BLOB to text($event.data; UTF8 text without length)) +// Callback appelée lors de la réception de données du serveur +Function onData($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) + ALERT(BLOB to text($event.data ; UTF8 text without length)) - //Warning: There's no guarantee you'll receive all the data you need in a single network packet. + //Attention: Il n'y a aucune garantie que vous recevrez toutes les données dont vous avez besoin dans un seul paquet réseau. -// Callback called when the connection is closed unexpectedly -Function onError($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelée lorsque la connexion est fermée de manière inattendue +Function onError($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection error") -// Callback called after onShutdown/onError just before the TCPConnection object is released -Function onTerminate($connection : 4D.TCPConnection; $event : 4D.TCPEvent) +// Callback appelé après onShutdown/onError juste avant que l'objet TCPConnection ne soit libéré +Function onTerminate($connection : 4D.TCPConnection ; $event : 4D.TCPEvent) ALERT("Connection terminated") ``` -##### Usage example +##### Exemple d'utilisation -Create a new method named AsyncTCP, to initialize and manage the TCP connection: +Créer une nouvelle méthode nommée AsyncTCP, pour initialiser et gérer la connexion TCP : ```4d var $myObject : cs.MyAsyncTCPConnection @@ -116,18 +116,18 @@ $myObject.disconnect() ``` -Call the AsyncTCP method in a worker: +Appeler la méthode AsyncTCP dans un worker : ```4d CALL WORKER("new process"; "Async_TCP") ``` -### TCPConnection Object +### Objet TCPConnection -A TCPConnection object is a non-sharable object. +Un objet TCPConnection est un objet non partageable. -TCPConnection objects provide the following properties and functions: +Les objets TCPConnection offrent les propriétés et fonctions suivantes : | | | --------------------------------------------------------------------------------------------------------------------- | @@ -151,51 +151,51 @@ TCPConnection objects provide the following properties and functions: | Paramètres | Type | | Description | | ------------- | ------------- | --------------------------- | -------------------------------------------------------------- | -| serverAddress | Text | -> | Domain name or IP address of the server | -| serverPort | Integer | -> | Port number of the server | -| options | Object | -> | Configuration [options](#options-parameter) for the connection | -| Résultat | TCPConnection | <- | New TCPConnection object | +| serverAddress | Text | -> | Nom de domaine ou adresse IP du serveur | +| serverPort | Integer | -> | Numéro de port du serveur | +| options | Object | -> | [options](#options-parameter) de configuration de la connexion | +| Résultat | TCPConnection | <- | Nouvel objet TCPConnection | #### Description -The `4D.TCPConnection.new()` function creates a new TCP connection to the specified *serverAddress* and *serverPort*, using the defined *options*, and returns a `4D.HTTPRequest` object. +La fonction `4D.TCPConnection.new()` crée une nouvelle connexion TCP vers les *serverAddress* et *serverPort* spécifiés, en utilisant les *options* définies, et renvoie un objet `4D.HTTPRequest`. #### Paramètre `options` Dans le paramètre *options*, passez un objet qui peut contenir les propriétés suivantes : -| Propriété | Type | Description | Par défaut | -| ------------ | ------- | ---------------------------------------------------------------------- | ---------- | -| onConnection | Formula | Callback triggered when the connection is established. | Undefined | -| onData | Formula | Callback triggered when data is received | Undefined | -| onShutdown | Formula | Callback triggered when the connection is properly closed | Undefined | -| onError | Formula | Callback triggered in case of an error | Undefined | -| onTerminate | Formula | Callback triggered just before the TCPConnection is released | Undefined | -| noDelay | Boolean | **Read-only** Disables Nagle's algorithm if `true` | False | +| Propriété | Type | Description | Par défaut | +| ------------ | ------- | --------------------------------------------------------------------- | ---------- | +| onConnection | Formula | Callback déclenchée lorsque la connexion est établie. | Undefined | +| onData | Formula | Callback déclenchée lors de la réception de données | Undefined | +| onShutdown | Formula | Callback déclenchée lorsque la connexion est correctement fermée | Undefined | +| onError | Formula | Callback déclenchée en cas d'erreur | Undefined | +| onTerminate | Formula | Callback déclenchée juste avant que la TCPConnection ne soit libérée | Undefined | +| noDelay | Boolean | **Lecture seulement** Désactive l'algorithme de Nagle si `true` | False | #### Fonctions de callback -All callback functions receive two parameters: +Toutes les fonctions de callback reçoivent deux paramètres : -| Paramètres | Type | Description | -| ----------- | ----------------------------------------------- | ----------------------------------------------------- | -| $connection | [`TCPConnection` object](#tcpconnection-object) | The current TCP connection instance. | -| $event | [`TCPEvent` object](#tcpevent-object) | Contains information about the event. | +| Paramètres | Type | Description | +| ----------- | ---------------------------------------------- | ---------------------------------------------------------- | +| $connection | [objet `TCPConnection`](#tcpconnection-object) | L'instance de connexion TCP courante. | +| $event | [objet `TCPEvent`](#tcpevent-object) | Contient des informations sur l'événement. | -**Sequence of Callback Calls:** +**Séquence des appels de callbacks :** -1. `onConnection` is triggered when the connection is established. -2. `onData` is triggered each time data is received. -3. Either `onShutdown` or `onError` is triggered: - - `onShutdown` is triggered when the connection is properly closed. - - `onError` is triggered if an error occurs. -4. `onTerminate` is always triggered just before the TCPConnection is released (connection is closed or an error occured). +1. `onConnection` est déclenchée lorsque la connexion est établie. +2. `onData` est déclenchée à chaque fois que des données sont reçues. +3. `onShutdown` ou `onError` est déclenchée : + - `onShutdown` est déclenchée lorsque la connexion est correctement fermée. + - `onError` est déclenchée en cas d'erreur. +4. `onTerminate` est toujours déclenchée juste avant que la TCPConnection soit libérée (la connexion est fermée ou une erreur s'est produite). -#### TCPEvent object +#### Objet TCPEvent -A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](#callback-functions) is called. +Un objet [`TCPEvent`](TCPEventClass.md) est renvoyé lorsqu'une [fonction de callback](#callback-functions) est appelée. @@ -207,7 +207,7 @@ A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](# #### Description -The `.address` property contains the IP addess or domain name of the remote machine. +La propriété `.address` contient l'adresse IP ou le nom de domaine de la machine distante. @@ -219,7 +219,7 @@ The `.address` property contains the #### Description -The `.closed` property contains whether the connection is closed. Returns `true` if the connection is closed, either due to an error, a call to `shutdown()`, or closure by the server. +La propriété `.closed` indique si la connexion est fermée. Retourne `true` si la connexion est fermée en raison d'une erreur, d'un appel à `shutdown()`, ou de la fermeture par le serveur. @@ -231,7 +231,7 @@ The `.closed` property contains whethe #### Description -The `.errors` property contains a collection of error objects associated with the connection. Each error object includes the error code, a description, and the signature of the component that caused the error. +La propriété `.errors` contient une collection d'objets erreur associés à la connexion. Chaque objet erreur comprend le code d'erreur, une description et la signature du composant qui a provoqué l'erreur. | Propriété | | Type | Description | | --------- | ----------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------ | @@ -250,7 +250,7 @@ The `.errors` property contains a coll #### Description -The `.listener` property contains the [`TCPListener`](./TCPListenerClass.md) object that created the `TCPConnection`, if any. Cette propriété est en **lecture seule**. +La propriété `.listener` contient l'objet [`TCPListener`](./TCPListenerClass.md) qui a créé la `TCPConnection`, s'il y en a un. Cette propriété est en **lecture seule**. @@ -262,7 +262,7 @@ The `.listener` property contains th #### Description -The `.noDelay` property contains whether Nagle's algorithm is disabled (`true`) or enabled (`false`). Cette propriété est en **lecture seule**. +La propriété `.noDelay` indiquesi l'algorithme de Nagle est désactivé (`true`) ou activé (`false`). Cette propriété est en **lecture seule**. @@ -274,7 +274,7 @@ The `.noDelay` property contains whet #### Description -The `.port` property contains the port number of the remote machine. Cette propriété est en **lecture seule**. +La propriété `.port` contient le numéro de port de la machine distante. Cette propriété est en **lecture seule**. @@ -286,15 +286,15 @@ The `.port` property contains the port n -| Paramètres | Type | | Description | -| ---------- | ---- | -- | --------------- | -| data | Blob | -> | Data to be sent | +| Paramètres | Type | | Description | +| ---------- | ---- | -- | ----------------- | +| data | Blob | -> | Données à envoyer | #### Description -The `send()` function sends data to the server. If the connection is not established yet, the data is sent once the connection is established. +La fonction `send()` envoie les données au serveur. Si la connexion n'est pas encore établie, les données sont envoyées une fois la connexion établie. @@ -314,7 +314,7 @@ The `send()` function sends data to th #### Description -The `shutdown()` function closes the *write* channel of the connection (client to server stream) while keeping the *read* channel (server to client stream) open, allowing you to continue receiving data until the connection is fully closed by the server or an error occurs. +La fonction `shutdown()` ferme le canal *écriture* de la connexion (flux client vers serveur) tout en gardant le canal *lecture* (flux serveur vers client) ouvert, ce qui vous permet de continuer à recevoir des données jusqu'à ce que la connexion soit complètement fermée par le serveur ou qu'une erreur se produise. @@ -334,11 +334,11 @@ The `shutdown()` function closes t #### Description -The `wait()` function waits until the TCP connection is closed or the specified `timeout` is reached +La fonction `wait()` attend que la connexion TCP soit fermée ou que le `timeout` spécifié soit atteint :::note -Pendant une exécution `.wait()`, les fonctions de callback sont exécutées, en particulier les callbacks provenant d'autres événements ou d'autres instances de `SystemWorker`. You can exit from a `.wait()` by calling [`shutdown()`](#shutdown) from a callback. +Pendant une exécution `.wait()`, les fonctions de callback sont exécutées, en particulier les callbacks provenant d'autres événements ou d'autres instances de `SystemWorker`. Vous pouvez sortir d'un `.wait()` en appelant [`shutdown()`](#shutdown) depuis un callback. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPEventClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPEventClass.md index 253ae381b69ffe..ebcd6f946f8c64 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPEventClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPEventClass.md @@ -3,20 +3,20 @@ id: TCPEventClass title: TCPEvent --- -The `TCPEvent` class provides information about events occurring during the lifecycle of a TCP connection. It is generated when a [TCPConnection](TCPConnectionClass.md) is opened and is typically utilized in callbacks such as `onConnection`, `onData`, `onError`, and others. +La classe `TCPEvent` fournit des informations sur les événements survenant au cours du cycle de vie d'une connexion TCP. Un événement est généré lorsqu'une [TCPConnection](TCPConnectionClass.md) est ouverte et est typiquement utilisé dans des callbacks tels que `onConnection`, `onData`, `onError`, et d'autres.
    Historique -| Release | Modifications | -| ------- | ------------------------------- | -| 20 R9 | New `ip`, and `port` attributes | -| 20 R8 | Classe ajoutée | +| Release | Modifications | +| ------- | --------------------------------- | +| 20 R9 | Nouveaux attributs `ip` et `port` | +| 20 R8 | Classe ajoutée |
    -### TCPEvent Object +### Objet TCPEvent -A `TCPEvent` object is immutable and non-streamable. +Un objet `TCPEvent` est immutable et non-streamable. Les propriétés suivantes sont disponibles : @@ -35,11 +35,11 @@ Les propriétés suivantes sont disponibles : #### Description -The `.data` property contains the data associated with the event. It is only valid for events of type `"data"`. +La propriété `.data` contient les données associées à l'événement. Elle n'est valide que pour les événements de type `"data"`. :::note -When working with low-level TCP/IP connections, keep in mind there is no guarantee that all data will arrive in a single packet. Data arrives in order but may be fragmented across multiple packets. +Lorsque vous travaillez avec des connexions TCP/IP de bas niveau, n'oubliez pas qu'il n'y a aucune garantie que toutes les données arrivent en un seul paquet. Les données arrivent dans l'ordre mais peuvent être fragmentées en plusieurs paquets. ::: @@ -53,7 +53,7 @@ When working with low-level TCP/IP connections, keep in mind there is no guarant #### Description -The `.ip` property contains the IP address of the remote machine. +La propriété `.ip` contient l'adresse IP de la machine distante. @@ -65,7 +65,7 @@ The `.ip` property contains the IP address of t #### Description -The `.port` property contains the port number of the remote machine. +La propriété `.port` contient le numéro de port de la machine distante. @@ -77,13 +77,13 @@ The `.port` property contains the port number #### Description -The `.type` property contains the type of the event. Valeurs possibles : +La propriété `.type` contient le type d'événement. Valeurs possibles : -- `"connection"`: Indicates that a TCPConnection was successfully established. -- `"data"`: Indicates that data has been received. -- `"error"`: Indicates that an error occurred during the TCPConnection. -- `"close"`: Indicates that the TCPConnection has been properly closed. -- `"terminate"`: Indicates that the TCPConnection is about to be released. +- `"connection"` : indique qu'une connexion TCP a été établie avec succès. +- `"data"` : indique que des données ont été reçues. +- `"error"`: indique qu'une erreur est survenue pendant la TCPConnection. +- `"close"` : indique que la connexion TCP a été correctement fermée. +- `"terminate"` : indique que la connexion TCP est sur le point d'être libérée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md index 49d7c63cfa8749..57986e87c5e2f8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md @@ -3,11 +3,11 @@ id: TCPListenerClass title: TCPListener --- -The `TCPListener` class allows you to create and configure a TCP server in 4D. Once the TCP listener is instantiated, you can receive client TCP connections and communicate using any protocol supporting TCP. +La classe `TCPListener` vous permet de créer et de configurer un serveur TCP dans 4D. Une fois le listener TCP instancié, vous pouvez recevoir des connexions TCP clientes et communiquer à l'aide de n'importe quel protocole prenant en charge TCP. -The `TCPListener` class is available from the `4D` class store. You can create a TCP server using the [4D.TCPListener.new()](#4dtcplistenernew) function, which returns a [TCPListener object](#tcplistener-object). +La classe `TCPListener` est disponible dans le class store `4D`. Vous pouvez créer un serveur TCP à l'aide de la fonction [4D.TCPListener.new()](#4dtcplistenernew), qui renvoie un [objet TCPListener](#tcplistener-object). -All `TCPListener` class functions are thread-safe. +Toutes les fonctions de la classe `TCPListener` sont thread-safe.
    Historique @@ -31,31 +31,31 @@ Function terminate() This.listener.terminate() -Function onConnection($listener : 4D.TCPListener; $event : 4D.TCPEvent)->$result - //when connected, start a server to handle the communication +Function onConnection($listener : 4D.TCPListener ; $event : 4D.TCPEvent)->$result + //une fois connecté, démarre un serveur pour gérer la communication If($event.address # "192.168.@") - $result:=Null //in some cases you can reject the connection + $result:=Null //dans certains cas, vous pouvez rejeter la connexion Else - $result:=cs.MyAsyncTCPConnection.new(This) //see TCPConnection class + $result:=cs.MyAsyncTCPConnection.new(This) //voir classe TCPConnection End if -Function onError($listener : 4D.TCPListener; $event : 4D.TCPEvent) +Function onError($listener : 4D.TCPListener ; $event : 4D.TCPEvent) -Function onTerminate($listener : 4D.TCPListener; $event : 4D.TCPEvent) +Function onTerminate($listener : 4D.TCPListener ; $event : 4D.TCPEvent) ``` :::note -See [example in TCPConnection class](./TCPConnectionClass.md#asynchronous-example) for a description of the MyAsyncTCPConnection user class. +Voir [l'exemple de la classe TCPConnection](./TCPConnectionClass.md#asynchronous-example) pour une description de la classe utilisateur MyAsyncTCPConnexion. ::: ### TCPListener Object -A TCPListener object is a shared object. +Un objet TCPListener est un objet partagé. -TCPListener objects provide the following properties and functions: +Les objets TCPListener offrent les propriétés et fonctions suivantes : | | | -------------------------------------------------------------------------------------------------------------------- | @@ -67,50 +67,50 @@ TCPListener objects provide the following properties and functions: ## 4D.TCPListener.new() -**4D.TCPListener.new**( *port* : Number ; *options* : Object ) : 4D.TCPListener +**4D.TCPListener.new**( *port* : Number ; *options* : Object ) : 4D.TCPListener -| Paramètres | Type | | Description | -| ---------- | ------------------------------ | --------------------------- | ------------------------------------------------------------ | -| port | Number | -> | TCP port to listen | -| options | Object | -> | Configuration [options](#options-parameter) for the listener | -| Résultat | 4D.TCPListener | <- | New TCPListener object | +| Paramètres | Type | | Description | +| ---------- | ------------------------------ | --------------------------- | ---------------------------------------------------------- | +| port | Number | -> | Port TCP à écouter | +| options | Object | -> | [options](#options-parameter) de configuration du listener | +| Résultat | 4D.TCPListener | <- | Nouvel objet TCPListener | #### Description -The `4D.TCPListener.new()` function creates a new TCP server listening to the specified *port* using the defined *options*, and returns a `4D.TCPListener` object. +La fonction `4D.TCPListener.new()` crée un nouveau serveur TCP écoutant le *port* spécifié en utilisant les *options* définies, et renvoie un objet `4D.TCPListener`. #### Paramètre `options` -In the *options* parameter, pass an object to configure the listener and all the `TCPConnections` it creates: +Dans le paramètre *options*, passez un objet pour configurer le listener et toutes les `TCPConnections` qu'il crée : -| Propriété | Type | Description | Par défaut | -| ------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | -| onConnection | Formula | Callback when a new connection is established. The Formula receives two parameters (*$listener* and *$event*, see below) and must return either null/undefined to prevent the connection or an *option* object that will be used to create the [`TCPConnection`](./TCPConnectionClass.md). | Undefined | -| onError | Formula | Callback triggered in case of an error. The Formula receives the `TCPListener` object in *$listener* | Undefined | -| onTerminate | Formula | Callback triggered just before the TCPListener is closed. The Formula receives the `TCPListener` object in *$listener* | Undefined | +| Propriété | Type | Description | Par défaut | +| ------------ | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | +| onConnection | Formula | Callback appelée lorsqu'une nouvelle connexion est établie. La formule reçoit deux paramètres (*$listener* et *$event*, voir ci-dessous) et doit retourner soit null/undefined pour empêcher la connexion, soit un objet *option* qui sera utilisé pour créer l'objet [`TCPConnection`](./TCPConnectionClass.md). | Undefined | +| onError | Formula | Callback déclenchée en cas d'erreur. La formule reçoit l'objet `TCPListener` dans *$listener* | Undefined | +| onTerminate | Formula | Callback déclenchée juste avant la fermeture du TCPListener. La formule reçoit l'objet `TCPListener` dans *$listener* | Undefined | #### Fonctions de callback -Callback functions receive up to two parameters: +Les fonctions de callback peuvent recevoir jusqu'à deux paramètres : -| Paramètres | Type | Description | -| ---------- | ------------------------------------------- | ----------------------------------------------------- | -| $listener | [`TCPListener` object](#tcplistener-object) | The current TCP listener instance. | -| $event | [`TCPEvent` object](#tcpevent-object) | Contains information about the event. | +| Paramètres | Type | Description | +| ---------- | ------------------------------------------ | ---------------------------------------------------------- | +| $listener | [objet `TCPListener`](#tcplistener-object) | L'instance courante du listener TCP. | +| $event | [objet `TCPEvent`](#tcpevent-object) | Contient des informations sur l'événement. | -**Sequence of Callback Calls:** +**Séquence des appels de callbacks :** -1. `onConnection` is triggered each time a connection is established. -2. `onError` is triggered if an error occurs. -3. `onTerminate` is always triggered just before a connection is terminated. +1. `onConnection` est déclenchée à chaque fois qu'une connexion est établie. +2. `onError` est déclenchée en cas d'erreur. +3. `onTerminate` est toujours déclenchée juste avant qu'une connexion soit terminée. -#### TCPEvent object +#### Objet TCPEvent -A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](#callback-functions) is called. +Un objet [`TCPEvent`](TCPEventClass.md) est renvoyé lorsqu'une [fonction de callback](#callback-functions) est appelée. @@ -122,7 +122,7 @@ A [`TCPEvent`](TCPEventClass.md) object is returned when a [callback function](# #### Description -The `.errors` property contains a collection of error objects associated with the connection. Each error object includes the error code, a description, and the signature of the component that caused the error. +La propriété `.errors` contient une collection d'objets erreur associés à la connexion. Chaque objet erreur comprend le code d'erreur, une description et la signature du composant qui a provoqué l'erreur. | Propriété | | Type | Description | | --------- | ----------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------ | @@ -141,7 +141,7 @@ The `.errors` property contains a collec #### Description -The `.port` property contains the port number of the machine. Cette propriété est en **lecture seule**. +La propriété `.port` contient le numéro de port de la machine. Cette propriété est en **lecture seule**. @@ -161,7 +161,7 @@ The `.port` property contains the port num #### Description -The `terminate()` function closes the listener and releases the port. +La fonction `terminate()` ferme le listener et libère le port. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md index 0cb9ff98d348c1..f4447d72e12332 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md @@ -568,7 +568,7 @@ La fonction `.start()` démarre le s Le serveur Web démarre avec les paramètres par défaut définis dans le fichier de settings du projet ou (base hôte uniquement) à l'aide de la commande `WEB SET OPTION`. Cependant, à l'aide du paramètre *settings*, vous pouvez définir des paramètres personnalisés pour la session du serveur Web. -All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +Tous les paramètres des [objets serveur Web] (../commands/web-server.md-object) peuvent être personnalisés, à l'exception des propriétés en lecture seule ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), et [.sessionCookieName](#sessioncookiename)). Les paramètres de session personnalisés seront réinitialisés lorsque la fonction [`.stop()`](#stop) sera appelée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketClass.md index 55879d5de8d419..f77d5c3abe1022 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketClass.md @@ -112,7 +112,7 @@ Voici la séquence des appels de callbacks : 1. `onOpen` est exécuté une fois 2. Zéro ou plusieurs `onMessage` sont exécutés 3. Zéro ou un `onError` est exécuté (stoppe le traitement) -4. `onTerminate` is always executed +4. `onTerminate` est toujours exécuté #### Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketServerClass.md index ae93e29ca6b8f1..b46af40d967f88 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketServerClass.md @@ -37,7 +37,7 @@ De plus, vous devrez créer deux classes utilisateurs qui contiendront les fonct - une classe utilisateur pour gérer les connexions serveur, - une classe utilisateur pour gérer les messages. -You must [create the WebSocket server](#4dwebsocketservernew) within a [worker](../Develop/processes.md#worker-processes) to keep the connection alive. +Vous devez [créer le serveur WebSocket](#4dwebsocketservernew) dans un [worker](../Develop/processes.md#worker-processes) pour maintenir la connexion en vie. Le [serveur Web 4D](WebServerClass.md) doit être démarré. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Backup/restore.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Backup/restore.md index 6122c5d7047880..f7494e25f55c14 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Backup/restore.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Backup/restore.md @@ -12,7 +12,7 @@ title: Restitution - La perte de fichier(s) de l'application. Cet incident peut être causé par des secteurs défectueux sur le disque contenant l'application, un virus, une erreur de manipulation, etc. Il est nécessaire de restituer la dernière sauvegarde puis d’intégrer éventuellement l’historique courant. Pour savoir si une application a été endommagée à la suite d’un incident, il suffit de la relancer avec 4D. Le programme effectue un auto-diagnostic et précise les opérations de réparation à effectuer. En mode automatique, ces opérations sont effectuées directement, sans intervention de l’utilisateur. Si une stratégie de sauvegarde régulière a été mise en place, les outils de récupération de 4D vous permettront (dans la plupart des cas) de retrouver l'application dans l’état exact où elle se trouvait avant l’incident. -> 4D peut lancer automatiquement des procédures de récupération des applications après incident. Ces mécanismes sont gérés à l’aide de deux options accessibles dans la Page **Sauvegarde/Sauvegarde & et Restitution** de la fenêtre des Propriétés. For more information, refer to the [Automatic Restore](settings.md#automatic-restore-and-log-integration) paragraph.\ +> 4D peut lancer automatiquement des procédures de récupération des applications après incident. Ces mécanismes sont gérés à l’aide de deux options accessibles dans la Page **Sauvegarde/Sauvegarde & et Restitution** de la fenêtre des Propriétés. Pour plus d'informations, reportez-vous au paragraphe [Restitution automatique](settings.md#automatic-restore-and-log-integration).\ > Si l'incident résulte d'une opération inappropriée effectuée sur les données (suppression d'un enregistrement par exemple), vous pouvez tenter de réparer le fichier de données à l'aide de la fonction "rollback" du fichier d'historique. Cette fonction est accessible dans la Page [Retour arrière](MSC/rollback.md) du CSM. ## Restitution manuelle d’une sauvegarde (dialogue standard) @@ -25,7 +25,8 @@ Pour restituer manuellement une application via une boîte de dialogue standard 1. Lancez l’application 4D et choisissez la commande **Restituer...** dans le menu **Fichier**. Il n'est pas obligatoire qu'un projet d'application soit ouvert. - OR Execute the `RESTORE` command from a 4D method. + OU BIEN + Exécutez la commande `RESTORE` depuis une méthode de 4D. Une boîte de dialogue standard d’ouverture de fichiers apparaît. 2. Désignez le fichier de sauvegarde (.4bk) ou le fichier de sauvegarde de l’historique (.4bl) à restituer et cliquez sur **Ouvrir**. Un boîte de dialogue apparaît, vous permettant de désigner l’emplacement auquel vous souhaitez que les fichiers soient restitués . Par défaut, 4D restitue les fichiers dans un dossier nommé *“Nomarchive”* (sans extension) placé à côté de l’archive. Vous pouvez afficher le chemin : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md index d8ddfc878e3b29..40dcec43591b6b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md @@ -509,9 +509,9 @@ Dans le fichier de définition de la classe, les déclarations de propriétés c `Function get` retourne une valeur du type de la propriété et `Function set` prend un paramètre du type de la propriété. Les deux arguments doivent être conformes aux [paramètres de fonction](#parameters) standard. -Lorsque les deux fonctions sont définies, la propriété calculée est en **lecture-écriture**. Si seule une `Function get` est définie, la propriété calculée est en **lecture seule**. Dans ce cas, une erreur est retournée si le code tente de modifier la propriété. Dans ce cas, une erreur est retournée si le code tente de modifier la propriété. +Lorsque les deux fonctions sont définies, la propriété calculée est en **lecture-écriture**. Si seule une `Function get` est définie, la propriété calculée est en **lecture seule**. Dans ce cas, une erreur est retournée si le code tente de modifier la propriété. Si seule une `Function set` est définie, 4D retourne *undefined* lorsque la propriété est lue. -If the functions are declared in a [shared class](#shared-classes), you can use the `shared` keyword with them so that they could be called without [`Use...End use` structure](shared.md#useend-use). Pour plus d'informations, consultez le paragraphe sur les [fonctions partagées](#shared-functions) ci-dessous. +Si les fonctions sont déclarées dans une [classe partagée](#shared-classes), vous pouvez utiliser le mot-clé `shared` avec elles afin qu'elles puissent être appelées sans [structure `Use...End use`](shared.md#useend-use). Pour plus d'informations, consultez le paragraphe sur les [fonctions partagées](#shared-functions) ci-dessous. Le type de la propriété calculée est défini par la déclaration de type `$return` du *getter*. Il peut s'agir de n'importe quel [type de propriété valide](dt_object.md). @@ -606,19 +606,19 @@ Class constructor ($side : Integer) $area:=This.height*This.width ``` -## Class function commands +## Commandes de fonctions de classe -The following commands have specific features when they are used within class functions: +Les commandes suivantes ont des caractéristiques spécifiques lorsqu'elles sont utilisées dans les fonctions de classe : ### `Super` -The [`Super`](../commands/super.md) command allows calls to the [`superclass`](../API/ClassClass#superclass), i.e. the parent class of the function. Il ne peut y avoir qu'une seule fonction constructor dans une classe (sinon une erreur est renvoyée). +La commande [`Super`](../commands/super.md) permet d'appeler la [`superclass`](../API/ClassClass#superclass), c'est-à-dire la classe mère de la fonction. Il ne peut y avoir qu'une seule fonction constructor dans une classe (sinon une erreur est renvoyée). -For more details, see the [`Super`](../commands/super.md) command description. +Pour plus de détails, voir la description de la commande [`Super`](../commands/super.md). ### `This` -The [`This`](../commands/this.md) command returns a reference to the currently processed object. In most cases, the value of `This` is determined by how a class function is called. Usually, `This` refers to the object the function was called on, as if the function were on the object. +La commande [`This`](../commands/this.md) renvoie une référence à l'objet en cours de traitement. Dans la plupart des cas, la valeur de `This` est déterminée par la manière dont une fonction de classe est appelée. Habituellement, `This` fait référence à l'objet sur lequel la fonction a été appelée, comme si la fonction était sur l'objet. Voici un exemple : @@ -629,7 +629,7 @@ Function f() : Integer return This.a+This.b ``` -Then you can write in a method: +Ensuite, vous pouvez écrire dans une méthode : ```4d $o:=cs.ob.new() @@ -638,7 +638,7 @@ $o.b:=3 $val:=$o.f() //8 ``` -For more details, see the [`This`](../commands/this.md) command description. +Pour plus de détails, voir la description de la commande [`This`](../commands/this.md). ## Commandes de classes @@ -713,17 +713,17 @@ Si le mot-clé `shared` est utilisé devant une fonction dans une classe utilisa ## Classes Singleton -Une **classe singleton** est une classe utilisateur qui ne produit qu'une seule instance. For more information on the concept of singletons, please see the [Wikipedia page about singletons](https://en.wikipedia.org/wiki/Singleton_pattern). +Une **classe singleton** est une classe utilisateur qui ne produit qu'une seule instance. Pour plus d’informations sur le concept de singleton, veuillez consulter la [page Wikipédia sur les singletons](https://en.wikipedia.org/wiki/Singleton_pattern). -### Singletons types +### Types de singletons -4D supports three types of singletons: +4D prend en charge trois types de singletons : -- a **process singleton** has a unique instance for the process in which it is instantiated, -- a **shared singleton** has a unique instance for all processes on the machine. -- a **session singleton** is a shared singleton but with a unique instance for all processes in the [session](../API/SessionClass.md). Session singletons are shared within an entire session but vary between sessions. In the context of a client-server or a web application, session singletons make it possible to create and use a different instance for each session, and therefore for each user. +- un **singleton process** a une instance unique pour le process dans lequel il est instancié, +- un **singleton partagé** a une instance unique pour tous les process sur la machine. +- une **singleton session** est un singleton partagé, mais avec une instance unique pour tous les process de la [session](../API/SessionClass.md). Les singletons de session sont partagés au sein d'une session entière mais varient d'une session à l'autre. Dans le contexte d'un client-serveur ou d'une application web, les singletons de session permettent de créer et d'utiliser une instance différente pour chaque session, et donc pour chaque utilisateur. -Singletons are useful to define values that need to be available from anywhere in an application, a session, or a process. +Les singletons sont utiles pour définir des valeurs qui doivent être disponibles partout dans une application, une session ou un process. :::info @@ -731,28 +731,28 @@ Les classes Singleton ne sont pas prises en charge par [les classes ORDA](../ORD ::: -The following table indicates the scope of a singleton instance depending on where it was created: +Le tableau suivant indique la portée d'une instance de singleton en fonction de l'endroit où elle a été créée : -| Singleton créé sur | Scope of process singleton | Scope of shared singleton | Scope of session singleton | -| ----------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------- | --------------------------------------------------------------------- | -| **4D mono-utilisateur** | Process | Application | Application or Web/REST session | -| **4D Server** | Process | Machine 4D Server | Client/server session or Web/REST session or Stored procedure session | -| **4D mode distant** | Process (*note*: les singletons ne sont pas synchronisés sur les process jumeaux) | Machine 4D distant | 4D remote machine or Web/REST session | +| Singleton créé sur | Portée d'un singleton process | Portée d'un singleton partagé | Portée d'un singleton session | +| ----------------------- | -------------------------------------------------------------------------------------------------------------------- | ----------------------------- | -------------------------------------------------------------------------- | +| **4D mono-utilisateur** | Process | Application | Application ou session Web/REST | +| **4D Server** | Process | Machine 4D Server | Session client/serveur ou session Web/REST ou session de procédure stockée | +| **4D mode distant** | Process (*note*: les singletons ne sont pas synchronisés sur les process jumeaux) | Machine 4D distant | Machine distante 4D ou session Web/REST | Une fois instanciée, une classe singleton (et son singleton) existe aussi longtemps qu'une référence à cette classe existe quelque part dans l'application sur le poste. -### Creating and using singletons +### Création et utilisation de singletons -You declare singleton classes by adding appropriate keyword(s) before the [`Class constructor`](#class-constructor): +Vous déclarez des classes singleton en ajoutant le(s) mot(s) clé(s) approprié(s) devant le [`Class constructor`](#class-constructor) : -- To declare a (process) singleton class, write `singleton Class Constructor()`. -- To declare a shared singleton class, write `shared singleton Class constructor()`. -- To declare a session singleton class, write `session singleton Class constructor()`. +- Pour déclarer une classe singleton process, écrivez `singleton Class Constructor()`. +- Pour déclarer une classe singleton partagée, écrivez `shared singleton Class constructor()`. +- Pour déclarer une classe singleton de session, écrivez `session singleton Class constructor()`. :::note -- Session singletons are automatically shared singletons (there's no need to use the `shared` keyword in the class constructor). -- Singleton shared functions support [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). +- Les singletons de session sont automatiquement des singletons partagés (il n'est pas nécessaire d'utiliser le mot-clé `shared` dans le constructeur de la classe). +- Les fonctions de singletons partagés prennent en charge le mot-clé [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). ::: @@ -760,13 +760,13 @@ Le singleton de la classe est instancié lors du premier appel de la propriété Si vous avez besoin d'instancier un singleton avec des paramètres, vous pouvez également appeler la fonction [`new()`](../API/ClassClass.md#new). Dans ce cas, il est recommandé d'instancier le singleton dans du code exécuté au démarrage de l'application. -La propriété [`.isSingleton`](../API/ClassClass.md#issingleton) des objets Class permet de savoir si la classe est un singleton. +La propriété [`.isSingleton`](../API/ClassClass.md#issingleton) des objets de classe permet de savoir si la classe est un singleton. -The [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton) property of Class objects allows to know if the class is a session singleton. +La propriété [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton) des objets de classe permet de savoir si la classe est un singleton de session. ### Exemples -#### Process singleton +#### Singleton process ```4d //class: ProcessTag @@ -795,7 +795,7 @@ var $myOtherSingleton := cs.ProcessTag.me //$myOtherSingleton.tag = 14856 ``` -#### Shared singleton +#### Singleton partagé ```4d //Class VehicleFactory @@ -830,9 +830,9 @@ $vehicle:=cs.VehicleFactory.me.buildVehicle("truck") Étant donné que la fonction *buildVehicle()* modifie le singleton **cs.VehicleFactory** (en incrémentant `This.vehicleBuilt`), vous devez ajouter le mot-clé `shared` à celle-ci. -#### Session singleton +#### Singleton session -In an inventory application, you want to implement an item inventory using session singletons. +Dans une application d'inventaire, vous souhaitez mettre en œuvre un inventaire d'articles à l'aide de singletons de session. ```4d //class ItemInventory @@ -845,15 +845,15 @@ shared function addItem($item:object) This.itemList.push($item) ``` -By defining the ItemInventory class as a session singleton, you make sure that every session and therefore every user has their own inventory. Accessing the user's inventory is as simple as: +En définissant la classe ItemInventory comme un singleton de session, vous vous assurez que chaque session, et donc chaque utilisateur, dispose de son propre inventaire. Pour accéder à l'inventaire de l'utilisateur, rien de plus simple : ```4d -//in a user session +//dans une session utilisateur $myList := cs.ItemInventory.me.itemList -//current user's item list +//liste d'objets de l'utilisateur courant ``` #### Voir également -[Singletons in 4D](https://blog.4d.com/singletons-in-4d) (blog post)
    [Session Singletons](https://blog.4d.com/introducing-session-singletons) (blog post). +[Singletons dans 4D](https://blog.4d.com/singletons-in-4d) (blog post)
    [Session Singletons](https://blog.4d.com/introducing-session-singletons) (blog post). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/components.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/components.md index edd49a53d38257..7db6e099377e5b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/components.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/components.md @@ -9,7 +9,7 @@ Un composant 4D est un ensemble de code et de formulaires 4D représentant une o Plusieurs composants sont [préinstallés dans l'environnement de développement 4D](Extensions/overview.md), mais de nombreux composants 4D de la communauté 4D sont disponibles sur GitHub. De plus, vous pouvez développer vos propres composants 4D. -Installation and loading of components in your 4D projects are handled through the [4D dependency manager](../Project/components.md). +L'installation et le chargement des composants dans vos projets 4D sont gérés par le [Gestionnaire de dépendances de 4D](../Project/components.md). ## Utilisation des composants diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/data-types.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/data-types.md index a6c812a91dc71f..17b4e6b8b865b0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/data-types.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/data-types.md @@ -7,7 +7,7 @@ Dans 4D, les données sont gérées selon leur type à deux endroits : dans les Bien qu'ils soient généralement équivalents, certains types de données de la base ne sont pas disponibles dans le langage et sont automatiquement convertis. A l'inverse, certains types de données sont gérés uniquement par le langage. Le tableau suivant liste tous les types de données disponibles, leur prise en charge et leur déclaration : -| Types de données | Pris en charge par la base(1) | Pris en charge par le langage | [`var` declaration](variables.md) | [Déclaration `ARRAY`](arrays.md) | +| Types de données | Pris en charge par la base(1) | Pris en charge par le langage | [Déclaration `var`](variables.md) | [Déclaration `ARRAY`](arrays.md) | | ------------------------------------------------------- | ------------------------------------------------ | ----------------------------- | --------------------------------- | -------------------------------- | | [Alphanumérique](dt_string.md) | Oui | Converti en texte | - | - | | [Text](Concepts/dt_string.md) | Oui | Oui | `Text` | `ARRAY TEXT` | @@ -33,10 +33,10 @@ Bien qu'ils soient généralement équivalents, certains types de données de la ## Commandes -You can always know the type of a field or variable using the following commands: +Vous pouvez à tout moment connaître le type d'un champ ou d'une variable en utilisant les commandes suivantes : -- [`Type`](../commands-legacy/type.md) for fields and scalar variables -- [`Value type`](../commands-legacy/value-type.md) for expressions +- [`Type`](../commands-legacy/type.md) pour les champs et les variables scalaires +- [`Value type`](../commands-legacy/value-type.md) pour les expressions ## Valeurs par défaut @@ -72,9 +72,9 @@ Le tableau ci-dessous liste les types de données pouvant être convertis, le ty | Types à convertir | en Chaîne | en Numérique | en Date | en Heure | en Booléen | | -------------------------------- | --------- | ------------ | ------- | -------- | ---------- | | Chaîne (1) | | `Num` | `Date` | `Time` | `Bool` | -| Numérique (2) | `Chaîne` | | | | `Bool` | -| Date | `Chaîne` | | | | `Bool` | -| Time | `Chaîne` | | | | `Bool` | +| Numérique (2) | `String` | | | | `Bool` | +| Date | `String` | | | | `Bool` | +| Time | `String` | | | | `Bool` | | Boolean | | `Num` | | | | (1) Les chaînes formatées en JSON peuvent être converties en données scalaires, objets ou collections à l'aide de la commande `JSON Parse`. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_boolean.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_boolean.md index 0c7667661eb06c..fbade769f7e8ae 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_boolean.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_boolean.md @@ -36,7 +36,7 @@ monBooléen:=(monBouton=1) | AND | Booléen & Booléen | Boolean | ("A" = "A") & (15 # 3) | True | | | | | ("A" = "B") & (15 # 3) | False | | | | | ("A" = "B") & (15 = 3) | False | -| OR | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | +| OU | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | | | | | ("A" = "B") | (15 # 3) | True | | | | | ("A" = "B") | (15 = 3) | False | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_null_undefined.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_null_undefined.md index ca6dd299d4bc29..5d4800df86054d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_null_undefined.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_null_undefined.md @@ -25,7 +25,7 @@ Un champ ne peut pas être indéfini (la commande `Undefined` retourne toujours En règle générale, lorsque le code tente de lire ou d'assigner des expressions indéfinies, 4D générera des erreurs, excepté dans les cas suivants : -- Assigning an undefined value to variables (except arrays) has the same effect as calling [`CLEAR VARIABLE`](../commands-legacy/clear-variable.md) with them: +- Affecter une valeur indéfinie aux variables (à l'exception des tableaux) a le même effet que d'appeler [`CLEAR VARIABLE`](../commands-legacy/clear-variable.md) avec elles : ```4d var $o : Object @@ -132,7 +132,7 @@ Les comparaisons avec les opérateurs Supérieur à (`>`), Inférieur à (`<`), :::info -Comparisons of Undefined values with Pointer, Picture, Boolean, Blob, Object, Collection, Undefined or Null values using Greater than (`>`), Less than (`<`), Greater than or equal to (`>=`), and Less than or equal to (`<=`) operators are not supported and return an error. +Les comparaisons des valeurs Undefined avec des valeurs Pointer, Picture, Boolean, Blob, Object, Collection, Undefined ou Null en utilisant les opérateurs Supérieur à (`>`), Inférieur à (`<`), Supérieur ou égal à (`>=`), et Inférieur ou égal à (`<=`) ne sont pas prises en charge et renvoient une erreur. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_number.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_number.md index f4e02ae01267d5..d723ba56f40cbb 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_number.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_number.md @@ -1,25 +1,25 @@ --- id: number -title: Number (Real, Integer) +title: Numérique (Real, Integer) --- Numérique est un terme générique utilisé pour : - Les champs, variables ou expression de type Réel. Les nombres de type Réel sont compris dans l'intervalle ±1.7e±308 (13 chiffres significatifs). -- Integer variable or expression. The range for the Integer data type is -2^31..(2^31)-1 (4-byte Integer, aka *Long* or *Longint*). +- Les champs, variables ou expression de type Entier (Integer). La plage pour le type de données Integer est -2^31..(2^31)-1 (Integer de 4 octets, alias *Long* ou *Longint*). :::info Compatibilité -Usually when working with Integers, you handle *Long* values (4-byte Integer). However, there are two cases where Integers are stored as *Shorts* values (2-byte Integer), i.e. in the range -32,768..32,767 (2^15..(2^15)-1): +Habituellement, lorsque vous travaillez avec des Integers, vous manipulez des valeurs *Long* (nombres entiers de 4 octets). Toutefois, dans deux cas, les nombres entiers sont stockés sous forme de valeurs *Shorts* (nombres entiers de 2 octets), c'est-à-dire dans l'intervalle -32 768..32 767 (2^15..(2^15)-1) : -- Database fields with `Integer` type, -- Elements of arrays declared with [`ARRAY INTEGER`](../commands-legacy/array-integer.md). +- Champs de la base de données de type `Integer`, +- Éléments des tableaux déclarés avec [`ARRAY INTEGER`](../commands-legacy/array-integer.md). -These legacy data types are automatically converted in *Longs* when used in the 4D Language. +Ces types de données anciens sont automatiquement convertis en *longs* lorsqu'ils sont utilisés dans le langage 4D. ::: -Vous pouvez assigner tout nombre d'un type numérique à un nombre d'un autre type numérique, 4D effectue automatiquement la conversion, en tronquant ou en arrondissant les valeurs si nécessaire. Notez cependant que lorsqu'une valeur est située en-dehors de l'intervalle du type de destination, 4D ne pourra la convertir. You can mix number data types in expressions. +Vous pouvez assigner tout nombre d'un type numérique à un nombre d'un autre type numérique, 4D effectue automatiquement la conversion, en tronquant ou en arrondissant les valeurs si nécessaire. Notez cependant que lorsqu'une valeur est située en-dehors de l'intervalle du type de destination, 4D ne pourra la convertir. Vous pouvez mélanger les types de données numériques dans les expressions. ## Constantes littérales numériques @@ -62,7 +62,7 @@ Les nombres négatifs s’écrivent précédés du signe moins (-). Par exemple | | | | 11 < 10 | False | | Supérieur ou égal à | Nombre >= Nombre | Boolean | 11 >= 10 | True | | | | | 10 >= 11 | False | -| Inférieur ou égal à | Number <= Number | Boolean | 10 <= 11 | True | +| Inférieur ou égal à | Nombre <= Nombre | Boolean | 10 <= 11 | True | | | | | 11 <= 10 | False | ### Modulo @@ -75,7 +75,7 @@ L'opérateur modulo % divise le premier nombre par le second et retourne le rest :::warning -L'opérateur modulo % retourne des valeurs significatives avec des nombres appartenant à la catégorie des entiers longs (de –2^31 à +2^31 moins 1). To calculate the modulo with numbers outside of this range, use the [`Mod`](../commands-legacy/mod.md) command. +L'opérateur modulo % retourne des valeurs significatives avec des nombres appartenant à la catégorie des entiers longs (de –2^31 à +2^31 moins 1). Pour calculer le modulo avec des nombres en dehors de cette plage, utilisez la commande [`Mod`](../commands-legacy/mod.md). ::: @@ -85,11 +85,11 @@ L'opérateur division entière \ retourne des valeurs significatives avec des no ### Comparaison des réels -To compare two reals for equality, the 4D language actually compares the absolute value of the difference with *epsilon*. See the [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md) command. +Pour comparer l'égalité de deux réels, le langage 4D compare en fait la valeur absolue de la différence avec *epsilon*. Voir la commande [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md). :::note -For consistency, the 4D database engine always compares database fields of the real type using a 10^-6 value for *epsilon* and does not take the [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md) setting into account. +Par souci de cohérence, le moteur de base de données 4D compare toujours les champs de base de données de type réel en utilisant une valeur de 10^-6 pour *epsilon* et ne tient pas compte du paramètre [`SET REAL COMPARISON LEVEL`](../commands-legacy/set-real-comparison-level.md). ::: @@ -115,15 +115,15 @@ Des parenthèses peuvent être incluses dans d'autres parenthèses. Assurez-vous ## Opérateurs sur les bits -The bitwise operators operates on (Long) Integers expressions or values. +Les opérateurs bit à bit opèrent sur des expressions ou des valeurs d'Integers (longs). -> If you pass a (Short) Integer or a Real value to a bitwise operator, 4D evaluates the value as a Long value before calculating the expression that uses the bitwise operator. +> Si vous passez un entier (Short) ou une valeur réelle à un opérateur bit à bit, 4D évalue la valeur comme une valeur longue avant de calculer l'expression qui utilise l'opérateur bit à bit. -While using the bitwise operators, you must think about a Long value as an array of 32 bits. Les bits sont numérotés de 0 à 31, de droite à gauche. +Lors de l'utilisation des opérateurs bit à bit, vous devez considérer une valeur Long comme un tableau de 32 bits. Les bits sont numérotés de 0 à 31, de droite à gauche. -Comme un bit peut valoir 0 (zéro) ou 1, vous pouvez également considérer une valeur de type Entier long comme une expression dans laquelle vous pouvez stocker 32 valeurs de type Booléen. A bit equal to 1 means **True** and a bit equal to 0 means **False**. +Comme un bit peut valoir 0 (zéro) ou 1, vous pouvez également considérer une valeur de type Entier long comme une expression dans laquelle vous pouvez stocker 32 valeurs de type Booléen. Un bit égal à 1 signifie **Vrai** et un bit égal à 0 signifie **Faux**. -An expression that uses a bitwise operator returns a Long value, except for the Bit Test operator, where the expression returns a Boolean value. Le tableau suivant fournit la liste des opérateurs sur les bits et leur syntaxe : +Une expression qui utilise un opérateur bit à bit renvoie une valeur de type Long, à l'exception de l'opérateur Bit Test, pour lequel l'expression renvoie une valeur booléenne. Le tableau suivant fournit la liste des opérateurs sur les bits et leur syntaxe : | Opération | Opérateur | Syntaxe | Retourne | | -------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------ | @@ -138,21 +138,21 @@ An expression that uses a bitwise operator returns a Long value, except for the #### Notes -1. For the `Left Bit Shift` and `Right Bit Shift` operations, the second operand indicates the number of positions by which the bits of the first operand will be shifted in the resulting value. Par conséquent, ce second opérande doit être compris entre 0 et 31. Notez qu'un décalage de 0 retourne une valeur inchangée et qu'un décalage de plus de 31 bits retourne 0x00000000 car tous les bits sont perdus. Si vous passez une autre valeur en tant que second opérande, le résultat sera non significatif. -2. For the `Bit Set`, `Bit Clear` and `Bit Test` operations , the second operand indicates the number of the bit on which to act. Par conséquent, ce second opérande doit être compris entre 0 et 31, sinon le résultat de l'expression sera non significatif. +1. Pour les opérations "Décaler bits à gauche" et "Décaler bits à droite", le second opérande indique le nombre de positions par lesquelles les bits du premier opérande seront décalés dans la valeur résultante. Par conséquent, ce second opérande doit être compris entre 0 et 31. Notez qu'un décalage de 0 retourne une valeur inchangée et qu'un décalage de plus de 31 bits retourne 0x00000000 car tous les bits sont perdus. Si vous passez une autre valeur en tant que second opérande, le résultat sera non significatif. +2. Pour les opérations `Mettre bit à 1`, `Mettre bit à 0` et `Tester bit`, le second opérande indique le numéro du bit sur lequel agir. Par conséquent, ce second opérande doit être compris entre 0 et 31, sinon le résultat de l'expression sera non significatif. Le tableau suivant dresse la liste des opérateurs sur les bits et de leurs effets : -| Opération | Description | -| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ET | Chaque bit résultant est le ET logique des bits dans les deux opérandes. Chaque bit résultant est le ET logique des bits dans les deux opérandes. | -| OU (inclusif) | Each resulting bit is the logical OR of the bits in the two operands.Here is the logical OR table:
  • 1 | 1 --> 1
  • 0 | 1 --> 1
  • 1 | 0 --> 1
  • 0 | 0 --> 0
  • In other words, the resulting bit is 1 if at least one of the two operand bits is 1; otherwise the resulting bit is 0. | -| OU (exclusif) | Each resulting bit is the logical XOR of the bits in the two operands.Here is the logical XOR table:
  • 1 ^ | 1 --> 0
  • 0 ^ | 1 --> 1
  • 1 ^ | 0 --> 1
  • 0 ^ | 0 --> 0
  • In other words, the resulting bit is 1 if only one of the two operand bits is 1; otherwise the resulting bit is 0. | -| Décaler bits à gauche | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la gauche du nombre de positions indiqué par le deuxième opérande. Les bits auparavant situés à gauche sont perdus et les nouveaux bits situés à droite ont la valeur 0. **Note:** Taking into account only positive values, shifting to the left by N bits is the same as multiplying by 2^N. | -| Décaler bits à droite | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la droite du nombre de positions indiqué par le deuxième opérande. The bits on the right are lost and the new bits on the left are set to 0.**Note:** Taking into account only positive values, shifting to the right by N bits is the same as dividing by 2^N. | -| Mettre bit à 1 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | -| Mettre bit à 0 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | -| Tester bit | Retourne Vrai si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 1. Retourne Faux si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 0. | +| Opération | Description | +| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ET | Chaque bit résultant est le ET logique des bits dans les deux opérandes. Voici la table logique ET :
  • 1 & 1 --> 1
  • 0 & 1 --> 0
  • 1 & 0 --> 0
  • 0 & 0 --> 0
  • En d'autres termes, le bit résultant est 1 si les deux bits de l'opérande sont 1 ; sinon, le bit résultant est 0. | +| OU (inclusif) | Chaque bit résultant est le OU logique des bits des deux opérandes. Voici la table du OU logique :
  • 1 | 1 --> 1
  • 0 | 1 --> 1
  • 1 | 0 --> 1
  • 0 | 0 --> 0
  • En d'autres termes, le bit résultant est 1 si au moins un des deux bits de l'opérande est 1 ; sinon, le bit résultant est 0. | +| OU (exclusif) | Chaque bit résultant est le XOR logique des bits des deux opérandes. Voici la table du XOR logique :
  • 1 ^ | 1 --> 0
  • 0 ^ | 1 --> 1
  • 1 ^ | 0 --> 1
  • 0 ^ | 0 --> 0
  • En d'autres termes, le bit résultant est 1 si uniquement un des deux bits de l'opérande est 1 ; sinon, le bit résultant est 0. | +| Décaler bits à gauche | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la gauche du nombre de positions indiqué par le deuxième opérande. Les bits auparavant situés à gauche sont perdus et les nouveaux bits situés à droite ont la valeur 0. **Note :** Si l'on ne tient compte que des valeurs positives, un décalage vers la gauche de N bits équivaut à une multiplication par 2^N. | +| Décaler bits à droite | La valeur résultante est définie sur la première valeur d'opérande, puis les bits résultants sont décalés vers la droite du nombre de positions indiqué par le deuxième opérande. Les bits de droite sont perdus et les nouveaux bits de gauche sont mis à 0. **Note :** Si l'on ne tient compte que des valeurs positives, le décalage vers la droite de N bits revient à diviser par 2^N. | +| Mettre bit à 1 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | +| Mettre bit à 0 | La valeur retournée est la valeur du premier opérande dans lequel le bit dont le numéro est spécifié par le second opérande est positionné à 0. Les autres bits demeurent inchangés. | +| Tester bit | Retourne Vrai si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 1. Retourne Faux si, dans le premier opérande, le bit dont le numéro est indiqué par le second opérande vaut 0. | ### Exemples diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/error-handling.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/error-handling.md index 33c7f5b700e2e3..e417ee2666d247 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/error-handling.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/error-handling.md @@ -33,7 +33,7 @@ Dans 4D, toutes les erreurs peuvent être détectées et traitées par des méth Une fois installés, les gestionnaires d'erreurs sont automatiquement appelés en mode interprété ou compilé en cas d'erreur dans l'application 4D ou l'un de ses composants. Un gestionnaire d'erreur différent peut être appelé en fonction du contexte d'exécution (voir ci-dessous). -To *install* an error-handling project method, you just need to call the [`ON ERR CALL`](../commands-legacy/on-err-call.md) command with the project method name and (optionnally) scope as parameters. Par exemple : +Pour *installer* une méthode de gestion des erreurs, il suffit d'appeler la commande [`ON ERR CALL`](../commands-legacy/on-err-call.md) avec le nom de la méthode projet et (optionnellement) le champ d'application en paramètres. Par exemple : ```4d ON ERR CALL("IO_Errors";ek local) //Installe une méthode locale de gestion des erreurs @@ -98,7 +98,7 @@ Dans une méthode de gestion d'erreur personnalisée, vous avez accès à plusie ::: - la commande [`Last errors`](../commands-legacy/last-errors.md) qui renvoie sous forme de collection la pile courante d'erreurs survenues dans l'application 4D. -- the `Call chain` command that returns a collection of objects describing each step of the method call chain within the current process. +- la commande `Call chain` qui renvoie une collection d'objets décrivant chaque étape de la chaîne d'appel de méthode dans le process en cours. #### Exemple @@ -153,7 +153,7 @@ Try (expression) : any | Undefined Si une erreur s'est produite pendant son exécution, elle est interceptée et aucune fenêtre d'erreur n'est affichée, qu'une [méthode de gestion des erreurs](#installer-une-methode-de-gestion-des-erreurs) ait été installée ou non avant l'appel à `Try()`. Si *expression* retourne une valeur, `Try()` retourne la dernière valeur évaluée, sinon elle retourne `Undefined`. -You can handle the error(s) using the [`Last errors`](../commands-legacy/last-errors.md) command. Si *expression* génère une erreur dans une pile d'appels `Try()`, le flux d'exécution s'arrête et retourne au dernier `Try()` exécuté (le premier trouvé en remontant dans la pile d'appels). +Vous pouvez traiter les erreurs en utilisant la commande [`Last errors`](../commands-legacy/last-errors.md). Si *expression* génère une erreur dans une pile d'appels `Try()`, le flux d'exécution s'arrête et retourne au dernier `Try()` exécuté (le premier trouvé en remontant dans la pile d'appels). :::note @@ -244,7 +244,7 @@ For more information on *deferred* and *non-deferred* errors, please refer to th ::: -Dans le bloc de code `Catch`, vous pouvez gérer la ou les erreur(s) en utilisant les commandes de gestion des erreurs standard. The [`Last errors`](../commands-legacy/last-errors.md) function contains the last errors collection. Vous pouvez [déclarer une méthode de gestion des erreurs](#installer-une-methode-de-gestion-des-erreurs) dans ce bloc de code, auquel cas elle est appelée en cas d'erreur (sinon la boîte de dialogue d'erreur 4D est affichée). +Dans le bloc de code `Catch`, vous pouvez gérer la ou les erreur(s) en utilisant les commandes de gestion des erreurs standard. La fonction [`Last errors`](../commands-legacy/last-errors.md) contient la collection des dernières erreurs. Vous pouvez [déclarer une méthode de gestion des erreurs](#installer-une-methode-de-gestion-des-erreurs) dans ce bloc de code, auquel cas elle est appelée en cas d'erreur (sinon la boîte de dialogue d'erreur 4D est affichée). :::note diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/methods.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/methods.md index 8e3099b0a1e9e6..5caa0eb03da3d8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/methods.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/methods.md @@ -1,6 +1,6 @@ --- id: methods -title: Methods +title: Méthodes --- Une méthode est essentiellement un morceau de code qui exécute une ou plusieurs action(s). Une méthode est composée d'instructions. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/quick-tour.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/quick-tour.md index b10cefe3ed9763..2251a72ff5479f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/quick-tour.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Concepts/quick-tour.md @@ -54,7 +54,7 @@ Même si cela est généralement déconseillé, vous pouvez créer des variables MyOtherDate:=Current date+30 ``` -La ligne de code se lit "MyOtherDate obtient la date actuelle plus 30 jours." Cette ligne crée la variable, lui attribue à la fois le type de date (temporaire) et un contenu. Une variable créée par affectation est interprétée comme étant sans type, c'est-à-dire qu'elle peut être affectée à d'autres types dans d'autres lignes et changer de type dynamiquement. This flexibility does not apply to variables declared with the `var` keyword (their type cannot change) and in [compiled mode](interpreted.md) where the type can never be changed, regardless of how the variable was created. +La ligne de code se lit "MyOtherDate obtient la date actuelle plus 30 jours." Cette ligne crée la variable, lui attribue à la fois le type de date (temporaire) et un contenu. Une variable créée par affectation est interprétée comme étant sans type, c'est-à-dire qu'elle peut être affectée à d'autres types dans d'autres lignes et changer de type dynamiquement. Cette flexibilité ne s'applique pas aux variables déclarées avec le mot-clé `var` (leur type ne peut pas changer) et en [mode compilé](interpreted.md) où le type ne peut jamais être changé, quelle que soit la façon dont la variable a été créée. ## Commandes @@ -96,12 +96,12 @@ objectRef:=SVG_New_arc(svgRef;100;100;90;90;180) 4D propose un large ensemble de constantes prédéfinies, dont les valeurs sont accessibles par un nom. Elles permettent d'écrire un code plus lisible. Par exemple, `XML DATA` est une constante (valeur 6). ```4d -vRef:=Open document("PassFile";"TEXTE";Read Mode) // ouvrir le doc en mode lecture seule +vRef:=Open document("PassFile";"TEXT";Read Mode) // ouvre le document en lecture seule ``` > Les constantes prédéfinies apparaissent soulignées par défaut dans l'éditeur de code 4D. -## Methods +## Méthodes 4D propose un grand nombre de méthodes (ou de commandes) intégrées, mais vous permet également de créer vos propres **méthodes de projet**. Les méthodes de projet sont des méthodes définies par l'utilisateur qui contiennent des commandes, des opérateurs et d'autres parties du langage. Les méthodes projet sont des méthodes génériques, mais il existe d'autres types de méthodes : les méthodes objet, les méthodes formulaire, les méthodes table (Triggers) et les méthodes base. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Desktop/building.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Desktop/building.md index 5ae61502974eb2..a76351acc1b342 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Desktop/building.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Desktop/building.md @@ -20,8 +20,8 @@ Le générateur d'applications vous permet de : Générer un package de projet peut être réalisé à l'aide de : -- either the [`BUILD APPLICATION`](../commands-legacy/build-application.md) command, -- or the [Build Application dialog](#build-application-dialog). +- soit la commande [`BUILD APPLICATION`](../commands-legacy/build-application.md), +- soit la [boîte de dialogue Générer application](#build-application-dialog). :::tip @@ -45,7 +45,7 @@ La génération ne peut s'effectuer qu'une fois le projet compilé. Si vous sél Chaque paramètre du générateur d'application est sauvegardé en tant que clé XML dans le fichier XML du projet d'application nommé `buildApp.4DSettings`, situé dans le [dossier `Settings` du projet](../Project/architecture.md#settings-user). -Des paramètres par défaut sont utilisés lors de la première utilisation de la boîte de dialogue du Générateur d'application. Le contenu du fichier est mis à jour, si nécessaire, lorsque vous cliquez sur **Construire** ou **Enregistrer les paramètres**. You can define several other XML settings file for the same project and employ them using the [`BUILD APPLICATION`](../commands-legacy/build-application.md) command. +Des paramètres par défaut sont utilisés lors de la première utilisation de la boîte de dialogue du Générateur d'application. Le contenu du fichier est mis à jour, si nécessaire, lorsque vous cliquez sur **Construire** ou **Enregistrer les paramètres**. Vous pouvez définir plusieurs autres fichiers de paramètres XML pour le même projet et les passer à la commande [`BUILD APPLICATION`](../commands-legacy/build-application.md). Les clés XML fournissent des options supplémentaires à celles affichées dans la boîte de dialogue du Générateur d'application. La description de ces clés est détaillée dans le manuel [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html). @@ -59,9 +59,9 @@ Lorsqu'une application est créée, 4D génère un fichier journal nommé *Build - Toutes les erreurs qui se sont produites, - Tout problème de signature (par exemple, un plug-in non signé). -Checking this file may help you saving time during the subsequent deployment steps, for example if you intend to [notarize](#about-notarization) your application on macOS. +La vérification de ce fichier peut vous aider à gagner du temps lors des étapes de déploiement ultérieures, par exemple si vous avez l'intention de [notariser](#about-notarization) votre application sur macOS. -> Use the `Get 4D file(Build application log file)` statement to get the log file location. +> Utilisez l'instruction `Get 4D file(Build application log file)` pour obtenir l'emplacement du fichier journal. ## Nom de l'application et dossier de destination @@ -87,7 +87,7 @@ Cette fonctionnalité crée un fichier *.4dz* dans un dossier `Compiled Database Un fichier .4dz est essentiellement une version compressée du dossier du projet. Les fichiers .4dz peuvent être utilisés par 4D Server, 4D Volume Desktop (applications fusionnées) et 4D. La taille compacte et optimisée des fichiers .4dz facilite le déploiement des packages de projet. -> Lors de la génération de fichiers .4dz, 4D utilise par défaut un format zip **standard**. L'avantage de ce format est qu'il est facilement lisible par tout outil de dézippage. If you do not want to use this standard format, add the `UseStandardZipFormat` XML key with value `False` in your [`buildApp.4DSettings`](#buildapp4dsettings) file (for more information, see the [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html) manual). +> Lors de la génération de fichiers .4dz, 4D utilise par défaut un format zip **standard**. L'avantage de ce format est qu'il est facilement lisible par tout outil de dézippage. Si vous ne voulez pas utiliser ce format standard, ajoutez la clé XML `UseStandardZipFormat` avec la valeur `False` dans votre fichier [`buildApp.4DSettings`](#buildapp4dsettings) (pour plus d'informations, voir le manuel [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html)). #### Inclure les dossiers associés @@ -99,20 +99,20 @@ Génère un composant compilé à partir de la structure. Un [composant](../Extensions/develop-components.md) est un fichier de structure 4D standard dans lequel des fonctionnalités spécifiques ont été développées. Une fois que le composant a été configuré et [installé dans un autre projet 4D](../Project/components.md) (le projet de l'application hôte), ses fonctionnalités sont accessibles depuis le projet hôte. -If you have named your application *MyComponent*, 4D will automatically create a *Components* folder with the following structure: +Si vous avez nommé votre application *MonComposant*, 4D créera automatiquement un dossier *Components* avec la structure suivante : -`/Components/MyComponent.4dbase/Contents/`. +`/Components/MonComposant.4dbase/Contents/`. -The *MyComponent.4dbase* folder is the [package folder of the compiled component](../Project/components.md#package-folder). +Le dossier *MonComposant.4dbase* est le [dossier racine du composant compilé](../Project/components.md#package-folder). -The *Contents* folder contains: +Le dossier *Contents* contient : -- *MyComponent.4DZ* file - the [compiled structure](#build-compiled-structure). +- Fichier *MonComposant.4DZ* - la [structure compilée](#build-compiled-structure). - Un dossier *Resources* - toutes les ressources associées sont automatiquement copiées dans ce dossier. Les autres composants et/ou dossiers de plugins ne sont pas copiés (un composant ne peut pas utiliser de plug-ins ou d'autres composants). -- An *Info.plist* file - this file is required to build [notarizeable and stapleable](#about-notarization) components for macOS (it is ignored on Windows). If an *Info.plist* file already [exists at the root of the component](../Extensions/develop-components.md#infoplist) it is merged, otherwise a default file is created. The following [Apple bundle keys](https://developer.apple.com/documentation/bundleresources/information-property-list) are prefilled: - - `CFBundleDisplayName` and `CFBundleName` for the application name, - - `NSHumanReadableCopyright`, can be [set using an XML key](https://doc.4d.com/4Dv20/4D/20/CommonCopyright.300-6335859.en.html). - - `CFBundleShortVersionString` and `CFBundleVersion` for the application version (x.x.x format, e.g. 1.0.5), can be [set using an XML key](https://doc.4d.com/4Dv20/4D/20/CommonVersion.300-6335858.en.html). +- Un fichier *Info.plist* - ce fichier est nécessaire pour créer des composants [notarisables et agrafables](#about-notarization) pour macOS (il est ignoré sous Windows). Si un fichier *Info.plist* [existe déjà à la racine du composant](../Extensions/develop-components.md#infoplist), il est fusionné, sinon un fichier par défaut est créé. Les [clés de bundle Apple](https://developer.apple.com/documentation/bundleresources/information-property-list) suivantes sont pré-remplies : + - `CFBundleDisplayName` et `CFBundleName` pour le nom de l'application, + - `NSHumanReadableCopyright`, peut être [définie à l'aide d'une clé XML](https://doc.4d.com/4Dv20/4D/20/CommonCopyright.300-6335859.en.html). + - `CFBundleShortVersionString` et `CFBundleVersion` pour la version de l'application (format x.x.x, par exemple 1.0.5), peuvent être [définies à l'aide d'une clé XML](https://doc.4d.com/4Dv20/4D/20/CommonVersion.300-6335858.en.html). ## Page Application @@ -124,10 +124,10 @@ Cet onglet vous permet de créer une version monoposte autonome de votre applica Cochez l'option **Créer une application autonome** et cliquez sur **Générer** pour créer une application autonome (double-cliquable) directement à partir de votre projet d'application. Sous Windows, cette fonctionnalité crée un fichier exécutable (.exe). Sous macOS, il gère la création de progiciels. -The principle consists of merging a compiled structure file with **4D Volume Desktop** (the 4D database engine). Les fonctionnalités offertes par le fichier 4D Volume Desktop sont liées à l’offre commerciale à laquelle vous avez souscrite. Pour plus d’informations sur ce point, reportez-vous à la documentation commerciale et au site Internet de [4D Sas (http://www.4d.com/)](http://www.4d.com/). +Le principe consiste à fusionner un fichier de structure compilé avec **4D Volume Desktop** (le moteur de base de données de 4D). Les fonctionnalités offertes par le fichier 4D Volume Desktop sont liées à l’offre commerciale à laquelle vous avez souscrite. Pour plus d’informations sur ce point, reportez-vous à la documentation commerciale et au site Internet de [4D Sas (http://www.4d.com/)](http://www.4d.com/). - Vous pouvez définir un fichier de données par défaut ou permettre aux utilisateurs de [créer et utiliser leur propre fichier de données](#gestion-des-fichiers-de-données). -- You can either embed a deployment license or let the final user enter their license at the first application launch (see the [**Deployment Licenses**](../Admin/licenses.md#deployment-licenses) section). +- Vous pouvez soit intégrer une licence de déploiement, soit laisser l'utilisateur final saisir sa licence au premier lancement de l'application (voir la section [**Licences de déploiement**](../Admin/licenses.md#deployment-licenses)). :::note @@ -146,7 +146,7 @@ Pour sélectionner le dossier de 4D Volume Desktop, cliquez sur le bouton **[... Une fois le dossier sélectionné, son chemin d’accès complet est affiché et, s’il contient effectivement 4D Volume Desktop, l’option de génération d’application exécutable est activée. -> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. For example, if you use 4D 20, you must select a 4D Volume Desktop 20. +> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. Par exemple, si vous utilisez 4D 20, vous devez sélectionner un 4D Volume Desktop 20. ### Mode de liaison des données @@ -167,7 +167,7 @@ Si vous avez nommé votre application "MyProject", vous trouverez les fichiers s - *Windows* - MonAppli.exe qui est votre exécutable et MonAppli.Rsr qui contient les ressources de l’application - Les dossiers 4D Extensions et Resources ainsi que les diverses librairies (DLL), le dossier Native Components et SAS Plugins -fichiers nécessaires au fonctionnement de l’application - - Database folder - Includes a Resources folder and MyProject.4DZ file. Ils constituent la structure compilée du projet et son dossier Resources. + - Dossier Database - Inclut un dossier Resources et le fichier MyProject.4DZ. Ils constituent la structure compilée du projet et son dossier Resources. **Note** : Ce dossier contient également le dossier *Default Data*, s'il a été défini (cf. [Gestion du fichier de données dans les applications finales](#management-of-data-files)). - (Facultatif) Un dossier Components et/ou un dossier Plugins contenant les fichiers des composants et/ou des plug-ins éventuellement inclus dans le projet. Pour plus d’informations sur ce point, reportez-vous à la section [Plugins et composants](#plugins--components-page). - (Facultatif) Dossier Licences - Un fichier XML des numéros de licence intégrés dans l'application, le cas échéant. Pour plus d’informations sur ce point, reportez-vous à la section [Licences & Certificat](#licenses--certificate-page). @@ -183,7 +183,7 @@ Tous ces éléments doivent être conservés dans le même dossier afin que l’ Lors de la construction de l’application exécutable, 4D duplique le contenu du dossier 4D Volume Desktop dans le dossier *Final Application*. Vous pouvez donc parfaitement personnaliser le contenu du dossier 4D Volume Desktop d’origine en fonction de vos besoins. Vous pouvez, par exemple : - Installer une version de 4D Volume Desktop correspondant à une langue spécifique ; -- Add a custom *Plugins* folder; +- Ajouter un dossier *PlugIns* personnalisé ; - Personnaliser le contenu du dossier *Resources*. > Dans macOS, 4D Volume Desktop est fourni sous la forme d'un package. Pour le modifier, vous devez d'abord afficher son contenu (**Contrôle+clic** sur l'icône). @@ -224,11 +224,11 @@ En outre, l’application client/serveur est personnalisée et son maniement est - Pour lancer la partie cliente, l’utilisateur double-clique simplement sur l’application cliente, qui se connecte directement à l’application serveur. Il n’est pas nécessaire de choisir un serveur dans une boîte de dialogue de connexion. Le client cible le serveur soit via son nom, lorsque client et serveur sont sur le même sous-réseau, soit via son adresse IP, à définir via la clé XML `IPAddress` dans le fichier buildapp.4DSettings. Si la connexion échoue, [des mécanismes alternatifs spécifiques peuvent être mis en place](#management-of-client-connections). Il est également possible de “forcer” l’affichage de la boîte de dialogue de connexion standard en maintenant la touche **Option** (macOS) ou **Alt** (Windows) enfoncée lors du lancement de l’application cliente. Seule la partie cliente peut se connecter à la partie serveur correspondante. Si un utilisateur tente de se connecter à la partie serveur à l’aide d’une application 4D standard, un message d’erreur est retourné et la connexion est impossible. - Une application client/serveur peut être paramétrée de telle sorte que la partie cliente [puisse être mise à jour automatiquement via le réseau](#copy-of-client-applications-inside-the-server-application). Il vous suffit de créer et de distribuer une version initiale de l'application cliente, les mises à jour ultérieures sont gérées à l'aide du mécanisme de mise à jour automatique. -- It is also possible to automate the update of the server part through the use of a sequence of language commands ([SET UPDATE FOLDER](../commands-legacy/set-update-folder.md) and [RESTART 4D](../commands-legacy/restart-4d.md). +- Il est également possible d'automatiser la mise à jour de la partie serveur en utilisant une séquence de commandes de langage ([SET UPDATE FOLDER](../commands-legacy/set-update-folder.md) et [RESTART 4D](../commands-legacy/restart-4d.md). :::note -If you want client/server connections to be made in [TLS](../Admin/tls.md), simply check the [appropriate setting](../settings/client-server.md#encrypt-client-server-communications). If you wish to use a custom certificate, please consider using the [`CertificateAuthoritiesCertificates`](https://doc.4d.com/4Dv20R8/4D/20-R8/CertificateAuthoritiesCertificates.300-7479862.en.html). +Si vous souhaitez que les connexions client/serveur se fassent en [TLS](../Admin/tls.md), cochez simplement le [paramètre approprié](../settings/client-server.md#encrypt-client-server-communications). Si vous souhaitez utiliser un certificat personnalisé, considérez l'utilisation de [`CertificateAuthoritiesCertificates`](https://doc.4d.com/4Dv20R8/4D/20-R8/CertificateAuthoritiesCertificates.300-7479862.en.html). ::: @@ -302,11 +302,11 @@ Vous pouvez cocher cette option : Désigne l'emplacement sur votre disque de l'application 4D Volume Desktop à utiliser pour construire la partie cliente de votre application. -> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. For example, if you use 4D 20, you must select a 4D Volume Desktop 20. +> Le numéro de version de 4D Volume Desktop doit correspondre à celui du 4D Developer Edition. Par exemple, si vous utilisez 4D 20, vous devez sélectionner un 4D Volume Desktop 20. Ce 4D Volume Desktop doit correspondre à la plate-forme courante (qui sera également la plate-forme de l’application cliente). Si vous souhaitez générer une version de l’application cliente pour la plate-forme “concurrente”, vous devez répéter l'opération en utilisant une application 4D tournant sur cette plate-forme. -Si vous souhaitez que l'application cliente se connecte au serveur via une adresse spécifique (autre que le nom du serveur publié sur le sous-réseau), vous devez utiliser la clé XML `IPAddress` dans le fichier buildapp.4DSettings. For more information about this file, refer to the description of the [`BUILD APPLICATION`](../commands-legacy/build-application.md) command. Vous pouvez également mettre en place des mécanismes spécifiques en cas d'échec de la connexion. Les différents scénarios proposés sont décrits dans la section [Gestion de la connexion des applications clientes](#management-of-client-connections). +Si vous souhaitez que l'application cliente se connecte au serveur via une adresse spécifique (autre que le nom du serveur publié sur le sous-réseau), vous devez utiliser la clé XML `IPAddress` dans le fichier buildapp.4DSettings. Pour plus d'informations sur ce fichier, reportez-vous à la description de la commande [`BUILD APPLICATION`](../commands-legacy/build-application.md). Vous pouvez également mettre en place des mécanismes spécifiques en cas d'échec de la connexion. Les différents scénarios proposés sont décrits dans la section [Gestion de la connexion des applications clientes](#management-of-client-connections). #### Copie des applications clientes dans l'application serveur @@ -426,7 +426,7 @@ Le scénario standard est le suivant : - la clé `PublishName` n'est pas copiée dans le *info.plist* du client fusionné - si l'application monoposte ne possède pas de dossier "Data" par défaut, le client fusionné sera exécuté sans données. -Automatic update 4D Server features ([Current version](#current-version) number, [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md) command...) fonctionnent avec une application monoposte comme avec une application distante standard. Lors de la connexion, l'application monoposte compare sa clé `CurrentVers` à la plage de version 4D Server. Si elle se trouve en dehors de plage, l'application cliente monoposte mise à jour est téléchargée depuis le serveur et l'Updater lance le processus de mise à jour locale. +Les fonctionnalités de mise à jour automatique de 4D Server (numéro de [version courante](#current-version), commande [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md)...) fonctionnent avec une application monoposte comme avec une application distante standard. Lors de la connexion, l'application monoposte compare sa clé `CurrentVers` à la plage de version 4D Server. Si elle se trouve en dehors de plage, l'application cliente monoposte mise à jour est téléchargée depuis le serveur et l'Updater lance le processus de mise à jour locale. ### Personnalisation des noms de dossier de cache client et/ou serveur @@ -476,7 +476,7 @@ La page liste les éléments chargés par l'application 4D courante : ### Ajout de plugins ou de composants -If you want to integrate other plug-ins or components into the executable application, you just need to place them in a **Plugins** or **Components** folder next to the 4D Volume Desktop application or next to the 4D Server application. Le mécanisme de copie du contenu du dossier de l’application source (cf. paragraphe [Personnaliser le dossier 4D Volume Desktop](#customizing-4d-volume-desktop-folder)) permet d’intégrer tout type de fichier à l’application exécutable. +Si vous souhaitez intégrer d'autres plug-ins ou composants dans l'application exécutable, il vous suffit de les placer dans un dossier **Plugins** ou **Components** à côté de l'application 4D Volume Desktop ou à côté de l'application 4D Server. Le mécanisme de copie du contenu du dossier de l’application source (cf. paragraphe [Personnaliser le dossier 4D Volume Desktop](#customizing-4d-volume-desktop-folder)) permet d’intégrer tout type de fichier à l’application exécutable. En cas de conflit entre deux versions différentes d’un même plug-in (l’une chargée par 4D et l’autre placée dans le dossier de l’application source), la priorité revient au plug-in installé dans le dossier de 4D Volume Desktop/4D Server. En revanche, la présence de deux instances d’un même composant empêchera l’ouverture de l’application. @@ -502,54 +502,54 @@ Les modules optionnels suivants peuvent être désélectionnés : La page Licences & Certificat vous permet de : -- designate the [deployment license(s)](../Admin/licenses.md#deployment-licenses) that you want to integrate into your [stand-alone](#application-page) or [client-server](#clientserver-page) application, +- désigner la ou les [licence(s) de déploiement](../Admin/licenses.md#deployment-licenses) que vous souhaitez intégrer dans votre application [autonome](#application-page) ou [client-serveur](#clientserver-page), - signer l'application à l'aide d'un certificat sous macOS. ![](../assets/en/Admin/buildappCertif.png) ### Licences -This tab displays the [Build an evaluation application](#build-an-evaluation-application) option and the list of available [deployment licenses that you can embed](../Admin/licenses.md#deployment-licenses) into your application (stand-alone or client-server). Par défaut, la liste est vide. +Cet onglet affiche l'option [Créer une application d'évaluation](#build-an-evaluation-application) et la liste des [licences de déploiement disponibles que vous pouvez intégrer](../Admin/licenses.md#deployment-licenses) dans votre application (autonome ou client-serveur). Par défaut, la liste est vide. -You can use this tab to build: +Vous pouvez utiliser cet onglet pour construire : -- an evaluation application, -- a licensed application without embedded license (the user has to have a per-user license), -- a licensed application with embedded license(s). +- une application d'évaluation, +- une application sous licence mais sans licence intégrée (l'utilisateur doit disposer d'une licence personnelle), +- une application sous licence mais avec licence(s) intégrée(s). -#### Build an evaluation application +#### Créer une application d'évaluation -Check this option to create an evaluation version of your application. +Cochez cette option pour créer une version d'évaluation de votre application. -An evaluation application allows the end-user to run a full-featured version of your stand-alone or server application on their machine for a limited period of time, starting at first launch. At the end of the evaluation period, the application can no longer be used for a certain period of time on the same machine. +Une application d'évaluation permet à l'utilisateur final d'exécuter une version complète de votre application autonome ou serveur sur son ordinateur pendant une période limitée, à partir du premier lancement. À la fin de la période d'évaluation, l'application ne peut plus être utilisée pendant un certain temps sur la même machine. :::info -An internet connection is required on the user machine at the first launch of the evaluation application. +Une connexion internet est requise sur la machine de l'utilisateur lors du premier lancement de l'application d'évaluation. ::: -As soon as the "Build an evaluation application" option is enabled, deployment licenses are ignored. +Dès que l'option "Créer une application d'évaluation" est activée, les licences de déploiement sont ignorées. :::note Notes -- The [`License info`](../commands/license-info.md) command allows you to know the application license type (*.attributes* collection) and its expiration date (*.expirationDate* object). -- The BuildApplication [`EvaluationMode`](https://doc.4d.com/4Dv20R8/4D/20-R8/EvaluationMode.300-7542468.en.html) xml key allows you to manage evaluation versions. -- The [`CHANGE LICENCES`](../commands-legacy/change-licenses.md) command does nothing when called from an evaluation version. +- La commande [`License info`](../commands/license-info.md) vous permet de connaître le type de licence de l'application (collection *.attributes*) et sa date d'expiration (objet *.expirationDate*). +- La clé xml BuildApplication [`EvaluationMode`](https://doc.4d.com/4Dv20R8/4D/20-R8/EvaluationMode.300-7542468.en.html) permet de gérer les versions d'évaluation. +- La commande [`CHANGE LICENCES`](../commands-legacy/change-licenses.md) ne fait rien lorsqu'elle est appelée depuis une version d'évaluation. ::: -#### Build a licensed application without embedded license(s) +#### Construire une application sous licence mais sans licence(s) intégrée(s) -To build an application without embedded deployment license, just keep the license list empty and make sure the "Build an evaluation application" option is **unchecked**. +Pour créer une application sans licence de déploiement intégrée, il suffit de laisser la liste des licences vide et de s'assurer que l'option "Créer une application d'évaluation" est **décochée**. -In this case, the end-user will have to purchase and enter a per-user *4D Desktop* or *4D Server* license at first application startup (when you embed a deployment license, the user does not have to enter or use their own license number). For more information, see the [**Deployment licenses**](../Admin/licenses.md#deployment-licenses) section. +Dans ce cas, l'utilisateur final devra acheter et saisir une licence *4D Desktop* ou *4D Server* personnelle au premier démarrage de l'application (lorsque vous intégrez une licence de déploiement, l'utilisateur ne doit pas saisir ou utiliser son propre numéro de licence). Pour plus d'informations, voir la section [**Licences de déploiement**](../Admin/licenses.md#deployment-licenses). -#### Build a licensed application with embedded license(s) +#### Créer une application sous licence avec une ou plusieurs licence(s) intégrée(s) -This option allows you to build a ready-to-use application, in which necessary licenses are already embedded. +Cette option vous permet de créer une application prête à l'emploi, dans laquelle les licences nécessaires sont déjà intégrées. -You must designate the files that contain your [deployment licenses](../Admin/licenses.md#deployment-licenses). These files were generated or updated when the *4D Developer Professional* license and the deployment licenses were purchased. Your current *4D Developer Professional* license is automatically associated with each deployment license to be used in the application built. Vous pouvez ajouter un autre numéro de 4D Developer Professional et ses licences associées. +Vous devez désigner les fichiers qui contiennent vos [licences de déploiement](../Admin/licenses.md#deployment-licenses). Ces fichiers ont été générés ou mis à jour lors de l'achat de la licence *4D Developer Professional* et des licences de déploiement. Votre licence *4D Developer Professional* courante est automatiquement associée à chaque licence de déploiement à utiliser dans l'application créée. Vous pouvez ajouter un autre numéro de 4D Developer Professional et ses licences associées. Pour ajouter ou supprimer des licences, utilisez les boutons **[+]** et **[-]** situés en bas de la fenêtre. Lorsque vous cliquez sur le bouton \[+], une boîte de dialogue d’ouverture de document apparaît, affichant par défaut le contenu du dossier *[Licenses]* de votre poste. Pour plus d'informations sur l'emplacement de ce dossier, reportez-vous à la commande [Get 4D folder](../commands-legacy/get-4d-folder.md). @@ -566,13 +566,13 @@ Vous pouvez désigner autant de fichiers valides que vous voulez. Lors de la gé > Des licences "R" dédiées sont requises pour générer des applications basées sur des versions "R-release" (les numéros de licence des produits "R" débutent par "R-4DDP"). -After a licensed application is built, a new deployment license file is automatically included in the Licenses folder next to the executable application (Windows) or in the package (macOS). +Après la création d'une application sous licence, un nouveau fichier de licence de déploiement est automatiquement inclus dans le dossier Licenses à côté de l'application exécutable (Windows) ou dans le paquet (macOS). ### Certificat de signature macOS Le Générateur d’application permet de signer les applications 4D fusionnées sous macOS (applications monoposte, composants, 4D Server et parties clientes sous macOS). Signer une application permet d’autoriser son exécution par la fonctionnalité Gatekeeper de macOS lorsque l’option "Mac App Store et Développeurs identifiés" est sélectionnée (cf. "A propos de Gatekeeper" ci-dessous). -- Check the **Sign application** option to include certification in the application builder procedure for macOS. 4D vérifiera la disponibilité des éléments nécessaires à la certification au moment de la génération : +- Cochez l'option **Signer l'application** pour inclure la certification dans la procédure de création de l'application pour macOS. 4D vérifiera la disponibilité des éléments nécessaires à la certification au moment de la génération : ![](../assets/en/Admin/buildapposxcertProj.png) @@ -608,7 +608,7 @@ Les [fonctionnalités de signature intégrées](#macos-signing-certificate) ont Pour plus d'informations sur le concept de notarisation, veuillez consulter [cette page sur le site Apple developer](https://developer.apple.com/documentation/xcode/notarizing_your_app_before_distribution/customizing_the_notarization_workflow). -For more information on the stapling concept, please read [this Apple forum post](https://forums.developer.apple.com/forums/thread/720093). +Pour plus d'informations sur le concept d'agrafage du ticket de notarisation (*stapling*), veuillez consulter [ce post sur le forum d'Apple](https://forums.developer.apple.com/forums/thread/720093). ## Personnaliser les icônes d’une application @@ -769,9 +769,9 @@ Vous pouvez choisir d'afficher ou non la boîte de dialogue standard de sélecti En principe, la mise à jour des applications serveur ou des applications mono-utilisateur fusionnées nécessite l'intervention de l'utilisateur (ou la programmation de routines système personnalisées) : chaque fois qu'une nouvelle version de l'application fusionnée est disponible, vous devez quitter l'application en production et remplacer manuellement les anciens fichiers par les nouveaux ; puis redémarrer l'application et sélectionner le fichier de données courant. -You can automate this procedure to a large extent using the following language commands: [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md), [`RESTART 4D`](../commands-legacy/restart-4d.md), and also [`Last update log path`](../commands-legacy/last-update-log-path.md) for monitoring operations. L'idée est d'implémenter une fonction dans votre application 4D déclenchant la séquence de mise à jour automatique décrite ci-dessous. Il peut s'agir d'une commande de menu ou d'un process s'exécutant en arrière-plan et vérifiant à intervalles réguliers la présence d'une archive sur un serveur. +Vous pouvez automatiser cette procédure dans une large mesure en utilisant les commandes suivantes : [`SET UPDATE FOLDER`](../commands-legacy/set-update-folder.md), [`RESTART 4D`](../commands-legacy/restart-4d.md), et aussi [`Last update log path`](../commands-legacy/last-update-log-path.md) pour les opérations de surveillance. L'idée est d'implémenter une fonction dans votre application 4D déclenchant la séquence de mise à jour automatique décrite ci-dessous. Il peut s'agir d'une commande de menu ou d'un process s'exécutant en arrière-plan et vérifiant à intervalles réguliers la présence d'une archive sur un serveur. -> You also have XML keys to elevate installation privileges so that you can use protected files under Windows (see the [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html) manual). +> Vous disposez également de clés XML pour élever les privilèges d'installation afin de pouvoir utiliser des fichiers protégés sous Windows (voir le manuel [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html)). Voici le scénario pour la mise à jour d'un serveur ou d'une application mono-utilisateur fusionnée : @@ -787,4 +787,4 @@ La procédure d'installation produit un fichier journal détaillant les opérati Le journal de mise à jour est nommé `YYYY-MM-DD_HH-MM-SS_log_X.txt`, par exemple, `2021-08-25_14-23-00_log_1.txt` pour un fichier créé le 25 août 2021 à 14h23. -Ce fichier est créé dans le dossier de l'application "Updater", dans le dossier de l'utilisateur du système. You can find out the location of this file at any time using the [`Last update log path`](../commands-legacy/last-update-log-path.md) command. +Ce fichier est créé dans le dossier de l'application "Updater", dans le dossier de l'utilisateur du système. Vous pouvez connaître l'emplacement de ce fichier à tout moment en utilisant la commande [`Last update log path`](../commands-legacy/last-update-log-path.md). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md index d83f3a80328687..9a22dde22c5f17 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md @@ -1,180 +1,180 @@ --- id: labels -title: Libellés +title: Etiquettes --- -4D’s Label editor provides a convenient way to print a wide variety of labels. With it, you can do the following: +L'éditeur d'étiquettes de 4D offre un moyen pratique d'imprimer une grande variété d'étiquettes. Il vous permet en particulier de : -- Design labels for mailings, file folders and file cards, and for many other needs, -- Create and insert decorative items in label templates, -- Specify the font, font size, and style to be used for the labels, -- Specify the number of labels across and down on each page, -- Specify how many labels to print per record, -- Specify the label page margins, -- Designate a method to execute when printing each label or record, -- Create a preview and print the labels. +- construire des étiquettes pour réaliser des mailings, des catalogues, +- créer ou insérer des éléments décoratifs dans un modèle d’étiquettes, +- définir la police, la taille et le style des caractères utilisés, +- déterminer le nombre d’étiquettes pouvant “tenir” sur chaque page, +- définir le nombre d’étiquettes à imprimer par enregistrement, +- fixer les marges de la planche d’étiquettes, +- désigner une méthode à exécuter lors de l’impression de chaque étiquette ou enregistrement, +- créer un aperçu et imprimer les étiquettes. :::note -Labels can also be created using the [Form editor](../FormEditor/formEditor.md). Use the Form editor to design specialized labels that include variables or take advantage of the drawing tools available in the Form editor and print them using the Label editor or the [`PRINT LABEL`](../commands-legacy/print-label.md) command. +Les étiquettes peuvent également être créées à l'aide de l'[Éditeur de formulaires](../FormEditor/formEditor.md). Utilisez l'éditeur de formulaires pour concevoir des étiquettes spécialisées qui incluent des variables ou profitez des outils de dessin disponibles dans l'éditeur de formulaires et imprimez-les en utilisant l'éditeur d'étiquettes ou la commande [`PRINT LABEL`](../commands-legacy/print-label.md). ::: -You use the Label editor to create, format, and print labels. The Label editor contains settings for designing labels and positioning the labels on label paper. For example, when producing mailing labels, you might want a label design that includes the person’s first and last name on the first line, the street address on the second line, and so on. As part of the design, the Label editor enables you to specify the number of labels on the page and the margins of the label paper so that the label text is centered within the labels. -When you create a satisfactory label design, you can save it to disk so that you can reuse it. +L'éditeur d'étiquettes permet de créer, de formater et d'imprimer des étiquettes. Il contient des paramètres pour la conception d'étiquettes et le positionnement des étiquettes sur le papier d'étiquette. Par exemple, lorsque vous créez des étiquettes d’adresses pour un mailing, vous voulez que chaque étiquette contienne, sur la première ligne, le prénom et le nom d’une personne, son adresse sur la deuxième ligne, etc. Dans le cadre de la conception, l'éditeur d'étiquettes vous permet de spécifier le nombre d'étiquettes sur la page et les marges du papier d'étiquette afin que le texte de l'étiquette soit centré dans les étiquettes. +Une fois que vous avez terminé un modèle d’étiquette, vous pouvez le sauvegarder sur disque pour pouvoir le réutiliser par la suite. -To open the Label editor: +Pour ouvrir l’éditeur d’étiquettes : -- In the Design environment, choose **Labels...** from the **Tools** menu or from the menu associated with the "Tools" button in the 4D tool bar. - OR -- In an application, call the [`PRINT LABEL`](../commands-legacy/print-label.md) command. +- En mode Développement, sélectionnez **Etiquettes...** dans le menu **Outils** ou dans le menu associé au bouton “Outils” dans la barre d’outils de 4D. + OU +- En mode Application, utilisez la commande [`PRINT LABEL`](../commands-legacy/print-label.md) . ![](../assets/en/Desktop/label-wizard.png) -You use the Label page to specify the contents of the label and the Layout page to define the size and position of the labels on the page. +La page Étiquette permet de spécifier le contenu de l'étiquette et la page Planche permet de définir la taille et la position des étiquettes sur la page. ![](../assets/en/Desktop/label-buttons.png) -## Label Page +## Page Etiquette -The Label page contains several areas with settings for designing and formatting labels. +La page Étiquette contient plusieurs zones de paramétrage pour la conception et la mise en forme des étiquettes. -### List of Fields +### Liste des champs -Displays the names of the fields in the current table in a hierarchical list. If this table is related to other tables, the foreign key fields have a plus sign (on Windows) or an arrow (on macOS). You can display fields from the related table by expanding the related fields. The fields in the related table are indented. To use a field from this list in the label template, you just drag it onto the label preview area to the right of the list. +Affiche les noms des champs de la table courante sous forme de liste hiérarchique. Si cette table est liée à d'autres tables, les champs de la clé étrangère ont un signe plus (sous Windows) ou une flèche (sous macOS). Vous pouvez afficher les champs de la table liée en développant les champs liés. Les champs de la table correspondante sont indentés. Pour utiliser un champ de cette liste dans le modèle d'étiquette, il suffit de le faire glisser dans la zone de prévisualisation de l'étiquette à droite de la liste. :::note Notes -- Only tables and fields which are visible appear in the Label editor. -- [Object type](../Concepts/dt_object.md) fields are not supported by the Label editor. +- Seuls les tables et les champs visibles apparaissent dans l'éditeur d'étiquettes. +- Les champs de [type Objet](../Concepts/dt_object.md) ne sont pas pris en charge par l'éditeur d'étiquettes. ::: -The search area allows you to narrow the list of fields displayed to those containing the entered string: +La zone de recherche vous permet de limiter la liste des champs affichés à ceux qui contiennent la chaîne de caractères saisie : ![](../assets/en/Desktop/label-filter.png) -### Label preview +### Zone graphique de construction du modèle -You use this area to design your label zone by placing and positioning all the items that you want to include in your label. The white rectangle represents a single label (its size is configured on the [Layout page](#layout-page)). +Cette zone vous permet d’insérer tous les éléments que vous souhaitez voir figurer sur chaque étiquette et de visualiser précisément le résultat. Le rectangle blanc situé au centre de la zone représente une étiquette (ses dimensions sont paramétrées dans la [page "Planche"](#layout-page)). -- You can drag fields onto the label. -- You can also concatenate two fields by dropping the second field onto the first one. They are automatically separated by a space.
    +- Vous pouvez faire glisser des champs sur l'étiquette. +- Vous pouvez concaténer deux champs en déposant le second sur le premier. Ils seront automatiquement séparés par un espace.
    ![](../assets/en/Desktop/label-concat.png)
    - If you hold down the **Shift** key, they are separated by a carriage return. This lets you create, for example, address labels using several overlapping fields (Address1, Address2, etc.), without producing a blank row when an address requires only one field. -- You can add a formula onto the label by selecting the **Formula** tool ![](../assets/en/Desktop/label-tool6.png) (or choosing **Tool>Formula** in the contextual menu) and drawing an area. The **Formula editor** is then displayed: + Si vous appuyez sur la touche **Maj**, ils seront séparés par un retour chariot. Ce fonctionnement permet par exemple de créer des étiquettes d’adresses utilisant plusieurs champs superposés (Adresse1, Adresse2, etc.) ne générant pas de ligne vide lorsqu’une adresse ne requiert qu’un champ. +- Vous pouvez ajouter une formule à l'étiquette en sélectionnant l'outil **Formule** ![](../assets/en/Desktop/label-tool6.png) (ou en choisissant **Outil>Formule** dans le menu contextuel) et en dessinant une zone. L'**Éditeur de formules** s'affiche alors : ![](../assets/en/Desktop/label-formula1.png)
    - For example, you can apply a format to a field using the [`String`](../commands-legacy/string.md) command:
    + Par exemple, vous pouvez appliquer un format à un champ à l'aide de la commande [`String`](../commands-legacy/string.md) :
    ![](../assets/en/Desktop/label-formula2.png)
    :::note -Keep in mind that you can only enter methods that are "allowed" for the database in the Formula editor. Allowed methods depend on [project settings](../settings/security.md#options) and the [`SET ALLOWED METHODS`](../commands/set-allowed-methods.md) command. +N'oubliez pas que vous ne pouvez saisir que des méthodes "autorisées" pour la base de données dans l'Editeur de formules. Les méthodes autorisées dépendent des [paramètres du projet](../settings/security.md#options) et de la commande [`SET ALLOWED METHODS`](../commands/set-allowed-methods.md). ::: -- You can drag and drop picture files as well as label files (".4lbp" files) from the desktop of the OS. +- Vous pouvez glisser-déposer des fichiers image ainsi que des fichiers d'étiquettes (fichiers ".4lbp" uniquement) depuis le bureau du système d'exploitation. -- To modify the area, double-click on the contents in order to switch to editing mode. When you double-click on fields or formulas, the **Formula editor** is displayed, allowing you to remove or modify items: +- Pour modifier la zone, double-cliquez sur le contenu afin de passer en mode édition. Lorsque vous double-cliquez sur des champs ou des formules, l'**Éditeur de formules** s'affiche, vous permettant de supprimer ou de modifier des éléments : ![](../assets/en/Desktop/label-formula.png) -### Form to use +### Formulaire à utiliser -This drop-down list allows you to define a table form as a label template. The form chosen must be specially adapted to the creation of labels. -In this case, the label editor is partially disabled: only functions of the [Layout page](#layout-page) can be used — to allow you to configure the page based on the form. The image of the form selected is displayed in the label preview area. -When you use a form, 4D executes any form or object methods associated with it. When using this option, you can also designate a project method to execute for each record or label and then assignate variables (see [this example](#printing-labels-using-forms-and-methods-example) below). If you want to create your labels using the editor itself, you need to choose the **No Form** option. +Cette liste déroulante permet de définir un formulaire table comme modèle d'étiquette. Le formulaire choisi doit être spécialement adapté à la création d’étiquettes. +Dans ce cas, l’éditeur d’étiquettes est partiellement désactivé : seules les fonctions de la [page “Planche”](#layout-page) sont utilisables — pour vous permettre de paramétrer la page en fonction du formulaire. L’image du formulaire sélectionné s’affiche toutefois dans la zone de construction du modèle. +Lorsque vous utilisez un formulaire, 4D exécute les méthodes objet et la méthode formulaire qui lui sont éventuellement associées. Lorsque vous utilisez cette option, vous pouvez également désigner une méthode projet à exécuter pour chaque enregistrement ou étiquette et ainsi assigner des variables (voir [cet exemple](#printing-labels-using-forms-and-methods-example) ci-dessous). Si vous souhaitez créer vos étiquettes à l'aide de l'éditeur lui-même, vous devez choisir l'option **Pas de formulaire**. :::note Notes -- You can restrict the forms listed in this menu by means of a [specific JSON file](#controlling-available-forms-and-methods). -- If the database does not contain any table forms, this menu is not displayed. +- Vous pouvez limiter les formulaires listés dans ce menu à l'aide d'un [fichier json spécifique](#controlling-available-forms-and-methods). +- Si la base ne contient aucun formulaire table, le menu n'est pas affiché. ::: -### Graphic area commands +### Commandes de la zone graphique -The graphic area of the editor includes both a tool bar and a context menu that you can use to design your label template. +La zone graphique de l'éditeur est doté d'une barre d'outils ainsi que d'un menu contextuel vous permettant de configurer votre modèle d'étiquettes. -The left-hand side of the tool bar includes commands for selecting and inserting objects. You can also access these tools by means of the **Tool>** command in the area's context menu. +La partie de gauche de la barre d'outils comporte les commandes de sélection et d'insertion d'objets. Vous pouvez également y accéder via la commande **Outil>** du menu contextuel de la zone. -| Icône | Tool name | Description | -| ----------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| ![](../assets/en/Desktop/label-tool1.png) | Sélections | Click on a single object or draw a selection box around several objects. For a selection of non-adjacent objects, hold down **Shift** and click on each object you want to select. | -| ![](../assets/en/Desktop/label-tool2.png) | Line creation | | -| ![](../assets/en/Desktop/label-tool3.png) | Rectangle creation | For Rectangle or Rounded rectangle. | -| ![](../assets/en/Desktop/label-tool4.png) | Circle creation | | -| ![](../assets/en/Desktop/label-tool5.png) | Text insertion | Draw a rectangle and enter text inside it. You can edit any text area, including those containing field references, by double-clicking it. | -| ![](../assets/en/Desktop/label-tool6.png) | Formula insertion | Draw a rectangle to display the **Formula editor**, where you can define dynamic label contents (fields and formulas). | +| Icône | Nom de l'outil | Description | +| ----------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| ![](../assets/en/Desktop/label-tool1.png) | Sélections | Vous pouvez cliquer sur un objet ou tracer une zone afin de sélectionner plusieurs objets. Pour une sélection discontinue d'objets, appuyez sur **Maj** et cliquez sur chaque objet à sélectionner. | +| ![](../assets/en/Desktop/label-tool2.png) | Création de ligne | | +| ![](../assets/en/Desktop/label-tool3.png) | Création de rectangle | Pour création de rectangle ou rectangle arrondi. | +| ![](../assets/en/Desktop/label-tool4.png) | Création de cercle | | +| ![](../assets/en/Desktop/label-tool5.png) | Insertion de texte | Tracez une zone rectangle et saisissez du texte à l'intérieur de la zone. Vous pouvez éditer toute zone de texte, y compris les zones contenant des références de champs, en double-cliquant dessus. | +| ![](../assets/en/Desktop/label-tool6.png) | Insertion de formule | Tracez un rectangle pour afficher l'**Éditeur de formules**, où vous pouvez définir le contenu dynamique des étiquettes (champs et formules). | -There are shortcuts available to move or resize objects more precisely using the keyboard arrow keys: +Vous disposez de raccourcis permettant de déplacer ou de redimensionner précisément les objets à l'aide des touches de direction du clavier : -- Keyboard arrow keys move the selection of objects 1 pixel at a time. -- **Shift** + arrow keys move the selection of objects 10 pixels at a time. -- **Ctrl** + arrow keys enlarge or reduce the selection of objects by 1 pixel. -- **Ctrl** + **Maj** + arrow keys enlarge or reduce the selection of objects by 10 pixels. +- Les touches de direction du clavier permettent de déplacer la sélection d’objets de 1 pixel. +- **Maj** + touches de direction permettent de déplacer la sélection d’objets de 10 pixels. +- **Ctrl** + touches de direction permettent d'agrandir ou de réduire la sélection d’objets de 1 pixel. +- **Ctrl** + **Maj** + touches de direction permettent d'agrandir ou de réduire la sélection d’objets de 10 pixels. -The right-hand side of the tool bar contains commands used to modify items of the label template: +La partie droite de la barre d'outils contient les commandes permettant de modifier les éléments du modèle : -| Icône | Tool name | Description | -| ------------------------------------------ | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ![](../assets/en/Desktop/label-tool7.png) | Fill Color | all color icons display the selected color | -| ![](../assets/en/Desktop/label-tool8.png) | Couleur du trait | | -| ![](../assets/en/Desktop/label-tool9.png) | Lineweight | | -| ![](../assets/en/Desktop/label-tool10.png) | Font menu | Sets the font and its size, as well as the text style, color and alignment for the block(s) of selected text. | -| ![](../assets/en/Desktop/label-tool11.png) | Alignment and distribution | Two or more objects must be selected for the alignment options to be available. "Distributing" objects means automatically setting the horizontal or vertical intervals between at least three objects, so that they are identical. The resulting interval is an average of all those existing in the selection. | -| ![](../assets/en/Desktop/label-tool12.png) | Object level | Moves objects to the front or back, or moves one or more objects up or down one level. | +| Icône | Nom de l'outil | Description | +| ------------------------------------------ | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ![](../assets/en/Desktop/label-tool7.png) | Couleur de remplissage | toutes les icônes de couleur affichent la couleur sélectionnée | +| ![](../assets/en/Desktop/label-tool8.png) | Couleur du trait | | +| ![](../assets/en/Desktop/label-tool9.png) | Epaisseur des lignes | | +| ![](../assets/en/Desktop/label-tool10.png) | Menu de gestion de la police | Permet de définir la police, la taille de police, ainsi que le style, la couleur et l'alignement du texte pour le(s) bloc(s) de texte sélectionné(s). | +| ![](../assets/en/Desktop/label-tool11.png) | Alignement et répartition | Pour l'alignement, deux objets au moins doivent être sélectionnés. "Répartir" des objets signifie définir automatiquement les intervalles horizontaux ou verticaux entre au moins trois objets, de manière à ce qu’ils soient identiques. L’intervalle obtenu est une moyenne de tous ceux existant dans la sélection. | +| ![](../assets/en/Desktop/label-tool12.png) | Plan des objets | Permet de faire passer les objets à l’arrière-plan ou au premier plan, ou encore faire passer un ou plusieurs objets sur le plan suivant ou précédent. | -## Layout Page +## Page Planche -The Layout page contains controls for printing labels based on the requirements of your current print settings. +Cette page contient des commandes permettant d'imprimer des étiquettes en fonction des exigences de vos paramètres d'impression courants. ![](../assets/en/Desktop/label-layout.png) -- **Labels Order**: Specifies whether labels should be printed in the direction of the rows or the columns. -- **Rows** and **Columns**: Set the number of labels to be printed by "row" and by "column" on each sheet. These settings determine the label size when the "Automatic resizing" option is enabled. -- **Labels per record**: Sets the number of copies to print for each label (copies are printed consecutively). -- **Print Setup...**: Sets the format of the page on which the sheet of labels will be printed. When you click this button, the setup dialog box for the printer selected in your system appears. By default, the sheet of labels is generated based on an A4 page in portrait mode. - **Note:** The sheet created by the editor is based on the logical page of the printer, i.e. the physical page (for instance, an A4 page) less the margins that cannot be used on each side of the sheet. The physical margins of the page are shown by blue lines in the preview area. -- **Unit**: Changes the units in which you specify your label and label page measurements. You can use points, millimeters, centimeters, or inches. -- **Automatic resizing**: Means that 4D automatically calculates the size of the labels (i.e. the Width and Height parameters) according to the values set in all the other parameters. When this option is checked, the label size is adjusted each time you modify a page parameter. The Width and Height parameters can no longer be set manually. -- **Width** and **Height**: Sets the height and width of each label manually. They cannot be edited when the **Automatic resizing** option is checked. -- **Margins** (Top, Right, Left, Bottom): Sets the margins of your sheet. These margins are symbolized by blue lines in the preview area. Clicking on **Use printer margins** replicates, in the preview area, the margin information provided by the selected printer (these values can be modified). -- **Gaps**: Set the amount of vertical and/or horizontal space between label rows and columns. -- **Method**: Lets you trigger a specific method that will be run at print time. For example, you can execute a method that posts the date and time that each label was printed. This feature is also useful when you print labels using a dedicated table form, in which case you can fill variables from a method. - To be eligible for label processing, a project method must comply with the following settings: - - it must be "allowed" for the database (allowed methods depend on [project settings](../settings/security.md#options) and the [`SET ALLOWED METHODS`](../commands/set-allowed-methods.md) command), otherwise it will not be displayed in the **Apply** menu. - - it must have the [Shared by components and host database](../Project/code-overview.md#shared-by-components-and-host-database) option. - See also [this example](#printing-labels-using-forms-and-methods-example) below. +- **Ordre étiquettes** : définit si les étiquettes doivent être imprimées dans le sens des lignes ou des colonnes. +- **Lignes** et **Colonnes** : nombre d’étiquettes que vous souhaitez imprimer par “ligne” et par “colonne” sur une planche. Ces paramètres déterminent les dimensions des étiquettes lorsque l’option “Dimensions automatiques” est activée. +- **Etiquettes par enregistrement** : nombre d’étiquettes à imprimer pour chaque enregistrement (les copies seront imprimées les unes à la suite des autres). +- **Format d’impression** : format de la feuille sur laquelle la planche d’étiquettes sera imprimée. Lorsque vous cliquez sur ce bouton, la boîte de dialogue de configuration de l’imprimante sélectionnée dans votre système s’affiche. Par défaut, la planche d’étiquettes est générée sur la base d’une page A4 en mode portrait. + **Note :** La planche créée par l’éditeur se base sur la page logique de l’imprimante, c’est-à-dire la page physique (par exemple une feuille A4) moins les marges inutilisables de chaque côté de la feuille. Les marges de la page physique sont représentées par les filets bleus dans la zone de prévisualisation de la planche. +- **Unité** : Modifie les unités dans lesquelles vous spécifiez les mesures de l'étiquette et de la page d'étiquette. Vous pouvez utiliser des points, des millimètres, des centimètres ou des pouces. +- **Dimensions automatiques** : indique à 4D de calculer automatiquement la taille des étiquettes (c’est-à-dire les paramètres Largeur et Hauteur) en fonction des valeurs fixées dans tous les autres paramètres. Lorsque cette option est active, la taille des étiquettes est recalculée à chaque fois que vous modifiez un paramètre dans la page. Dans ce cas également, les paramètres Largeur et Hauteur ne peuvent pas être saisis manuellement. +- **Largeur** et **Hauteur** : ces zones permettent de définir manuellement la largeur et la hauteur de chaque étiquette. Ces zones ne sont pas modifiables lorsque l'option **Dimensions automatiques** est cochée. +- **Marges** (Haut , Droite, Gauche, Bas) : permet de saisir les marges de votre planche. Les marges sont symbolisées par des filets de couleur bleue dans la zone de prévisualisation. Vous pouvez cliquer sur **Appliquer les marges de l'imprimante** afin de répliquer dans les zones de marge les informations de marge fournies par l'imprimante sélectionnée (ces valeurs peuvent être modifiées). +- **Intervalles** : définit l’espacement horizontal et/ou vertical entre les étiquettes dans la planche. +- **Méthode** : ce paramètre vous permet de déclencher une méthode particulière lors de l’impression de votre planche d’étiquettes. Par exemple, vous pouvez exécuter une méthode qui enregistre la date et l'heure auxquelles chaque étiquette a été imprimée. Cette fonction est également utile lorsque vous imprimez des étiquettes à l'aide d'un formulaire table dédié, auquel cas vous pouvez remplir des variables à partir d'une méthode. + Pour être éligible au traitement des étiquettes, une méthode projet doit respecter les conditions suivantes : + - elle doit être "autorisée" pour la base de données (les méthodes autorisées dépendent des [paramètres du projet](../settings/security.md#options) et de la commande [`SET ALLOWED METHODS`](../commands/set-allowed-methods.md)), sinon elle ne sera pas affichée dans le menu **Appliquer**. + - elle doit avoir l'option [Partagée entre composants et base hôte](../Project/code-overview.md#shared-by-components-and-host-database) . + Voir aussi [cet exemple](#printing-labels-using-forms-and-methods-example) ci-dessous. :::note -For advanced needs, you can restrict the list of methods available using a [specific json file](#controlling-available-forms-and-methods). -The **For each: Record or Label** options are used to specify whether to run the method once per label or once per record. This control has meaning only if you are printing more than one copy of each label and you are also executing a method at print time. +Pour des besoins avancés, vous pouvez restreindre la liste des méthodes disponibles à l'aide d'un [fichier json spécifique](#controlling-available-forms-and-methods). +Les options **A chaque : Enregistrement ou Étiquette** permettent de spécifier si la méthode doit être exécutée une fois par étiquette ou une fois par enregistrement. Ce contrôle n'a de sens que si vous imprimez plus d'une copie de chaque étiquette et que vous exécutez également une méthode au moment de l'impression. ::: -- **Layout preview**: Provides a reduced view of how an entire page of labels will look, based on the dimensions you enter in the Label editor. The page preview also reflects the paper size selected in the Print Setup dialog box. You can also use this area to designate the first label on the page to be printed (this option only affects the first sheet in the case of multi-page printing). This can be useful, for example, when you want to print on a sheet of adhesive labels, part of which has already been used. You can also select the first label on the page to be printed by clicking on it: +- **Zone de prévisualisation de la planche d’étiquettes** : cette zone vous permet de visualiser en temps réel les modifications que vous effectuez dans la fenêtre. L'aperçu de la page reflète également le format de papier sélectionné dans la boîte de dialogue Configuration de l'impression. Elle vous permet enfin de désigner l’étiquette à partir de laquelle débutera l’impression (cette option n’affecte que la première planche lors d’une impression multi-pages). Cette possibilité s’avère utile lorsque, par exemple, vous souhaitez imprimer sur une planche d’étiquettes autocollantes dont une partie a déjà été utilisée. Vous pouvez également sélectionner la première étiquette de la page à imprimer en cliquant dessus : ![](../assets/en/Desktop/label-start.png) -## Printing labels using forms and methods (example) +## Imprimer des étiquettes à l'aide de formulaires et de méthodes (exemple) -You can use dedicated table forms and project methods to print labels with calculated variables. This simple example shows how to configure the different elements. +Vous pouvez utiliser des formulaires table dédiés et des méthodes projet pour imprimer des étiquettes contenant des variables calculées. Cet exemple simple explique comment configurer l'ensemble. -1. In a dedicated table form, add your label field(s) and variable(s). - Here, in a table form named "label", we added the *myVar* variable: +1. Dans le formulaire table à utiliser, ajoutez le(s) champ(s) et variable(s) souhaité(s). + Ici, dans le formulaire table nommé "labels", nous ajoutons la variable *myVar* : ![](../assets/en/Desktop/label-example1.png) -2. Create a `setMyVar` project method with the following code: +2. Créez une méthode projet nommée *setMyVar* contenant le code suivant : ```4d var myVar+=1 ``` -3. Set the project method as ["Shared by components and host database"](../Project/code-overview.md#shared-by-components-and-host-database). +3. Appliquez l'option ["Partagée entre composants et projet hôte"](../Project/code-overview.md#shared-by-components-and-host-database) à la méthode projet. -4. Before displaying the Label editor, make sure the project method is allowed by executing this code: +4. Avant d'afficher l'éditeur d'étiquettes, assurez-vous que la méthode projet est autorisée en exécutant ce code : ```4d ARRAY TEXT($methods;1) @@ -182,26 +182,26 @@ You can use dedicated table forms and project methods to print labels with calcu SET ALLOWED METHODS($methods) ``` -5. Open the Label editor and use your form: +5. Ouvrez l'éditeur d'étiquettes et sélectionnez votre formulaire : ![](../assets/en/Desktop/label-example2.png) -6. In the Layout page, select the method: +6. Dans la page Planche, sélectionnez la méthode : ![](../assets/en/Desktop/label-example3.png) -Then you can print your labels: +Vous pouvez alors imprimer vos étiquettes : ![](../assets/en/Desktop/label-example4.png) -## Controlling available forms and methods +## Définition des formulaires et méthodes utilisables -The Label editor includes an advanced feature allowing you to restrict which project forms and methods (within "allowed" methods) can be selected in the dialog box: +L'éditeur d'étiquettes comporte une fonction permettant de limiter spécifiquement les formulaires et les méthodes projet (parmi les méthodes autorisées du projet) qui peuvent être sélectionnés : -- in the **Form to use** menu on the "Label" page and/or -- in the **Apply (method)** menu on the "Layout" page. +- dans le menu **Formulaire à utiliser** de la page "Etiquette" +- dans le menu **Méthode à appliquer** de la page "Planche". -1. Create a JSON file named **labels.json** and put it in the [Resources folder](../Project/architecture.md#resources) of the project. -2. In this file, add the names of forms and/or project methods that you want to be able to select in the Label editor menus. +1. Créez un fichier JSON nommé **labels.json** et placez-le dans le [dossier Resources](../Project/architecture.md#resources) du projet. +2. Dans ce fichier, listez les noms des formulaires et/ou des méthodes projet que vous autorisez dans les menus de l'éditeur d'étiquettes. -The contents of the **labels.json** file should be similar to: +Le contenu du fichier **labels.json** devra être du type : ```json [ @@ -210,38 +210,38 @@ The contents of the **labels.json** file should be similar to: ] ``` -If no **labels.json** file has been defined, then no filtering is applied. +Si aucun fichier **labels.json** n'a été défini, aucun filtrage n'est appliqué. -## Managing label files +## Gestion des fichiers d'étiquettes -4D allows you to save each label design in a file that you can open subsequently from within the wizard. By saving your label designs, you can build a label library adapted to your specific needs. Each label design stores the settings defined on the Label and Layout pages. +4D vous permet de sauvegarder chaque modèle d’étiquettes dans un fichier, que vous pourrez ouvrir par la suite depuis l’éditeur. En sauvegardant vos modèles d’étiquettes, vous pouvez vous constituer une bibliothèque d’étiquettes que vous pourrez utiliser suivant vos besoins. Un modèle conserve les paramètres définis dans les pages Etiquette et Planche. -You can drag and drop label files from your desktop onto the label design area. +Vous pouvez glisser-déposer des fichiers d'étiquettes depuis le bureau vers la zone de construction de l'étiquette. -Label designs are managed using the **Load** and **Save** buttons of the tool bar. +La gestion des fichiers de modèle s'effectue à l'aide des boutons **Import** et **Enregistrer** de la barre d'outils. -- To load a label design, click on the **Load** button and designate the design you want to load by means of the File Open dialog box (if a label design is already present in the wizard, 4D replaces it by the one you have loaded). -- To save a label design, click on the **Save** button and indicate the name and location of the design to be created. +- Pour charger un modèle d’étiquettes, cliquez sur bouton **Import** et désignez le modèle à charger dans la boîte de dialogue d'ouverture de fichiers (si un modèle d’étiquettes était présent dans l’éditeur, 4D le remplace par celui que vous avez chargé). +- Pour sauvegarder un modèle d’étiquettes, cliquez sur le bouton **Enregistrer** et indiquez le nom et l'emplacement du modèle à créer. -### File format +### Format de fichier -The file extension of 4D labels saved by the wizard is ".4lbp". Note that this format is open since it is written internally in XML. +L'extension de fichier des étiquettes 4D sauvegardées par l'éditeur est ".4lbp". A noter que ce format est ouvert puisqu'il utilise en interne du XML. -### Preloading label files +### Préchargement de fichiers d'étiquettes -The Label Wizard allows you to store label files within your application, so that label designs can be selected and opened by the user directly using the **Load** button. +L'éditeur d 'étiquettes vous permet de stocker des fichiers d'étiquettes à l'intérieur de votre application, pouvant être directement sélectionnés et ouverts par l'utilisateur via le bouton **Import**. -To do this, you just need to create a folder named `Labels` within the [Resources folder](../Project/architecture.md#resources) of the project and then copy your label files into it: +Pour cela, il vous suffit de créer un sous-dossier "Labels" dans le [dossier Resources du projet](../Project/architecture.md#resources) et d'y copier vos fichiers d'étiquettes : ![](../assets/en/Desktop/label-resources.png) :::note -Both standard ".4lbp" files and files generated by the former wizard (".4lb") files are supported. +Les fichiers ".4lbp" standard ainsi que les fichiers générés par l'ancien éditeur (".4lb") sont pris en charge. ::: -When the Label Wizard starts, if this folder is detected and contains valid label files, a pop-up icon is added to the **Load** button. Label designs can then be selected through a menu line: +A l'ouverture de l'éditeur d'étiquettes, si ce dossier est détecté et qu'il contient au moins un fichier d'étiquettes valide, une icône de pop up est ajoutée au bouton **Import**. Les modèles d'étiquettes peuvent ensuite être sélectionnés à l'aide d'une ligne de menu : ![](../assets/en/Desktop/label-resources2.png) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Develop/preemptive.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Develop/preemptive.md index ddaab09374b905..a3f38045ae7adb 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Develop/preemptive.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Develop/preemptive.md @@ -13,7 +13,7 @@ Lorsqu'ils sont exécutés en mode *coopératif*, tous les process sont gérés En conséquence, en mode préemptif, les performances globales de l'application sont améliorées, notamment sur les machines multicœurs, car plusieurs process peuvent réellement s'exécuter simultanément. Cependant, les gains réels dépendent des opérations en cours d'exécution. En contrepartie, étant donné qu'en mode préemptif chaque process est indépendant des autres et n'est pas géré directement par l'application, il y a des contraintes spécifiques appliquées au code que vous souhaitez rendre compatible avec une utilisation en préemptif. De plus, l'exécution en préemptif n'est disponible que dans certains contextes. -## Availability of preemptive mode {#availability-of-preemptive-mode} +## Disponibilité du mode préemptif {#availability-of-preemptive-mode} L'utilisation du mode préemptif est prise en charge dans les contextes d'exécution suivants : @@ -41,7 +41,7 @@ Le code 4D ne peut être exécuté dans un process préemptif que lorsque certai La propriété "thread safety" de chaque élément dépend de l'élément lui-même : -- Commandes 4D : la propriété thread-safe est une propriété interne. In the 4D documentation, thread-safe commands are identified by the ![](../assets/en/Develop/thread-safe.png) icon. You can also use the [`Command name`](../commands/command-name.md) command to know if a command is thread-safe. Une grande partie des commandes 4D peut s'exécuter en mode préemptif. +- Commandes 4D : la propriété thread-safe est une propriété interne. Dans la documentation 4D, les commandes thread-safe sont identifiées par l'icône ![](../assets/en/Develop/thread-safe.png). Vous pouvez également utiliser la commande [`Command name`](../commands/command-name.md) pour savoir si une commande est thread-safe. Une grande partie des commandes 4D peut s'exécuter en mode préemptif. - Méthodes projet : les conditions pour être thread-safe sont répertoriées dans [ce paragraphe](#writing-a-thread-safe-method). Fondamentalement, le code à exécuter dans des threads préemptifs ne peut pas appeler des parties avec des interactions externes, telles que du code de plug-in ou des variables interprocess. Cependant, l'accès aux données est autorisé car le serveur de données 4D et ORDA prennent en charge l'exécution préemptive. @@ -141,7 +141,7 @@ Exécuter une méthode en mode préemptif dépendra de sa propriété "execution 4D vous permet d'identifier le mode d'exécution des process en mode compilé : -- The [`Process info`](../commands/process-info.md) command allows you to find out whether a process is run in preemptive or cooperative mode. +- La commande [`Process info`](../commands/process-info.md) vous permet de savoir si un process est exécuté en mode préemptif ou coopératif. - L'Explorateur d'exécution et la [fenêtre d'administration de 4D Server](../ServerWindow/processes.md#process-type) affichent des icônes spécifiques pour les process préemptifs. ## Ecrire une méthode thread-safe @@ -155,10 +155,10 @@ Pour être thread-safe, une méthode doit respecter les règles suivantes : - Elle ne doit pas utiliser de variables interprocess(1) - Elle ne doit pas appeler d'objets d'interface (2) (il y a cependant des exceptions, voir ci-dessous). -(1) To exchange data between preemptive processes (and between all processes), you can pass [shared collections or shared objects](../Concepts/shared.md) as parameters to processes, and/or use the [`Storage`](../commands-legacy/storage.md) catalog. +(1) Pour échanger des données entre process préemptifs (et entre tous les process), vous pouvez passer des [collections partagées ou objets partagés](../Concepts/shared.md) comme paramètres aux process, et/ou utiliser le catalogue [`Storage`](../commands-legacy/storage.md). Les [process Worker](processes.md#worker-processes) vous permettent également d'échanger des messages entre tous les process, y compris les process préemptifs. -(2) The [`CALL FORM`](../commands-legacy/call-form.md) command provides an elegant solution to call interface objects from a preemptive process. +(2) La commande [`CALL FORM`](../commands-legacy/call-form.md) fournit une solution élégante pour appeler des objets d'interface à partir d'un process préemptif. :::note Notes @@ -193,7 +193,7 @@ Les seuls accès possibles à l'interface utilisateur depuis un thread préempti ### Triggers -When a method uses a command that can call a [trigger](https://doc.4d.com/4Dv20/4D/20.6/Triggers.300-7488308.en.html), the 4D compiler evaluates the thread safety of the trigger in order to check the thread safety of the method: +Lorsqu'une méthode utilise une commande qui peut appeler un [trigger](https://doc.4d.com/4Dv20/4D/20.6/Triggers.300-7488308.en.html), le compilateur 4D évalue la "thread safety" du trigger afin de vérifier celle de la méthode : ```4d SAVE RECORD([Table_1]) //trigger sur Table_1, s'il existe, doit être thread-safe @@ -216,7 +216,7 @@ Dans ce cas, tous les triggers sont évalués. Si une commande thread-unsafe est :::note -In [client/server applications](../Desktop/clientServer.md), triggers may be executed in cooperative mode, even if their code is thread-safe. This happens when a trigger is activated from a remote process: in this case, the trigger is executed in the ["twinned" process of the client process](https://doc.4d.com/4Dv20/4D/20/4D-Server-and-the-4D-Language.300-6330554.en.html#68972) on the server machine. Since this process is used for all calls from the client, it is always executed in cooperative mode. +Dans les [applications client/serveur](../Desktop/clientServer.md), les triggers peuvent être exécutés en mode coopératif, même si leur code est thread-safe. Cela se produit lorsqu'un trigger est déclenché à partir d'un process distant : dans ce cas, le trigger est exécuté dans le [process "jumeau" du process client](https://doc.4d.com/4Dv20/4D/20/4D-Server-and-the-4D-Language.300-6330554.en.html#68972) sur la machine serveur. Comme ce process est utilisé pour tous les appels du client, il est toujours exécuté en mode coopératif. ::: @@ -268,12 +268,12 @@ Il peut y avoir certains cas où vous préférez que la vérification de la prop Pour faire cela, vous devez entourer le code à exclure de la vérification avec les directives spéciales `%T-` et `%T+` en tant que commentaires. Le commentaire `//%T-` désactive la vérification de la propriété thread safe et `//%T+` la réactive : ```4d - //%T- to disable thread safety checking - - // Place the code containing commands to be excluded from thread safety checking here - $w:=Open window(10;10;100;100) //for example - - //%T+ to enable thread safety checking again for the rest of the method + //%T- pour désactiver la vérification thread safety + + // Placez le code contenant les commandes à exclure de la vérification thread safety ici + $w:=Open window(10;10;100;100) //par exemple + + //%T+ pour réactiver la vérification thread safety pour le reste de la méthode ``` Bien entendu, le développeur 4D est responsable de la compatibilité du code entre les directives de désactivation et de réactivation avec le mode préemptif. Des erreurs d'exécution seront générées si du code thread-unsafe est exécuté dans un process préemptif. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Develop/processes.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Develop/processes.md index 6fd734b8abdd63..9a095b4d704ad2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Develop/processes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Develop/processes.md @@ -18,9 +18,9 @@ L'application 4D crée des process pour ses propres besoins, par exemple le proc Il existe plusieurs façons de créer un nouveau process : - Exécuter une méthode en mode Développement en sélectionnant la case à cocher **Nouveau process** dans la boîte de dialogue d'exécution de méthode. La méthode choisie dans ce dialogue est la méthode process. -- Use the [`New process`](../commands-legacy/new-process.md) command. La méthode passée en tant que paramètre à la commande `New process` est la méthode process. +- Utilisez la commande [`New process`](../commands-legacy/new-process.md). La méthode passée en tant que paramètre à la commande `New process` est la méthode process. - Utiliser la commande [`Execute on server`](../commands-legacy/execute-on-server.md) afin de créer une procédure stockée sur le serveur. La méthode passée en paramètre à la commande est la méthode process. -- Use the [`CALL WORKER`](../commands-legacy/call-worker.md) command. Si le process du worker n'existe pas déjà, il est créé. +- Utiliser la commande [`CALL WORKER`](../commands-legacy/call-worker.md). Si le process du worker n'existe pas déjà, il est créé. :::note @@ -50,7 +50,7 @@ Chaque process contient des éléments spécifiques qu'il peut traiter indépend ### Éléments d'interface -Les éléments d'interface sont utilisés dans les [Applications Desktop] (../category/desktop-applications). Il s'agit des éléments suivants : +Les éléments d'interface sont utilisés dans les [Applications Desktop](../category/desktop-applications). Il s'agit des éléments suivants : - [Barre de menus](../Menus/creating.md) : Chaque process peut avoir sa propre barre de menus courante. La barre de menus du process au premier plan est la barre de menus courante de l'application. - Une ou plusieurs fenêtres : Chaque processus peut avoir plusieurs fenêtres ouvertes simultanément. A l'inverse, des process peuvent n'avoir pas de fenêtre du tout. @@ -98,13 +98,13 @@ Un process worker peut être "engagé" par n'importe quel process (en utilisant :::info -In Desktop applications, a project method can also be executed with parameters in the context of any form using the [`CALL FORM`](../commands-legacy/call-form.md) command. +Dans les applications Desktop, une méthode projet peut également être exécutée avec des paramètres dans le contexte de n'importe quel formulaire en utilisant la commande [`CALL FORM`](../commands-legacy/call-form.md). ::: Cette fonctionnalité répond aux besoins suivants en matière de communication interprocess de 4D : -- Étant donné qu'ils sont pris en charge par les process coopératifs et préemptifs, ils constituent la solution idéale pour la communication interprocessus dans les [process préemptifs] (preemptive.md) ([les variables interprocess sont dépréciées] (https://doc.4d.com/4Dv20/4D/20/Deprecated-or-Removed-Features.100-6259787.en.html#5868705) et ne sont pas autorisées dans les processus préemptifs). +- Étant donné qu'ils sont pris en charge par les process coopératifs et préemptifs, ils constituent la solution idéale pour la communication interprocess dans les [process préemptifs](preemptive.md) ([les variables interprocess sont dépréciées](https://doc.4d.com/4Dv20/4D/20/Deprecated-or-Removed-Features.100-6259787.en.html#5868705) et ne sont pas autorisées dans les process préemptifs). - Ils constituent une alternative simple aux sémaphores, qui peuvent être lourds à mettre en place et complexes à utiliser :::note @@ -144,10 +144,10 @@ Le process principal créé par 4D lors de l'ouverture d'une base de données po ### Identifier les process worker -All worker processes, except the main process, have the process type `Worker process` (5) returned by the [`Process info`](../commands/process-info.md) command. +Tous les process worker, à l'exception du process principal, ont le type de process `Worker process` (5) renvoyé par la commande [`Process info`](../commands/process-info.md). Des [icônes spécifiques](../ServerWindow/processes#process-type) identifient les process worker. ### Voir également -Pour plus d'informations, veuillez consulter [cet article de blog] (https://blog.4d.com/4d-summit-2016-laurent-esnault-presents-workers-and-ui-in-preemptive-mode/) sur l'utilisation des workers. +Pour plus d'informations, veuillez consulter [cet article de blog](https://blog.4d.com/4d-summit-2016-laurent-esnault-presents-workers-and-ui-in-preemptive-mode/) sur l'utilisation des workers. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormEditor/formEditor.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormEditor/formEditor.md index c261d28379d42a..b287c7227c47f3 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormEditor/formEditor.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormEditor/formEditor.md @@ -697,7 +697,7 @@ Sélectionnez simplement la vue de destination, faites un clic droit puis sélec ![](../assets/en/FormEditor/moveObject.png) -OR +OU Sélectionnez la vue de destination de la sélection et cliquez sur le bouton **Déplacer vers** en bas de la palette des vues : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/button_overview.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/button_overview.md index a64eab9a1a641c..8e55cdd0259b40 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/button_overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/button_overview.md @@ -327,8 +327,8 @@ Tous les boutons partagent une même série de propriétés de base : [Bold](properties_Text.md#bold) - [Border Line Style](properties_BackgroundAndBorder.md#border-line-style) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Button Style](properties_TextAndPicture.md#button-style) - [Class](properties_Object.md#css-class) - [Droppable](properties_Action.md#droppable) - [Focusable](properties_Entry.md#focusable) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Italic](properties_Text.md#italic) - [Image hugs title](properties_TextAndPicture.md#image-hugs-title)(1) - [Left](properties_CoordinatesAndSizing.md#left) - [Not rendered](properties_Display.md#not-rendered) - [Number of States](properties_TextAndPicture.md#number-of-states)(1) - [Object Name](properties_Object.md#object-name) - [Picture pathname](properties_TextAndPicture.md#picture-pathname)(1) - [Right](properties_CoordinatesAndSizing.md#right) - [Shortcut](properties_Entry.md#shortcut) - [Standard action](properties_Action.md#standard-action) - [Title](properties_Object.md#title) - [Title/Picture Position](properties_TextAndPicture.md#titlepicture-position)(1) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) - [With pop-up menu](properties_TextAndPicture.md#with-pop-up-menu)(2) -> (1) Not supported by the [Help](#help) style.
    -> (2) Not supported by the [Help](#help), [Flat](#flat) and [Regular](#regular) styles. +> (1) Non pris en charge par le style [Help](#help).
    +> (2) Non pris en charge par les styles [Help](#help), [Flat](#flat) et [Regular](#regular). Des propriétés spécifiques supplémentaires sont disponibles, en fonction du [style de bouton](#button-styles) : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/checkbox_overview.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/checkbox_overview.md index de8c0fd57b9b4d..474f26b66ce7ec 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/checkbox_overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/checkbox_overview.md @@ -389,8 +389,8 @@ Toutes les cases à cocher partagent une même série de propriétés de base : [Bold](properties_Text.md#bold) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Button Style](properties_TextAndPicture.md#button-style) - [Class](properties_Object.md#css-class) - [Enterable](properties_Entry.md#enterable) - [Expression Type](properties_Object.md#expression-type) - [Focusable](properties_Entry.md#focusable) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment)(1) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Image hugs title](properties_TextAndPicture.md#image-hugs-title)(2) - [Italic](properties_Text.md#italic) - [Left](properties_CoordinatesAndSizing.md#left) - [Number of States](properties_TextAndPicture.md#number-of-states)(2) - [Object Name](properties_Object.md#object-name) - [Picture pathname](properties_TextAndPicture.md#picture-pathname)(2) - [Right](properties_CoordinatesAndSizing.md#right) - [Save value](properties_Object.md#save-value) - [Shortcut](properties_Entry.md#shortcut) - [Standard action](properties_Action.md#standard-action) - [Title](properties_Object.md#title) - [Title/Picture Position](properties_TextAndPicture.md#titlepicture-position)(2) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) -> (1) Not supported by the [Regular](#regular) and [Flat](#flat) styles.
    -> (2) Not supported by the [Regular](#regular), [Flat](#flat), [Disclosure](#disclosure) and [Collapse/Expand](#collapseexpand) styles. +> (1) Non pris en charge par les styles [Regular](#regular) et [Flat](#flat).
    +> (2) Non pris en charge par les styles [Regular](#regular), [Flat](#flat), [Disclosure](#disclosure) et [Collapse/Expand](#collapseexpand). Des propriétés spécifiques supplémentaires sont disponibles, en fonction du [style de bouton](#check-box-button-styles) : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/listbox_overview.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/listbox_overview.md index 8e25d1f0af749f..07b241a2cdd655 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/listbox_overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/listbox_overview.md @@ -197,7 +197,7 @@ Les propriétés prises en charge dépendent du type de list box. ### Événements formulaire pris en charge -| Evénement formulaire | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | Commentaires | +| Evénement formulaire | Propriétés supplémentaires renvoyées (voir [Form event](../commands/form-event.md) pour les propriétés principales) | Commentaires | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | | On After Keystroke |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | @@ -271,7 +271,7 @@ You can set standard properties (text, background color, etc.) for each column o ### Événements formulaire pris en charge -| Evénement formulaire | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | Commentaires | +| Evénement formulaire | Propriétés supplémentaires renvoyées (voir [Form event](../commands/form-event.md) pour les propriétés principales) | Commentaires | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | | On After Keystroke |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | @@ -1004,9 +1004,9 @@ Ces attributs peuvent être utilisés pour contrôler la plage de valeurs d'entr L'attribut behavior propose des variations de la représentation standard des valeurs. Une seule variation est possible : -| Attribut | Valeur(s) disponible(s) | valueType(s) | Description | -| -------- | ------------------------------------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| behavior | threeStates | integer | Represents a numeric value as a three-states check box.
    2=semi-checked, 1=checked, 0=unchecked, -1=invisible, -2=unchecked disabled, -3=checked disabled, -4=semi-checked disabled | +| Attribut | Valeur(s) disponible(s) | valueType(s) | Description | +| -------- | ------------------------------------------------------------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| behavior | threeStates | integer | Représente une valeur numérique sous la forme d'une case à cocher à trois états.
    2=semi-coché, 1=coché, 0=décoché, -1=invisible, -2=décoché désactivé, -3=coché désactivé, -4=semi-coché désactivé | ```4d C_OBJECT($ob3) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/properties_Text.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/properties_Text.md index 6395799e134852..0e6c39a7cf1086 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/properties_Text.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/properties_Text.md @@ -25,10 +25,10 @@ When this property is enabled, the [OPEN FONT PICKER](../commands-legacy/open-fo Le texte sélectionné est plus foncé et plus épais. -You can set this property using the [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md) command. +Vous pouvez définir cette propriété en utilisant la commande [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md). -> This is normal text.
    -> **This is bold text.** +> Ceci est un texte normal.
    +> **Ceci est un texte en gras.** #### Grammaire JSON @@ -46,10 +46,10 @@ You can set this property using the [**OBJECT SET FONT STYLE**](../commands-lega Fait pencher le texte sélectionné légèrement vers la droite. -You can also set this property via the [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md) command. +Vous pouvez également définir cette propriété via la commande [**OBJECT SET FONT STYLE**](../commands-legacy/object-set-font-style.md). -> This is normal text.
    -> *This is text in italics.* +> Ceci est un texte normal.
    +> *Ceci est un texte en italique.* #### Grammaire JSON diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/radio_overview.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/radio_overview.md index 90d714a5194955..c7ff3be18dbc94 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/radio_overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/FormObjects/radio_overview.md @@ -147,8 +147,8 @@ Tous les boutons radio partagent une même série de propriétés de base : [Bold](properties_Text.md#bold) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Button Style](properties_TextAndPicture.md#button-style) - [Class](properties_Object.md#css-class) - [Expression Type](properties_Object.md#expression-type) - [Focusable](properties_Entry.md#focusable) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment)(1) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Image hugs title](properties_TextAndPicture.md#image-hugs-title)(2) - [Italic](properties_Text.md#italic) - [Left](properties_CoordinatesAndSizing.md#left) - [Number of States](properties_TextAndPicture.md#number-of-states)(2) - [Method](properties_Action.md#method) - [Object Name](properties_Object.md#object-name) - [Radio Group](properties_Object.md#radio-group) - [Picture pathname](properties_TextAndPicture.md#picture-pathname)(2) - [Right](properties_CoordinatesAndSizing.md#right) - [Save value](properties_Object.md#save-value) - [Shortcut](properties_Entry.md#shortcut) - [Title](properties_Object.md#title) - [Title/Picture Position](properties_TextAndPicture.md#titlepicture-position)(2) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) -> (1) Not supported by the [Regular](#regular) and [Flat](#flat) styles.
    -> (2) Not supported by the [Regular](#regular), [Flat](#flat), [Disclosure](#disclosure) and [Collapse/Expand](#collapseexpand) styles. +> (1) Non pris en charge par les styles [Regular](#regular) et [Flat](#flat).
    +> (2) Non pris en charge par les styles [Regular](#regular), [Flat](#flat), [Disclosure](#disclosure) et [Collapse/Expand](#collapseexpand). Des propriétés spécifiques supplémentaires sont disponibles en fonction du [style de bouton](#button-styles) : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/MSC/encrypt.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/MSC/encrypt.md index f21cbf176f0a93..c4d15a084c847f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/MSC/encrypt.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/MSC/encrypt.md @@ -69,7 +69,7 @@ Pour des raisons de sécurité, toutes les opérations de maintenance liées au À ce stade, deux options s'offrent à vous : - entrez la phrase secrète courante(2) et cliquez sur **OK**. - OR + OU - connectez un périphérique tel qu'une clé USB et cliquez sur le bouton **Scanner les disques**. (1) Le trousseau 4D stocke toutes les clés de chiffrement des données valides qui ont été saisies au cours de la session d'application.\ diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md index 76d69c09b27d05..ed78e0f34040fc 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md @@ -42,7 +42,7 @@ Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8 - The following commands now allow parameters such as objects or collections: [WP SET ATTRIBUTES](../WritePro/commands/wp-set-attributes.md), [WP Get attributes](../WritePro/commands/wp-get-attributes.md), [WP RESET ATTRIBUTES](../WritePro/commands/wp-reset-attributes.md), [WP Table append row](../WritePro/commands/wp-table-append-row.md), [WP Import document](../WritePro/commands/wp-import-document.md), [WP EXPORT DOCUMENT](../WritePro/commands/wp-export-document.md), [WP Add picture](../WritePro/commands/wp-add-picture.md), and [WP Insert picture](../WritePro/commands/wp-insert-picture.md). - [WP Insert formula](../WritePro/commands/wp-insert-formula.md), [WP Insert document body](../WritePro/commands/wp-insert-document-body.md), and [WP Insert break](../WritePro/commands/wp-insert-break.md), are now functions that return ranges. - New expressions related to document attributes: [This.sectionIndex](../WritePro/managing-formulas.md), [This.sectionName](../WritePro/managing-formulas.md) and [This.pageIndex](../WritePro/managing-formulas.md). -- Langage 4D : +- Langage 4D: - Modified commands: [`FORM EDIT`](../commands/form-edit.md) - [`.sign()`](../API/CryptoKeyClass.md#sign) and [`.verify()`](../API/CryptoKeyClass.md#verify) functions of the [4D.CryptoKey class](../API/CryptoKeyClass.md) support Blob in the *message* parameter. - [**Liste des bugs corrigés**](https://bugs.4d.fr/fixedbugslist?version=20_R8) : liste de tous les bugs qui ont été corrigés dans 4D 20 R8. @@ -63,12 +63,12 @@ Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7 - Vous pouvez désormais [ajouter et supprimer des composants à l'aide de l'interface du Gestionnaire de composants](../Project/components.md#monitoring-project-dependencies). - Nouveau [**mode de typage direct**](../Project/compiler.md#enabling-direct-typing) dans lequel vous déclarez toutes les variables et paramètres dans votre code en utilisant les mots-clés `var` et `#DECLARE`/`Function` (seul mode supporté dans les nouveaux projets). La [fonctionnalité de vérification de syntaxe](../Project/compiler.md#check-syntax) a été adaptée en conséquence. - Prise en charge des [singletons de session](../Concepts/classes.md#singleton-classes) et nouvelle propriété de classe [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton). -- Nouveau [mot-clé de fonction `onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) pour définir des fonctions singleton ou ORDA qui peuvent être appelées par des [requêtes HTTP REST GET](../REST/ClassFunctions.md#function-calls). +- New [`onHTTPGet` function keyword](../ORDA/ordaClasses.md#onhttpget-keyword) to define singleton or ORDA functions that can be called through [HTTP REST GET requests](../REST/ClassFunctions.md#function-calls). - Nouvelle classe [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) pour que le serveur REST retourne n'importe quel contenu web. - Qodly Studio : Vous pouvez maintenant [attacher le débogueur Qodly à 4D Server](../WebServer/qodly-studio.md#using-qodly-debugger-on-4d-server). - Nouvelles clés Build Application pour que les applications 4D distantes valident les [signatures](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateAuthoritiesCertificates.300-7425900.fe.html) et/ou les [domaines](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.fe.html) des autorités de certification des serveurs. - Possibilité de [construire des applications autonomes sans licences intégrées](../Desktop/building.md#licenses). -- Langage 4D : +- Langage 4D: - Nouvelles commandes : [Process info](../commands/process-info.md), [Session info](../commands/session-info.md), [SET WINDOW DOCUMENT ICON](../commands/set-window-document-icon.md) - Commandes modifiées : [Process activity](../commands/process-activity.md), [Process number](../commands/process-number.md) - 4D Write Pro : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Project/components.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Project/components.md index dcc2077c1bf74d..f300eebdc17773 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Project/components.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/Project/components.md @@ -330,7 +330,7 @@ Pour afficher la fenêtre Dépendances : - avec 4D, sélectionnez la ligne de menu **Développement/Dépendances du projet** (environnement de développement),
    ![dependency-menu](../assets/en/Project/dependency-menu.png) -- with 4D Server, select the **Window/Project Dependencies** menu item.
    +- avec 4D Server, sélectionnez la ligne de menu **Fenêtre/Dépendances du projet**.
    ![dependency-menu-server](../assets/en/Project/dependency-menu-server.png) La fenêtre Dépendances s'affiche alors. Les dépendances sont classées par nom par ordre alphabétique : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/REST/$entityset.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/REST/$entityset.md index c4e658e90aa14c..74cf649d88d2c0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/REST/$entityset.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/REST/$entityset.md @@ -50,7 +50,7 @@ Voici les opérateurs logiques : | Opérateur | Description | | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | AND | Retourne les entités communes aux deux entity sets | -| OR | Retourne les entités contenues dans les deux entity sets | +| OU | Retourne les entités contenues dans les deux entity sets | | EXCEPT | Retourne les entités de l'entity set #1 moins celles de l'entity set #2 | | INTERSECT | Retourne true ou false s'il existe une intersection des entités dans les deux entity sets (ce qui signifie qu'au moins une entité est commune aux deux entity sets) | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-export-to-blob.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-export-to-blob.md index b0d682d5ce0386..0c6d716707985c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-export-to-blob.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-export-to-blob.md @@ -16,7 +16,7 @@ title: VP EXPORT TO BLOB ## Description -The `VP EXPORT TO BLOB` command exports the *vpAreaName* 4D View Pro document in a 4D.Blob according to the *paramObj* options. The exported blob is available through the export callback. Exporting and importing 4D View Pro areas as blobs is fast and memory-efficient. +La commande `VP EXPORT TO BLOB` exporte le document 4D View Pro *vpAreaName* dans un 4D.Blob selon les options *paramObj*. Le blob exporté est disponible via la méthode de rappel de l'export. Exporting and importing 4D View Pro areas as blobs is fast and memory-efficient. Dans *paramObj*, vous pouvez passer plusieurs propriétés : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md index 2ae809fc6bf081..87a43b52b51b6e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md @@ -138,9 +138,8 @@ Il n'y a pas de compatibilité directe entre les applications implémentées ave | Débogueur | 4D IDE debugger
    *4D Server only*: Qodly Studio debugger (see [this paragraph](#using-qodly-debugger-on-4d-server)) | Débogueur Qodly Studio | | Rôles et privilèges REST/Web | Edition directe roles.json / Éditeur de rôles et privilèges de Qodly Studio | Éditeur de rôles et privilèges de Qodly Studio | -(1) The **Model** item is disabled in Qodly Studio.
    -(2) In 4D Server, opening 4D code with the Qodly Studio code editor is supported **for testing and debugging purposes** (see [this paragraph](#development-and-deployment)). (1) The **Model** item is disabled in Qodly Studio.
    -(2) In 4D Server, opening 4D code with the Qodly Studio code editor is supported **for testing and debugging purposes** (see [this paragraph](#development-and-deployment)). +(1) L'élément **Modèle** est désactivé dans Qodly Studio.
    +(2) Dans 4D Server, l'ouverture du code 4D avec l'éditeur de code Qodly Studio est prise en charge **à des fins de test et de débogage** (voir [ce paragraphe](#development-and-deployment)). Notez que dans 4D monoposte, si vous ouvrez du code 4D avec l'éditeur de code de Qodly Studio, la coloration syntaxique n'est pas disponible et un avertissement "Lsp not loaded" est affiché. ### Langage @@ -236,7 +235,7 @@ The project must be running in interpreted mode so that **Qodly Studio** menu it ::: -2. In the Qodly Studio toolbar, click on the **Debug** button.
    +2. Dans la barre d'outils de Qodly Studio, cliquez sur le bouton **Debug**.
    ![qodly-debug](../assets/en/WebServer/qodly-debug.png) If the debug session starts successfully, a green bullet appears on the button label ![qodly-debug](../assets/en/WebServer/debug2.png) and you can use the Qodly Studio debugger. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WebServer/webServerConfig.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WebServer/webServerConfig.md index d3a993ab638986..9d7a5cac7a1b98 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WebServer/webServerConfig.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WebServer/webServerConfig.md @@ -626,9 +626,9 @@ Dans certains cas, d'autres fonctions internes optimisées peuvent être appelé Deux options permettent de définir le mode de fonctionnement des connexions persistantes : -- **Nombre de demandes par connexion** : Permet de définir le nombre maximal de requêtes et de réponses capables d'être transmises sur une connexion persistante. Limiting the number of requests per connection allows you to prevent server flooding due to a large number of incoming requests (a technique used by hackers).

    - The default value (100) can be increased or decreased depending on the resources of the machine hosting the 4D Web Server.

    +- **Nombre de requêtes par connexion** : Permet de définir le nombre maximal de requêtes et de réponses capables d'être transmises lors d'une connexion persistante. Limiter le nombre de requêtes par connexion permet d'éviter la saturation du serveur, provoquée par un trop grand nombre de requêtes entrantes (technique utilisée par les pirates informatiques).

    + La valeur par défaut (100) peut être augmentée ou diminuée en fonction des ressources de la machine hébergeant le serveur Web 4D.

    -- **Délai avant déconnexion** : Cette valeur définit l'attente maximale (en secondes) pour le maintien d'une connexion TCP sans réception d'une requête de la part du navigateur web. Once this period is over, the server closes the connection.

    +- **Délai avant déconnexion** : Cette valeur définit l'attente maximale (en secondes) pour le maintien d'une connexion TCP sans réception d'une requête de la part du navigateur web. Une fois ce délai écoulé, le serveur ferme la connexion.

    Si le navigateur Web envoie une requête après la fermeture de la connexion, une nouvelle connexion TCP est automatiquement créée. Cette opération est invisible pour l'utilisateur.

    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md index 97aa136d223b6f..2faa0067d49fcc 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md @@ -20,7 +20,7 @@ displayed_sidebar: docs ## Description -The **WP Add picture** command anchors the picture passed as parameter at a fixed location within the specified *wpDoc* and returns its reference. The returned reference can then be passed to the [WP SET ATTRIBUTES](wp-set-attributes.md) command to move the picture to any location in *wpDoc* (page, section, header, footer, etc.) with a defined layer, size, etc. +La commande **WP Add picture** ancre l'image passée en paramètre à un emplacement fixe dans le *wpDoc* spécifié et renvoie sa référence. La référence renvoyée peut ensuite être transmise à la commande [WP SET ATTRIBUTES](wp-set-attributes.md) pour placer l'image à n'importe quel endroit du *wpDoc* (page, section, en-tête, pied de page, etc.) with a defined layer, size, etc. In *wpDoc*, pass the name of a 4D Write Pro document object. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-document.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-document.md index 44b943ff86e0c2..064c80e50cbf4e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-document.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-document.md @@ -52,25 +52,25 @@ Vous pouvez omettre le paramètre *format*, auquel cas vous devez spécifier l'e Pass an [object](# "Data structured as a native 4D object") in *option* containing the values to define the properties of the exported document. Les propriétés suivantes sont disponibles : -| Constante | Valeur | Commentaire | -| ------------------------------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | cidHostDomain | CID host domain name: host domain that will be added to generated CID URLs including an '@' as separator. Available only when the `wk mime html` format is used. | -| wk embedded pictures | embeddedPictures | For SVG Export only. Sets whether pictures are embedded in the exported .svg file when you call [WP EXPORT DOCUMENT](wp-export-document.md). Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. The pictures are not embedded, but referenced in the .svg file.
  • Note: If the folder already exists, it is emptied before the file is exported. If there is no image on the exported page, the folder is deleted | -| wk factur x | facturX | For PDF export only. Value: object configuring a "Factur-X (ZUGFeRD)" PDF export (see [wk factur x object](#wk-factur-x-object)). | -| wk files | Historique | For PDF export only. Value: collection of objects, each of them describing a file to be embedded in the final document (see [wk files collection](#wk-files-collection)). This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). In case of a Factur-X PDF export (see below), the first object of the collection must contain the Factur-X xml file. | -| wk google fonts tag | googleFontsTag | For SVG export only. Sets the import rule for google fonts in the exported SVG. Possible values:
  • false (default): No google fonts import rule is added.
  • true: Adds the @import rule to the exported file. Useful if you want to use fonts that are not available by default on Windows or macOS.
  • **Note:** This property is set to false by default because when enabled, Google fonts override native fonts, and native fonts are generally better rendered in the browser. | -| wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | -| wk max picture DPI | maxPictureDPI | Used for resampling (reducing) images to preferred resolution. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | -| wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | -| wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | -| wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | -| wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Possible values: True/False | -| wk visible empty images | visibleEmptyImages | Displays or exports a default black rectangle for images that cannot be loaded or computed (empty images or images in an unsupported format). Possible values: True/False. Default value: True If value is False, missing image elements will not be displayed at all even if they have borders, width, height, or background; this may impact the page layout for inline images. | -| wk visible footers | visibleFooters | Displays or exports the footers (for display, visible effect in Page view mode only). Possible values: True/False | -| wk visible headers | visibleHeaders | Displays or exports the headers (for display, visible effect in Page view mode only). Possible values: True/False | -| wk visible references | visibleReferences | Displays or exports all 4D expressions inserted in the document as references. Possible values: True/False | -| wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` and `wk web page complete` export formats. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | +| Constante | Valeur | Commentaire | +| ------------------------------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | cidHostDomain | CID host domain name: host domain that will be added to generated CID URLs including an '@' as separator. Available only when the `wk mime html` format is used. | +| wk embedded pictures | embeddedPictures | For SVG Export only. Sets whether pictures are embedded in the exported .svg file when you call [WP EXPORT DOCUMENT](wp-export-document.md). Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. The pictures are not embedded, but referenced in the .svg file.
  • Note: If the folder already exists, it is emptied before the file is exported. If there is no image on the exported page, the folder is deleted | +| wk factur x | facturX | For PDF export only. Value: object configuring a "Factur-X (ZUGFeRD)" PDF export (see [wk factur x object](#wk-factur-x-object)). | +| wk files | Historique | For PDF export only. Value: collection of objects, each of them describing a file to be embedded in the final document (see [wk files collection](#wk-files-collection)). This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). In case of a Factur-X PDF export (see below), the first object of the collection must contain the Factur-X xml file. | +| wk google fonts tag | googleFontsTag | For SVG export only. Sets the import rule for google fonts in the exported SVG. Possible values:
  • false (default): No google fonts import rule is added.
  • true: Adds the @import rule to the exported file. Utile si vous voulez utiliser des polices qui ne sont pas disponibles par défaut sur Windows ou macOS.
  • **Note:** This property is set to false by default because when enabled, Google fonts override native fonts, and native fonts are generally better rendered in the browser. | +| wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | +| wk max picture DPI | maxPictureDPI | Used for resampling (reducing) images to preferred resolution. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | +| wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). Si une image contient plus d'un format, le format de rendu d'écran est utilisé.
  • **Note:** Les documents exportés au format `wk docx` sont toujours optimisés pour wk print (l'option wk optimized for est ignorée). | +| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | +| wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | +| wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Possible values: True/False | +| wk visible empty images | visibleEmptyImages | Displays or exports a default black rectangle for images that cannot be loaded or computed (empty images or images in an unsupported format). Possible values: True/False. Default value: True If value is False, missing image elements will not be displayed at all even if they have borders, width, height, or background; this may impact the page layout for inline images. | +| wk visible footers | visibleFooters | Displays or exports the footers (for display, visible effect in Page view mode only). Possible values: True/False | +| wk visible headers | visibleHeaders | Displays or exports the headers (for display, visible effect in Page view mode only). Possible values: True/False | +| wk visible references | visibleReferences | Displays or exports all 4D expressions inserted in the document as references. Possible values: True/False | +| wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` and `wk web page complete` export formats. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | Le tableau suivant indique l'*option* disponible par *format* d'export : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md index 312a0f38085c98..9dbddce379b8e6 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md @@ -52,25 +52,25 @@ In the *format* parameter, pass a constant from the *4D Write Pro Constants* the Pass an [object](# "Data structured as a native 4D object") in *option* containing the values to define the properties of the exported document. Les propriétés suivantes sont disponibles : -| Constante | Valeur | Commentaire | -| ------------------------------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk CID host domain name | cidHostDomain | CID host domain name: host domain that will be added to generated CID URLs including an '@' as separator. Available only when the `wk mime html` format is used. | -| wk embedded pictures | embeddedPictures | For SVG Export only. Sets whether pictures are embedded in the exported .svg file when you call [WP EXPORT DOCUMENT](wp-export-document.md). Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. The pictures are not embedded, but referenced in the .svg file.
  • Note: If the folder already exists, it is emptied before the file is exported. If there is no image on the exported page, the folder is deleted | -| wk factur x | facturX | For PDF export only. Value: object configuring a "Factur-X (ZUGFeRD)" PDF export (see [wk factur x object](./wp-export-document.md#wk-factur-x-object)). | -| wk files | Historique | For PDF export only. Value: collection of objects, each of them describing a file to be embedded in the final document (see [wk files collection](./wp-export-document.md#wk-files-collection)). This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). In case of a Factur-X PDF export (see below), the first object of the collection must contain the Factur-X xml file. | -| wk google fonts tag | googleFontsTag | For SVG export only. Sets the import rule for google fonts in the exported SVG. Possible values:
  • false (default): No google fonts import rule is added.
  • true: Adds the @import rule to the exported file. Useful if you want to use fonts that are not available by default on Windows or macOS.
  • **Note:** This property is set to false by default because when enabled, Google fonts override native fonts, and native fonts are generally better rendered in the browser. | -| wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | -| wk max picture DPI | maxPictureDPI | Used for resampling (reducing) images to preferred resolution. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | -| wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | -| wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | -| wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | -| wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Possible values: True/False | -| wk visible empty images | visibleEmptyImages | Displays or exports a default black rectangle for images that cannot be loaded or computed (empty images or images in an unsupported format). Possible values: True/False. Default value: True If value is False, missing image elements will not be displayed at all even if they have borders, width, height, or background; this may impact the page layout for inline images. | -| wk visible footers | visibleFooters | Displays or exports the footers (for display, visible effect in Page view mode only). Possible values: True/False | -| wk visible headers | visibleHeaders | Displays or exports the headers (for display, visible effect in Page view mode only). Possible values: True/False | -| wk visible references | visibleReferences | Displays or exports all 4D expressions inserted in the document as references. Possible values: True/False | -| wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` export format. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | +| Constante | Valeur | Commentaire | +| ------------------------------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk CID host domain name | cidHostDomain | CID host domain name: host domain that will be added to generated CID URLs including an '@' as separator. Available only when the `wk mime html` format is used. | +| wk embedded pictures | embeddedPictures | For SVG Export only. Sets whether pictures are embedded in the exported .svg file when you call [WP EXPORT DOCUMENT](wp-export-document.md). Available values:
  • true (default): Pictures are embedded in the exported .svg file
  • false: Pictures are exported in a folder called "filename\_images" at the level of the exported .svg file, "filename" being the name passed to the command for the file, without the extension. The pictures are not embedded, but referenced in the .svg file.
  • Note: If the folder already exists, it is emptied before the file is exported. If there is no image on the exported page, the folder is deleted | +| wk factur x | facturX | For PDF export only. Value: object configuring a "Factur-X (ZUGFeRD)" PDF export (see [wk factur x object](./wp-export-document.md#wk-factur-x-object)). | +| wk files | Historique | For PDF export only. Value: collection of objects, each of them describing a file to be embedded in the final document (see [wk files collection](./wp-export-document.md#wk-files-collection)). This feature is only supported in PDF/A-3 documents: when the `wk files` attribute is used, the "PDF/A-3" version is automatically set (the `wk pdfa version` attribute is ignored). In case of a Factur-X PDF export (see below), the first object of the collection must contain the Factur-X xml file. | +| wk google fonts tag | googleFontsTag | For SVG export only. Sets the import rule for google fonts in the exported SVG. Possible values:
  • false (default): No google fonts import rule is added.
  • true: Adds the @import rule to the exported file. Utile si vous voulez utiliser des polices qui ne sont pas disponibles par défaut sur Windows ou macOS.
  • **Note:** This property is set to false by default because when enabled, Google fonts override native fonts, and native fonts are generally better rendered in the browser. | +| wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | +| wk max picture DPI | maxPictureDPI | Used for resampling (reducing) images to preferred resolution. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | +| wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). Si une image contient plus d'un format, le format de rendu d'écran est utilisé.
  • **Note:** Les documents exportés au format `wk docx` sont toujours optimisés pour wk print (l'option wk optimized for est ignorée). | +| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | +| wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | +| wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Possible values: True/False | +| wk visible empty images | visibleEmptyImages | Displays or exports a default black rectangle for images that cannot be loaded or computed (empty images or images in an unsupported format). Possible values: True/False. Default value: True If value is False, missing image elements will not be displayed at all even if they have borders, width, height, or background; this may impact the page layout for inline images. | +| wk visible footers | visibleFooters | Displays or exports the footers (for display, visible effect in Page view mode only). Possible values: True/False | +| wk visible headers | visibleHeaders | Displays or exports the headers (for display, visible effect in Page view mode only). Possible values: True/False | +| wk visible references | visibleReferences | Displays or exports all 4D expressions inserted in the document as references. Possible values: True/False | +| wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` export format. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | Le tableau suivant indique l'*option* disponible par *format* d'export : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-get-attributes.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-get-attributes.md index 8a0a8ea0ac3003..bc5472cb685ae7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-get-attributes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-get-attributes.md @@ -20,7 +20,7 @@ displayed_sidebar: docs ## Description -The **WP Get attributes** command returns the value of any attribute in a 4D Write Pro range, header, body, footer, table, or document. This command gives you access to any kind of 4D Write Pro internal attributes: character, paragraph, document, table, or image. +La commande **WP Get attributes** renvoie la valeur de n'importe quel attribut de plage, en-tête, corps, pied de page, tableau ou document de 4D Write Pro. Cette commande vous donne accès à tout type d'attribut interne 4D Write Pro : caractère, paragraphe, document, tableau ou image. In *targetObj*, you can pass: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md index d5408ef8757404..d5042f68d75d2a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md @@ -21,7 +21,7 @@ displayed_sidebar: docs ## Description -The **WP Insert picture** command inserts a *picture* or a *pictureFileObj* in the specified *targetObj* according to the passed insertion *mode* and *rangeUpdate* parameters, and returns a reference to the picture element. The picture will be inserted as a character in the *targetObj*. +La commande **WP Insert picture** insère *picture* ou *pictureFileObj* dans le *targetObj* spécifié en fonction des paramètres *mode* d'insertion et *rangeUpdate*, et renvoie une référence à l'élément image. L'image sera insérée en tant que caractère dans *targetObj*. In *targetObj*, you can pass: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-reset-attributes.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-reset-attributes.md index 684efef2aa79f6..d16d8b89452b6f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-reset-attributes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-reset-attributes.md @@ -19,7 +19,7 @@ displayed_sidebar: docs ## Description -The **WP RESET ATTRIBUTES** command allows you to reset the value of one or more attributes in the range, element, or document passed as parameter. This command can remove any kind of 4D Write Pro internal attribute: character, paragraph, document, table, or image. You can pass the attribute name to be reset in *attribName* or you can pass a collection of attributes in *attribColl* to reset multiple attributes at once. +La commande **WP RESET ATTRIBUTES** permet de réinitialiser la valeur d'un ou plusieurs attributs dans la plage, l'élément ou le document passé en paramètre. Cette commande permet de supprimer tout type d'attribut interne de 4D Write Pro : caractère, paragraphe, document, tableau ou image. You can pass the attribute name to be reset in *attribName* or you can pass a collection of attributes in *attribColl* to reset multiple attributes at once. > In the case of a section or a subsection, the *sectionOrSubsection* object can be passed alone and all the attributes are reset at once. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-set-attributes.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-set-attributes.md index aef82a88b520eb..8d499ce8e09eaf 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-set-attributes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-set-attributes.md @@ -19,7 +19,7 @@ displayed_sidebar: docs ## Description -The **WP SET ATTRIBUTES** command allows you to set the value of any attribute in a range, element, document. This command gives you access to any kind of 4D Write Pro internal attribute: character, paragraph, document, table, or image. +La commande **WP SET ATTRIBUTES** vous permet de définir la valeur d'un attribut de plage, élément ou document. Cette commande vous donne accès à tout type d'attribut interne 4D Write Pro : caractère, paragraphe, document, tableau ou image. In *targetObj*, you can pass : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/managing-formulas.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/managing-formulas.md index b58af22b22a3cd..ba56725c90e99c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/managing-formulas.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/WritePro/managing-formulas.md @@ -47,22 +47,22 @@ You want to replace the selection in a 4D Write Pro area with the contents of a You can insert special expressions related to document attributes in any document area (body, header, footer) using the [WP Insert formula](commands/wp-insert-formula.md) command. Within a formula, a formula context object is automatically exposed. You can use the properties of this object through [**This**](../commands/this.md): -| Propriétés | Type | Description | -| ------------------------------------------------------------------------------ | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [This](../commands/this.md).title | Text | Title defined in wk title attribute | -| [This](../commands/this.md).author | Text | Author defined in wk author attribute | -| [This](../commands/this.md).subject | Text | Subject defined in wk subject attribute | -| [This](../commands/this.md).company | Text | Company defined in wk company attribute | -| [This](../commands/this.md).notes | Text | Notes defined in wk notes attribute | -| [This](../commands/this.md).dateCreation | Date | Date creation defined in wk date creation attribute | -| [This](../commands/this.md).dateModified | Date | Date modified defined in wk date modified attribute | -| [This](../commands/this.md).pageNumber (\*) | Number | Page number as it is defined:
  • - From the document start (default) or
  • - From the section page start if it is defined by section page start.
  • This formula is always dynamic; it is not affected by the [**WP FREEZE FORMULAS**](commands-legacy/wp-freeze-formulas.md) command. | -| [This](../commands/this.md).pageCount (\*) | Number | Page count: total count of pages.
    This formula is always dynamic; it is not affected by the [**WP FREEZE FORMULAS**](commands-legacy/wp-freeze-formulas.md) command. | -| [This](../commands/this.md).document | Object | 4D Write Pro document | -| [This](../commands/this.md).data | Object | Data context of the 4D Write Pro document set by [**WP SET DATA CONTEXT**](commands-legacy/wp-set-data-context.md) | -| [This](../commands/this.md).sectionIndex | Number | The Index of the section in the 4D Write Pro document starting from 1 | -| [This](../commands/this.md).pageIndex | Number | The actual page number in the 4D Write Pro document starting from 1 (regardless of the section page numbers) | -| [This](../commands/this.md).sectionName | String | The name that the user gives to the section | +| Propriétés | Type | Description | +| ------------------------------------------------------------------------------ | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [This](../commands/this.md).title | Text | Title defined in wk title attribute | +| [This](../commands/this.md).author | Text | Author defined in wk author attribute | +| [This](../commands/this.md).subject | Text | Subject defined in wk subject attribute | +| [This](../commands/this.md).company | Text | Company defined in wk company attribute | +| [This](../commands/this.md).notes | Text | Notes defined in wk notes attribute | +| [This](../commands/this.md).dateCreation | Date | Date creation defined in wk date creation attribute | +| [This](../commands/this.md).dateModified | Date | Date modified defined in wk date modified attribute | +| [This](../commands/this.md).pageNumber (\*) | Number | Numéro de page tel qu'il est défini
  • : - à partir du début du document (par défaut) ou
  • - à partir du début de la page de la section s'il est défini par début de page de section.
  • Cette formule est toujours dynamique ; elle n'est pas affectée par la commande [**WP FREEZE FORMULAS**](commands-legacy/wp-freeze-formulas.md). | +| [This](../commands/this.md).pageCount (\*) | Number | Nombre de pages : nombre total de pages.
    Cette formule est toujours dynamique ; elle n'est pas affectée par la commande [**WP FREEZE FORMULAS**](commands-legacy/wp-freeze-formulas.md). | +| [This](../commands/this.md).document | Object | 4D Write Pro document | +| [This](../commands/this.md).data | Object | Data context of the 4D Write Pro document set by [**WP SET DATA CONTEXT**](commands-legacy/wp-set-data-context.md) | +| [This](../commands/this.md).sectionIndex | Number | The Index of the section in the 4D Write Pro document starting from 1 | +| [This](../commands/this.md).pageIndex | Number | The actual page number in the 4D Write Pro document starting from 1 (regardless of the section page numbers) | +| [This](../commands/this.md).sectionName | String | The name that the user gives to the section | :::note diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/code-editor/write-class-method.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/code-editor/write-class-method.md index 3513373fd38a40..ce5d338240c4dd 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/code-editor/write-class-method.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/code-editor/write-class-method.md @@ -762,7 +762,7 @@ Voici la liste des balises et leur mode d'utilisation : | `` | Balise remplacée par le nom de l'utilisateur 4D courant. | | `` | Balise remplacée par le nom d'utilisateur courant du système. | | `` | Balise remplacée par le nom de la méthode courante. | -| `` | Tag replaced by path syntax (as returned by [`METHOD Get path`](../commands-legacy/method-get-path.md) of the current method. | +| `` | Balise remplacée par la syntaxe du chemin (tel que retourné par [`METHOD Get path`](../commands-legacy/method-get-path.md)) de la méthode courante. | | `` | Balise remplacée par la date courante. | | | *Attribut*: | | | - format : Format 4D utilisé pour afficher la date. Si aucun format n'est défini, le format par défaut est utilisé. Valeurs = numéro du format 4D (0 à 8). | @@ -802,7 +802,7 @@ La balise `` permet de générer et d'utiliser des macro-commandes qui e Le code d'une méthode appelée est exécuté dans un nouveau process. Ce process est tué une fois la méthode exécutée. -> Le process de structure reste figé jusqu'à ce que l'exécution de la méthode appelée soit terminée. Vous devez vous assurer que l'exécution est rapide et qu'il n'y a aucun risque qu'elle bloque l'application. If this occurs, use the **Ctrl+F8** (Windows) or **Command+F8** (macOS) command to "kill" the process. +> Le process de structure reste figé jusqu'à ce que l'exécution de la méthode appelée soit terminée. Vous devez vous assurer que l'exécution est rapide et qu'il n'y a aucun risque qu'elle bloque l'application. Si cela se produit, utilisez la commande **Ctrl+F8** (Windows) ou **Command+F8** (macOS) pour "tuer" le process. ### Appeler des macros @@ -834,7 +834,7 @@ La prise en charge des macros peut changer d'une version de 4D à l'autre. Afin #### Variables de sélection de texte pour les méthodes -Il est recommandé de gérer les sélections de texte à l'aide des commandes [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) et [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) . Ces commandes peuvent être utilisées pour surmonter le cloisonnement des espaces d'exécution du projet hôte/composant et ainsi permettre la création de composants dédiés à la gestion des macros. Afin d'activer ce mode pour une macro, vous devez déclarer l'attribut Version avec la valeur 2 dans l'élément Macro. In this case, 4D no longer manages the predefined variables _textSel,_textReplace, etc. and the [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) and [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) commands are used. Cet attribut doit être déclaré comme suit : +Il est recommandé de gérer les sélections de texte à l'aide des commandes [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) et [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) . Ces commandes peuvent être utilisées pour surmonter le cloisonnement des espaces d'exécution du projet hôte/composant et ainsi permettre la création de composants dédiés à la gestion des macros. Afin d'activer ce mode pour une macro, vous devez déclarer l'attribut Version avec la valeur 2 dans l'élément Macro. Dans ce cas, 4D ne gère plus les variables prédéfinies _textSel, _textReplace, etc. et les commandes [GET MACRO PARAMETER](../commands-legacy/get-macro-parameter.md) et [SET MACRO PARAMETER](../commands-legacy/set-macro-parameter.md) sont utilisées. Cet attribut doit être déclaré comme suit : ``
    `--- Text of the macro ---`
    `
    ` diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md index f9f4c227b13e20..372b9332a1f5a2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ Pour les besoins de votre interface, vous souhaitez entourer d'un rectangle roug Dans la méthode objet de la list box, vous écrivez : ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //initialiser un rectangle rouge + OBJECT SET VISIBLE(*;"RedRect";False) //initialiser un rectangle rouge  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md index af089c4f6f721f..50c0beec06a4a9 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Description -**Printing page** retourne le numéro de la page en cours d'impression. Cette fonction vous permet de numéroter automatiquement les pages d'une impression en cours à l'aide de [PRINT SELECTION](print-selection.md) ou du menu Impression dans le mode Développement. +**Printing page** retourne le numéro de la page en cours d'impression. Cette fonction vous permet de numéroter automatiquement les pages d'une impression en cours. ## Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/call-chain.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/call-chain.md index e329a1ede4ecfa..1d1c683f873084 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/call-chain.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/call-chain.md @@ -9,50 +9,50 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ---------- | --------------------------- | ---------------------------------------------------------------- | -| Résultat | Collection | ← | Collection of objects describing the call chain within a process | +| Paramètres | Type | | Description | +| ---------- | ---------- | --------------------------- | --------------------------------------------------------------------- | +| Résultat | Collection | ← | Collection d'objets décrivant la chaîne d'appels au sein d'un process |
    Historique -| Release | Modifications | -| ------- | ----------------------------- | -| 20 R9 | Support of `formula` property | +| Release | Modifications | +| ------- | ----------------------------------------- | +| 20 R9 | Prise en charge de la propriété `formula` |
    ## Description -The **Call chain** command returns a collection of objects describing each step of the method call chain within the current process. It provides the same information as the Debugger window. It has the added benefit of being able to be executed from any 4D environment, including compiled mode. +La commande **Call chain** renvoie une collection d'objets décrivant chaque maillon de la chaîne d'appels des méthodes dans le process courant. Elle fournit les mêmes informations que la fenêtre du débogueur. Elle présente l'avantage supplémentaire de pouvoir être exécutée à partir de n'importe quel environnement 4D, y compris en mode compilé. -The command facilitates debugging by enabling the identification of the method or formula called, the component that called it, and the line number where the call was made. Each object in the returned collection contains the following properties: +Cette commande facilite le débogage en permettant d'identifier la méthode ou la formule appelée, le composant qui l'a appelée et le numéro de ligne d'où l'appel a été effectué. Chaque objet de la collection retournée contient les propriétés suivantes : -| **Propriété** | **Type** | **Description** | **Example** | -| ------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | -| database | Text | Name of the database calling the method (to distinguish host methods and component methods) | "database":"contactInfo" | -| formula | Text (if any) | Contents of the current line of code at the current level of the call chain (raw text). Corresponds to the contents of the line referenced by the `line` property in the source file indicated by method. If the source code is not available, `formula` property is omitted (Undefined). | "var $stack:=Call chain" | -| ligne | Integer | Line number of call to the method | "line":6 | -| name | Ttext | Name of the called method | "name":"On Load" | -| type | Text | Type of the method:
  • "projectMethod"
  • "formObjectMethod"
  • "formmethod"
  • "databaseMethod"
  • "triggerMethod"
  • "executeOnServer" (when calling a project method with the *Execute on Server attribute*)
  • "executeFormula" (when executing a formula via [PROCESS 4D TAGS](../commands-legacy/process-4d-tags.md) or the evaluation of a formula in a 4D Write Pro document)
  • "classFunction"
  • "formMethod"
  • | "type":"formMethod" | +| **Propriété** | **Type** | **Description** | **Example** | +| ------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | +| database | Text | Nom de la base de données appelant la méthode (pour distinguer les méthodes de l'hôte et les méthodes des composants) | "database":"contactInfo" | +| formula | Texte (le cas échéant) | Contenu de la ligne de code courante au niveau courant de la chaîne d'appel (texte brut). Correspond au contenu de la ligne référencée par la propriété `line` dans le fichier source indiqué par la méthode. Si le code source n'est pas disponible, la propriété `formula` est omise (Undefined). | "var $stack:=Call chain" | +| line | Integer | Numéro de ligne de l'appel à la méthode | "line":6 | +| name | Text | Nom de la méthode appelée | "name":"On Load" | +| type | Text | Type de la méthode :
  • "projectMethod"
  • "formObjectMethod"
  • "formmethod"
  • "databaseMethod"
  • "triggerMethod"
  • "executeOnServer" (lors de l'appel d'une méthode projet avec l'attribut *Exécuter sur serveur*)
  • "executeFormula" (lors de l'exécution d'une formule via [PROCESS 4D TAGS](../commands-legacy/process-4d-tags.md) ou de l'évaluation d'une formule dans un document 4D Write Pro)
  • "classFunction"
  • "formMethod"
  • | "type":"formMethod" | :::note -For this command to be able to operate in compiled mode, the [Range checking](../Project/compiler.md#range-checking) must not be disabled. +Pour que cette commande puisse fonctionner en mode compilé, le [Range checking] (../Project/compiler.md#range-checking) ne doit pas être désactivé. ::: ## Exemple -The following code returns a collection of objects containing information about the method call chain: +Le code suivant renvoie une collection d'objets contenant des informations sur la chaîne d'appels de méthodes : ```4d var $currentCallChain : Collection $currentCallChain:=Call chain ``` -If a project method is executed, the call chain could contain (for example): +Si une méthode projet est exécutée, la chaîne d'appels peut contenir (par exemple) : ```json [ @@ -65,7 +65,7 @@ If a project method is executed, the call chain could contain (for example): ] ``` -If a form object method is executed, the call chain could contain (for example): +Si une méthode objet de formulaire est exécutée, la chaîne d'appels peut contenir (par exemple) : ```json [ diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md index a6b67b37a681c6..39c9616d0f3001 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md @@ -9,42 +9,42 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ------- | --------------------------- | ---------------------------- | -| command | Integer | → | Numéro de commande | -| info | Integer | ← | Command property to evaluate | -| theme | Text | ← | Language theme of command | -| Résultat | Text | ← | Localized command name | +| Paramètres | Type | | Description | +| ---------- | ------- | --------------------------- | ---------------------------------- | +| command | Integer | → | Numéro de commande | +| info | Integer | ← | Propriété de la commande à évaluer | +| theme | Text | ← | Thème du langage de la commande | +| Résultat | Text | ← | Nom de la commande |
    Historique -| Release | Modifications | -| ------- | ------------------------------ | -| 20 R9 | Support of deprecated property | +| Release | Modifications | +| ------- | ---------------------------------------- | +| 20 R9 | Prise en charge de la propriété obsolète |
    ## Description -The **Command name** command returns the name as well as (optionally) the properties of the command whose command number you pass in *command*.The number of each command is indicated in the Explorer as well as in the Properties area of this documentation. +La commande **Command name** retourne le nom ainsi que (optionnellement) les propriétés de la commande dont vous passez le numéro dans *commande*. Le numéro de chaque commande est indiqué dans l'explorateur ainsi que dans la zone Propriétés de cette documentation. -**Compatibility note:** A command name may vary from one 4D version to the next (commands renamed), this command was used in previous versions to designate a command directly by means of its number, especially in non-tokenized portions of code. This need has diminished over time as 4D continues to evolve because, for non-tokenized statements (formulas), 4D now provides a token syntax. This syntax allows you to avoid potential problems due to variations in command names as well as other elements such as tables, while still being able to type these names in a legible manner (for more information, refer to the *Using tokens in formulas* section). Note also that the \*[Use regional system settings\* option of the Preferences](../Preferences/methods.md#4d-programming-language-use-regional-system-settings) allows you to continue using the French language in a French version of 4D. +**Note de compatibilité :** Le nom d'une commande pouvant varier d'une version à l'autre de 4D (commandes renommées), cette commande était utilisée dans les versions précédentes pour désigner une commande directement par son numéro, notamment dans les portions de code non tokenisées. Ce besoin a diminué au fil du temps alors que 4D continue d'évoluer parce que, pour les requêtes non tokenisées (formules), 4D fournit maintenant une syntaxe avec tokens. Cette syntaxe de s'affranchir des variations des noms de commandes mais aussi des autres éléments comme les tables, tout en permettant de les saisir de façon lisible (pour plus d'informations, se référer à la section *Utilisation des tokens dans les formules*). Notez également que l'option [*Utiliser les paramètres régionaux du système* des Préférences](../Preferences/methods.md#4d-programming-language-use-regional-system-settings) vous permet de continuer à utiliser le langage en Français dans une version française de 4D. -Two optional parameters are available: +Deux paramètres optionnels sont disponibles : -- *info*: properties of the command. The returned value is a *bit field*, where the following bits are meaningful: - - First bit (bit 0): set to 1 if the command is [**thread-safe**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (i.e., compatible with execution in a preemptive process) and 0 if it is **thread-unsafe**. Only thread-safe commands can be used in [preemptive processes](../Develop/preemptive.md). - - Second bit (bit 1): set to 1 if the command is **deprecated**, and 0 if it is not. A deprecated command will continue to work normally as long as it is supported, but should be replaced whenever possible and must no longer be used in new code. Deprecated commands in your code generate warnings in the [live checker and the compiler](../code-editor/write-class-method.md#warnings-and-errors). +- *info* : propriétés de la commande. La valeur renvoyée est un *champ de bits*, où les bits suivants sont significatifs : + - Premier bit (bit 0) : il vaut 1 si la commande est [**thread-safe**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (c'est-à-dire compatible avec une exécution dans un processus préemptif) et 0 si elle est **thread-unsafe**. Seules les commandes thread-safe peuvent être utilisées dans les [process préemptifs](../Develop/preemptive.md). + - Deuxième bit (bit 1) : mis à 1 si la commande est **obsolète**, et à 0 si elle ne l'est pas. Une commande obsolète (ou dépréciée) continuera à fonctionner normalement tant qu'elle sera prise en charge, mais elle doit être remplacée dans la mesure du possible et ne doit plus être utilisée dans le nouveau code. Les commandes obsolètes dans votre code génèrent des avertissements dans le [live checker et le compilateur](../code-editor/write-class-method.md#warnings-and-errors). -*theme*: name of the 4D language theme for the command. +*thème* : nom du thème du langage 4D pour la commande. -The **Command name** command sets the *OK* variable to 1 if *command* corresponds to an existing command number, and to 0 otherwise. Note, however, that some existing commands have been disabled, in which case **Command name** returns an empty string (see last example). +La commande **Command name** met la variable *OK* à 1 si *command* correspond à un numéro de commande existant, et à 0 sinon. Notez toutefois que certaines commandes existantes ont été désactivées, auquel cas **Command name** renvoie une chaîne vide (voir le dernier exemple). ## Exemple 1 -The following code allows you to load all valid 4D commands in an array: +Le code suivant permet de charger toutes les commandes 4D valides dans un tableau : ```4d  var $Lon_id : Integer @@ -55,18 +55,18 @@ The following code allows you to load all valid 4D commands in an array:  Repeat     $Lon_id:=$Lon_id+1     $Txt_command:=Command name($Lon_id) -    If(OK=1) //command number exists -       If(Length($Txt_command)>0) //command is not disabled +    If(OK=1) //le numéro de commande existe +       If(Length($Txt_command)>0) //la commande n'est pas désactivée           APPEND TO ARRAY($tTxt_commands;$Txt_command)           APPEND TO ARRAY($tLon_Command_IDs;$Lon_id)        End if     End if - Until(OK=0) //end of existing commands + Until(OK=0) //fin des commandes existantes ``` ## Exemple 2 -In a form, you want a drop-down list populated with the basic summary report commands. In the object method for that drop-down list, you write: +Dans un formulaire, vous voulez afficher une liste déroulante contenant les commandes standard de génération d'états. Dans la méthode objet de cette liste déroulante, vous écrivez : ```4d  Case of @@ -80,13 +80,13 @@ In a form, you want a drop-down list populated with the basic summary report com  End case ``` -In the English version of 4D, the drop-down list will read: Sum, Average, Min, and Max. In the French version\*, the drop-down list will read: Somme, Moyenne, Min, and Max. +Dans la version anglaise de 4D, la liste déroulante contiendra : Sum, Average, Min et Max. Dans la version française\*, la liste déroulante contiendra : Somme, Moyenne, Min et Max. -\*with a 4D application configured to use the French programming language (see compatibility note) +\*avec une application 4D configurée pour utiliser le langage de programmation français (voir note de compatibilité) ## Exemple 3 -You want to create a method that returns **True** if the command, whose number is passed as parameter, is thread-safe, and **False** otherwise. +Vous souhaitez créer une méthode qui renvoie **True** si la commande, dont le numéro est passé en paramètre, est thread-safe, et **False** dans le cas contraire. ```4d   //Is_Thread_Safe project method @@ -94,23 +94,23 @@ You want to create a method that returns **True** if the command, whose number i  var $threadsafe : Integer  var $name; $theme : Text  $name:=Command name($command;$threadsafe;$theme) - If($threadsafe ?? 0) //if the first bit is set to 1 + If($threadsafe ?? 0) //si le premier bit est à 1     return True  Else     return False  End if ``` -Then, for the "SAVE RECORD" command (53) for example, you can write: +Ensuite, pour la commande "SAVE RECORD" (53) par exemple, vous pouvez écrire : ```4d  $isSafe:=Is_Thread_Safe(53) -  // returns True +  // renvoie True ``` ## Exemple 4 -You want to return a collection of all deprecated commands in your version of 4D. +Vous souhaitez renvoyer une collection de toutes les commandes obsolètes dans votre version de 4D. ```4d var $info; $Lon_id : Integer @@ -120,11 +120,11 @@ var $deprecated : Collection Repeat $Lon_id:=$Lon_id+1 $Txt_command:=Command name($Lon_id;$info) - If($info ?? 1) //the second bit is set to 1 - //then the command is deprecated + If($info ?? 1) //le 2e bit est à 1 + //alors la commande est dépréciée $deprecated.push($Txt_command) End if -Until(OK=0) //end of existing commands +Until(OK=0) //fin des commandes existantes ``` diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md index c6ef8e365e8fd1..a5fceb7c36ae6a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md @@ -27,7 +27,7 @@ displayed_sidebar: docs ## Description -**Compile project** allows you to compile the current host project or the project specified in the *projectFile* parameter. For more information on compilation, check the [Compilation page](../Project/compiler.md). +**Compile project** vous permet de compiler le projet hôte courant ou le projet spécifié dans le paramètre *projectFile*. Pour plus d'informations sur la compilation, consultez la [page Compilation] (../Project/compiler.md). Par défaut, la commande utilise les options du compilateur définies dans les Paramètres de structure. Vous pouvez les remplacer en passant un paramètre *options*. Les syntaxes suivantes sont prises en charge : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/ds.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/ds.md index 435f8a47e295bb..b3ea0a66e21aed 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/ds.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/ds.md @@ -19,9 +19,9 @@ displayed_sidebar: docs La commande `ds` retourne une référence vers le datastore correspondant à la base de données 4D courante ou à la base de données désignée par *localID*. -Si vous omettez le paramètre *localID* (ou si vous passez une chaîne vide ""), la commande renvoie une référence au datastore correspondant à la base de données 4D locale (ou à la base 4D Server en cas d'ouverture d'une base de données distante sur 4D Ser Le datastore est ouvert automatiquement et est disponible directement via `ds`. Le datastore est ouvert automatiquement et est disponible directement via `ds`. +Si vous omettez le paramètre *localID* (ou si vous passez une chaîne vide ""), la commande renvoie une référence au datastore correspondant à la base de données 4D locale (ou à la base 4D Server en cas d'ouverture d'une base de données distante sur 4D Server). Le datastore est ouvert automatiquement et est disponible directement via `ds`. -Vous pouvez également obtenir une référence sur un datastore distant ouvert en passant son identifiant local dans le paramètre *localID*. Vous pouvez également obtenir une référence sur un datastore distant ouvert en passant son identifiant local dans le paramètre *localID*. L'identifiant local est défini lors de l'utilisation de cette commande. +Vous pouvez également obtenir une référence sur un datastore distant ouvert en passant son identifiant local dans le paramètre *localID*. Le datastore doit avoir été préalablement ouvert avec la commande [`Open datastore`](open-datastore.md) par la base de données courante (hôte ou composant). L'identifiant local est défini lors de l'utilisation de cette commande. > La portée de l'identifiant local est la base de données dans laquelle le datastore a été ouvert. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/open-datastore.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/open-datastore.md index 36b46adc6506c5..721d7aeaa7d9a7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/open-datastore.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/open-datastore.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## Description -The `Open datastore` command connects the application to the remote datastore identified by the *connectionInfo* parameter and returns a matching `4D.DataStoreImplementation` object associated with the *localID* local alias. +La commande `Open datastore` connecte l'application au datastore distant identifié par le paramètre *connectionInfo* et renvoie un objet `4D.DataStoreImplementation` correspondant associé à l'alias local *localID*. Les datastores distants suivants sont pris en charge par la commande : @@ -71,7 +71,7 @@ Une fois la session ouverte, les instructions suivantes deviennent équivalentes //$myds et $myds2 sont équivalents ``` -Objects available in the `4D.DataStoreImplementation` are mapped with respect to the [ORDA general rules](ORDA/dsMapping.md#general-rules). +Les objets disponibles dans `4D.DataStoreImplementation` sont mappés conformément aux [règles générales ORDA](ORDA/dsMapping.md#general-rules). Si aucun datastore correspondant n'est trouvé, `Open datastore` retourne **Null**. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/pop3-new-transporter.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/pop3-new-transporter.md index 482a210e7dcae0..de172d95455182 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/pop3-new-transporter.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/pop3-new-transporter.md @@ -25,21 +25,21 @@ displayed_sidebar: docs ## Description -La commande `POP3 New transporter` configure une nouvelle connexion POP3en fonction du paramètre *server* et retourne un nouvel objet [POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object). L'objet transporteur retourné sera alors utilisé pour la réception d'emails. +La commande `POP3 New transporter` configure une nouvelle connexion POP3 en fonction du paramètre *server* et retourne un nouvel objet [POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object). L'objet transporteur retourné sera alors utilisé pour la réception d'emails. Dans le paramètre *server*, passez un objet contenant les propriétés suivantes : -| *server* | Valeur par défaut (si omise) | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| [](../API/POP3TransporterClass.md#acceptunsecureconnection)
    | False | -| .**accessTokenOAuth2** : Text
    .**accessTokenOAuth2** : Object
    Chaîne ou objet token représentant les informations d'autorisation OAuth2. Utilisé uniquement avec OAUTH2 `authenticationMode`. Si `accessTokenOAuth2` est utilisé mais que `authenticationMode` est omis, le protocole OAuth 2 est utilisé (si le serveur l'autorise). Not returned in *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)* object. | aucun | -| [](../API/POP3TransporterClass.md#authenticationmode)
    | le mode d'authentification le plus sûr pris en charge par le serveur est utilisé | -| [](../API/POP3TransporterClass.md#connectiontimeout)
    | 30 | -| [](../API/POP3TransporterClass.md#host)
    | *obligatoire* | -| [](../API/POP3TransporterClass.md#logfile)
    | aucun | -| **password** : Text
    Mot de passe utilisateur pour l'authentification sur le serveur. Not returned in *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)* object. | aucun | -| [](../API/POP3TransporterClass.md#port)
    | 995 | -| [](../API/POP3TransporterClass.md#user)
    | aucun | +| *server* | Valeur par défaut (si omise) | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| [](../API/POP3TransporterClass.md#acceptunsecureconnection)
    | False | +| .**accessTokenOAuth2** : Text
    .**accessTokenOAuth2** : Object
    Chaîne ou objet token représentant les informations d'autorisation OAuth2. Utilisé uniquement avec OAUTH2 `authenticationMode`. Si `accessTokenOAuth2` est utilisé mais que `authenticationMode` est omis, le protocole OAuth 2 est utilisé (si le serveur l'autorise). Non renvoyé dans l'objet *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)*. | aucun | +| [](../API/POP3TransporterClass.md#authenticationmode)
    | le mode d'authentification le plus sûr pris en charge par le serveur est utilisé | +| [](../API/POP3TransporterClass.md#connectiontimeout)
    | 30 | +| [](../API/POP3TransporterClass.md#host)
    | *obligatoire* | +| [](../API/POP3TransporterClass.md#logfile)
    | aucun | +| **password** : Text
    Mot de passe utilisateur pour l'authentification sur le serveur. Non renvoyé dans l'objet *[POP3 transporter](../API/POP3TransporterClass.md#pop3-transporter-object)*. | aucun | +| [](../API/POP3TransporterClass.md#port)
    | 995 | +| [](../API/POP3TransporterClass.md#user)
    | aucun | ## Résultat diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md index c391c93d663c97..9e5f7ad5a9d05f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md @@ -8,32 +8,32 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ------------ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| aTable | Table | → | Table owning the form, or Default table, if omitted | -| form | Text, Object | → | Name (string) of the form, or a POSIX path (string) to a .json file describing the form, or an object describing the form to print | -| formData | Object | → | Données à associer au formulaire | -| areaStart | Integer | → | Print marker, or Beginning area (if areaEnd is specified) | -| areaEnd | Integer | → | Ending area (if areaStart specified) | -| Résultat | Integer | ← | Height of printed section | +| Paramètres | Type | | Description | +| ---------- | ------------ | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| aTable | Table | → | Table du formulaire, ou table par défaut si omis | +| form | Text, Object | → | Nom (chaîne) du formulaire, ou chemin POSIX (chaîne) vers un fichier .json décrivant le formulaire, ou objet décrivant le formulaire à imprimer | +| formData | Object | → | Données à associer au formulaire | +| areaStart | Integer | → | Marqueur d'impression ou zone de démarrage (si areaEnd est spécifié) | +| areaEnd | Integer | → | Zone de fin (si areaStart est spécifié) | +| Résultat | Integer | ← | Hauteur de la section imprimée | ## Description -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +La commande **Print form** imprime simplement *form* avec les valeurs courantes des champs et des variables de la table *aTable*. Elle est généralement utilisée pour imprimer des états très complexes qui nécessitent un contrôle complet du processus d'impression. **Print form** ne gère pas les traitements d'enregistrements, ni les ruptures, sauts de pages, en-têtes ou pieds de pages. Vous devez vous-même prendre en charge ces opérations. **Print form** imprime uniquement des champs et des variables avec une taille fixe, la commande ne gère pas les objets de taille variable. Dans le paramètre *form*, vous pouvez passer soit : - le nom d'un formulaire, -- the path (in POSIX syntax) to a valid .json file containing a description of the form to use (see *Form file path*), or +- le chemin d'accès (en syntaxe POSIX) d'un fichier .json valide contenant une description du formulaire à utiliser (voir *Chemin d'accès au fichier de formulaire*), ou - un objet contenant la description du formulaire à utiliser. -Since **Print form** does not issue a page break after printing the form, it is easy to combine different forms on the same page. Thus, **Print form** is perfect for complex printing tasks that involve different tables and different forms. To force a page break between forms, use the [PAGE BREAK](../commands-legacy/page-break.md) command. In order to carry printing over to the next page for a form whose height is greater than the available space, call the [CANCEL](../commands-legacy/cancel.md) command before the [PAGE BREAK](../commands-legacy/page-break.md) command. +Comme **Print form** ne génère pas de saut de page après avoir imprimé un formulaire, elle vous permet de combiner facilement différents formulaires sur la même page. Ainsi, **Print form** est idéale pour effectuer des impressions complexes impliquant plusieurs tables et plusieurs formulaires. Pour forcer un saut de page entre les formulaires, utilisez la commande [PAGE BREAK](../commands-legacy/page-break.md). Pour reporter l'impression à la page suivante d'un formulaire dont la hauteur est supérieure à l'espace disponible, appelez la commande [CANCEL](../commands-legacy/cancel.md) avant la commande [PAGE BREAK](../commands-legacy/page-break.md). -Three different syntaxes may be used: +Trois syntaxes différentes peuvent être utilisées : -- **Detail area printing** +- **Impression du corps d'un formulaire** Syntaxe : @@ -41,9 +41,9 @@ Syntaxe :  height:=Print form(myTable;myForm) ``` -In this case, **Print form** only prints the Detail area (the area between the Header line and the Detail line) of the form. +Dans ce cas, **Print form** n'imprime que la zone de corps du formulaire (la zone comprise entre les marqueur d'en-tête et de corps). -- **Form area printing** +- **Impression de zone de formulaire** Syntaxe : @@ -51,7 +51,7 @@ Syntaxe :  height:=Print form(myTable;myForm;marker) ``` -In this case, the command will print the section designated by the *marker*. Pass one of the constants of the *Form Area* theme in the marker parameter: +Dans ce cas, la commande imprime la section désignée par *marker*. Passez dans le paramètre *marker* une des constantes : | Constante | Type | Valeur | | ------------- | ------- | ------ | @@ -79,7 +79,7 @@ In this case, the command will print the section designated by the *marker*. Pas | Form header8 | Integer | 208 | | Form header9 | Integer | 209 | -- **Section printing** +- **Impression de section** Syntaxe : @@ -87,58 +87,58 @@ Syntaxe :  height:=Print form(myTable;myForm;areaStart;areaEnd) ``` -In this case, the command will print the section included between the *areaStart* and *areaEnd* parameters. The values entered must be expressed in pixels. +Dans ce cas, la commande imprime la section comprise entre les paramètres *areaStart* et *areaEnd*. Les valeurs saisies doivent être exprimées en pixels. **formData** -Optionnellement, vous pouvez passer des paramètres au formulaire *form* en utilisant soit l'objet *formData*, soit l'objet de classe de formulaire automatiquement instancié par 4D si vous avez [associé une classe utilisateur au formulaire](../FormEditor/properties_FormProperties.md#form-class). Toutes les propriétés de l'objet de données du formulaire seront alors disponibles dans le contexte du formulaire par le biais de la commande [Form](form.md). Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). +Optionnellement, vous pouvez passer des paramètres au formulaire *form* en utilisant soit l'objet *formData*, soit l'objet de classe de formulaire automatiquement instancié par 4D si vous avez [associé une classe utilisateur au formulaire](../FormEditor/properties_FormProperties.md#form-class). Toutes les propriétés de l'objet de données du formulaire seront alors disponibles dans le contexte du formulaire par le biais de la commande [Form](form.md). L'objet form data est disponible dans l'[événement formulaire `On Printing Detail`](../Events/onPrintingDetail.md). Pour des informations détaillées sur l'objet de données formulaire, veuillez vous référer à la commande [`DIALOG`](dialog.md). **Valeur retournée** -The value returned by **Print form** indicates the height of the printable area. This value will be automatically taken into account by the [Get printed height](../commands-legacy/get-printed-height.md) command. +La valeur retournée par **Print form** indique la hauteur de la zone d’impression. Cette valeur sera automatiquement prise en compte par la commande [Get printed height](../commands-legacy/get-printed-height.md). -The printer dialog boxes do not appear when you use **Print form**. The report does not use the print settings that were assigned to the form in the Design environment. There are two ways to specify the print settings before issuing a series of calls to **Print form**: +Les boîtes de dialogue standard d'impression n'apparaissent pas lorsque vous utilisez la commande **Print form**. L'état généré ne tient pas compte des paramètres d'impression définis en mode Développement pour le formulaire. Il y a deux manières de définir les paramètres d'impression avant d'effectuer une série d'appels à **Print form** : -- Call [PRINT SETTINGS](../commands-legacy/print-settings.md). In this case, you let the user choose the settings. -- Call [SET PRINT OPTION](../commands-legacy/set-print-option.md) and [GET PRINT OPTION](../commands-legacy/get-print-option.md). In this case, print settings are specified programmatically. +- Appeler [PRINT SETTINGS](../commands-legacy/print-settings.md). Dans ce cas, vous laissez l'utilisateur définir ses paramètres dans les boîtes de dialogue d'impression. +- Appeler [SET PRINT OPTION](../commands-legacy/set-print-option.md) et [GET PRINT OPTION](../commands-legacy/get-print-option.md). Dans ce cas, les paramètres sont définis par programmation. -**Print form** builds each printed page in memory. Each page is printed when the page in memory is full or when you call [PAGE BREAK](../commands-legacy/page-break.md). To ensure the printing of the last page after any use of **Print form**, you must conclude with the [PAGE BREAK](../commands-legacy/page-break.md) command (except in the context of an [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), see note). Otherwise, if the last page is not full, it stays in memory and is not printed. +**Print form** construit chaque page à imprimer en mémoire. Chaque page est imprimée lorsque la page en mémoire est remplie ou lorsque vous appelez [PAGE BREAK](../commands-legacy/page-break.md). Pour vous assurer que la dernière page d'une impression exécutée par l'intermédiaire de **Print form** est effectivement imprimée, il faut terminer par la commande [PAGE BREAK](../commands-legacy/page-break.md) (sauf dans le cadre d'un [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), voir note). Sinon, la dernière page, si elle n'est pas remplie, reste en mémoire et n'est pas imprimée. -**Warning:** If the command is called in the context of a printing job opened with [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), you must NOT call [PAGE BREAK](../commands-legacy/page-break.md) for the last page because it is automatically printed by the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command. If you call [PAGE BREAK](../commands-legacy/page-break.md) in this case, a blank page is printed. +**Attention :** Si la commande est appelée dans le contexte d'une tâche d'impression ouverte avec [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), vous ne devez PAS appeler [PAGE BREAK](../commands-legacy/page-break.md) pour la dernière page car celle-ci est automatiquement imprimée par la commande [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md). Si vous appelez [PAGE BREAK](../commands-legacy/page-break.md) dans ce cas, une page vide est imprimée. -This command prints external areas and objects (for example, 4D Write or 4D View areas). The area is reset for each execution of the command. +Cette commande permet d'imprimer des zones et des objets externes (par exemple, les zones 4D Write Pro ou 4D View Pro). La zone est réinitialisée à chaque exécution de la commande. -**Warning:** Subforms are not printed with **Print form**. To print only one form with such objects, use [PRINT RECORD](../commands-legacy/print-record.md) instead. +**Attention :** **Print form** n'imprime pas les sous-formulaires. Si vous voulez imprimer uniquement un formulaire comportant de tels objets, utilisez plutôt [PRINT RECORD](../commands-legacy/print-record.md). -**Print form** generates only one [`On Printing Detail` event](../Events/onPrintingDetail.md) for the form method. +**Print form** ne génère qu'un seul événement [`On Printing Detail`](../Events/onPrintingDetail.md) pour la méthode formulaire. -**4D Server:** This command can be executed on 4D Server within the framework of a stored procedure. In this context: +**4D Server:** Cette commande peut être exécutée sur 4D Server dans le cadre d'une procédure stockée. Dans ce contexte : -- Make sure that no dialog box appears on the server machine (except for a specific requirement). -- In the case of a problem concerning the printer (out of paper, printer disconnected, etc.), no error message is generated. +- Veillez à ce qu'aucune boîte de dialogue n'apparaisse sur la machine serveur (sauf exigence particulière). +- Dans le cas d'un problème concernant l'imprimante (manque de papier, imprimante déconnectée, etc.), aucun message d'erreur n'est généré. ## Exemple 1 -The following example performs as a [PRINT SELECTION](../commands-legacy/print-selection.md) command would. However, the report uses one of two different forms, depending on whether the record is for a check or a deposit: +L'exemple suivant effectue la même chose que ce que ferait la commande [PRINT SELECTION](../commands-legacy/print-selection.md). Cependant, l'état utilise deux formulaires différents suivant le type d'enregistrement (chèque émis ou dépôt) : ```4d - QUERY([Register]) // Select the records + QUERY([Register]) // sélectionner les enregistrements  If(OK=1) -    ORDER BY([Register]) // Sort the records +    ORDER BY([Register]) // trier les enregistrements     If(OK=1) -       PRINT SETTINGS // Display Printing dialog boxes +       PRINT SETTINGS // Afficher les boîtes de dialogue d'impression        If(OK=1)           For($vlRecord;1;Records in selection([Register]))              If([Register]Type ="Check") -                Print form([Register];"Check Out") // Use one form for checks +                Print form([Register];"Check Out") // formulaire de chèque              Else -                Print form([Register];"Deposit Out") // Use another form for deposits +                Print form([Register];"Deposit Out") // formulaire de dépôt              End if              NEXT RECORD([Register])           End for -          PAGE BREAK // Make sure the last page is printed +          PAGE BREAK // S'assurer que la dernière page est imprimée        End if     End if  End if @@ -146,15 +146,15 @@ The following example performs as a [PRINT SELECTION](../commands-legacy/print-s ## Exemple 2 -Refer to the example of the [SET PRINT MARKER](../commands-legacy/set-print-marker.md) command. +Voir l'exemple de la commande [SET PRINT MARKER](../commands-legacy/set-print-marker.md). ## Exemple 3 -This form is used as dialog, then printed with modifications: +Ce formulaire est utilisé comme dialogue, puis imprimé avec des modifications : ![](../assets/en/commands/pict6264975.en.png) -The form method: +La méthode formulaire : ```4d  If(Form event code=On Printing Detail) @@ -164,7 +164,7 @@ The form method:  End if ``` -The code that calls the dialog then prints its body: +Le code qui appelle la boîte de dialogue imprime ensuite le corps : ```4d  $formData:=New object diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/process-info.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/process-info.md index 7cd320449a6062..beaa5cb365a0b5 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/process-info.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/process-info.md @@ -8,10 +8,10 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ------------- | ------- | :-------------------------: | ----------------------------- | -| processNumber | Integer | → | Process number | -| Résultat | Object | ← | Informations sur le processus | +| Paramètres | Type | | Description | +| ------------- | ------- | :-------------------------: | --------------------------- | +| processNumber | Integer | → | Process number | +| Résultat | Object | ← | Informations sur le process | @@ -25,26 +25,26 @@ displayed_sidebar: docs ## Description -The `Process info` command returns an object providing detailed information about process whose number you pass in *processNumber*. If you pass an incorrect process number, the command returns a null object. +La commande `Process info` renvoie un objet fournissant des informations détaillées sur le process dont le numéro est passé dans *processNumber*. Si vous passez un numéro de process incorrect, la commande renvoie un objet null. L'objet retourné contient les propriétés suivantes : -| Propriété | Type | Description | -| ---------------- | --------------------------------------- | -------------------------------------------------------------------------------- | -| cpuTime | Real | Running time (seconds) | -| cpuUsage | Real | Percentage of time devoted to this process (between 0 and 1) | -| creationDateTime | Text (Date ISO 8601) | Date and time of process creation | -| ID | Integer | Process unique ID | -| name | Text | Nom du process | -| number | Integer | Process number | -| préemptif | Boolean | True if run preemptive, false otherwise | -| sessionID | Text | UUID de la session | -| state | Integer | Current status. Possible values: see below | -| systemID | Text | ID for the user process, 4D process or spare process | -| type | Integer | Running process type. Possible values: see below | -| visible | Boolean | True if visible, false otherwise | - -- Possible values for "state": +| Propriété | Type | Description | +| ---------------- | --------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| cpuTime | Real | Durée d'exécution (secondes) | +| cpuUsage | Real | Pourcentage de temps consacré à ce process (entre 0 et 1) | +| creationDateTime | Text (Date ISO 8601) | Date et heure de création du process | +| ID | Integer | ID unique du process | +| name | Text | Nom du process | +| number | Integer | Process number | +| préemptif | Boolean | Vrai si l'exécution est préemptive, faux sinon | +| sessionID | Text | UUID de la session | +| state | Integer | Statut courant. Valeurs possibles : voir ci-dessous | +| systemID | Text | ID du process utilisateur, 4D ou de réserve | +| type | Integer | Type de process en cours d'exécution. Valeurs possibles : voir ci-dessous | +| visible | Boolean | Vrai si visible, faux sinon | + +- Valeurs possibles pour "state" : | Constante | Valeur | | ------------------------- | ------ | @@ -57,7 +57,7 @@ L'objet retourné contient les propriétés suivantes : | Waiting for internal flag | 4 | | Paused | 5 | -- Possible values for "type": +- Valeurs possibles pour "type" : | Constante | Valeur | | ----------------------------- | ------ | @@ -118,11 +118,11 @@ L'objet retourné contient les propriétés suivantes : :::note -4D's internal processes have a negative type value and processes generated by the user have a positive value. Worker processes launched by user have type 5. +Les process internes de 4D ont une valeur de type négative et les process générés par l'utilisateur ont une valeur positive. Les process worker lancés par l'utilisateur sont de type 5. ::: -Voici un exemple d'objet de sortie : +Voici un exemple d'objet retourné : ```json @@ -145,7 +145,7 @@ Voici un exemple d'objet de sortie : ## Exemple -Vous voulez savoir si le processus est préventif : +Vous voulez savoir si le process est préemptif : ```4d diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md index fc146d937953d5..d5cc342be93bcb 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md @@ -9,30 +9,30 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | --------- | --------------------------- | -------------------------------------------------------- | -| name | Text | → | Name of process for which to retrieve the process number | -| id | Text | → | ID of process for which to retrieve the process number | -| \* | Opérateur | → | Return the process number from the server | -| Résultat | Integer | ← | Process number | +| Paramètres | Type | | Description | +| ---------- | --------- | --------------------------- | ----------------------------------------------- | +| name | Text | → | Nom du process duquel obtenir le numéro | +| id | Text | → | ID du process duquel récupérer le numéro | +| \* | Opérateur | → | Renvoyer le numéro du process depuis le serveur | +| Résultat | Integer | ← | Process number |
    Historique -| Release | Modifications | -| ------- | ----------------------- | -| 20 R7 | Support of id parameter | +| Release | Modifications | +| ------- | ------------------------------- | +| 20 R7 | Prise en charge du paramètre id |
    ## Description -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter. If no process is found, `Process number` returns 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter. Si aucun process n'est trouvé, `Process number` renvoie 0. -The optional parameter \* allows you to retrieve, from a remote 4D, the number of a process that is executed on the server. In this case, the returned value is negative. This option is especially useful when using the [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) and [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md) commands. +Le paramètre optionnel \* permet de récupérer, à partir d'un 4D distant, le numéro d'un process exécuté sur le serveur. Dans ce cas, la valeur retournée est négative. Cette option est particulièrement utile lors de l'utilisation des commandes [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) et [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md). -If the command is executed with the \* parameter from a process on the server machine, the returned value is positive. +Si la commande est exécutée avec le paramètre \* à partir d'un process sur la machine serveur, la valeur renvoyée est positive. ## Voir également diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md index 5a5bed4154ed07..cc84d9eff37f02 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md @@ -21,7 +21,7 @@ displayed_sidebar: docs Passez dans *logFile* le nom ou le chemin d'accès complet du fichier d'historique à créer. Si vous passez uniquement un nom, le fichier sera créé dans le dossier "Logs" de la base, à côte du fichier de structure de la base. -Si vous passez une chaîne vide, **SELECT LOG FILE** présente une boîte de dialogue standard d'enregistrement de fichier, permettant à l'utilisateur de choisir le nom et l'emplacement du fichier d'historique à créer. If the file is created correctly, the OK variable is set to 1. Autrement, si l'utilisateur clique sur le bouton Annuler ou si le fichier d'historique ne peut pas être créé, OK prend la valeur 0. +Si vous passez une chaîne vide, **SELECT LOG FILE** présente une boîte de dialogue standard d'enregistrement de fichier, permettant à l'utilisateur de choisir le nom et l'emplacement du fichier d'historique à créer. Si le fichier est correctement créé, la variable OK prend la valeur 1. Autrement, si l'utilisateur clique sur le bouton Annuler ou si le fichier d'historique ne peut pas être créé, OK prend la valeur 0. **Note :** Le nouveau fichier journal n'est pas généré immédiatement après l'exécution de la commande, mais après la sauvegarde suivante (le paramétrage est conservé dans le fichier de données et sera pris en compte même si la base de données est fermée entre-temps) ou un appel à la commande [`New log file`](new-log-file.md). Vous pouvez appeler la commande [BACKUP](../commands-legacy/backup.md) pour déclencher la création du fichier journal. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/session-info.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/session-info.md index 790e34844c475b..b94bd9a45589d2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/session-info.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/session-info.md @@ -49,7 +49,7 @@ Cette commande renvoie la propriété [`.info`](../API/SessionClass.md#info) de ::: -Voici un exemple d'objet de sortie : +Voici un exemple d'objet retourné : ```json diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/session.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/session.md index 4d4b18093f7421..e6e0b844d3486f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/session.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/session.md @@ -33,7 +33,7 @@ Selon le process à partir duquel la commande est appelée, la session utilisate - une session web (lorsque les [sessions évolutives sont activées](WebServer/sessions.md#enabling-web-sessions)), - une session de client distant, - la session des procédures stockées, -- the *designer* session in a standalone application. +- la session *designer* dans une application autonome. Pour plus d'informations, voir le paragraphe [Types de session](../API/SessionClass.md#session-types). @@ -70,9 +70,9 @@ Tous les process des procédures stockées partagent la même session d'utilisat Pour des informations sur la session d'utilisateur virtuel des procédures stockées, veuillez vous référer à la page [4D Server et langage 4D](https://doc.4d.com/4Dv20/4D/20/4D-Server-and-the-4D-Language.300-6330554.en.html). -## Standalone session +## Session autonome -The `Session` object is available from any process in standalone (single-user) applications so that you can write and test your client/server code using the `Session` object in your 4D development environment. +L'objet `Session` est disponible à partir de n'importe quel process dans les applications autonomes (mono-utilisateur) afin que vous puissiez écrire et tester votre code client/serveur en utilisant l'objet `Session` dans votre environnement de développement 4D. ## Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md index 4fe05d6e19e113..0aa053320fedd4 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md @@ -9,42 +9,42 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ------------ | ---------- | --------------------------- | --------------------- | -| methodsArray | Text array | → | Array of method names | +| Paramètres | Type | | Description | +| ------------ | ---------- | --------------------------- | --------------------------- | +| methodsArray | Text array | → | Tableau de noms de méthodes | ## Description -The **SET ALLOWED METHODS** command designates the project methods that can be entered via the application. +La commande **SET ALLOWED METHODS** permet de désigner les méthodes projet qui peuvent être appelées directement depuis l'application. -4D includes a security mechanism that filters enterable project methods from the following contexts: +4D inclut un mécanisme de sécurité filtrant les méthodes projet saisissables depuis les contextes suivants : -- The formula editor - allowed methods appear at the end of the list of default commands and can be used in formulas (see section *Description of formula editor*). -- The label editor - the allowed methods are listed in the **Apply** menu if they are also shared with the component (see section *Description of label editor*). -- Formulas inserted in styled text areas or 4D Write Pro documents through the [ST INSERT EXPRESSION](../commands-legacy/st-insert-expression.md) command - disallowed methods are automatically rejected. -- 4D View Pro documents - by default, if the [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md) command has never been called during the session, 4D View Pro formulas only accept methods defined by **SET ALLOWED METHODS**. However, using [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md) is recommended. See [Declaring allowed method](../ViewPro/formulas.md#declaring-allowed-methods). +- L'éditeur de formules - les méthodes autorisées apparaissent à la fin de la liste des commandes par défaut et peuvent être utilisées dans les formules (voir la section *Description de l'éditeur de formules*). +- L'éditeur d'étiquettes - les méthodes autorisées sont listées dans le menu **Appliquer** si elles sont également partagées avec le composant (voir la section *Description de l'éditeur d'étiquettes*). +- Les formules insérées dans des zones de texte stylées ou dans des documents 4D Write Pro par la commande [ST INSERT EXPRESSION](../commands-legacy/st-insert-expression.md) - les méthodes non autorisées sont automatiquement rejetées. +- Les documents 4D View Pro - par défaut, si la commande [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md) n'a jamais été appelée au cours de la session, les formules 4D View Pro n'acceptent que les méthodes définies par **SET ALLOWED METHODS**. Cependant, il est recommandé d'utiliser [`VP SET ALLOWED METHODS`](../ViewPro/commands/vp-set-allowed-methods.md). Voir [Déclarer une méthode autorisée](../ViewPro/formulas.md#declaring-allowed-methods). -By default, if you do not use the **SET ALLOWED METHODS** command, no method is enterable (using an unauthorized method in an expression causes an error). +Par défaut, si vous n'utilisez pas la commande **SET ALLOWED METHODS**, aucune méthode n'est appelable (l'utilisation d'une méthode non autorisée dans une expression provoque une erreur). -In the *methodsArray* parameter, pass the name of an array containing the list of methods to allow. The array must have been set previously. +Dans le paramètre *methodsArray*, passez le nom d'un tableau contenant la liste des méthodes à autoriser. Le tableau doit avoir été défini précédemment. -You can use the wildcard character (@) in method names to define one or more authorized method groups. +Vous pouvez utiliser le caractère "joker" (@) dans les noms des méthodes pour définir un ou plusieurs groupe(s) de méthodes autorisées. -If you would like the user to be able to call 4D commands that are unauthorized by default or plug-in commands, you must use specific methods that handle these commands. +Si vous souhaitez que l'utilisateur puisse appeler des commandes 4D non autorisées par défaut ou des commandes de plug-in, vous devez utiliser des méthodes spécifiques chargées d’exécuter ces commandes. -**Note:** Formula filtering access can be disabled for all users or for the Designer and Administrator via [an option on the "Security" page of the Settings](../settings/security.md#options). If the "Disabled for all" option is checked, the **SET ALLOWED METHODS** command will have no effect. +**Note :** Le filtrage des commandes et méthodes peut être désactivé pour tous les utilisateurs ou pour le Super_Utilisateur et l'Administrateur via [une option sur la page "Sécurité" des Paramètres](../settings/security.md#options). Si l'option "Désactivé pour tous" est sélectionnée, la commande **SET ALLOWED METHODS** n'aura aucun effet. :::warning -This command only filters the **input** of methods, not their **execution**. It does not control the execution of formulas created outside the application. +Cette commande ne filtre que la **saisie** des méthodes, pas leur **exécution**. Elle ne contrôle pas l'exécution des formules créées en dehors de l'application. ::: ## Exemple -This example authorizes all methods starting with “formula” and the “Total\_general” method to be entered by the user in protected contexts: +Cet exemple autorise la saisie de toutes les méthodes commençant par "formula" et de la méthode "Total_general" par l'utilisateur dans des contextes protégés : ```4d  ARRAY TEXT(methodsArray;2) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/set-window-document-icon.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/set-window-document-icon.md index f895f7c478ee26..8682495bf5e82e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/set-window-document-icon.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/set-window-document-icon.md @@ -26,49 +26,49 @@ displayed_sidebar: docs ## Description -The `SET WINDOW DOCUMENT ICON` command allows you to define an icon for windows in multi-window applications using either an *image* and/or *file* with the window reference *winRef*. The icon will be visible within the window itself and on the windows taskbar to help users identify and navigate different windows. +La commande `SET WINDOW DOCUMENT ICON` vous permet de définir une icône pour les fenêtres dans les applications multi-fenêtres en utilisant une *image* et/ou un *file* avec la référence de la fenêtre *winRef*. L'icône sera visible dans la fenêtre elle-même et dans la barre des tâches pour aider les utilisateurs à identifier les différentes fenêtres et à naviguer parmi elles. -In the case of an MDI application on Windows, you can pass `-1` in *winRef* to set the icon of the main window. In other contexts (macOS or [SDI application](../Menus/sdi.md) on Windows), using -1 does nothing. +Dans le cas d'une application MDI sous Windows, vous pouvez passer `-1` dans *winRef* pour définir l'icône de la fenêtre principale. Dans d'autres contextes (macOS ou [application SDI](../Menus/sdi.md) sous Windows), passer -1 ne fait rien. -- If only *file* is passed, the window uses the icon corresponding to the file type and the file’s path is displayed in the window’s menu. -- If only *image* is passed, 4D does not show the path and the passed image is used for the window icon. -- If both *file* and *image* are passed, the file’s path is displayed in the window’s menu and the passed image is used for the window icon. -- If only *winRef* is passed or *image* is empty, the icon is removed on macOS and the default icon is displayed on Windows (application icon). +- Si seul *file* est passé, la fenêtre utilise l'icône correspondant au type de fichier et le chemin d'accès du fichier est affiché dans le menu de la fenêtre. +- Si seul *image* est passé, 4D n'affiche pas le chemin et l'image passée est utilisée pour l'icône de la fenêtre. +- Si *file* et *image* sont tous les deux passés, le chemin d’accès du fichier est affiché dans le menu de la fenêtre et l’image passée est utilisée pour l’icône de la fenêtre. +- Si seul *winRef* est passé ou si *image* est vide, l'icône est supprimée sous macOS et l'icône par défaut est affichée sous Windows (icône de l'application). ## Exemple Dans cet exemple, nous voulons créer quatre fenêtres : -1. Utilisez l'icône de l'application sous Windows et aucune icône sur macOS (état par défaut quand aucune *image* ou *file* n'est utilisée). +1. Utiliser l'icône de l'application sous Windows et aucune icône sur macOS (état par défaut quand aucune *image* ou *file* n'est utilisée). 2. Utilisez une icône "user". 3. Associer un document à la fenêtre ( cela utilise l'icône du type de fichier correspondant). 4. Personnaliser l'icône associée au document. ```4d var $winRef : Integer - var $userImage : Picture + var $userImage : Image var $file : 4D.File - // 1- Open "Contact" form + // 1- Ouvrir le formulaire "Contact" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) SET WINDOW DOCUMENT ICON($winRef) DIALOG("Contact";*) - // 2- Open "Contact" form with "user" icon + // 2- Ouvrir le formulaire "Contact" avec l'icône "user" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) - BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent();$userImage) + BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent() ;$userImage) SET WINDOW DOCUMENT ICON($winRef;$userImage) DIALOG("Contact";*) - // 3- Open "Contact" form associated with the document "user" + // 3- Ouvrir le formulaire "Contact" associé au document "user" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) $file:=File("/RESOURCES/files/user.txt") SET WINDOW DOCUMENT ICON($winRef;$file) DIALOG("Contact";*) - // 4- Open "Contact" form associated with the document "user" with "user" icon + // 4- Ouvrir le formulaire "Contact" associé au document "user" avec l'icône "user" $winRef:=Open form window("Contact";Plain form window+Form has no menu bar) - BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent();$userImage) + BLOB TO PICTURE(File("/RESOURCES/icon/user.png").getContent() ;$userImage) $file:=File("/RESOURCES/files/user.txt") SET WINDOW DOCUMENT ICON($winRef;$userImage;$file) DIALOG("Contact";*) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/smtp-new-transporter.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/smtp-new-transporter.md index 2cd12b438cccb2..090d1f384a107a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/smtp-new-transporter.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/smtp-new-transporter.md @@ -8,10 +8,10 @@ displayed_sidebar: docs -| Paramètres | Type | | Description | -| ---------- | ---------------------------------- | --------------------------- | --------------------------------------------------------------------------------- | -| server | Object | → | Informations sur le serveur de messagerie | -| Résultat | 4D.SMTPTransporter | ← | [SMTP transporter object](../API/SMTPTransporterClass.md#smtp-transporter-object) | +| Paramètres | Type | | Description | +| ---------- | ---------------------------------- | --------------------------- | -------------------------------------------------------------------------------- | +| server | Object | → | Informations sur le serveur de messagerie | +| Résultat | 4D.SMTPTransporter | ← | [Objet SMTP transporter](../API/SMTPTransporterClass.md#smtp-transporter-object) | @@ -27,14 +27,14 @@ displayed_sidebar: docs ## Description -The `SMTP New transporter` command configures a new SMTP connection according to the *server* parameter and returns a new [SMTP transporter object](../API/SMTPTransporterClass.md#smtp-transporter-object) object. L'objet transporteur retourné sera alors utilisé pour l'envoi d'emails. +La commande `SMTP New transporter` configure une nouvelle connexion SMTP en fonction du paramètre *server* et renvoie un nouvel [objet SMTP transporter](../API/SMTPTransporterClass.md#smtp-transporter-object). L'objet transporteur retourné sera alors utilisé pour l'envoi d'emails. -> Cette commande n'ouvre pas de connexion au serveur SMTP. Cette commande n'ouvre pas de connexion au serveur SMTP. +> Cette commande n'ouvre pas de connexion au serveur SMTP. La connexion SMTP est réellement ouverte lorsque la fonction [`.send()`](../API/SMTPTransporterClass.md#send) est exécutée. > > La connexion SMTP est automatiquement fermée : > > - lorsque l'objet transporter est détruit si la propriété [`keepAlive`](../API/SMTPTransporterClass.md#keepalive) est à true (par défaut), -> - after each [`.send()`](../API/SMTPTransporterClass.md#send) function execution if the [`keepAlive`](../API/SMTPTransporterClass.md#keepalive) property is set to false. +> - après chaque exécution de la fonction [`send()`](../API/SMTPTransporterClass.md#send) si la propriété [`keepAlive`](../API/SMTPTransporterClass.md#keepalive) est false. Dans le paramètre *server*, passez un objet contenant les propriétés suivantes : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/super.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/super.md index eda9d144e1bf80..5761e8db3d7878 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/super.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/super.md @@ -19,7 +19,7 @@ Le mot-clé `Super` permet les appels à la `Super` peut être utilisé de deux différentes manières : -1. A l'intérieur du code de la fonction [constructeur](../Concepts/classes.md#class-constructor), `Super` est une commande qui permet d'appeler le constructeur de la superclass. When used in a constructor, the `Super` command appears alone and must be used before the [`This`](this.md) keyword is used. +1. A l'intérieur du code de la fonction [constructor](../Concepts/classes.md#class-constructor), `Super` est une commande qui permet d'appeler le constructeur de la superclass. Dans une fonction constructor, la commande `Super` est utilisée seule et doit être appelée avant que le mot-clé `This` soit utilisé. - Si tous les class constructors dans l'arbre des héritages ne sont pas appelés correctement, l'erreur -10748 et générée. Il est de la responsabilité du développeur 4D de s'assurer que tous les appels sont valides. - Si la commande `This` est appelée sur un objet dont les superclasses n'ont pas été construites, l'erreur -10743 est générée. @@ -32,7 +32,7 @@ Super($text1) //appel du constructeur de la superclasse avec un paramètre text This.param:=$text2 // utilisation d'un second param ``` -2. Inside a [class function](../Concepts/classes.md#function), `Super` designates the prototype of the [`superclass`](../API/ClassClass.md#superclass) and allows to call a function of the superclass hierarchy. +2. A l'intérieur d'une [fonction de classe](../Concepts/classes.md#function), `Super` désigne le prototype de la [`superclass`](../API/ClassClass.md#superclass) et permet d'appeler une fonction de la hiérarchie de la superclasse. ```4d Super.doSomething(42) //appelle la fonction "doSomething" @@ -67,11 +67,11 @@ Class extends Rectangle Class constructor ($side : Integer) - // It calls the parent class's constructor with lengths - // provided for the Rectangle's width and height + // Appelle le constructeur de la classe parente avec les dimensions + // fournies pour la largeur et la hauteur du Rectangle Super($side;$side) - // In derived classes, Super must be called - // before you can use 'This' + // Dans les classes dérivées, Super doit être appelé + // avant que vous puissiez utiliser 'This' This.name:="Square" Function getArea() : Integer @@ -111,7 +111,7 @@ $message:=$square.description() //I have 4 sides which are all equal ## Voir également -[**Concept page for Classes**](../Concepts/classes.md). +[**Page de Concept pour les Classes**](../Concepts/classes.md). ## Propriétés diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/use-entity-selection.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/use-entity-selection.md index dce5ee9992876f..befd73468036e7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/use-entity-selection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/use-entity-selection.md @@ -48,11 +48,11 @@ USE ENTITY SELECTION($entitySel) //La sélection courante de la table Employee e ## Propriétés -| | | -| ------------------------- | --------------------------- | -| Numéro de commande | 1513 | -| Thread safe | ✓ | -| Changes current record | | -| Changes current selection | | +| | | +| -------------------------------- | --------------------------- | +| Numéro de commande | 1513 | +| Thread safe | ✓ | +| Modifie l'enregistrement courant | | +| Modifie la sélection courante | | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/wa-get-context.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/wa-get-context.md index 340390f8979f9a..adbddd236cd341 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/wa-get-context.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/wa-get-context.md @@ -7,27 +7,27 @@ title: WA Get context -| Paramètres | Type | | Description | -| ---------- | ------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| \* | Opérateur | → | If specified, *object* is an object name (string). If omitted, *object* is a variable. | -| object | Objet de formulaire | → | Object name (if \* is specified) or Variable (if \* is omitted). | -| contextObj | Object | ← | Context object if previously defined, otherwise `null`. | +| Paramètres | Type | | Description | +| ---------- | ------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| \* | Opérateur | → | Si passé, *object* est un nom d'objet (chaîne de caractères). Si omis, *object* est une variable. | +| object | Objet de formulaire | → | Nom de l'objet (si \* est spécifié) ou Variable (si \* est omis). | +| contextObj | Object | ← | Objet contexte si défini précédemment, sinon `null`. | ### Description -The `WA Get context` command retrieves the context object defined for `$4d` in the Web area designated by the \* and *object* parameters using [`WA SET CONTEXT`](./wa-set-context.md). If `WA SET CONTEXT` was not called for the web area the command returns `null`. +La commande `WA Get context` récupère l'objet contexte défini pour `$4d` dans la zone Web désignée par les paramètres \* et *object* en utilisant [`WA SET CONTEXT`](./wa-set-context.md). Si `WA SET CONTEXT` n'a pas été appelé pour la zone web, la commande renvoie `null`. :::note -The command is only usable with an embedded web area where the [**Use embedded web rendering engine**](../FormObjects/properties_WebArea.md#use-embedded-web-rendering-engine) and **Access 4D methods** parameters are set to `true`. +La commande n'est utilisable qu'avec une zone web intégrée où les paramètres [**Utiliser le moteur de rendu web intégré**](../FormObjects/properties_WebArea.md#use-embedded-web-rendering-engine) et **Accéder aux méthodes 4D** sont fixés à `true`. ::: ### Exemple -Checking if a context exists: +Vérification de l'existence d'un contexte : ```4d var $contextObj:=WA Get context(*; "myWebArea") diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md index 7312405b0a0ba9..71b05ccc4c7995 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md @@ -7,32 +7,32 @@ title: WA SET CONTEXT -| Paramètres | Type | | Description | -| ---------- | ------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| \* | Opérateur | → | If specified, *object* is an object name (string). If omitted, *object* is a variable. | -| object | Objet de formulaire | → | Object name (if \* is specified) or Variable (if \* is omitted). | -| contextObj | Object | → | Object containing the functions that can be called with `$4d`. | +| Paramètres | Type | | Description | +| ---------- | ------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| \* | Opérateur | → | Si passé, *object* est un nom d'objet (chaîne de caractères). Si omis, *object* est une variable. | +| object | Objet de formulaire | → | Nom de l'objet (si \* est spécifié) ou Variable (si \* est omis). | +| contextObj | Object | → | Objet contenant les fonctions qui peuvent être appelées avec `$4d`. | ### Description -The `WA SET CONTEXT` command defines a context object *contextObj* for `$4d` in the Web area designated by the \* and *object* parameters. When this command is used, `$4d` can only access contents declared within the provided *contextObj*. When no context object is set, `$4d` has access to all 4D methods and can not access user classes. +La commande `WA SET CONTEXT` définit un objet contexte *contextObj* pour `$4d` dans la zone Web désignée par les paramètres \* et *object*. Lorsque cette commande est utilisée, `$4d` ne peut accéder qu'aux contenus déclarés dans le *contextObj* fourni. Si aucun objet contexte n'est défini, `$4d` a accès à toutes les méthodes 4D et ne peut pas accéder aux classes utilisateurs. :::note -The command is only usable with an embedded web area where the [**Use embedded web rendering engine**](../FormObjects/properties_WebArea.md#use-embedded-web-rendering-engine) and **Access 4D methods** parameters are set to `true`. +La commande n'est utilisable qu'avec une zone web intégrée où les paramètres [**Utiliser le moteur de rendu web intégré**](../FormObjects/properties_WebArea.md#use-embedded-web-rendering-engine) et **Accéder aux méthodes 4D** sont fixés à `true`. ::: -Pass in *contextObj* user class instances or formulas to be allowed in `$4d` as objects. Class functions that begin with `_` are considered hidden and cannot be used with `$4d`. +Passez dans *contextObj* les instances de classes utilisateurs ou les formules à autoriser dans `$4d` en tant qu'objets. Les fonctions de classe qui commencent par `_` sont considérées comme cachées et ne peuvent pas être utilisées avec `$4d`. -- If *contextObj* is null, `$4d` has access to all 4D methods. -- If *contextObj* is empty, `$4d` has no access. +- Si *contextObj* est null, `$4d` a accès à toutes les méthodes 4D. +- Si *contextObj* est vide, `$4d` n'a aucun accès. ### Exemple 1 -Allow `$4d` to specific methods +Autoriser l'accès à des méthodes spécifiques via `$4d` ```4d var $context:={} @@ -42,17 +42,17 @@ Allow `$4d` to specific methods WA SET CONTEXT(*; "myWebArea"; $context) ``` -**In JavaScript:** +**En JavaScript:** ```js -$4d.myMethod(); // Allowed -$4d.myMethod2(); // Allowed -$4d.someOtherMethod(); // Not accessible +$4d.myMethod(); // Autorisé +$4d.myMethod2(); // Autorisé +$4d.someOtherMethod(); // Non autorisé ``` ### Exemple 2 -Using a Class Object +Utiliser un objet de classe ```4d var $myWAObject:=cs.WAFunctions.new() @@ -60,11 +60,11 @@ Using a Class Object WA SET CONTEXT(*; "MyWA"; $myWAObject) ``` -**In JavaScript:** +**En JavaScript:** ```js -$4d.myWAFunction(); // Allowed -$4d._myPrivateFunction(); // Will do nothing because function is private +$4d.myWAFunction(); // Autorisé +$4d._myPrivateFunction(); // Ne fera rien car la function est privée ``` ### Voir également diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md index a7dcf18abded84..968cb9c9e44280 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md @@ -940,7 +940,7 @@ où : | Conjonction | Symbole(s) | | ----------- | ----------------------- | | AND | &, &&, and | - | OR | |,||, or | + | OU | |,||, or | * **order by attributePath** : vous pouvez inclure une déclaration order by *attributePath* dans la requête afin que les données résultantes soient triées selon cette déclaration. Vous pouvez utiliser plusieurs tris par déclaration, en les séparant par des virgules (e.g., order by *attributePath1* desc, *attributePath2* asc). Par défaut, le tri est par ordre croissant. Passez 'desc' pour définir un tri par ordre décroissant et 'asc' pour définir un tri par ordre croissant. >Si vous utilisez cette déclaration, l'entity selection retournée est triée (pour plus d'informations, veuillez consulter [Entity selections triées vs Entity selection non triées](ORDA/dsMapping.md#entity-selections-triees-vs-entity-selections-non-triees)). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntityClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntityClass.md index 3983d4e472086f..f0c45fa03bcf3c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntityClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntityClass.md @@ -600,15 +600,14 @@ Le code générique suivant duplique toute entité :
    -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Paramètres | Type | | Description | | ---------- | ------- |:--:| ---------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: retourner la clé primaire en texte, quel que soit son type d'origine | -| Résultat | Text | <- | Valeur de la clé primaire texte de l'entité | -| Résultat | Integer | <- | Valeur de la clé primaire numérique de l'entité | +| Résultat | any | <- | Valeur de la clé primaire de l'entité (Integer ou Text) | @@ -1045,7 +1044,7 @@ Exemple avec option `dk reload if stamp changed` : La fonction `.next()` retourne une référence vers l'entité suivante dans l'entity selection à laquelle appartient l'entité. -| +Si l'entité n'appartient à aucune entity selection existante (i.e. [.getSelection()](#getselection) retourne Null), la fonction renvoie une valeur Null. S'il n'y a pas d'entité suivante valide dans l'entity selection (i.e. vous êtes sur la dernière entité de la sélection), la fonction retourne Null. Si l'entité suivante a été supprimée, la fonction renvoie l'entité valide suivante (et finalement Null). @@ -1087,7 +1086,7 @@ S'il n'y a pas d'entité suivante valide dans l'entity selection (i.e. vous ête La fonction `.previous()` retourne une référence vers l'entité précédente dans l'entity selection à laquelle appartient l'entité. -| +Si l'entité n'appartient à aucune entity selection existante (i.e. [.getSelection()](#getselection) retourne Null), la fonction renvoie une valeur Null. Si l'entité n'appartient à aucune entity selection (i.e. [.getSelection( )](#getselection) retourne Null), la fonction renvoie une valeur Null. @@ -1615,7 +1614,7 @@ Retourne : La fonction `touched()` vérifie si un attribut de l'entité a été modifié depuis que l'entité a été chargée en mémoire ou sauvegardée. -Si un attribut a été modifié ou calculé, la fonction retourne Vrai, sinon elle retourne Faux. Vous pouvez utiliser cette fonction pour savoir s'il est nécessaire de sauvegarder l'entité. +Si un attribut a été modifié ou calculé, la fonction retourne Vrai, sinon elle retourne Faux. Vous pouvez utiliser cette fonction pour déterminer si vous devez sauvegarder l'entité. Cette fonction retourne Faux pour une entité qui vient d'être créée (avec [`.new( )`](DataClassClass.md#new)). A noter cependant que si vous utilisez une fonction pour calculer un attribut de l'entité, la fonction `.touched()` retournera Vrai. Par exemple, si vous appelez [`.getKey()`](#getkey) pour calculer la clé primaire, `.touched()` retourne alors Vrai. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileClass.md index 3b1fd829e87540..67b2d57dd8eab7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileClass.md @@ -606,12 +606,12 @@ Vous souhaitez que "ReadMe.txt" soit renommé "ReadMe_new.txt" : La fonction `.setAppInfo()` écrit les propriétés de *info* comme contenu d'information d'un fichier **.exe**, **.dll** ou **.plist**. -La fonction doit être utilisée avec un fichier .exe, .dll ou .plist existant. Si le fichier n'existe pas sur le disque ou n'est pas un fichier .exe, .dll ou .plist valide, la fonction ne fait rien (aucune erreur n'est générée). - -> Cette fonction ne prend en charge que les fichiers .plist au format xml (texte). Une erreur est retournée si elle est utilisée avec un fichier .plist au format binaire. **Paramètre *info* avec un fichier .exe or .dll** +La fonction doit être utilisée avec un fichier .exe ou .dll existant et valide, sinon elle ne fait rien (aucune erreur n'est générée). + + > La modification des informations d'un fichier .exe ou .dll n'est possible que sous Windows. Chaque propriété valide définie dans le paramètre objet *info* est écrite dans la ressource de version du fichier .exe ou .dll. Les propriétés disponibles sont (toute autre propriété sera ignorée) : @@ -634,6 +634,8 @@ Pour la propriété `WinIcon`, si le fichier d'icône n'existe pas ou a un forma **Paramètre *info* avec un fichier .plist** +> Cette fonction ne prend en charge que les fichiers .plist au format xml (texte). Une erreur est retournée si elle est utilisée avec un fichier .plist au format binaire. + Chaque propriété valide définie dans le paramètre objet *info* est écrite dans le fichier . plist sous forme de clé. Tous les noms de clés sont acceptés. Les types des valeurs sont préservés si possible. Si une clé définie dans le paramètre *info* est déjà définie dans le fichier .plist, sa valeur est mise à jour tout en conservant son type d'origine. Les autres clés définies dans le fichier .plist ne sont pas modifiées. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md index d784c7e7e1e584..cf253931eafe37 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md @@ -701,7 +701,7 @@ La fonction `.start()` démarre le s Le serveur Web démarre avec les paramètres par défaut définis dans le fichier de settings du projet ou (base hôte uniquement) à l'aide de la commande `WEB SET OPTION`. Cependant, à l'aide du paramètre *settings*, vous pouvez définir des paramètres personnalisés pour la session du serveur Web. -Tous les paramètres des [objets Web Server](#web-server-object) peuvent être personnalisés, hormis les propriétés en lecture seule ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), et [.sessionCookieName](#sessioncookiename)). +All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Les paramètres de session personnalisés seront réinitialisés lorsque la fonction [`.stop()`](#stop) sera appelée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/dt_boolean.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/dt_boolean.md index 472c90ab17c0c4..6da0c46f637add 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/dt_boolean.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/dt_boolean.md @@ -36,7 +36,7 @@ monBooléen:=(monBouton=1) | AND | Booléen & Booléen | Boolean | ("A" = "A") & (15 # 3) | True | | | | | ("A" = "B") & (15 # 3) | False | | | | | ("A" = "B") & (15 = 3) | False | -| OR | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | +| OU | Booléen & Booléen | Boolean | ("A" = "A") | (15 # 3) | True | | | | | ("A" = "B") | (15 # 3) | True | | | | | ("A" = "B") | (15 = 3) | False | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/methods.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/methods.md index 46f6aba76d4d54..49cd48dbb1e32d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/methods.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/methods.md @@ -1,6 +1,6 @@ --- id: methods -title: Methods +title: Méthodes --- diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/quick-tour.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/quick-tour.md index 5cbf3f2c1f388f..2ec5ca24eac22c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/quick-tour.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/Concepts/quick-tour.md @@ -97,14 +97,14 @@ objectRef:=SVG_New_arc(svgRef;100;100;90;90;180) 4D propose un large ensemble de constantes prédéfinies, dont les valeurs sont accessibles par un nom. Elles permettent d'écrire un code plus lisible. Par exemple, `XML DATA` est une constante (valeur 6). ```4d -vRef:=Open document("PassFile";"TEXTE";Read Mode) // ouvrir le doc en mode lecture seule +vRef:=Open document("PassFile";"TEXT";Read Mode) // ouvre le document en lecture seule ``` > Les constantes prédéfinies apparaissent soulignées par défaut dans l'éditeur de code 4D. -## Methods +## Méthodes 4D propose un grand nombre de méthodes (ou de commandes) intégrées, mais vous permet également de créer vos propres **méthodes de projet**. Les méthodes de projet sont des méthodes définies par l'utilisateur qui contiennent des commandes, des opérateurs et d'autres parties du langage. Les méthodes projet sont des méthodes génériques, mais il existe d'autres types de méthodes : les méthodes objet, les méthodes formulaire, les méthodes table (Triggers) et les méthodes base. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormEditor/formEditor.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormEditor/formEditor.md index 57e7dafa9ad3af..76df3863376f97 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormEditor/formEditor.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormEditor/formEditor.md @@ -241,7 +241,7 @@ Pour grouper les objets : Pour dégrouper un groupe d’objets : 1. Sélectionnez le groupe que vous souhaitez dégrouper. -2. Choisissez **Dégrouper** dans le menu **Objets**.

    OR

    Sélectionnez la commande **Dégrouper** (menu du bouton **Grouper**) dans la barre d’outils de l’éditeur de formulaires.

    Si la commande **Dégrouper** est désactivée, cela veut dire que l’objet sélectionné est déjà sous sa forme la plus simple.

    4D rematérialise les bordures des objets qui constituaient le groupe avec des poignées. +2. Choisissez **Dégrouper** dans le menu **Objets**.

    OU

    Sélectionnez la commande **Dégrouper** (menu du bouton **Grouper**) dans la barre d’outils de l’éditeur de formulaires.

    Si la commande **Dégrouper** est désactivée, cela veut dire que l’objet sélectionné est déjà sous sa forme la plus simple.

    4D rematérialise les bordures des objets qui constituaient le groupe avec des poignées. ### Aligner des objets @@ -304,7 +304,7 @@ Pour répartir directement une sélection d’objets (verticalement ou horizonta 1. Sélectionnez les objets (au moins trois) que vous souhaitez répartir. -2. Dans la barre d’outils, cliquez sur l’outil de répartition qui correspond la répartition que vous souhaitez appliquer.

    ![](../assets/en/FormEditor/distributionTool.png)

    OR

    Sélectionnez une commande de distribution dans le sous-menu **Alignement** du menu **Objet** ou dans le menu contextuel de l'éditeur.

    4D distribue les objets en conséquence. Les objets sont répartis en fonction de la distance entre leurs centres et la plus grande distance entre deux objets consécutifs est utilisée comme référence. +2. Dans la barre d’outils, cliquez sur l’outil de répartition qui correspond la répartition que vous souhaitez appliquer.

    ![](../assets/en/FormEditor/distributionTool.png)

    OU

    Sélectionnez une commande de distribution dans le sous-menu **Alignement** du menu **Objet** ou dans le menu contextuel de l'éditeur.

    4D distribue les objets en conséquence. Les objets sont répartis en fonction de la distance entre leurs centres et la plus grande distance entre deux objets consécutifs est utilisée comme référence. Pour répartir des objets à l’aide de la boîte de dialogue d'alignement et répartition : @@ -684,7 +684,7 @@ Sélectionnez simplement la vue de destination, faites un clic droit puis sélec ![](../assets/en/FormEditor/moveObject.png) -OR +OU Sélectionnez la vue de destination de la sélection et cliquez sur le bouton **Déplacer vers** en bas de la palette des vues : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/MSC/encrypt.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/MSC/encrypt.md index 54c0adb0cfed60..e8513a9e0ec0a7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/MSC/encrypt.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/MSC/encrypt.md @@ -50,7 +50,7 @@ Pour des raisons de sécurité, toutes les opérations de maintenance liées au - Si la clé de chiffrement des données n'est pas identifiée, vous devez la fournir. La boîte de dialogue suivante s'affiche : ![](../assets/en/MSC/MSC_encrypt7.png) À ce stade, deux options s'offrent à vous : -- entrer la phrase secrète actuelle(2) et cliquer sur **OK**. OR +- entrer la phrase secrète actuelle(2) et cliquer sur **OK**. OU - connecter un appareil tel qu'une clé USB et cliquer sur le bouton **Scanner les disques**. (1) Le trousseau de 4D stocke toutes les clés de chiffrement de données valides saisies durant la session d'application session. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/Notes/updates.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/Notes/updates.md index 6b50308bf9a345..2a396f9a1ffb42 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/Notes/updates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/Notes/updates.md @@ -10,13 +10,22 @@ Lisez [**Les nouveautés de 4D 20**](https://blog.4d.com/fr-whats-new-in-4d-v20/ ::: + +## 4D 20.7 LTS + +#### Points forts + +- [**Liste des bugs corrigés**](https://bugs.4d.com/fixes?version=20.7): liste de tous les bugs qui ont été corrigés dans 4D 20.7 LTS. + + + ## 4D 20.6 LTS #### Points forts :::info Applications d'évaluation -À partir de la "nightly build" **101734**, la boîte de dialogue Build application comporte une nouvelle option permettant de construire des applications d'évaluation. Voir sa [description dans la documentation 4D Rx](../../current/Desktop/building.md#build-an-evaluation-application). +À partir de la "nightly build" **101734**, la boîte de dialogue Build application comporte une nouvelle option permettant de construire des applications d'évaluation. Voir la [description dans la documentation 4D Rx](../../../docs/Desktop/building#build-an-evaluation-application). ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/Project/architecture.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/Project/architecture.md index 4a5f02ba149d00..847ccdf975d1f4 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/Project/architecture.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/Project/architecture.md @@ -32,7 +32,7 @@ La hiérarchie du dossier Project se présente généralement comme suit : - `Sources` + `Classes` + `DatabaseMethods` - + `Methods` + + `Méthodes` + `Formulaires` + `TableForms` + `Triggers` @@ -73,7 +73,7 @@ Ce fichier texte peut également contenir des clés de configuration, notamment | ------------------------ | ------------------------------------------------------------------ | ------ | | *databaseMethodName*.4dm | Méthodes base définies dans le projet. Un fichier par méthode base | text | -#### `Methods` +#### `Méthodes` | Contenu | Description | Format | | ---------------- | --------------------------------------------------------------- | ------ | @@ -121,7 +121,7 @@ Ce fichier texte peut également contenir des clés de configuration, notamment Le dossier Trash contient des méthodes et des formulaires qui ont été supprimés du projet (le cas échéant). Il peut contenir les dossiers suivants : -- `Methods` +- `Méthodes` - `Formulaires` - `TableForms` diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/Project/documentation.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/Project/documentation.md index b0f1cd78e48458..76a8b2b22bb827 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/Project/documentation.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/Project/documentation.md @@ -47,7 +47,7 @@ L'architecture du dossier `Documentation` est la suivante : + `Formulaires` * loginDial.md * ... - + `Methods` + + `Méthodes` * myMethod.md * ... + `TableForms` diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/REST/$entityset.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/REST/$entityset.md index 89d14afeb1bc5f..3901a27e4cfa6d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/REST/$entityset.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/REST/$entityset.md @@ -58,7 +58,7 @@ Voici les opérateurs logiques : | Opérateur | Description | | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | AND | Retourne les entités communes aux deux entity sets | -| OR | Retourne les entités contenues dans les deux entity sets | +| OU | Retourne les entités contenues dans les deux entity sets | | EXCEPT | Retourne les entités de l'entity set #1 moins celles de l'entity set #2 | | INTERSECT | Retourne true ou false s'il existe une intersection des entités dans les deux entity sets (ce qui signifie qu'au moins une entité est commune aux deux entity sets) | > Les opérateurs logiques ne sont pas sensibles à la casse, vous pouvez donc écrire "AND" ou "and". @@ -69,7 +69,7 @@ Vous trouverez ci-dessous une représentation des opérateurs logiques basés su ![](../assets/en/REST/and.png) -**OR** +**OU** ![](../assets/en/REST/or.png) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/REST/ClassFunctions.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/REST/ClassFunctions.md index 17e1910d0edeab..033227d20e72d3 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/REST/ClassFunctions.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/REST/ClassFunctions.md @@ -460,8 +460,8 @@ Class extends Entity exposed Function putToSchool($school : Object) -> $status : Object - //$school is a Schools entity - //Associate the related entity school to the current Students entity + //$school est une entité de Schools + //Associer l'entité liée school à l'entité courante de Students This.school:=$school $status:=This.save() diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/DataStoreClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/DataStoreClass.md index c1599afc5d5cca..5a3949ed135330 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/DataStoreClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/DataStoreClass.md @@ -461,12 +461,12 @@ $hasModifications:=($currentStamp # ds.getGlobalStamp()) リモートデータストアの場合: ```4d - var $remoteDS : cs.DataStore - var $info; $connectTo : Object + var $remoteDS : 4D.DataStoreImplementation +var $info; $connectTo : Object - $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") - $remoteDS:=Open datastore($connectTo;"students") - $info:=$remoteDS.getInfo() +$connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") +$remoteDS:=Open datastore($connectTo;"students") +$info:=$remoteDS.getInfo() //{"type":"4D Server", //"localID":"students", @@ -1123,7 +1123,7 @@ SET DATABASE PARAMETER(4D Server Log Recording;0) ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/EntityClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/EntityClass.md index af3810c6efb119..3c460f0fcf665c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/EntityClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/EntityClass.md @@ -615,15 +615,14 @@ vCompareResult1 (すべての差異が返されています):
    -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any -| 引数 | 型 | | 説明 | -| ---- | ------- | :-------------------------: | ------------------------------------------------------------------------ | -| mode | Integer | -> | `dk key as string`: プライマリーキーの型にかかわらず、プライマリーキーを文字列として返します | -| 戻り値 | Text | <- | エンティティのテキスト型プライマリーキーの値 | -| 戻り値 | Integer | <- | エンティティの数値型プライマリーキーの値 | +| 引数 | 型 | | 説明 | +| ---- | ------- | :-------------------------: | --------------------------------------------------------------------------- | +| mode | Integer | -> | `dk key as string`: プライマリーキーの型にかかわらず、プライマリーキーを文字列として返します | +| 戻り値 | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1641,11 +1640,11 @@ employeeObject:=employeeSelected.toObject("directReports.*") #### 説明 `.touched()` 関数は、 -エンティティがメモリに読み込まれてから、あるいは保存されてから、エンティティ属性が変更されたかどうかをテストします。 +エンティティがメモリに読み込まれてから、あるいは保存されてから、少なくとも1つのエンティティ属性が変更されていた場合にはTrue を返します。 この関数を使用することで、エンティティを保存する必要があるかどうかを確認することができます。 -属性が更新あるいは計算されていた場合、関数は true を返し、それ以外は false を返します。 この関数を使用することで、エンティティを保存する必要があるかどうかを確認することができます。 +これは属性の[`kind`](DataClassClass.md#返されるオブジェクト) が"storage" あるいは "relatedEntity" である属性のみに適用されます。 -この関数は、( [`.new( )`](DataClassClass.md#new) で作成された) 新規エンティティに対しては常に false を返します。 ただし、エンティティの属性を計算する関数を使用した場合には、`.touched()` 関数は true を返します。 たとえば、プライマリーキーを計算するために [`.getKey()`](#getkey) を呼び出した場合、`.touched()` メソッドは true を返します。 +[`.new()`](DataClassClass.md#new) を使用して新規に作成したばかりの新しいエンティティについては、この関数はFalse を返します。 しかしながら、このコンテキストにおいて[`autoFilled` プロパティ](./DataClassClass.md#返されるオブジェクト) がTrue である属性にアクセスすると、`.touched()` 関数はTrue を返します。 例えば、新しいエンティティに対して`$id:=ds.Employee.ID` を実行すると (ID 属性に "自動インクリメント" プロパティが設定されていると仮定)、`.touched()` は True を返します。 #### 例題 @@ -1689,7 +1688,7 @@ employeeObject:=employeeSelected.toObject("directReports.*") `.touchedAttributes()` 関数は、メモリに読み込み後に変更されたエンティティの属性名を返します。 -この関数は、種類 ([kind](DataClassClass.md#attributename)) が `storage` あるいは `relatedEntity` である属性に適用されます。 +これは属性の[`kind`](DataClassClass.md#返されるオブジェクト) が"storage" あるいは "relatedEntity" である属性のみに適用されます。 リレート先のエンティティそのものが更新されていた場合 (外部キーの変更)、リレートエンティティの名称とそのプライマリーキー名が返されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/FileClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/FileClass.md index 90e537d66138e0..df78b04b90cfdb 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/FileClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/FileClass.md @@ -590,7 +590,7 @@ $fhandle:=$f.open("read") `.setAppInfo()` 関数は、 *info* に渡したプロパティをアプリケーションファイルの情報として書き込みます。 -この関数は存在している、以下のサポートされているファイル形式のファイルに対して使用されなければなりません: **.plist** (全プラットフォーム)、**.exe**/**.dll** (Windows)、あるいは **macOS 実行ファイル**。 ファイルがディスク上に存在しない、または、サポートされているファイルでない場合、この関数は何もしません (エラーは生成されません)。 +この関数は存在している、以下のサポートされているファイル形式のファイルに対して使用されなければなりません: **.plist** (全プラットフォーム)、**.exe**/**.dll** (Windows)、あるいは **macOS 実行ファイル**。 他のファイルタイプを使用した場合、あるいはディスク上にまだ存在しない\*\*.exe\*\*/**.dll** ファイルに対して使用した場合、関数は何もしません(エラーも生成されません)。 **.plist ファイル用の*info* オブジェクト (全プラットフォーム)** @@ -600,9 +600,11 @@ $fhandle:=$f.open("read") ::: -*info* オブジェクトに設定された各プロパティは .plist ファイルにキーとして書き込まれます。 あらゆるキーの名称が受け入れられます。 値の型は可能な限り維持されます。 +もし .plist ファイルがディスク上に既に存在する場合、それは更新されます。 そうでない場合には、作成されます。 -*info* に設定されたキーが .plist ファイル内ですでに定義されている場合は、その値が更新され、元の型が維持されます。 .plist ファイルに既存のそのほかのキーはそのまま維持されます。 +*info* オブジェクト引数内に設定されたそれぞれの有効なプロパティは、 .plist ファイル内にキーとして書き込まれます。 あらゆるキーの名称が受け入れられます。 値の型は可能な限り維持されます。 + +*info* 引数内に設定されたキーが.plist ファイル内に既に定義されていた場合には、元の型を保ったまま値が更新されます。 .plist ファイルに既存のそのほかのキーはそのまま維持されます。 :::note @@ -610,9 +612,9 @@ $fhandle:=$f.open("read") ::: -**.exe または .dll ファイル用の *info* パラメーター(Windowsのみ)** +**.exe または .dll ファイル用の*info* オブジェクト(Windows のみ)** -*info* オブジェクトに設定された各プロパティは .exe または .dll ファイルのバージョンリソースに書き込まれます。 以下のプロパティが使用できます (それ以外のプロパティは無視されます): +*info* オブジェクト引数内に設定されているそれぞれの有効なプロパティは、.exe あるいは .dll ファイルのバージョンリソースに書き込まれます。 以下のプロパティが使用できます (それ以外のプロパティは無視されます): | プロパティ | 型 | 説明 | | ---------------- | ---- | -------------------------------------------------------------------- | @@ -626,15 +628,15 @@ $fhandle:=$f.open("read") | OriginalFilename | Text | | | WinIcon | Text | .icoファイルの Posixパス。 このプロパティは、4D が生成した実行ファイルにのみ適用されます。 | -`WinIcon` を除くすべてのプロパティにおいて、値として null または空テキストを渡すと、空の文字列がプロパティに書き込まれます。 テキストでない型の値を渡した場合には、文字列に変換されます。 +`WinIcon` を除き全てのプロパティにおいて、値としてnull または空の文字列を渡した場合、プロパティには空の文字列が書き込まれます。 テキストでない型の値を渡した場合には、文字列に変換されます。 -`WinIcon` プロパティにおいては、アイコンファイルが存在しないか、フォーマットが正しくない場合、エラーが発生します。 +`WinIcon` プロパティにおいては、ファイルが存在しない、または不正なフォーマットだった場合にはエラーが生成されます。 **macOS 実行ファイル用の *info* パラメーター(macOSのみ)** -*info* オブジェクトは、[`getAppInfo()`](#getappinfo) から返されるフォーマットのオブジェクトのコレクションである、`archs` という単一のプロパティのみを持つ構造でなければなりません。 各オブジェクトは少なくとも`type` および `uuid` プロパティを格納していなければなりません(`name` は使用されません)。 +*info* オブジェクトは単一の`archs` という名前のプロパティを持ち、そのコレクションの中に[`getAppInfo()`](#getappinfo) から返されるフォーマットのオブジェクトを格納していなければなりません。 それぞれのオブジェクトには、少なくとも`type` および `uuid` プロパティが格納されている必要があります(`name` は使用されません)。 -つまり、*info*.archs コレクション内のすべてのオブジェクトは、以下のプロパティを持っている必要があります: +*info*.archs コレクション内のそれぞれのオブジェクトは、以下のプロパティを格納していなければなりません: | プロパティ | 型 | 説明 | | ----- | ------ | -------------------- | @@ -644,22 +646,22 @@ $fhandle:=$f.open("read") #### 例題 1 ```4d - // info.plist ファイルのキーをいくつか設定します (すべてのプラットフォーム) + // info.plist ファイル内のキーを一部設定する(全プラットフォーム用) var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") $info:=New object -$info.Copyright:="Copyright 4D 2023" // テキスト -$info.ProductVersion:=12 // 整数 -$info.ShipmentDate:="2023-04-22T06:00:00Z" // タイムスタンプ -$info.CFBundleIconFile:="myApp.icns" // macOS 用 +$info.Copyright:="Copyright 4D 2023" //テキスト +$info.ProductVersion:=12 //整数 +$info.ShipmentDate:="2023-04-22T06:00:00Z" //タイムスタンプ +$info.CFBundleIconFile:="myApp.icns" //macOS用 $infoPlistFile.setAppInfo($info) ``` #### 例題 2 ```4d - // .exe ファイルの著作権、バージョン、およびアイコン情報を設定します (Windows) + // .exe ファイルに対して著作権、バージョン、およびアイコンを設定する(Windows用) var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file; fk platform path) @@ -674,18 +676,18 @@ $exeFile.setAppInfo($info) #### 例題 3 ```4d -// アプリケーションのUUIDを再生成する(macOS) +// アプリケーションのUUIDを再生成する (macOS) -// myApp のUUIDを読み出す +// myApp UUIDを読み出す var $app:=File("/Applications/myApp.app/Contents/MacOS/myApp") var $info:=$app.getAppInfo() -// すべてのアーキテクチャー用にUUIDを再生成 +// 全てのアーキテクチャー用にUUIDを再生成する For each ($i; $info.archs) $i.uuid:=Generate UUID End for each -// アプリを新しいUUIDに更新する +// 新しいUUID でアプリを更新する $app.setAppInfo($info) ``` @@ -758,7 +760,7 @@ $app.setAppInfo($info) `.setText()` 関数は、*text* に渡されたテキストをファイルの新しいコンテンツとして書き込みます。 -`File` オブジェクトで参照されているファイルがディスク上に存在しない場合、このメソッドがそのファイルを作成します。 ディスク上にファイルが存在する場合、ファイルが開かれている場合を除き、以前のコンテンツは消去されます。 ファイルが開かれている場合はコンテンツはロックされ、エラーが生成されます。 +`File` オブジェクトで参照されているファイルがディスク上に存在しない場合、この関数がそのファイルを作成します。 ディスク上にファイルが存在する場合、ファイルが開かれている場合を除き、以前のコンテンツは消去されます。 ファイルが開かれている場合はコンテンツはロックされ、エラーが生成されます。 *text* には、ファイルに書き込むテキストを渡します。 テキストリテラル ("my text" など) のほか、4Dテキストフィールドや変数も渡せます。 @@ -771,7 +773,7 @@ $app.setAppInfo($info) 文字セットにバイトオーダーマーク (BOM) が存在し、かつその文字セットに "-no-bom" 接尾辞 (例: "UTF-8-no-bom") が含まれていない場合、4D は BOM をファイルに挿入します。 文字セットを指定しない場合、 4D はデフォルトで "UTF-8" の文字セットを BOMなしで使用します。 -*breakMode* には、ファイルを保存する前に改行文字に対しておこなう処理を指定する倍長整数を渡します。 **System Documents** テーマ内にある、以下の定数を使用することができます: +*breakMode* には、ファイルを保存する前に改行文字に対して行う処理を指定する整数を渡します。 **System Documents** テーマ内にある、以下の定数を使用することができます: | 定数 | 値 | 説明 | | ----------------------------- | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -783,7 +785,7 @@ $app.setAppInfo($info) *breakMode* 引数を渡さなかった場合はデフォルトで、改行はネイティブモード (1) で処理されます。 -> **互換性に関する注記:** EOL (改行コード) および BOM の管理については、互換性オプションが利用可能です。 詳細はdoc.4d.com 上の[互換性ページ](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.ja.html) を参照してください。 +> **互換性に関する注記:** EOL (改行コード) および BOM の管理については、互換性オプションが利用可能です。 詳細については、doc.4d.com 上の[互換性ページ](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.ja.html)を参照してください。 #### 例題 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md index 40ccb99e15291a..cfa809758cfc4c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/OutgoingMessageClass.md @@ -5,7 +5,7 @@ title: OutgoingMessage `4D.OutgoingMessage` クラスを使うと、アプリケーションの関数が[REST リクエスト](../REST/REST_requests.md) に応答して返すメッセージを作成することができます。 レスポンスが`4D.OutgoingMessage` 型であった場合、REST サーバーはオブジェクトを返すのではなく、`OutgoingMessage` クラスのオブジェクトインスタンスを返します。 -通常、このクラスは、カスタムの[HTTP リクエストハンドラー関数](../WebServer/http-request-handler.md#関数の設定) またはHTTP GET リクエストを管理するようにデザインされた、[`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) キーワードで宣言された関数内で使用することができます。 このようなリクエストは、例えば、ファイルのダウンロード、画像の生成、ダウンロードなどの機能を実装するためや、ブラウザを介して任意のコンテンツタイプを受信するために使用されます。 +Typically, this class can be used in custom [HTTP request handler functions](../WebServer/http-request-handler.md#function-configuration) or in functions declared with the [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keyword and designed to handle HTTP GET requests. このようなリクエストは、例えば、ファイルのダウンロード、画像の生成、ダウンロードなどの機能を実装するためや、ブラウザを介して任意のコンテンツタイプを受信するために使用されます。 このクラスのインスタンスは4D Server 上にビルドされ、[4D REST サーバー](../REST/gettingStarted.md) によってのみブラウザに送信することができます。 このクラスを使用することで、HTTP 以外のテクノロジー(例: モバイルなど)を使用することができます。 このクラスを使用することで、HTTP 以外のテクノロジー(例: モバイルなど)を使用することができます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/TCPConnectionClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/TCPConnectionClass.md index 0e4f45688bf553..fb216a4cdafaad 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/TCPConnectionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/TCPConnectionClass.md @@ -166,15 +166,15 @@ TCPConnection オブジェクトは以下のプロパティと関数を提供し *options* に渡すオブジェクトは、次のプロパティを持つことができます: -| プロパティ | 型 | 説明 | デフォルト | -| ----------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | -| onConnection | Formula | 接続が確立した時にトリガーされるコールバック | 未定義 | -| onData | Formula | データが受信されたときにトリガーされるコールバック | 未定義 | -| onShutdown | Formula | 接続が適切に閉じられた時にトリガーされるコールバック | 未定義 | -| onError | Formula | エラーの場合にトリガーされるコールバック | 未定義 | -| onTerminate | Formula | TCPConnection がリリースされる直前にトリガーされるコールバック | 未定義 | -| noDelay | Boolean | **読み出し専用** `true` の場合にはNagle のアルゴリズムを無効化します | false | -| connectionTimeout | Real | Maximum time (in seconds) to establish the connection. If exceeded, the connection attempt is aborted | System-defined, generally ≥ 30 | +| プロパティ | 型 | 説明 | デフォルト | +| ----------------- | ------- | -------------------------------------------------------------- | --------------------- | +| onConnection | Formula | 接続が確立した時にトリガーされるコールバック | 未定義 | +| onData | Formula | データが受信されたときにトリガーされるコールバック | 未定義 | +| onShutdown | Formula | 接続が適切に閉じられた時にトリガーされるコールバック | 未定義 | +| onError | Formula | エラーの場合にトリガーされるコールバック | 未定義 | +| onTerminate | Formula | TCPConnection がリリースされる直前にトリガーされるコールバック | 未定義 | +| noDelay | Boolean | **読み出し専用** `true` の場合にはNagle のアルゴリズムを無効化します | false | +| connectionTimeout | Real | 接続を確立するまでの最大時間(秒単位)。 これを超えると、接続を試みるのを中止します。 | システムによって定義、一般的には30 以上 | #### コールバック関数 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/WebServerClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/WebServerClass.md index 884515b001f100..6ed2095e2263d5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/WebServerClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/WebServerClass.md @@ -568,7 +568,7 @@ The HTTPリクエストログファ プロジェクトの設定ファイルに定義されているデフォルトの設定、または `WEB SET OPTION` コマンドで定義された設定 (ホストデータベースのみ) を使用して、Webサーバーは開始されます。 しかし、*settings* 引数を渡せば、Webサーバーセッションにおいてカスタマイズされた設定を定義することができます。 -[Web Server オブジェクト](../commands/web-server.md-object) の設定は、読み取り専用プロパティ ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)) を除いて、すべてカスタマイズ可能です。 +[Web Server オブジェクト](../commands/web-server.md-object) の設定は、読み取り専用プロパティ ([.isRunning](#isrunning), [.name](#name)、 [.openSSLVersion](#opensslversion)、 [.perfectForwardSecrecy](#perfectforwardsecrecy)、および [.sessionCookieName](#sessioncookiename)) を除いて、すべてカスタマイズ可能です。 カスタマイズされた設定は [`.stop()`](#stop) が呼び出されたときにリセットされます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Admin/dataExplorer.md b/i18n/ja/docusaurus-plugin-content-docs/current/Admin/dataExplorer.md index c207a3a4ba13d3..9fb7b3e7aef01c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Admin/dataExplorer.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Admin/dataExplorer.md @@ -75,7 +75,7 @@ title: データエクスプローラー ![alt-text](../assets/en/Admin/dataExplorer3.png) - 中央部には、**検索エリア** と **データグリッド** (選択されたデータクラスのエンティティのリスト) があります。 グリッドの各列は、データストアの属性を表します。 - - デフォルトでは、すべてのエンティティが表示されます。 検索エリアを使用して、表示されるエンティティをフィルターできます。 Two query modes are available: [Query on attributes](#query-on-attributes) (selected by default), and the [Advanced query with expression](#advanced-queries-with-expression). 対応するボタンをクリックして、クエリモードを選択します (**X** ボタンは、クエリエリアをリセットして、フィルターを停止します): + - デフォルトでは、すべてのエンティティが表示されます。 検索エリアを使用して、表示されるエンティティをフィルターできます。 クエリには2つのクエリモードがあります: [属性に基づくクエリ](#属性に基づくクエリ) (デフォルト)、および [式による高度なクエリ](#式による高度なクエリ) です。 対応するボタンをクリックして、クエリモードを選択します (**X** ボタンは、クエリエリアをリセットして、フィルターを停止します): ![alt-text](../assets/en/Admin/dataExplorer4b.png) - 選択されたデータクラスの名前は、データグリッドの上にタブとして追加されます。 これらのタブを使って、選択されたデータクラスを切り替えることができます。 参照されているデータクラスを削除するには、データクラス名の右に表示される "削除" アイコンをクリックします。 - 左側の属性のチェックを外すことで、表示されている列数を減らせます。 また、ドラッグ&ドロップでデータグリッドの列の位置を入れ替えることができます。 列のヘッダーをクリックすると、値に応じて [エンティティを並べ替える](#エンティティの並べ替え) ことができます (可能な場合)。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Admin/webAdmin.md b/i18n/ja/docusaurus-plugin-content-docs/current/Admin/webAdmin.md index 3f870ef0200f3c..81090d6fc2c115 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Admin/webAdmin.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Admin/webAdmin.md @@ -63,7 +63,7 @@ Web管理の設定ダイアログボックスを開くには、**ファイル #### WebAdmin サーバーをスタートアップ時に起動 -Check this option if you want the `WebAdmin` web server to be automatically launched when the 4D or 4D Server application starts ([see above](#launch-at-startup)). デフォルトでは、このオプションはチェックされていません。 +4D または 4D Server アプリケーションの起動時に `WebAdmin` Webサーバーを自動的に開始させるには、このオプションをチェックします ([前述参照](#自動スタートアップ))。 デフォルトでは、このオプションはチェックされていません。 #### ローカルホストでHTTP接続を受け入れる diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/classes.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/classes.md index ae6a92c1e91a00..8fcc364640966d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/classes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/classes.md @@ -360,8 +360,8 @@ Class constructor ($name : Text ; $age : Integer) ``` ```4d -// In a project method -// You can instantiate an object +// プロジェクトメソッド内において +// クラスをインスタンス化することができます var $o : cs.MyClass $o:=cs.MyClass.new("John";42) // $o = {"name":"John";"age":42} @@ -511,7 +511,7 @@ $o.age:="Smith" // シンタックスチェックでエラー 両方の関数が定義されている場合、計算プロパティは **read-write** となります。 両方の関数が定義されている場合、計算プロパティは **read-write** となります。 `Function get` のみが定義されている場合、計算プロパティは**read-only** です。 この場合、コードがプロパティを変更しようとするとエラーが返されます。 `Function set` のみが定義されている場合、4D はプロパティの読み取り時に *undefined* を返します。 この場合、コードがプロパティを変更しようとするとエラーが返されます。 `Function set` のみが定義されている場合、4D はプロパティの読み取り時に *undefined* を返します。 -If the functions are declared in a [shared class](#shared-classes), you can use the `shared` keyword with them so that they could be called without [`Use...End use` structure](shared.md#useend-use). 詳細については、後述の [共有関数](#共有関数) の項目を参照ください。 +関数が[共有クラス](#共有クラス)で宣言されている場合、`shared` キーワードを使用することで、[`Use...End use` 構文](shared.md#useend-use)なしで呼び出せるようにすることができます。 詳細については、後述の [共有関数](#共有関数) の項目を参照ください。 計算プロパティの型は、*ゲッター* の `$return` の型宣言によって定義されます。 [有効なプロパティタイプ](dt_object.md) であれば、いずれも使用可能です。 [有効なプロパティタイプ](dt_object.md) であれば、いずれも使用可能です。 @@ -753,7 +753,7 @@ shared Function Bar($value : Integer) :::note - セッションシングルトンは、自動的に共有シングルトンとなります(クラスコンストラクターにおいて`shared` キーワードを使用する必要はありません)。 -- シングルトンの共有関数は、[`onHTTPGet` キーワード](../ORDA/ordaClasses.md#onhttpget-keyword) をサポートします。 +- シングルトンの共有関数は[`onHTTPGet` キーワード](../ORDA/ordaClasses.md#onhttpget-キーワード) をサポートします。 ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/data-types.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/data-types.md index f4626a7c3de781..72e19ff3c95192 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/data-types.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/data-types.md @@ -7,25 +7,25 @@ title: データタイプの概要 この2つはおおよそ同じものですが、データベースレベルで提供されているいくつかのデータタイプはランゲージにおいては直接利用可能ではなく、自動的に適宜変換されます。 同様に、いくつかのデータタイプはランゲージでしか利用できません。 各場所で利用可能なデータタイプと、ランゲージでの宣言の仕方の一覧です: -| データタイプ | データベース | ランゲージ | [`var` declaration](variables.md) | [`ARRAY` 宣言](arrays.md) | -| ----------------------------------------------------- | -------------------------- | -------- | --------------------------------- | ----------------------- | -| [文字列](dt_string.md) | ◯ | テキストに変換 | - | - | -| [テキスト](Concepts/dt_string.md) | ◯ | ◯ | `Text` | `ARRAY TEXT` | -| [日付](Concepts/dt_date.md) | ◯ | ◯ | `Date` | `ARRAY DATE` | -| [時間](Concepts/dt_time.md) | ◯ | ◯ | `Time` | `ARRAY TIME` | -| [ブール](Concepts/dt_boolean.md) | ◯ | ◯ | `Boolean` | `ARRAY BOOLEAN` | -| [整数](Concepts/dt_number.md) | ◯ | 倍長整数 に変換 | `Integer` | `ARRAY INTEGER` | -| [倍長整数](Concepts/dt_number.md) | ◯ | ◯ | `Integer` | `ARRAY LONGINT` | -| [64ビット整数](Concepts/dt_number.md) | ◯ (SQL) | 実数に変換 | - | - | -| [実数](Concepts/dt_number.md) | ◯ | ◯ | `Real` | `ARRAY REAL` | -| [未定義](Concepts/dt_null_undefined.md) | - | ◯ | - | - | -| [Null](Concepts/dt_null_undefined.md) | - | ◯ | - | - | -| [ポインター](Concepts/dt_pointer.md) | - | ◯ | `Pointer` | `ARRAY POINTER` | -| [ピクチャー](Concepts/dt_picture.md) | ◯ | ◯ | `Picture` | `ARRAY PICTURE` | -| [BLOB](Concepts/dt_blob.md) | ◯ | ◯ | `Blob`, `4D.Blob` | `ARRAY BLOB` | -| [オブジェクト](Concepts/dt_object.md) | ◯ | ◯ | `Object` | `ARRAY OBJECT` | -| [コレクション](Concepts/dt_collection.md) | - | ◯ | `Collection` | | -| [バリアント](Concepts/dt_variant.md)(2) | - | ◯ | `Variant` | | +| データタイプ | データベース | ランゲージ | [`var` 宣言](variables.md) | [`ARRAY` 宣言](arrays.md) | +| ----------------------------------------------------- | -------------------------- | -------- | ------------------------ | ----------------------- | +| [文字列](dt_string.md) | ◯ | テキストに変換 | - | - | +| [テキスト](Concepts/dt_string.md) | ◯ | ◯ | `Text` | `ARRAY TEXT` | +| [日付](Concepts/dt_date.md) | ◯ | ◯ | `Date` | `ARRAY DATE` | +| [時間](Concepts/dt_time.md) | ◯ | ◯ | `Time` | `ARRAY TIME` | +| [ブール](Concepts/dt_boolean.md) | ◯ | ◯ | `Boolean` | `ARRAY BOOLEAN` | +| [整数](Concepts/dt_number.md) | ◯ | 倍長整数 に変換 | `Integer` | `ARRAY INTEGER` | +| [倍長整数](Concepts/dt_number.md) | ◯ | ◯ | `Integer` | `ARRAY LONGINT` | +| [64ビット整数](Concepts/dt_number.md) | ◯ (SQL) | 実数に変換 | - | - | +| [実数](Concepts/dt_number.md) | ◯ | ◯ | `Real` | `ARRAY REAL` | +| [未定義](Concepts/dt_null_undefined.md) | - | ◯ | - | - | +| [Null](Concepts/dt_null_undefined.md) | - | ◯ | - | - | +| [ポインター](Concepts/dt_pointer.md) | - | ◯ | `Pointer` | `ARRAY POINTER` | +| [ピクチャー](Concepts/dt_picture.md) | ◯ | ◯ | `Picture` | `ARRAY PICTURE` | +| [BLOB](Concepts/dt_blob.md) | ◯ | ◯ | `Blob`, `4D.Blob` | `ARRAY BLOB` | +| [オブジェクト](Concepts/dt_object.md) | ◯ | ◯ | `Object` | `ARRAY OBJECT` | +| [コレクション](Concepts/dt_collection.md) | - | ◯ | `Collection` | | +| [バリアント](Concepts/dt_variant.md)(2) | - | ◯ | `Variant` | | (1) ORDA では、オブジェクト (エンティティ) を介してデータベースフィールドを扱うため、オブジェクトにおいて利用可能なデータタイプのみがサポートされます。 詳細については [オブジェクト](Concepts/dt_object.md) のデータタイプの説明を参照ください。 @@ -33,10 +33,10 @@ title: データタイプの概要 ## コマンド -You can always know the type of a field or variable using the following commands: +以下のコマンドを使用することで、フィールドや変数の型を調べることができます: -- [`Type`](../commands-legacy/type.md) for fields and scalar variables -- [`Value type`](../commands-legacy/value-type.md) for expressions +- フィールドやスカラー変数に対しては、[`Type`](../commands-legacy/type.md) コマンド +- 式対しては、[`Value type`](../commands-legacy/value-type.md) コマンド ## デフォルト値 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_blob.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_blob.md index 3e18aaafce171a..2199e92d2abc32 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_blob.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_blob.md @@ -34,8 +34,8 @@ BLOB に演算子を適用することはできません。 ## 変数がスカラーBLOB と `4D.Blob` のどちらを格納しているかの確認 -Use the [Value type](../commands-legacy/value-type.md) command to determine if a value is of type Blob or Object. -To check that an object is a blob object (`4D.Blob`), use [OB instance of](../commands-legacy/ob-instance-of.md): +値がBLOB なのかオブジェクトなのかを判断するためには、[Value type](../commands-legacy/value-type.md) コマンドを使用します。 +オブジェクトがBlob オブジェクト(`4D.Blob`) であるかどうかをチェックするためには、[OB instance of](../commands-legacy/ob-instance-of.md) コマンドを使用します: ```4d var $myBlob: Blob diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_null_undefined.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_null_undefined.md index c3e17cc4d233af..e1469b590d82be 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_null_undefined.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_null_undefined.md @@ -25,7 +25,7 @@ Null は **null** の値のみをとることのできる特殊なデータタ 未定義の式を読み込んだ、または割り当てようとしたときに 4D は通常、エラーを生成します。 ただし以下の場合には生成されません: -- Assigning an undefined value to variables (except arrays) has the same effect as calling [`CLEAR VARIABLE`](../commands-legacy/clear-variable.md) with them: +- 未定義の値を(配列を除く)変数に代入することは、変数に対して[`CLEAR VARIABLE`](../commands-legacy/clear-variable.md) を呼び出すのと同じ効果があります: ```4d var $o : Object diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_object.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_object.md index 0fc0c893753e0c..e1685d4748ad30 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_object.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_object.md @@ -18,7 +18,7 @@ title: Object - ピクチャー(2) - collection -(1) **非ストリームオブジェクト** である [エンティティ](ORDA/dsMapping.md#エンティティ) や [エンティティセレクション](ORDA/dsMapping.md#エンティティセレクション) などの ORDAオブジェクト、[FileHandle](../API/FileHandleClass.md)、[Webサーバー](../API/WebServerClass.md)... は **オブジェクトフィールド** には保存できません。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 +(1) **非ストリームオブジェクト** である [エンティティ](ORDA/dsMapping.md#エンティティ) や [エンティティセレクション](ORDA/dsMapping.md#エンティティセレクション) などの ORDAオブジェクト、[FileHandle](../API/FileHandleClass.md)、[Webサーバー](../API/WebServerClass.md)... は **オブジェクトフィールド** には保存できません。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 (2) デバッガー内でテキストとして表示したり、JSON へと書き出されたりした場合、ピクチャー型のオブジェクトプロパティは "[object Picture]" と表されます。 @@ -42,18 +42,18 @@ title: Object オブジェクトのインスタンス化は、以下のいずれかの方法でおこなうことができます: -- using the [`New object`](../commands-legacy/new-object.md) command, +- [`New object`](../commands-legacy/new-object.md) コマンドを使用する。 - `{}` 演算子を使用する。 :::info -Several 4D commands and functions return objects, for example [`Database measures`](../commands-legacy/database-measures.md) or [`File`](../commands/file.md). この場合、オブジェクトを明示的にインスタンス化する必要はなく、4Dランゲージが代わりにおこなってくれます。 +いくつかの 4Dコマンドや関数はオブジェクトを返します。たとえば、[`Database measures`](../commands-legacy/database-measures.md) や [`File`](../commands/file.md) などです。 この場合、オブジェクトを明示的にインスタンス化する必要はなく、4Dランゲージが代わりにおこなってくれます。 ::: ### `New object` コマンド -The [`New object`](../commands-legacy/new-object.md) command creates a new empty or prefilled object and returns its reference. +[`New object`](../commands-legacy/new-object.md) コマンドは、空の、あるいは値の入った新規コレクションを作成し、その参照を返します。 例: @@ -69,7 +69,7 @@ The [`New object`](../commands-legacy/new-object.md) command creates a new empty `{}` 演算子を使って、**オブジェクトリテラル** を作成することができます。 オブジェクトリテラルとは、オブジェクトのプロパティ名とその値のペアが 0組以上含まれたセミコロン区切りのリストを中括弧 `{}` で囲んだものです。 オブジェクトリテラルのシンタックスは、空の、またはプロパティが格納されたオブジェクトを作成します。 -プロパティの値は式とみなされるため、プロパティ値に `{}` を使ってサブオブジェクトを作成することができます。 また、**コレクションリテラル** を作成し、参照することもできます。 また、**コレクションリテラル** を作成し、参照することもできます。 また、**コレクションリテラル** を作成し、参照することもできます。 +プロパティの値は式とみなされるため、プロパティ値に `{}` を使ってサブオブジェクトを作成することができます。 また、**コレクションリテラル** を作成し、参照することもできます。 例: @@ -110,8 +110,8 @@ $col:=$o.col[5] // 6 二種類のオブジェクトを作成することができます: -- regular (non-shared) objects, using the [`New object`](../commands-legacy/new-object.md) command or object literal syntax (`{}`). 通常のオブジェクトは特別なアクセスコントロールをせずに編集可能ですが、プロセス間で共有することはできません。 -- shared objects, using the [`New shared object`](../commands-legacy/new-shared-object.md) command. 共有オブジェクトはプロセス間 (プリエンティブ・スレッド含む) で共有可能なオブジェクトです。 共有オブジェクトへのアクセスは `Use...End use` 構造によって管理されています。 +- [`New object`](../commands-legacy/new-object.md) コマンド、またはオブジェクトリテラルのシンタックス (`{}`) を使用して作成する通常 (非共有) コレクション。 通常のオブジェクトは特別なアクセスコントロールをせずに編集可能ですが、プロセス間で共有することはできません。 +- [`New shared object`](../commands-legacy/new-shared-object.md) コマンドを使用して作成する共有コレクション。 共有オブジェクトはプロセス間 (プリエンティブ・スレッド含む) で共有可能なオブジェクトです。 共有オブジェクトへのアクセスは `Use...End use` 構造によって管理されています。 詳細な情報については、[共有オブジェクトと共有コレクション](shared.md) を参照ください。 ## プロパティ @@ -150,8 +150,6 @@ $col:=$o.col[5] // 6 - **オブジェクト** 自身 (変数、フィールド、オブジェクトプロパティ、オブジェクト配列、コレクション要素などに保存されているもの)。 例: - 例: - 例: ```4d $age:=$myObjVar.employee.age // 変数 @@ -172,8 +170,6 @@ $col:=$o.col[5] // 6 - オブジェクトを返す **プロジェクトメソッド** または **関数**。 例: - 例: - 例: ```4d // MyMethod1 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_picture.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_picture.md index 4a540cab346d92..a315a7042fb0b6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_picture.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/dt_picture.md @@ -16,36 +16,30 @@ WIC および ImageIO はピクチャー内のメタデータの書き込みを 4D は多様な [ピクチャーフォーマット](FormEditor/pictures.md#native-formats-supported) をネイティブにサポートします: .jpeg, .png, .svg 等。 -多くの [4D ピクチャー管理コマンド](https://doc.4d.com/4Dv18/4D/18/Pictures.201-4504337.ja.html) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -多くの [4D ピクチャー管理コマンド](https://doc.4d.com/4Dv18/4D/18/Pictures.201-4504337.ja.html) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドからピクチャー Codec IDとして返されます。 これは以下の形式で返されます: これは以下の形式で返されます: これは以下の形式で返されます: これは以下の形式で返されます: +4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドからピクチャー Codec IDとして返されます。 これは以下の形式で返されます: - 拡張子 (例: “.gif”) - MIME タイプ (例: “image/jpeg”) それぞれのピクチャーフォーマットに対して返される形式は、当該 Codec が OS レベルで記録されている方法に基づきます。 エンコーディング (書き込み) 用コーデックにはライセンスが必要な場合があるため、利用できるコーデックの一覧は、読み込み用と書き込み用で異なる可能性があることに注意してください。 -Most of the [4D picture management commands](../commands/theme/Pictures.md) can receive a Codec ID as a parameter. したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -多くの [4D ピクチャー管理コマンド](https://doc.4d.com/4Dv18/4D/18/Pictures.201-4504337.ja.html) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドからピクチャー Codec IDとして返されます。 これは以下の形式で返されます: +多くの [4D ピクチャー管理コマンド](../commands/theme/Pictures.md) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 +4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 ## ピクチャー演算子 -| 演算 | シンタックス | 戻り値 | 動作 | -| -------- | ------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | -| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | -| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) Pict1 の前面に Pict2 を重ねます (Pict2 が前面) COMBINE PICTURES(pict3;pict1;Superimposition;pict2) と同じ結果になります。 Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | -| 包括的論理和 | Pict1 | Pict2 | Picture | \| 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 ピクチャーのフィールド・変数・式に格納されるデータは、任意の Windows または Macintosh の画像です。 これらの画像には、ペーストボード上に置いたり、4Dコマンドやプラグインコマンド (`READ PICTURE FILE` など) を使用してディスクから読み出すことのできる画像を含みます。 | -| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | -| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | -| リサイズ | Picture \* Number | Picture | 割合によってピクチャーをサイズ変更します。 | -| 水平スケール | Picture \*+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | -| 垂直スケール | Picture \*| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | -| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください | +| 演算 | シンタックス | 戻り値 | 動作 | +| -------- | ------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------- | +| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | +| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | +| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | +| 包括的論理和 | Pict1 | Pict2 | Picture | \| 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 `$equal:=Equal pictures(Pict1;Pict2;Pict3)` と同じ結果になります。 | +| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | +| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | +| リサイズ | Picture \* Number | Picture | 割合によってピクチャーをサイズ変更します。 | +| 水平スケール | Picture \*+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | +| 垂直スケール | Picture \*| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | +| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照ください | **注 :** diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/error-handling.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/error-handling.md index 96cb96acda982f..b68fd818c0226c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/error-handling.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/error-handling.md @@ -17,15 +17,15 @@ title: エラー処理 :::tip グッドプラクティス -サーバー上で実行されるコードのため、4D Server にはグローバルなエラー処理メソッドを実装しておくことが強く推奨されます。 サーバー上で実行されるコードのため、4D Server にはグローバルなエラー処理メソッドを実装しておくことが強く推奨されます。 4D Server が [ヘッドレス](../Admin/cli.md) で実行されていない場合 (つまり、[管理画面](../ServerWindow/overview.md) 付きで起動されている場合)、このメソッドによって、予期せぬダイアログがサーバーマシン上に表示されることを防ぎます。 ヘッドレスモードでは、エラーは解析のため [4DDebugLog ファイル](../Debugging/debugLogFiles.md#4ddebuglogtxt-standard) に記録されます。 ヘッドレスモードでは、エラーは解析のため [4DDebugLog ファイル](../Debugging/debugLogFiles.md#4ddebuglogtxt-standard) に記録されます。 +サーバー上で実行されるコードのため、4D Server にはグローバルなエラー処理メソッドを実装しておくことが強く推奨されます。 4D Server が [ヘッドレス](../Admin/cli.md) で実行されていない場合 (つまり、[管理画面](../ServerWindow/overview.md) 付きで起動されている場合)、このメソッドによって、予期せぬダイアログがサーバーマシン上に表示されることを防ぎます。 ヘッドレスモードでは、エラーは解析のため [4DDebugLog ファイル](../Debugging/debugLogFiles.md#4ddebuglogtxt-standard) に記録されます。 ::: ## エラー/ステータス -`entity.save()` や `transporter.send()` など、おおくの 4D クラス関数は *status* オブジェクトを返します。 ランタイムにおいて "想定される"、プログラムの実行を停止させないエラー (無効なパスワード、ロックされたエンティティなど) がこのオブジェクトに格納されます。 これらのエラーへの対応は、通常のコードによっておこなうことができます。 ランタイムにおいて "想定される"、プログラムの実行を停止させないエラー (無効なパスワード、ロックされたエンティティなど) がこのオブジェクトに格納されます。 これらのエラーへの対応は、通常のコードによっておこなうことができます。 +`entity.save()` や `transporter.send()` など、おおくの 4D クラス関数は *status* オブジェクトを返します。 ランタイムにおいて "想定される"、プログラムの実行を停止させないエラー (無効なパスワード、ロックされたエンティティなど) がこのオブジェクトに格納されます。 これらのエラーへの対応は、通常のコードによっておこなうことができます。 -ディスク書き込みエラーやネットワークの問題などのイレギュラーな中断は "想定されない" エラーです。 これらのエラーは例外を発生させ、エラー処理メソッドや `Try()` キーワードを介して対応する必要があります。 +ディスク書き込みエラーやネットワークの問題などのイレギュラーな中断は "想定されない" エラーです。 このカテゴリーのエラーは[*コード*、*メッセージ* そして*署名*](#エラーコード) によって定義される例外を生成するため、エラー処理メソッドまたは `Try()` キーワードを通して管理する必要があります。 ## エラー処理メソッドの実装 @@ -33,7 +33,7 @@ title: エラー処理 インストールされたエラーハンドラーは、4Dアプリケーションまたはそのコンポーネントでエラーが発生した場合、インタープリターモードまたはコンパイル済モードで自動的に呼び出されます。 実行コンテキストに応じて、異なるエラーハンドラーを呼び出すこともできます (後述参照)。 -To *install* an error-handling project method, you just need to call the [`ON ERR CALL`](../commands-legacy/on-err-call.md) command with the project method name and (optionnally) scope as parameters. 例: +エラー処理用のプロジェクトメソッドを *実装* するには、[`ON ERR CALL`](../commands-legacy/on-err-call.md) コマンドをコールし、当該プロジェクトメソッド名と (任意で) スコープを引数として渡します。 例: ```4d ON ERR CALL("IO_Errors";ek local) // ローカルなエラー処理メソッドを実装します @@ -45,7 +45,7 @@ ON ERR CALL("IO_Errors";ek local) // ローカルなエラー処理メソッド ON ERR CALL("";ek local) // ローカルプロセスにおいてエラーの検知を中止します ``` -[`Method called on error`](../commands-legacy/method-called-on-error.md) コマンドを使用すると、カレントプロセスにおいて`ON ERR CALL` で実装されたメソッドの名前を知ることができます。 このコマンドは汎用的なコードでとくに有用です。エラー処理メソッドを一時的に変更し、後で復元することができます: このコマンドは汎用的なコードでとくに有用です。エラー処理メソッドを一時的に変更し、後で復元することができます: +[`Method called on error`](../commands-legacy/method-called-on-error.md) コマンドを使用すると、カレントプロセスにおいて`ON ERR CALL` で実装されたメソッドの名前を知ることができます。 このコマンドは汎用的なコードでとくに有用です。エラー処理メソッドを一時的に変更し、後で復元することができます: ```4d $methCurrent:=Method called on error(ek local) @@ -96,9 +96,8 @@ ON ERR CALL("componentHandler";ek errors from components) // コンポーネン 4D は、いくつかの [**システム変数**](variables.md#システム変数) と呼ばれる専用の変数を自動的に管理しています。 ::: -::: -- the [`Last errors`](../commands-legacy/last-errors.md) command that returns a collection of the current stack of errors that occurred in the 4D application. +- [`Last errors`](../commands/last-errors.md) コマンドは、4Dアプリケーションで発生したカレントエラースタックに関する情報をコレクションとして返します。 - `Call chain` コマンドは、カレントプロセス内におけるメソッド呼び出しチェーンの各ステップを説明するオブジェクトのコレクションを返します。 #### 例題 @@ -154,7 +153,7 @@ Try (expression) : any | Undefined 実行中にエラーが発生した場合、`Try()` の呼び出し前に [エラー処理メソッド](#エラー処理メソッドの実装) がインストールされたかどうかに関係なく、エラーダイアログは表示されず、エラーはキャッチされます。 *expression* が値を返す場合、`Try()` は最後に評価された値を返します。値が返されない場合、`Try()` は `Undefined` を返します。 -You can handle the error(s) using the [`Last errors`](../commands-legacy/last-errors.md) command. *expression* が `Try()` のスタック内でエラーをスローした場合、実行フローは停止し、最後に実行された `Try()` (コールスタック内で最初に見つかったもの) に戻ります。 +[`Last errors`](../commands/last-errors.md) コマンドを使用してエラーを処理することができます。 *expression* が `Try()` のスタック内でエラーをスローした場合、実行フローは停止し、最後に実行された `Try()` (コールスタック内で最初に見つかったもの) に戻ります。 :::note @@ -210,7 +209,7 @@ End if ## Try...Catch...End try -The `Try...Catch...End try` structure allows you to test a block code in its actual execution context (including, in particular, local variable values) and to intercept errors it throws so that the 4D error dialog box is not displayed. +`Try...Catch...End try` 文は、実際の実行コンテキスト (特にローカル変数の値を含む) でコードブロックをテストし、スローされるエラーをキャッチすることで、4D のエラーダイアログボックスが表示されないようにできます。 `Try(expression)` キーワードが単一の行の式を評価するのとは異なり、`Try...Catch...End try` 文は、単純なものから複雑なものまで、任意のコードブロックを評価することができます。エラー処理メソッドは必要としない点は同じです。 また、`Catch` ブロックは、任意の方法でエラーを処理するために使用できます。 @@ -230,7 +229,7 @@ End try - エラーがスローされなかった場合には、対応する `End try` キーワードの後へとコード実行が継続されます。 `Catch` と `End try` キーワード間のコードは実行されません。 - コードブロックの実行が *非遅延エラー* をスローした場合、実行フローは停止し、対応する `Catch` コードブロックを実行します。 -- If the code block calls a method that throws a *deferred error*, the execution flow jumps directly to the corresponding `Catch` code block. +- コードブロックが *非遅延エラー* をスローするメソッドを呼び出した場合、実行フローは対応する `Catch` コードブロックへと直接ジャンプします。 - 遅延エラーが `Try` ブロックから直接スローされた場合、実行フローは `Try` ブロックの終わりまで継続し、対応する `Catch` ブロックは実行しません。 :::note @@ -245,7 +244,7 @@ End try ::: -In the `Catch` code block, you can handle the error(s) using standard error handling commands. [`Last errors`](../commands-legacy/last-errors.md) 関数は最後のエラーに関するコレクションを格納しています。 このコードブロック内で[エラー処理メソッドを宣言する](#エラー処理メソッドの実装) こともできます。この場合エラー発生時にはそれが呼び出されます(宣言しない場合には、4Dエラーダイアログが表示されます)。 +`Catch` コードブロックでは、標準のエラー処理コマンドを使用してエラーを処理できます。 [`Last errors`](../commands/last-errors.md) 関数は最後のエラーに関するコレクションを格納しています。 このコードブロック内で[エラー処理メソッドを宣言する](#エラー処理メソッドの実装) こともできます。この場合エラー発生時にはそれが呼び出されます(宣言しない場合には、4Dエラーダイアログが表示されます)。 :::note @@ -285,3 +284,15 @@ Function createInvoice($customer : cs.customerEntity; $items : Collection; $invo return $newInvoice ``` + +## エラーコード + +コード実行を妨げる例外は4D によって返されますが、その原因はOS、デバイス、4D カーネル、コード内の[`throw`](../commands-legacy/throw.md) など、様々な要因が考えられます。 そのため、3つの要素によって定義されます: + +- **コンポーネント署名**。エラーの起きた場所を表します(署名の一覧については[`Last errors`](../commands/last-errors.md) を参照してください) +- **メッセージ**。エラーがなぜ起きたかを説明します。 +- **コード**。コンポーネントによって返される任意の数値です。 + +[4D エラーダイアログボックス](../Debugging/basics.md) はユーザーに対してコードとメッセージを表示します。 + +エラーと特にその原因の完全な詳細を取得するには、[`Last errors`](../commands/last-errors.md) コマンドを呼び出す必要があります。 最終アプリケーションにおいて[エラー処理メソッド](#installing-an-error-handling-method) を使用してエラーへの割り込みと処理ををする場合、[`Last errors`](../commands/last-errors.md) を使用して必ず*error* オブジェクトの全てのプロパティを記録するようにしてください。エラーコードはコンポーネントによって異なるからです。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/identifiers.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/identifiers.md index c6c3d1594b1369..05d692a0b0c435 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/identifiers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/identifiers.md @@ -17,7 +17,7 @@ title: 識別子の命名規則 クラス名は、ドット記法のための標準的な [プロパティ名の命名規則](Concepts/dt_object.md#オブジェクトプロパティ識別子) に準拠している必要があります。 -> Giving the same name to a class and a [database table](#tables-and-fields) is not recommended, in order to prevent any conflict. +> 同じ名前をクラスと[データベーステーブル](#tables-and-fields) につけることは、あらゆるコンフリクトを避けるため推奨されていません。 ## 関数 @@ -29,7 +29,7 @@ title: 識別子の命名規則 プロパティ名 (オブジェクト *属性* とも呼びます) は255文字以内の文字列で指定します。 -オブジェクトプロパティは、スカラー値・ORDA要素・クラス関数・他のオブジェクト等を参照できます。 Whatever their nature, object property names must follow the following rules **if you want to use the [dot notation](./dt_object.md#properties)**: +オブジェクトプロパティは、スカラー値・ORDA要素・クラス関数・他のオブジェクト等を参照できます。 参照先に関わらず、**[ドット記法](dt_object.md#プロパティ) を使用するには** オブジェクトプロパティ名は次の命名規則に従う必要があります: - 1文字目は、文字、アンダースコア(_)、あるいはドル記号 ($) でなければなりません。 - その後の文字には、文字・数字・アンダースコア(_)・ドル記号 ($) が使用できます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/methods.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/methods.md index a29b622c432419..50976a03d0e16e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/methods.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/methods.md @@ -201,12 +201,12 @@ $o:=$f.message // $o にはフォーミュラオブジェクトが返されま プロジェクトメソッドを実行するには、リストからメソッドを選択し、**実行** をクリックします。 デバッグモードでメソッドを実行するには **デバッグ** をクリックします。 デバッガーに関する詳細は、[デバッガー](../Debugging/basics.md) の章を参照ください。 -**新規プロセス** チェックボックスを選択すると、選択したメソッドは新規に作成されたプロセス内で実行されます。 大量の印刷など時間のかかる処理をメソッドがおこなう場合でもこのオプションを使用すれば、レコードの追加、グラフの作成などの処理をアプリケーションプロセスで継続できます。 For more information about processes, refer to [Processes](../Develop/processes.md). +**新規プロセス** チェックボックスを選択すると、選択したメソッドは新規に作成されたプロセス内で実行されます。 大量の印刷など時間のかかる処理をメソッドがおこなう場合でもこのオプションを使用すれば、レコードの追加、グラフの作成などの処理をアプリケーションプロセスで継続できます。 プロセスに関するより詳細な情報については、[プロセス](../Develop/processes.md) を参照してください。 **4D Serverに関する注記**: - クライアントではなくサーバー上でメソッドを実行したい場合、実行モードメニューで **4D Server** を選択します。 この場合 *ストアドプロシージャー* と呼ばれるプロセスが新規にサーバー上で作成され、メソッドが実行されます。 このオプションを使用して、ネットワークトラフィックを減らしたり、4D Serverの動作を最適化したりできます (特にディスクに格納されたデータにアクセスする場合など)。 すべてのタイプのメソッドをサーバー上や他のクライアント上で実行できますが、ユーザーインターフェースを変更するものは例外です。 この場合、ストアドプロシージャーは効果がありません。 -- 他のクライアントマシン上でメソッドを実行するよう選択することもできます。 Other client workstations will not appear in the menu, unless they have been previously "registered" (for more information, refer to the description of the [REGISTER CLIENT](../commands-legacy/register-client.md). +- 他のクライアントマシン上でメソッドを実行するよう選択することもできます。 他のクライアントマシンは、事前に登録されていなければメニューに表示されません (詳細な情報については [REGISTER CLIENT](../commands-legacy/register-client.md) の説明を参照ください)。 デフォルトでは、**ローカル** オプションが選択されています。 4D シングルユーザーの場合、このオプションしか選択できません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/operators.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/operators.md index 78fa1ba3cbe1d3..6797c5d2ea76b5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/operators.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/operators.md @@ -282,7 +282,7 @@ $name:=$person.maidenName || $person.name `条件 ? truthy時の式 : falsy時の式` -> Since the [token syntax](https://doc.4d.com/4Dv20/4D/20.6/Using-tokens-in-formulas.300-7487422.en.html) uses colons, we recommend inserting a space after the colon `:` or enclosing tokens using parentheses to avoid any conflicts. +> [トークンシンタックス](https://doc.4d.com/4Dv20/4D/20.6/Using-tokens-in-formulas.300-7487422.ja.html#2675202) にはコロンが使われているため、競合を避けるには、コロン `:` の後にスペースを入れる、または、トークンは括弧でくくることが推奨されます。 ### 例題 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/parameters.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/parameters.md index eeef12a2185acb..58f77339c81024 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/parameters.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/parameters.md @@ -133,7 +133,7 @@ Function myTransform ($x : Integer) -> $x : Integer ### サポートされているデータ型 -With named parameters, you can use the same data types as those which are [supported by the `var` keyword](variables.md), including class objects. 例: +名前付き引数の場合、[`var` キーワードでサポートされている](variables.md) データ型 (クラスオブジェクト含む) を使用できます。 例: ```4d Function saveToFile($entity : cs.ShapesEntity; $file : 4D.File) @@ -190,7 +190,7 @@ Function getValue -> $v : Integer ## 引数の間接参照 (${N}) -4Dメソッドおよび関数は、可変長の引数を受け取ることができます。 You can address those parameters with a `For...End for` loop, the [`Count parameters`](../commands-legacy/count-parameters.md) command and the **parameter indirection syntax**. メソッド内で、間接参照は `${N}` のように表示します。ここの `N` は数値式です。 +4Dメソッドおよび関数は、可変長の引数を受け取ることができます。 `For...End for` ループや [`Count parameters`](../commands-legacy/count-parameters.md) コマンド、**引数の間接参照シンタックス** を使って、これらの引数を扱うことができます。 メソッド内で、間接参照は `${N}` のように表示します。ここの `N` は数値式です。 ### 可変長引数の使い方 @@ -214,7 +214,7 @@ Function getValue -> $v : Integer Result:=MySum("000";1;2;200) // "203" ``` -0、1、またはそれ以上のパラメーターを宣言してある場合でも、任意の数の引数を渡すことができます。 呼び出されたコード内では、`${N}` シンタックスを使って引数を利用でき、可変長引数の型はデフォルトで [バリアント](dt_variant.md) です ([可変長引数の記法](#可変長引数の宣言) を使ってこれらを宣言できます)。 You just need to make sure parameters exist, thanks to the [`Count parameters`](../commands-legacy/count-parameters.md) command. 例: +0、1、またはそれ以上のパラメーターを宣言してある場合でも、任意の数の引数を渡すことができます。 呼び出されたコード内では、`${N}` シンタックスを使って引数を利用でき、可変長引数の型はデフォルトで [バリアント](dt_variant.md) です ([可変長引数の記法](#可変長引数の宣言) を使ってこれらを宣言できます)。 [`Count parameters`](../commands-legacy/count-parameters.md) コマンドを使用して、パラメーターが存在することをあらかじめ確認しておく必要があります。 例: ```4d // foo メソッド @@ -319,7 +319,7 @@ method1(42) // 型間違い。 期待されるのはテキスト - [コンパイル済みプロジェクト](interpreted.md) では、可能な限りコンパイル時にエラーが生成されます。 それ以外の場合は、メソッドの呼び出し時にエラーが生成されます。 - インタープリタープロジェクトでは: - - if the parameter was declared using the named syntax (`#DECLARE` or `Function`), an error is generated when the method is called. + - 名前付きシンタックス (`#DECLARE` または `Function`) を使用して引数が宣言されている場合は、メソッドの呼び出し時にエラーが発生します。 - 旧式の (`C_XXX`) シンタックスを使用して宣言されている場合、エラーは発生せず、呼び出されたメソッドは期待される型の空の値を受け取ります。 ## オブジェクトプロパティを名前付き引数として使用する diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/shared.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/shared.md index e14141cb7ca618..1c8cd6c24ccf20 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/shared.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/shared.md @@ -111,11 +111,11 @@ End Use ### 自動的な Use...End use 呼び出し -The following features automatically trigger an internal **Use/End use**, making an explicit call to the structure unnecessary when it is executed: +以下の機能は、内部的な **Use/End use** を自動でトリガーするため、この構文を実行時に明示的に呼び出す必要はありません: -- [collection functions](../API/CollectionClass.md) that modify shared collections, -- [`ARRAY TO COLLECTION`](../commands-legacy/array-to-collection.md) command, -- [`OB REMOVE`](../commands-legacy/ob-remove.md) command, +- 共有コレクションを変更する[コレクション関数](../API/CollectionClass.md) +- [`ARRAY TO COLLECTION`](../commands-legacy/array-to-collection.md) コマンド +- [`OB REMOVE`](../commands-legacy/ob-remove.md) コマンド - [共有クラス](classes.md#共有クラス) 内で定義された [共有関数](classes.md#共有関数) ## 例題 1 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/variables.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/variables.md index 3718e9bc5cbeb5..bf38f56c24bd72 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/variables.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/variables.md @@ -149,7 +149,7 @@ var $a:=$class.test 4D は最も一般的なタイプを推論しようとします。 たとえば、変数が整数値で初期化される場合、整数型ではなく実数型が使用されます (例: `var $a:=10 //実数型が推論されます`)。 このような場合や、クラスのインスタンス化など複雑な型を持つ変数を初期化する場合は、明示的に型を指定することが推奨されます。 -ほとんどの場合、変数の型は自動的に決まります。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 ほとんどの場合、変数の型は自動的に決まります。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 +ほとんどの場合、変数の型は自動的に決まります。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 :::note @@ -176,7 +176,7 @@ MyNumber:=3 > [データ型の宣言](#変数の宣言) をせずに変数を作成することは通常推奨されません。 -もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 [Products]Size というフィールドに *MyNumber* 変数の値を代入するには、代入演算子の右側に MyNumber を書きます: +もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 [Products]Size というフィールドに *MyNumber* 変数の値を代入するには、代入演算子の右側に MyNumber を書きます: ```4d [Products]Size:=MyNumber @@ -186,7 +186,7 @@ MyNumber:=3 ## ローカル、プロセス、およびインタープロセス変数 -**ローカル**、**プロセス**、および **インタープロセス** という、3種類の変数の変数を作成することができます。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 +**ローカル**、**プロセス**、および **インタープロセス** という、3種類の変数の変数を作成することができます。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 ### ローカル変数 @@ -223,7 +223,7 @@ MyNumber:=3 インタープリターモードでは、変数は動的にメモリ上に作成・消去されます。 これに対してコンパイルモードでは、作成したすべてのプロセス (ユーザープロセス) で同じプロセス変数定義が共有されますが、変数のインスタンスはプロセス毎に異なるものとなります。 たとえば、プロセスP_1 とプロセスP_2 の両方においてプロセス変数 myVar が存在していても、それらはそれぞれ別のインスタンスです。 -`GET PROCESS VARIABLE` や `SET PROCESS VARIABLE` を使用して、あるプロセスから他のプロセスのプロセス変数の値を取得したり、設定したりできます。 これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: +`GET PROCESS VARIABLE` や `SET PROCESS VARIABLE` を使用して、あるプロセスから他のプロセスのプロセス変数の値を取得したり、設定したりできます。 これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: - コード内の特定の箇所におけるプロセス間通信 - プロセス間のドラッグ&ドロップ処理 @@ -247,21 +247,21 @@ MyNumber:=3 ## システム変数 -4Dランゲージが管理する複数の **システム変数** を使うことで、さまざまな動作の実行をコントロールできます。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 - -システム変数は [4Dコマンド](../commands/command-index.md) によって使用されます。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 - -| システム変数名 | 型 | 説明 | -| ------------------------------------------------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `OK` | Integer | 通常、コマンドがダイアログボックスを表示して、ユーザーが **OK** ボタンをクリックすると 1 に、**キャンセル** ボタンをクリックした場合は 0 に設定されます。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 | -| `Document` | Text | Contains the "long name" (full path+name) of the last file opened or created using commands such as [Open document](../commands-legacy/open-document.md) or [SELECT LOG FILE](../commands/select-log-file.md). | -| `FldDelimit`, `RecDelimit` | Text | テキストを読み込んだり書き出したりする際に、フィールドの区切りとして (デフォルトは **タブ** (9))、あるいはレコードの区切り文字として (デフォルトは **キャリッジリターン** (13)) 使用する文字コードが格納されています。 区切り文字を変更する場合は、システム変数の値を変更します。 区切り文字を変更する場合は、システム変数の値を変更します。 区切り文字を変更する場合は、システム変数の値を変更します。 | -| `Error`, `Error method`, `Error line`, `Error formula` | Text, Longint | Used in an error-catching method installed by the [`ON ERR CALL`](../commands-legacy/on-err-call.md) command. [メソッド内でのエラー処理](../Concepts/error-handling.md#メソッド内でのエラー処理)参照。 | -| `MouseDown` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. マウスボタンが押されたときに 1 が、それ以外の場合は 0 に設定されます。 | -| `MouseX`, `MouseY` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command.
  • `MouseDown=1` イベントの時、`MouseX` と `MouseY` にはクリックされた場所の水平 / 垂直座標がそれぞれ代入されます。 両方の値ともピクセル単位で表わされ、ウィンドウのローカルな座標システムを使用します。 [`ON EVENT CALL`](https://doc.4d.com/4dv20/help/command/ja/page190.html) コマンドでインストールされたメソッド内で使用されます。
  • `MouseDown=1` イベントの時、`MouseX` と `MouseY` にはクリックされた場所の水平 / 垂直座標がそれぞれ代入されます。 両方の値ともピクセル単位で表わされ、ウィンドウのローカルな座標システムを使用します。
  • ピクチャーフィールドや変数の場合は、[`On Clicked`](../Events/onClicked.md) や [`On Double Clicked`](../Events/onDoubleClicked.md)、および [`On Mouse Up`](../Events/onMouseUp.md) フォームイベント内で、クリックのローカル座標が `MouseX` と `MouseY` に返されます。 また、[`On Mouse Enter`](../Events/onMouseEnter.md) および [`On Mouse Move`](../Events/onMouseMove.md) フォームイベントでもマウスカーソルのローカル座標が返されます。 詳細については、[ピクチャー上のマウス座標](../FormEditor/pictures.md#ピクチャー上のマウス座標) を参照ください。
  • また、[`On Mouse Enter`](../Events/onMouseEnter.md) および [`On Mouse Move`](../Events/onMouseMove.md) フォームイベントでもマウスカーソルのローカル座標が返されます。 詳細については、[ピクチャー上のマウス座標](../FormEditor/pictures.md#ピクチャー上のマウス座標) を参照ください。 | -| `KeyCode` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. 押されたキーの文字コードが代入されます。 [`ON EVENT CALL`](https://doc.4d.com/4dv20/help/command/ja/page190.html) コマンドでインストールされたメソッド内で使用されます。 押されたキーの文字コードが代入されます。 押されたキーがファンクションキーの場合、`KeyCode` には特殊コードがセットされます。 | -| `Modifiers` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. キーボードのモディファイアキーの値を格納します (Ctrl/Command、Alt/Option、Shift、Caps Lock)。 | -| `MouseProc` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. 最後のイベントが発生したプロセス番号を格納します。 | +4Dランゲージが管理する複数の **システム変数** を使うことで、さまざまな動作の実行をコントロールできます。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 + +システム変数は [4Dコマンド](../commands/command-index.md) によって使用されます。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 + +| システム変数名 | 型 | 説明 | +| ------------------------------------------------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `OK` | Integer | 通常、コマンドがダイアログボックスを表示して、ユーザーが **OK** ボタンをクリックすると 1 に、**キャンセル** ボタンをクリックした場合は 0 に設定されます。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 | +| `Document` | Text | [Open document](../commands-legacy/open-document.md) や [SELECT LOG FILE](../commands/select-log-file.md) などのコマンドを使用して最後に開かれた、または作成されたファイルの「長い名前」(完全パス名)が格納されています。 | +| `FldDelimit`, `RecDelimit` | Text | テキストを読み込んだり書き出したりする際に、フィールドの区切りとして (デフォルトは **タブ** (9))、あるいはレコードの区切り文字として (デフォルトは **キャリッジリターン** (13)) 使用する文字コードが格納されています。 区切り文字を変更する場合は、システム変数の値を変更します。 | +| `Error`, `Error method`, `Error line`, `Error formula` | Text, Longint | [`ON ERR CALL`](../commands-legacy/on-err-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 [メソッド内でのエラー処理](../Concepts/error-handling.md#メソッド内でのエラー処理)参照。 | +| `MouseDown` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 マウスボタンが押されたときに 1 が、それ以外の場合は 0 に設定されます。 | +| `MouseX`, `MouseY` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。
  • `MouseDown=1` イベントの時、`MouseX` と `MouseY` にはクリックされた場所の水平 / 垂直座標がそれぞれ代入されます。 両方の値ともピクセル単位で表わされ、ウィンドウのローカルな座標システムを使用します。
  • ピクチャーフィールドや変数の場合は、[`On Clicked`](../Events/onClicked.md) や [`On Double Clicked`](../Events/onDoubleClicked.md)、および [`On Mouse Up`](../Events/onMouseUp.md) フォームイベント内で、クリックのローカル座標が `MouseX` と `MouseY` に返されます。 また、[`On Mouse Enter`](../Events/onMouseEnter.md) および [`On Mouse Move`](../Events/onMouseMove.md) フォームイベントでもマウスカーソルのローカル座標が返されます。 詳細については、[ピクチャー上のマウス座標](../FormEditor/pictures.md#ピクチャー上のマウス座標) を参照ください。
  • | +| `KeyCode` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 押されたキーの文字コードが代入されます。 押されたキーがファンクションキーの場合、`KeyCode` には特殊コードがセットされます。 | +| `Modifiers` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 キーボードのモディファイアキーの値を格納します (Ctrl/Command、Alt/Option、Shift、Caps Lock)。 | +| `MouseProc` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 最後のイベントが発生したプロセス番号を格納します。 | :::note diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md b/i18n/ja/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md new file mode 100644 index 00000000000000..33293b4f3746fd --- /dev/null +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md @@ -0,0 +1,221 @@ +--- +id: transactions +title: Transactions +--- + +## Description + +Transactions are a series of related data modifications made to a database or datastore within a [process](./processes.md). A transaction is not saved to a database permanently until the transaction is validated. If a transaction is not completed, either because it is canceled or because of some outside event, the modifications are not saved. + +During a transaction, all changes made to the database data within a process are stored locally in a temporary buffer. If the transaction is accepted with [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) or [`validateTransaction()`](../API/DataStoreClass.md#validatetransaction), the changes are saved permanently. If the transaction is canceled with [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md) or [`cancelTransaction()`](../API/DataStoreClass.md#canceltransaction), the changes are not saved. In all cases, neither the current selection nor the current record are modified by the transaction management commands. + +4D supports nested transactions, i.e. transactions on several hierarchical levels. The number of subtransactions allowed is unlimited. The [`Transaction level`](../commands-legacy/transaction-level.md) command can be used to find out the current transaction level where the code is executed. When you use nested transactions, the result of each subtransaction depends on the validation or cancellation of the higher-level transaction. If the higher-level transaction is validated, the results of the subtransactions are confirmed (validation or cancellation). On the other hand, if the higher-level transaction is cancelled, all the subtransactions are cancelled, regardless of their respective results. + +4D includes a feature allowing you to [suspend and resume transactions](#suspending-transactions) within your 4D code. When a transaction is suspended, you can execute operations independently from the transaction itself and then resume the transaction to validate or cancel it as usual. + +### Example + +In this example, the database is a simple invoicing system. The invoice lines are stored in a table called [Invoice Lines], which is related to the table [Invoices] by means of a relation between the fields [Invoices]Invoice ID and [Invoice Lines]Invoice ID. When an invoice is added, a unique ID is calculated, using the [`Sequence number`](../commands-legacy/sequence-number.md) command. The relation between [Invoices] and [Invoice Lines] is an automatic Relate Many relation. The **Auto assign related value in subform** check box is checked. + +The relation between [Invoice Lines] and [Parts] is manual. + +![](../assets/en/Develop/transactions-structure.png) + + +When a user enters an invoice, the following actions are executed: + +- Add a record in the table [Invoices]. +- Add several records in the table [Invoice Lines]. +- Update the [Parts]In Warehouse field of each part listed in the invoice. + +This example is a typical situation in which you need to use a transaction. You must be sure that you can save all these records during the operation or that you will be able to cancel the transaction if a record cannot be added or updated. In other words, you must save related data. If you do not use a transaction, you cannot guarantee the logical data integrity of your database. For example, if one record of the [Parts] records is locked, you will not be able to update the quantity stored in the field [Parts]In Warehouse. Therefore, this field will become logically incorrect. The sum of the parts sold and the parts remaining in the warehouse will not be equal to the original quantity entered in the record. You can avoid such a situation by using transactions. + +There are several ways of performing data entry using transactions: + +1. You can handle the transactions yourself by using the transaction commands [`START TRANSACTION`](../commands-legacy/start-transaction.md), [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) and [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md). You can write, for example: + +```4d + READ WRITE([Invoice Lines]) + READ WRITE([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + START TRANSACTION + ADD RECORD([Invoices]) + If(OK=1) + VALIDATE TRANSACTION + Else + CANCEL TRANSACTION + End if + Until(OK=0) + READ ONLY(*) +``` + +2. To reduce record locking while performing the data entry, you can also choose to manage transactions from within the form method and access the tables in `READ WRITE` only when it becomes necessary. You perform the data entry using the input form for [Invoices], which contains the related table [Invoice Lines] in a subform. The form has two buttons: *bCancel* and *bOK*, both of which are no action buttons. + +The adding loop becomes: + +```4d + READ WRITE([Invoice Lines]) + READ ONLY([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + ADD RECORD([Invoices]) + Until(bOK=0) + READ ONLY([Invoice Lines]) +``` + +Note that the [Parts] table is now in read-only access mode during data entry. Read/write access will be available only if the data entry is validated. + +The transaction is started in the [Invoices] input form method listed here: + +```4d + Case of + :(Form event code=On Load) + START TRANSACTION + [Invoices]Invoice ID:=Sequence number([Invoices]Invoice ID) + Else + [Invoices]Total Invoice:=Sum([Invoice Lines]Total line) + End case +``` + +If you click the *bCancel* button, the data entry as well as the transaction must be canceled. Here is the object method of the *bCancel* button: + +```4d + Case of + :(Form event code=On Clicked) + CANCEL TRANSACTION + CANCEL + End case +``` + +If you click the *bOK* button, the data entry must be accepted and the transaction must be validated. Here is the object method of the *bOK* button: + +```4d + Case of + :(Form event code=On Clicked) + var $NbLines:=Records in selection([Invoice Lines]) + READ WRITE([Parts]) //Switch to Read/Write access for the [Parts] table + FIRST RECORD([Invoice Lines]) //Start at the first line + var $ValidTrans:=True //Assume everything will be OK + var $Line : Integer + For($Line;1;$NbLines) //For each line + RELATE ONE([Invoice Lines]Part No) + OK:=1 //Assume you want to continue + While(Locked([Parts]) & (OK=1)) //Try getting the record in Read/Write access + CONFIRM("The Part "+[Invoice Lines]Part No+" is in use. Wait?") + If(OK=1) + DELAY PROCESS(Current process;60) + LOAD RECORD([Parts]) + End if + End while + If(OK=1) + //Update quantity in the warehouse + [Parts]In Warehouse:=[Parts]In Warehouse-[Invoice Lines]Quantity + SAVE RECORD([Parts]) //Save the record + Else + $Line:=$NbLines+1 //Leave the loop + $ValidTrans:=False + End if + NEXT RECORD([Invoice Lines]) //Go next line + End for + READ ONLY([Parts]) //Set the table state to read only + If($ValidTrans) + SAVE RECORD([Invoices]) //Save the Invoices record + VALIDATE TRANSACTION //Validate all database modifications + Else + CANCEL TRANSACTION //Cancel everything + End if + CANCEL //Leave the form + End case +``` + +In this code, we call the `CANCEL` command regardless of the button clicked. The new record is not validated by a call to [`ACCEPT`](../commands-legacy/accept.md), but by the [`SAVE RECORD`](../commands-legacy/save-record.md) command. In addition, note that `SAVE RECORD` is called just before the [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) command. Therefore, saving the [Invoices] record is actually a part of the transaction. Calling the `ACCEPT` command would also validate the record, but in this case the transaction would be validated before the [Invoices] record was saved. In other words, the record would be saved outside the transaction. + +Depending on your needs, you can customize your database, as shown in these examples. In the last example, the handling of locked records in the [Parts] table could be developed further. + + +## Suspending transactions + +### Principle + +Suspending a transaction is useful when you need to perform, from within a transaction, certain operations that do not need to be executed under the control of this transaction. For example, imagine the case where a customer places an order, thus within a transaction, and also updates their address. Next the customer changes their mind and cancels the order. The transaction is cancelled, but you do not want the address change to be reverted. This is a typical example where suspending the transaction is useful. Three commands are used to suspend and resume transactions: + +- [`SUSPEND TRANSACTION`](../commands-legacy/suspend-transaction.md): pauses current transaction. Any updated or added records remain locked. +- [`RESUME TRANSACTION`](../commands-legacy/resume-transaction.md): reactivates a suspended transaction. +- [`Active transaction`](../commands-legacy/active-transaction.md): returns False if the transaction is suspended or if there is no current transaction, and True if it is started or resumed. + +### Example + +This example illustrates the need for a suspended transaction. In an Invoices database, we want to get a new invoice number during a transaction. This number is computed and stored in a [Settings] table. In a multi-user environment, concurrent accesses must be protected; however, because of the transaction, the [Settings] table could be locked by another user even though this data is independent from the main transaction. In this case, you can suspend the transaction when accessing the table. + +```4d + //Standard method that creates an invoice + START TRANSACTION + ... + CREATE RECORD([Invoices]) + //call the method to get an available number + [Invoices]InvoiceID:=GetInvoiceNum + ... + SAVE RECORD([Invoices]) + VALIDATE TRANSACTION + + ``` + +The *GetInvoiceNum* method suspends the transaction before executing. Note that this code will work even when the method is called from outside of a transaction: + +```4d + //GetInvoiceNum project method + //GetInvoiceNum -> Next available invoice number + #DECLARE -> $freeNum : Integer + SUSPEND TRANSACTION + ALL RECORDS([Settings]) + If(Locked([Settings])) //multi-user access + While(Locked([Settings])) + MESSAGE("Waiting for locked Settings record") + DELAY PROCESS(Current process;30) + LOAD RECORD([Settings]) + End while + End if + [Settings]InvoiceNum:=[Settings]InvoiceNum+1 + $freeNum:=[Settings]InvoiceNum + SAVE RECORD([Settings]) + UNLOAD RECORD([Settings]) + RESUME TRANSACTION + +``` + +### Detailed operation + +#### How does a suspended transaction work? + +When a transaction is suspended, the following principles are implemented: + +- You can access records that were added or modified during the transaction, and you cannot see any records that were deleted during the transaction. +- You can create, save, delete, or modify records outside the transaction. +- You can start a new transaction, but within this included transaction you will not be able to see any records or record values that were added or modified during the suspended transaction. In fact, this new transaction is totally independent from the suspended one, similar to a transaction of another process, and since the suspended transaction could later be resumed or canceled, any added or modified records are automatically hidden for the new transaction. As soon as you commit or cancel the new transaction, you can see these records again. +- Any records that are modified, deleted or added within the suspended transaction remain locked for other processes. If you try to modify or delete these records outside the transaction or in a new transaction, an error is generated. + +These implementations are summarized in the following graphic: + +![](../assets/en/Develop/transactions-schema1.png) + + +*Values edited during transaction A (ID1 record gets Val11) are not available in a new transaction (B) created during the "suspended" period. Values edited during the "suspended" period (ID2 record gets Val22 and ID3 record gets Val33) are saved even after transaction A is cancelled.* + +Specific features have been added to handle errors: + +- The current record of each table becomes temporarily locked if it is modified during the transaction and is automatically unlocked when the transaction is resumed. This mechanism is important to prevent unwanted saves on parts of the transaction. +- If you execute an invalid sequence such as start transaction / suspend transaction / start transaction / resume transaction, an error is generated. This mechanism prevents developers from forgetting to commit or cancel any included transactions before resuming the suspended transaction. + + +#### Suspended transactions and process status + +The [`In transaction`](../commands-legacy/in-transaction.md) command returns True when a transaction has been started, even if it is suspended. To find out whether the current transaction is suspended, you need to use the [`Active transaction`](../commands-legacy/active-transaction.md) command, which returns False in this case. + +Both commands, however, also return False if no transaction has been started. You may then need to use the [`Transaction level`](../commands-legacy/transaction-level.md) command, which returns 0 in this context (no transaction started). + +The following graphic illustrates the various transaction contexts and the corresponding values returned by the transaction commands: + +![](../assets/en/Develop/transactions-schema2.png) + + diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/preemptive.md b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/preemptive.md index e80e02f43c9084..c73bb7bdcf48a8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/preemptive.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/preemptive.md @@ -268,12 +268,12 @@ DocRef 参照番号 (開かれたドキュメントの参照番号。次のコ 特定のコードを検証対象から除外するには、コメント形式の専用ディレクティブ `%T-` および `%T+` でそのコードを挟みます。 `//%T-` は以降のコードを検証から除外し、`//%T+` は以降のコードに対する検証を有効に戻します: ```4d - //%T- to disable thread safety checking - - // Place the code containing commands to be excluded from thread safety checking here - $w:=Open window(10;10;100;100) //for example - - //%T+ to enable thread safety checking again for the rest of the method + // %T- 検証を無効にします + + // スレッドセーフ検証から除外するコード + $w:=Open window(10;10;100;100) // 例 + + // %T+ 検証を有効に戻します ``` 無効化および有効化用のディレクティブでコードを挟んだ場合、そのコードがスレッドセーフかどうかについては、開発者が熟知している必要があります。 プリエンプティブなスレッドでスレッドセーフでないコードが実行された場合には、ランタイムエラーが発生します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/processes.md b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/processes.md index 66e8ebcadca936..ac3b6aedc96cb8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/processes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/processes.md @@ -18,9 +18,9 @@ title: プロセスとワーカー 新規プロセスを作成するにはいくつかの方法があります: - デザインモードにおいて、"メソッド実行" ダイアログボックスで **新規プロセス** チェックボックスをチェックした後、メソッドを実行する。 メソッド実行ダイアログボックスで選択したメソッドが (そのプロセスをコントロールする) プロセスメソッドとなります。 -- Use the [`New process`](../commands-legacy/new-process.md) command. `New process` コマンドの引数として渡されたメソッドがプロセスメソッドです。 -- Use the [`Execute on server`](../commands-legacy/execute-on-server.md) command in order to create a stored procedure on the server. コマンドの引数として渡されたメソッドがプロセスメソッドです。 -- Use the [`CALL WORKER`](../commands-legacy/call-worker.md) command. ワーカープロセスが既に存在していない場合、新たに作成されます。 +- [`New process`](../commands-legacy/new-process.md) コマンドを使用する。 `New process` コマンドの引数として渡されたメソッドがプロセスメソッドです。 +- サーバー上ですトアドプロシージャーを作成するためには、[`Execute on server`](../commands-legacy/execute-on-server.md) コマンドを使用します。 コマンドの引数として渡されたメソッドがプロセスメソッドです。 +- [`CALL WORKER`](../commands-legacy/call-worker.md) コマンドを使用する。 ワーカープロセスが既に存在していない場合、新たに作成されます。 :::note @@ -33,7 +33,7 @@ title: プロセスとワーカー - プロセスメソッドの実行が完了したとき。 - ユーザーがアプリケーションを終了したとき。 - メソッドからプロセスを中止するか、またはデバッガーまたはランタイムエクスプローラーで **アボート** ボタンを使用した場合。 -- If you call the [`KILL WORKER`](../commands-legacy/kill-worker.md) command (to delete a worker process only). +- [`KILL WORKER`](../commands-legacy/kill-worker.md) コマンドを呼び出した場合(ただしこれで削除できるのはワーカープロセスのみです)。 プロセスは別のプロセスを作成することができます。 プロセスは階層構造にはなっていません。どのプロセスから作成されようと、すべてのプロセスは同等です。 いったん、“親” プロセスが “子” プロセスを作成すると、親プロセスの実行状況に関係なく、子プロセスは処理を続行します。 @@ -94,11 +94,11 @@ title: プロセスとワーカー ワーカープロセスとは、簡単かつ強力なプロセス間通信の方法です。 この機能は非同期のメッセージシステムに基づいており、プロセスやフォームを呼び出して、呼び出し先のコンテキストにおいて任意のメソッドを指定パラメーターとともに実行させることができます。 -A worker can be "hired" by any process (using the [`CALL WORKER`](../commands-legacy/call-worker.md) command) to execute project methods with parameters in their own context, thus allowing access to shared information. +あらゆるプロセスは [`CALL WORKER`](../commands-legacy/call-worker.md) コマンドを使用することでワーカープロセスを "雇用" することができ、ワーカーのコンテキストにおいて任意のプロジェクトメソッドを指定のパラメーターで実行させることができます。つまり、呼び出し元のプロセスとワーカーの間で情報の共有が可能です。 :::info -In Desktop applications, a project method can also be executed with parameters in the context of any form using the [`CALL FORM`](../commands-legacy/call-form.md) command. +デスクトップアプリケーションにおいては、[`CALL FORM`](../commands-legacy/call-form.md) コマンドを使うことで、あらゆるフォームのコンテキストにおいて任意のプロジェクトメソッドを指定のパラメーターで実行させることができます。 ::: @@ -136,7 +136,7 @@ In Desktop applications, a project method can also be executed with parameters i ワーカープロセスは、ストアドプロシージャーを使って 4D Server 上に作成することもできます。たとえば、`CALL WORKER` コマンドを実行するメソッドを `Execute on server` コマンドから実行できます。 -A worker process is closed by a call to the [`KILL WORKER`](../commands-legacy/kill-worker.md) command, which empties the worker's message box and asks the associated process to stop processing messages and to terminate its current execution as soon as the current task is finished. +ワーカープロセスを閉じるには [`KILL WORKER`](../commands-legacy/kill-worker.md) コマンドをコールします。これによってワーカーのメッセージボックスが空にされ、関連プロセスはメッセージの処理を停止し、現在のタスク完了後に実行を終了します。 ワーカープロセスを新規生成する際に指定したメソッドがワーカーの初期メソッドになります。 次回以降の呼び出しで *method* パラメーターに空の文字列を受け渡した場合、`CALL WORKER` はこの初期メソッドの実行をワーカーに依頼します。 @@ -144,7 +144,7 @@ A worker process is closed by a call to the [`KILL WORKER`](../commands-legacy/k ### ワーカープロセスの識別 -All worker processes, except the main process, have the process type `Worker process` (5) returned by the [`Process info`](../commands/process-info.md) command. +全てのワーカープロセス(メインプロセスを除く)は、[`Process info`](../commands/process-info.md) コマンドからは `Worker process` (5) が返されるプロセスタイプを持ちます。 [専用アイコン](../ServerWindow/processes#プロセスタイプ) からもワーカープロセスを識別することができます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onAfterEdit.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onAfterEdit.md index ef39a1f859af9f..e37db10b0ae5a5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onAfterEdit.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onAfterEdit.md @@ -20,7 +20,7 @@ title: On After Edit - ユーザーがおこなったキーボードからの入力。この場合、`On After Edit` イベントは [`On Before Keystroke`](onBeforeKeystroke.md) と [`On After Keystroke`](onAfterKeystroke.md) イベントの後に生成されます。 - ユーザーアクションをシミュレートするランゲージコマンドによる変更 (例: `POST KEY`)。 -Within the `On After Edit` event, text data being entered is returned by the [`Get edited text`](../commands-legacy/get-edited-text.md) command. +`On After Edit` イベント内において、入力テキストは [`Get edited text`](../commands-legacy/get-edited-text.md) コマンドによって返されます。 ### 4D View Pro diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onAlternativeClick.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onAlternativeClick.md index e0c3f028c727e4..7a4bce3805eec3 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onAlternativeClick.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onAlternativeClick.md @@ -15,7 +15,7 @@ title: On Alternative Click 4D では `On Alternative Click` イベントを使用してこの動作を管理できます。 このイベントは、ユーザーが矢印をクリックすると、マウスボタンが押されてすぐに生成されます: -- ポップアップメニューが **分離** されている場合、このイベントはボタン中で矢印のあるエリアがクリックされた場合のみ生成されます。 Note that the [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) assigned to the button (if any) is not executed in this case. +- ポップアップメニューが **分離** されている場合、このイベントはボタン中で矢印のあるエリアがクリックされた場合のみ生成されます。 ボタンに適用されている [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html) があったとしても、この場合には実行されないことに留意してください。 - ポップアップメニューが **リンク** されている場合、このイベントはボタン上どこをクリックしても生成されます。 このタイプのボタンでは [`On Long Click`](onLongClick.md) イベントが生成されないことに注意してください。 ![](../assets/en/Events/clickevents.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onBoundVariableChange.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onBoundVariableChange.md index b34d0c31f7d875..fb5e81ad0c83c0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onBoundVariableChange.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onBoundVariableChange.md @@ -11,4 +11,4 @@ title: On Bound Variable Change このイベントは、親フォーム中のサブフォームにバインドされた変数の値が更新され (同じ値が代入された場合でも) 、かつサブフォームがカレントフォームページまたはページ0 に属している場合に、[サブフォーム](FormObjects/subform_overview.md) のフォームメソッドのコンテキストで生成されます。 -For more information, refer to the [Managing the bound variable](FormObjects/subform_overview.md#using-the-bound-variable-or-expression) section. \ No newline at end of file +詳細については、[バインドされた変数の管理](FormObjects/subform_overview.md#バインドされた変数あるいは式の管理) を参照してください。 \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onDoubleClicked.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onDoubleClicked.md index c9b6b4509e0983..3157c1b270b713 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onDoubleClicked.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onDoubleClicked.md @@ -3,9 +3,9 @@ id: onDoubleClicked title: On Double Clicked --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ | -| 13 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) | オブジェクト上でダブルクリックされた | +| コード | 呼び出し元 | 定義 | +| --- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| 13 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#list-box-columns) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) | オブジェクト上でダブルクリックされた | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onDragOver.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onDragOver.md index 1b65990c332bd1..4cd0137a1c567d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onDragOver.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onDragOver.md @@ -3,9 +3,9 @@ id: onDragOver title: On Drag Over --- -| コード | 呼び出し元 | 定義 | -| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | -| 21 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | データがオブジェクト上にドロップされる可能性がある | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | +| 21 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | データがオブジェクト上にドロップされる可能性がある | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onGettingFocus.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onGettingFocus.md index 808ece282ff4b3..47070577489ef0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onGettingFocus.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onGettingFocus.md @@ -3,9 +3,9 @@ id: onGettingFocus title: On Getting focus --- -| コード | 呼び出し元 | 定義 | -| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -| 15 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Web area](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを得た | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | +| 15 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを得た | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onHeader.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onHeader.md index 7cb683e8c5952e..559ced0ed2d0ce 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onHeader.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onHeader.md @@ -3,9 +3,9 @@ id: onHeader title: On Header --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | -| 5 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form (list form only) - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームのヘッダーエリアが印刷あるいは表示されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | +| 5 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム (リストフォームのみ) - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームのヘッダーエリアが印刷あるいは表示されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onLoad.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onLoad.md index 69633c47c4dd14..659b64c4eb1740 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onLoad.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onLoad.md @@ -3,9 +3,9 @@ id: onLoad title: On Load --- -| コード | 呼び出し元 | 定義 | -| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | -| 1 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Tab control](FormObjects/tabControl.md) - [Web Area](FormObjects/webArea_overview.md) | フォームが表示または印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | +| 1 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [タブコントロール](FormObjects/tabControl.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームが表示または印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onLosingFocus.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onLosingFocus.md index 3a75849eeb06d3..e3681f3834f58a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onLosingFocus.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onLosingFocus.md @@ -3,9 +3,9 @@ id: onLosingFocus title: On Losing focus --- -| コード | 呼び出し元 | 定義 | -| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| 14 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Web area](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを失った | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | +| 14 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを失った | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseEnter.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseEnter.md index a7a662b9144837..abbbb7aeda8137 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseEnter.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseEnter.md @@ -3,9 +3,9 @@ id: onMouseEnter title: On Mouse Enter --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | -| 35 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア内に入った | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | +| 35 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア内に入った | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseLeave.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseLeave.md index 4a974b20c52eeb..816d5f0618fc4d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseLeave.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseLeave.md @@ -3,9 +3,9 @@ id: onMouseLeave title: On Mouse Leave --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| 36 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリアから出た | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | +| 36 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリアから出た | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseMove.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseMove.md index a3beda16304790..5bb9b8efb3c0ca 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseMove.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onMouseMove.md @@ -3,9 +3,9 @@ id: onMouseMove title: On Mouse Move --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| 37 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア上で (最低1ピクセル) 動いたか、変更キー (Shift, Alt/Option, Shift Lock) が押された | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| 37 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア上で (最低1ピクセル) 動いたか、変更キー (Shift, Alt/Option, Shift Lock) が押された | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPlugInArea.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPlugInArea.md index 6680a66413b90c..9ccd5755cdf297 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPlugInArea.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPlugInArea.md @@ -3,9 +3,9 @@ id: onPlugInArea title: On Plug in Area --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------- | ------------------------------- | -| 19 | Form - [Plug-in Area](FormObjects/pluginArea_overview.md) | 外部オブジェクトのオブジェクトメソッドの実行がリクエストされた | +| コード | 呼び出し元 | 定義 | +| --- | ----------------------------------------------------- | ------------------------------- | +| 19 | フォーム - [プラグインエリア](FormObjects/pluginArea_overview.md) | 外部オブジェクトのオブジェクトメソッドの実行がリクエストされた | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingBreak.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingBreak.md index c803c051442494..82e0b81206926e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingBreak.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingBreak.md @@ -3,9 +3,9 @@ id: onPrintingBreak title: On Printing Break --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | -| 6 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームのブレークエリアのひとつが印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | +| 6 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームのブレークエリアのひとつが印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingDetail.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingDetail.md index 0858d5f54afed1..7f88434dddbd71 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingDetail.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingDetail.md @@ -3,9 +3,9 @@ id: onPrintingDetail title: On Printing Detail --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | -| 23 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームの詳細エリアが印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | +| 23 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームの詳細エリアが印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingFooter.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingFooter.md index fc0db65cfa3427..f19b187211df55 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingFooter.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onPrintingFooter.md @@ -3,9 +3,9 @@ id: onPrintingFooter title: On Printing Footer --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| 7 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームのフッターエリアが印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | +| 7 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームのフッターエリアが印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onUnload.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onUnload.md index 5682190896cabb..22a9c09649ba42 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onUnload.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onUnload.md @@ -3,9 +3,9 @@ id: onUnload title: On Unload --- -| コード | 呼び出し元 | 定義 | -| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| 24 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Tab control](FormObjects/tabControl.md) - [Web Area](FormObjects/webArea_overview.md) | フォームを閉じて解放しようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| 24 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [タブコントロール](FormObjects/tabControl.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームを閉じて解放しようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onValidate.md b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onValidate.md index 43a285196e13e9..b1882e31f48305 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Events/onValidate.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Events/onValidate.md @@ -3,9 +3,9 @@ id: onValidate title: On Validate --- -| コード | 呼び出し元 | 定義 | -| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| 3 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Tab control](FormObjects/tabControl.md) | レコードのデータ入力が受け入れられた | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| 3 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [タブコントロール](FormObjects/tabControl.md) | レコードのデータ入力が受け入れられた | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/develop-components.md b/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/develop-components.md index 9eb79e70cd247b..4b501f9df5dda5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/develop-components.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/develop-components.md @@ -11,13 +11,13 @@ title: コンポーネントの開発 - **マトリクスプロジェクト**: コンポーネント開発に使用する4D プロジェクト。 マトリクスプロジェクトは特別な属性を持たない標準のプロジェクトです。 マトリクスプロジェクトはひとつのコンポーネントを構成します。 - **ホストプロジェクト**: コンポーネントがインストールされ、それを使用するアプリケーションプロジェクト。 -- **Component**: Matrix project that can be compiled and [built](Desktop/building.md#build-component), [installed in the host application](../Project/components.md) and whose contents are used in the host application. +- **コンポーネント**: [ホストアプリケーションにインストール](../Project/components.md) され、同アプリケーションによって使用されるマトリクスプロジェクトのこと。マトリクスプロジェクトはコンパイルし、[ビルド](Desktop/building.md#コンポーネントをビルド) することができます。 ## 基本 4D コンポーネントの作成とインストールは直接 4D を使用しておこないます: -- To use a component, you simply need to [install it in your application](../Project/components.md). +- コンポーネントを使用するには、[アプリケーションにインストール](../Project/components.md) するだけです。 - 言い換えれば、マトリクスプロジェクト自体も1 つ以上のコンポーネントを使用できます。 しかしコンポーネントが "サブコンポーネント" を使用することはできません。 - コンポーネントは次の 4D の要素を呼び出すことができます: クラス、関数、プロジェクトメソッド、プロジェクトフォーム、メニューバー、選択リストなど。 反面、コンポーネントが呼び出せないものは、データベースメソッドとトリガーです。 - コンポーネント内でデータストアや標準のテーブル、データファイルを使用することはできません。 しかし、外部データベースのメカニズムを使用すればテーブルやフィールドを作成し、そこにデータを格納したり読み出したりすることができます。 外部データベースは、メインの 4D データベースとは独立して存在し、SQLコマンドでアクセスします。 @@ -27,13 +27,13 @@ title: コンポーネントの開発 [使用できないコマンド](#使用できないコマンド) を除き、コンポーネントではすべての 4D ランゲージコマンドが使用できます。 -When commands are called from a component, they are executed in the context of the component, except for the [`EXECUTE FORMULA`](../commands-legacy/execute-formula.md) or [`EXECUTE METHOD`](../commands-legacy/execute-method.md) command that use the context of the method specified by the command. また、ユーザー&グループテーマの読み出しコマンドはコンポーネントで使用することができますが、読み出されるのはホストプロジェクトのユーザー&グループ情報であることに注意してください (コンポーネントに固有のユーザー&グループはありません)。 +コマンドがコンポーネントから呼ばれると、コマンドはコンポーネントのコンテキストで実行されます。 ただし[`EXECUTE FORMULA`](../commands-legacy/execute-formula.md) と [`EXECUTE METHOD`](../commands-legacy/execute-method.md) コマンドは除きます。これらはコマンドで指定されたメソッドのコンテキストを使用します。 また、ユーザー&グループテーマの読み出しコマンドはコンポーネントで使用することができますが、読み出されるのはホストプロジェクトのユーザー&グループ情報であることに注意してください (コンポーネントに固有のユーザー&グループはありません)。 -The [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands are an exception: their scope is global to the application. これらのコマンドがコンポーネントから呼び出されると、結果はホストプロジェクトに適用されます。 +[`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) および [`Get database parameter`](../commands-legacy/get-database-parameter.md) コマンドは例外となります: これらのコマンドのスコープはグローバルです。 これらのコマンドがコンポーネントから呼び出されると、結果はホストプロジェクトに適用されます。 さらに、`Structure file` と `Get 4D folder` コマンドは、コンポーネントで使用するための設定ができるようになっています。 -The [`COMPONENT LIST`](../commands-legacy/component-list.md) command can be used to obtain the list of components that are loaded by the host project. +[`COMPONENT LIST`](../commands-legacy/component-list.md) コマンドを使用して、ホストプロジェクトにロードされたコンポーネントのリストを取得できます。 ### 使用できないコマンド @@ -76,7 +76,7 @@ The [`COMPONENT LIST`](../commands-legacy/component-list.md) command can be used ![](../assets/en/Concepts/pict516563.en.png) -Once the project methods of the host projects are available to the components, you can execute a host method from inside a component using the [`EXECUTE FORMULA`](../commands-legacy/execute-formula.md) or [`EXECUTE METHOD`](../commands-legacy/execute-method.md) command. 例: +ホストプロジェクトのプロジェクトメソッドがコンポーネントから利用可能になっていれば、[`EXECUTE FORMULA`](../commands-legacy/execute-formula.md) または [`EXECUTE METHOD`](../commands-legacy/execute-method.md) コマンドを使用して、コンポーネント側からホストのメソッドを実行することができます。 例: ```4d // ホストメソッド @@ -141,21 +141,21 @@ $rect:=cs.eGeometry._Rectangle.new(10;20) > 非表示のクラス内の、非表示でない関数は、そのクラスを [継承](../Concepts/classes.md#継承) するクラスでコード補完を使用すると提案されます。 たとえば、あるコンポーネントに `_Person` クラスを継承した `Teacher` クラスがある場合、`Teacher` のコード補完では `_Person` の非表示でない関数が提案されます。 -## Editing components from the host +## ホストからコンポーネントを編集する -To facilitate component tuning in the actual context of host projects, you can directly modify and save the code of a loaded component from an interpreted host project. The component code is editable when the following conditions are met: +ホストプロジェクトの実際のコンテキストからコンポーネントをチューニングするのを容易にするために、ロードしたコンポーネントをインタープリターモードのホストプロジェクトから直接編集してそのコードを保存することが可能です。 コンポーネントのコードは、以下の条件を満たしている場合に編集可能です: -- the component has been [loaded in interpreted mode](../Project/components.md#interpreted-and-compiled-components), -- the component is not loaded from the [local cache of the Dependency manager](../Project/components.md#local-cache-for-dependencies), i.e. it is not [downloaded from GitHub](../Project/components.md#adding-a-github-dependency). +- コンポーネントが [インタープリタモードでロードされている](../Project/components.md#インタープリターとコンパイル済みコンポーネント)こと +- コンポーネントが[依存関係マネージャーのローカルキャッシュ](../Project/components.md#local-cache-for-dependencies) からロードされていないこと、つまり[GitHub からダウンロードされた](../Project/components.md#githubの依存関係の追加) ものではないこと。 -In this case, you can open, edit, and save your component code in the Code editor on the host project, so that modifications are immediately taken into account. +この場合、ホストプロジェクトのコードエディター内でコンポーネントのコードを開き、編集して、保存することができ、その変更は直ちに反映されます。 -In the Explorer, a specific icon indicates that the component code is editable:
    +エクスプローラーでは、コンポーネントのコードが編集可能であることを表す特定のアイコンが表示されます:
    ![](../assets/en/Develop/editable-component.png) :::warning -Only [exposed classes](#sharing-of-classes) and [shared methods](#sharing-of-project-methods) of your component can be edited. +編集できるのは、コンポーネントの[公開された関数](#クラスの共有) と [共有されたメソッド](#プロジェクトメソッドの共有)だけです。 ::: @@ -375,28 +375,28 @@ SAVE RECORD($tablepointer->) ## Info.plist -Components can have an `Info.plist` file at their [root folder](../Project/architecture.md) to provide extra information readable by the system (macOS only) and the [Dependency manager](../Project/components.md#loading-components). +コンポーネントは、その[root フォルダ](../Project/architecture.md) にシステム(macOS のみ)と[依存関係マネージャ](../Project/components.md#コンポーネントのロード)が読み取り可能な追加の情報を提供する、 `Info.plist` ファイルを持っています。 :::note -This file is not mandatory but is required to build [notarizeable and stapleable](../Desktop/building.md#about-notarization) components for macOS. It is thus automatically created at the [build step](../Desktop/building.md#build-component) if it does not already exist. Note that some keys can be set using a buildApp XML key (see [Build component](../Desktop/building.md#build-component)). +このファイルは必須ではありませんが、macOS 用の[公証可能でステープル可能な](../Desktop/building.md#ノータリゼーション-公証-について) コンポーネントをビルドするためには必要です。 そのため、これがまだ存在しない場合にはに[ビルド時に](../Desktop/building.md#build-component)自動的に作成されます。 一部のキーはbuildApp XML キーを使用して設定可能である点に留意してください([コンポーネントのビルド](../Desktop/building.md#コンポーネントをビルド) を参照してください)。 ::: -Keys supported in component `Info.plist` files are mostly [Apple bundle keys](https://developer.apple.com/documentation/bundleresources/information-property-list) which are ignored on Windows. However, they are used by the [Dependency manager](../Project/components.md#loading-components) on all platforms. +コンポーネントの`Info.plist` ファイル内でサポートされているキーは、大部分は[Apple bundle キー](https://developer.apple.com/documentation/bundleresources/information-property-list) であり、Windows 上では無視されます。 しかしながら、これらは全てのプラットフォームにおいて[依存関係マネージャ](../Project/components.md#コンポーネントの読み込み) によって使用されます。 -The folling keys can be defined: +定義可能なキーは以下の通りです: -| key | description | -| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| CFBundleName | Component name (internal) | -| CFBundleDisplayName | Component name to display | -| NSHumanReadableCopyright | Copyright to display | -| CFBundleVersion | Version of the component | -| CFBundleShortVersionString | Version of the component to display | -| com.4d.minSupportedVersion | Minimum supported 4D version, used by the Dependency manager for [component versions following 4D](../Project/components.md#naming-conventions-for-4d-version-tags) | +| key | description | +| ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| CFBundleName | コンポーネント名(内部) | +| CFBundleDisplayName | 表示するコンポーネント名 | +| NSHumanReadableCopyright | 表示する著作権 | +| CFBundleVersion | コンポーネントのバージョン | +| CFBundleShortVersionString | 表示するコンポーネントのバージョン | +| com.4d.minSupportedVersion | サポートされる最低限の4D のバージョン。これは依存関係マネージャの[4D のバージョンに従うコンポーネント](../Project/components.md#4Dバージョンタグの命名規則)において使用されます。 | -Here is an example of `Info.plist` file: +以下は、`Info.plist` ファイルの一例です: ```xml @@ -418,7 +418,7 @@ Here is an example of `Info.plist` file: ``` -On macOS, information is available from the finder: +macOS 上では、Finder からこの情報を見ることができます: ![](../assets/en/Develop/infoplist-component.png) @@ -435,6 +435,6 @@ On macOS, information is available from the finder: - 共有のプロジェクトメソッド、クラス、および関数は、ホストプロジェクトのメソッドから呼び出し可能です。共有のプロジェクトメソッドは、エクスプローラーのメソッドページにも表示されます。 しかし、その内容はプレビューエリアにもデバッガーにも表示されません。 - マトリクスプロジェクトの他のプロジェクトメソッドは一切表示されません。 -## Sharing your components on GitHub +## GitHub上でコンポーネントを共有する 開発したコンポーネントを [GitHub](https://github.com/topics/4d-component) で公開し、4D開発者のコミュニティをサポートすることをお勧めします。 正しく参照されるためには、**`4d-component`** トピックをご利用ください。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/overview.md index 80376df22de912..cadcbc1ad2715c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/overview.md @@ -9,16 +9,16 @@ title: 拡張機能 4D にはビルトインの 4Dコンポーネントがあらかじめ組み込まれており、エクスプローラーのメソッドページにて、**コンポーネントメソッド** テーマ内で確認することができます。 これらのコンポーネントはすべて、[4D github リポジトリ](https://github.com/4d) にもあります。 -| コンポーネント | 説明 | 主な機能 | -| -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| [4D AiIKit](https://github.com/4d/4D-AIKit) | Set of classes to connect to third-party OpenAI APIs | `OpenAIChat`, `OpenAIImage`... | -| [4D Labels](https://github.com/4d/4D-Labels) | ラベルテンプレートを作成するための内部コンポーネント | | -| [4D NetKit](https://developer.4d.com/4D-NetKit) | Set of web service tools to connect to third-party APIs | `OAuth2Provider` class, `New OAuth2 provider`, `OAuth2ProviderObject.getToken()` | -| [4D Progress](https://github.com/4d/4D-Progress) | 1つ以上の進捗バーを同じウィンドウで開く | `Progress New`, `Progress SET ON STOP METHOD`, `Progress SET PROGRESS`, ... | -| [4D SVG](https://github.com/4d/4D-SVG) | 一般的な svgグラフィックオブジェクトの作成・操作 | `SVGTool_Display_viewer`, 複数の `SVG_` メソッド | -| [4D ViewPro](ViewPro/getting-started.md) | フォームに追加できる表計算機能 | [4D View Pro ドキュメンテーション](ViewPro/getting-started.md) 参照。 | -| [4D Widgets](https://github.com/4d/4D-Widgets) | DatePicker, TimePicker, SearchPicker 4Dウィジェットの管理 | `DatePicker calendar`, `DateEntry area`, `TimeEntry`, `SearchPicker SET HELP TEXT`, ... | -| [4D WritePro Interface](https://github.com/4d/4D-WritePro-Interface) | Manage [4D Write Pro palettes](https://doc.4d.com/4Dv20R9/4D/20-R9/Entry-areas.300-7543821.en.html and [table wizard](../WritePro/writeprointerface.md#table-wizard) | `WP PictureSettings`, `WP ShowTabPages`, `WP SwitchToolbar`, `WP UpdateWidget` | +| コンポーネント | 説明 | 主な機能 | +| -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| [4D AiIKit](https://github.com/4d/4D-AIKit) | サードパーティのOpenAI API に接続するためのクラス群 | `OpenAIChat`, `OpenAIImage`... | +| [4D Labels](https://github.com/4d/4D-Labels) | ラベルテンプレートを作成するための内部コンポーネント | | +| [4D NetKit](https://developer.4d.com/4D-NetKit) | サードパーティAPI に接続するためのWeb サービスツール群 | `OAuth2Provider` class, `New OAuth2 provider`, `OAuth2ProviderObject.getToken()` | +| [4D Progress](https://github.com/4d/4D-Progress) | 1つ以上の進捗バーを同じウィンドウで開く | `Progress New`, `Progress SET ON STOP METHOD`, `Progress SET PROGRESS`, ... | +| [4D SVG](https://github.com/4d/4D-SVG) | 一般的な svgグラフィックオブジェクトの作成・操作 | `SVGTool_Display_viewer`, 複数の `SVG_` メソッド | +| [4D ViewPro](ViewPro/getting-started.md) | フォームに追加できる表計算機能 | [4D View Pro ドキュメンテーション](ViewPro/getting-started.md) 参照。 | +| [4D Widgets](https://github.com/4d/4D-Widgets) | DatePicker, TimePicker, SearchPicker 4Dウィジェットの管理 | `DatePicker calendar`, `DateEntry area`, `TimeEntry`, `SearchPicker SET HELP TEXT`, ... | +| [4D WritePro Interface](https://github.com/4d/4D-WritePro-Interface) | [4D Write Pro](https://doc.4d.com/4Dv20R9/4D/20-R9/Entry-areas.300-7543821.ja.html) パレットと [表ウィザード](../WritePro/writeprointerface.md#表ウィザード) の管理 | `WP PictureSettings`, `WP ShowTabPages`, `WP SwitchToolbar`, `WP UpdateWidget` | ## サードパーティーコンポーネント diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/formEditor.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/formEditor.md index 56585c9dd68488..2ba1526ec6f6b1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/formEditor.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/formEditor.md @@ -15,14 +15,14 @@ title: フォームエディター フォームのカレントページの大部分のインタフェース要素は、表示したり非表示にしたりすることができます。 - **継承されたフォーム**: 継承されたフォームオブジェクト ([継承されたフォーム](forms.md#継承フォーム) が存在する場合) -- **ページ0**: [ページ0](forms.md#フォームのページ) のオブジェクト。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 -- **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 +- **ページ0**: [ページ0](forms.md#フォームのページ) のオブジェクト。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 +- **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 - **ルーラー**: フォームエディターウィンドウのルーラー。 - **マーカー**: フォームのエリアを識別する出力コントロールラインとマーカー。 この要素は、[リストフォーム](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 - **マーカーラベル**: マーカーラベル。 これは出力コントロールラインが表示されている場合のみ有効です。 この要素は、[リストフォーム](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 - **境界**: フォームの境界。 このオプションが選択されていると、アプリケーションモードで表示されるとおりに、フォームがフォームエディターに表示されます。 これによりアプリケーションモードに移動しなくてもフォームを調整しやすくなります。 -> [**サイズを決めるもの**](properties_FormSize.md#サイズを決めるもの)、[**水平マージン**](properties_FormSize.md#水平マージン) そして [**垂直マージン**](properties_FormSize.md#垂直マージン) フォームプロパティ設定はフォーム境界に影響します。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 +> [**サイズを決めるもの**](properties_FormSize.md#サイズを決めるもの)、[**水平マージン**](properties_FormSize.md#水平マージン) そして [**垂直マージン**](properties_FormSize.md#垂直マージン) フォームプロパティ設定はフォーム境界に影響します。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 #### デフォルト表示 @@ -106,7 +106,7 @@ title: フォームエディター プロパティリストを使用して、フォームおよびオブジェクトプロパティを表示・変更できます。 エディター上でオブジェクト選択していればそのプロパティが、オブジェクトを選択していない場合はフォームのプロパティがプロパティリストに表示されます。 -プロパティリストを表示/非表示にするには、**フォーム** メニュー、またはフォームエディターのコンテキストメニューから **プロパティリスト** を選択します。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 +プロパティリストを表示/非表示にするには、**フォーム** メニュー、またはフォームエディターのコンテキストメニューから **プロパティリスト** を選択します。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 #### ショートカット @@ -126,7 +126,7 @@ title: フォームエディター フォームにオブジェクトを追加する方法は複数あります: -- By drawing the object directly in the form after selecting its type in the object bar (see [Using the object bar](#object-bar)) +- オブジェクトバーでオブジェクトタイプを選択し、フォームエディター上で直接それを描画する ([オブジェクトバーを使用する](#オブジェクトバー) 参照)。 - オブジェクトバーからオブジェクトをドラッグ&ドロップする。 - 定義済み [オブジェクトライブラリ](objectLibrary.md) から選択したオブジェクトをドラッグ&ドロップあるいはコピー/ペーストする。 - 他のフォームからオブジェクトをドラッグ&ドロップする。 @@ -150,7 +150,7 @@ title: フォームエディター

    マウスカーソルをフォームエリアに移動すると、カーソルは標準の矢印の形をしたポインターに変わります

    。 -2. 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 サイズ変更ハンドルが表示され、オブジェクトが選択されたことを表わします。

    ![](../assets/en/FormEditor/selectResize.png)

    +2. 選択したいオブジェクトをクリックします。 サイズ変更ハンドルが表示され、オブジェクトが選択されたことを表わします。

    ![](../assets/en/FormEditor/selectResize.png)

    プロパティリストを使用してオブジェクトを選択するには: @@ -232,7 +232,7 @@ title: フォームエディター グループ化を解除すると、再び個々にオブジェクトを扱えるようになります。 -グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 しかし、グループに属するオブジェクトを、グループ化を解除せずに選択することは可能です。 これには、オブジェクトを **Ctrl+クリック** (Windows) または **Command+クリック** (macOS) します (グループはあらかじめ選択されている必要があります)。 +グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 しかし、グループに属するオブジェクトを、グループ化を解除せずに選択することは可能です。 これには、オブジェクトを **Ctrl+クリック** (Windows) または **Command+クリック** (macOS) します (グループはあらかじめ選択されている必要があります)。 グループ化はフォームエディター上でのみ意味を持ちます。 フォームの実行中は、グループ化されたすべてのオブジェクトが、グループ化されていないのと同じに動作します。 @@ -241,8 +241,9 @@ title: フォームエディター オブジェクトをグループ化するには: 1. グループ化したいオブジェクトを選択します。 -2. オブジェクトメニューから **グループ化** を選択します。 オブジェクトメニューから **グループ化** を選択します。 オブジェクトメニューから **グループ化** を選択します。
    または
    フォームエディターのツールバーでグループ化ボタンをクリックします。

    ![](../assets/en/FormEditor/group.png)

    - 4D は、新たにグループ化されたオブジェクトの境界をハンドルで表わします。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 +2. オブジェクトメニューから **グループ化** を選択します。 または + フォームエディターのツールバーでグループ化ボタンをクリックします。

    ![](../assets/en/FormEditor/group.png)

    + 4D は、新たにグループ化されたオブジェクトの境界をハンドルで表わします。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 オブジェクトのグループ化を解除するには: @@ -314,22 +315,22 @@ title: フォームエディター 1. 3つ以上のオブジェクトを選択し、希望する均等配置ツールをクリックします。 -2. 適用したい均等配置に対応する整列ツールをツールバー上で選択します。

    ![](../assets/en/FormEditor/distributionTool.png)

    または

    **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから均等揃えメニューコマンドを選択します。

    4D は各オブジェクトを均等に配置します。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 +2. 適用したい均等配置に対応する整列ツールをツールバー上で選択します。

    ![](../assets/en/FormEditor/distributionTool.png)

    または

    **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから均等揃えメニューコマンドを選択します。

    4D は各オブジェクトを均等に配置します。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 "整列と均等配置" ダイアログボックスを用いてオブジェクトを均等に配置するには: 1. 均等配置したいオブジェクトを選択します。 -2. **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから **整列...** コマンドを選択します。 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: [](../assets/en/FormEditor/alignmentAssistant.png) +2. **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから **整列...** コマンドを選択します。 次のダイアログボックスが表示されます: [](../assets/en/FormEditor/alignmentAssistant.png) 3. "左/右整列" や "上/下整列" エリアで、標準の均等配置アイコンをクリックします: ![](../assets/en/FormEditor/horizontalDistribution.png)

    (標準の横均等揃えアイコン)

    見本エリアには、選択結果が表示されます。 -4. 標準の均等配置を実行するには、**プレビュー** または *適用* をクリックします。

    この場合、4D は標準の均等配置を実行し、オブジェクトは等間隔で配置されます。

    または:

    特定の均等配置を実行するには、**均等配置** オプションを選択します (たとえば各オブジェクトの右辺までの距離をもとにしてオブジェクトを均等に配置したい場合)。 このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    +4. 標準の均等配置を実行するには、**プレビュー** または *適用* をクリックします。

    この場合、4D は標準の均等配置を実行し、オブジェクトは等間隔で配置されます。

    または:

    特定の均等配置を実行するには、**均等配置** オプションを選択します (たとえば各オブジェクトの右辺までの距離をもとにしてオブジェクトを均等に配置したい場合)。 このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    - 左/右整列の場合、各アイコンは次の均等配置に対応します: 選択オブジェクトの左辺、中央 (横)、 右辺で均等に揃えます。 - 上/下整列の場合、各アイコンは次の均等配置に対応します: 選択オブジェクトの上辺、中央 (縦)、 下辺で均等に揃えます。 -**プレビュー** ボタンをクリックすると、この設定による結果をプレビューすることができます。 この表示はフォームエディター上で実行されますが、ダイアログボックスは前面に表示されたままです。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 +**プレビュー** ボタンをクリックすると、この設定による結果をプレビューすることができます。 この表示はフォームエディター上で実行されますが、ダイアログボックスは前面に表示されたままです。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 > 整列アシスタントを使用すると、1回の操作でオブジェクトの整列や均等配置をおこなえます。 オブジェクトを均等配置する方法についての詳細は、[オブジェクトの均等配置](#オブジェクトの均等配置) を参照ください。 @@ -353,7 +354,7 @@ title: フォームエディター ### データの入力順 -データ入力順とは、入力フォームで **Tab**キーや **改行**キーを押したときに、フィールドやサブフォーム、その他のアクティブオブジェクトが選択される順番のことです。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 +データ入力順とは、入力フォームで **Tab** キーや **改行**キーを押したときに、フィールドやサブフォーム、その他のアクティブオブジェクトが選択される順番のことです。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 > 入力順は、`FORM SET ENTRY ORDER` および `FORM GET ENTRY ORDER` コマンドを使用することでランタイムで変更することができます。 @@ -389,7 +390,7 @@ JSONフォームの入力順序の設定は、[`entryOrder`](properties_JSONref. 4. 入力順の設定が終了したら、ツールバーの他のツールをクリックするか、**フォーム** メニューから **入力順** を選択します。 4Dは、フォームエディターの通常操作に戻ります。 -> フォームのカレントページの入力順だけが表示されます。 フォームのカレントページの入力順だけが表示されます。 フォームのカレントページの入力順だけが表示されます。 フォームのカレントページの入力順だけが表示されます。 フォームのページ0 や継承フォームに入力可オブジェクトが含まれている場合、デフォルトの入力順は次のようになります: 継承フォームのページ0 のオブジェクト→ 継承フォームのページ1 のオブジェクト→ 開かれているフォームのページ0 のオブジェクト→ 開かれているフォームのカレントページのオブジェクト。 +> フォームのカレントページの入力順だけが表示されます。 フォームのページ0 や継承フォームに入力可オブジェクトが含まれている場合、デフォルトの入力順は次のようになります: 継承フォームのページ0 のオブジェクト→ 継承フォームのページ1 のオブジェクト→ 開かれているフォームのページ0 のオブジェクト→ 開かれているフォームのカレントページのオブジェクト。 #### データ入力グループを使用する @@ -457,7 +458,7 @@ stroke: #800080; ![](../assets/en/FormEditor/cssPpropList.png) -スタイルシートで定義された属性値は、JSONフォームの記述でオーバーライドすることができます (ただし、CSS に `!important` 宣言が含まれている場合は除きます。 後述参照)。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 +スタイルシートで定義された属性値は、JSONフォームの記述でオーバーライドすることができます (ただし、CSS に `!important` 宣言が含まれている場合は除きます。 後述参照)。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 > [カレントビュー](#ビューを使い始める前に) は太字で表示されます。 @@ -471,7 +472,7 @@ stroke: #800080; ## リストボックスビルダー -**リストボックスビルダー** を使用して、エンティティセレクション型リストボックスを素早く作成することができます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 +**リストボックスビルダー** を使用して、エンティティセレクション型リストボックスを素早く作成することができます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 リストボックスビルダーでは、いくつかの簡単な操作で、エンティティセレクション型リストボックスの作成と入力ができます。 @@ -517,7 +518,7 @@ stroke: #800080; ## フィールドを挿入 -**フィールドを挿入** ボタンは、テーブルフォームにおいて、親テーブルの全フィールド (オブジェクト型と BLOB型を除く) をインターフェース標準に従ってラベル付きで挿入します。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 +**フィールドを挿入** ボタンは、テーブルフォームにおいて、親テーブルの全フィールド (オブジェクト型と BLOB型を除く) をインターフェース標準に従ってラベル付きで挿入します。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 **フィールドを挿入** ボタンは、テーブルフォームでのみ利用可能です。 @@ -582,7 +583,7 @@ stroke: #800080; ビューパレットを表示するには、次の 3つの方法があります: -- **ツールバー**: フォームエディターのツールバーにあるビューボタンをクリックする。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 +- **ツールバー**: フォームエディターのツールバーにあるビューボタンをクリックする。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 | デフォルトビューのみ | 追加のビューあり | | :-----------------------------------------------------: | :---------------------------------------------------: | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/forms.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/forms.md index 8255c6c22f4857..5ced8fbcb3e9a5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/forms.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/forms.md @@ -10,7 +10,7 @@ title: Forms また、以下の機能により、フォームは他のフォームを含むことができます: - [サブフォームオブジェクト](FormObjects/subform_overview.md) -- [inherited forms](./properties_FormProperties.md#inherited-form-name) +- [継承されたフォーム](./properties_FormProperties.md#継承するフォーム名) ## フォームを作成する @@ -18,7 +18,7 @@ title: Forms - **4D Developer インターフェース:** **ファイル** メニューまたは **エクスプローラ** ウィンドウから新規フォームを作成できます。 - **フォームエディター**: フォームの編集は **[フォームエディター](FormEditor/formEditor.md)** を使っておこないます。 -- **JSON code:** Create and design your forms using JSON and save the form files at the [appropriate location](Project/architecture#sources). 例: +- **JSON コード:** JSON を使ってフォームを作成・設計し、フォーム ファイルを [適切な場所](Project/architecture.md#sources) に保存します。 例: ``` { @@ -87,7 +87,7 @@ title: Forms - もっとも重要な情報を最初のページに配置し、他の情報を後ろのページに配置する。 - トピックごとに、専用ページにまとめる。 -- Reduce or eliminate scrolling during data entry by setting the [entry order](formEditor.md#data-entry-order). +- [入力順](formEditor.md#データの入力順)を設定して、データ入力中のスクロール動作を少なくしたり、または不要にする。 - フォーム要素の周りの空間を広げ、洗練された画面をデザインする。 複数ページは入力フォームとして使用する場合にのみ役立ちます。 印刷出力には向きません。 マルチページフォームを印刷すると、最初のページしか印刷されません。 @@ -111,7 +111,7 @@ title: Forms 3. 開かれたフォームの 0ページ 4. 開かれたフォームのカレントページ -This order determines the default [entry order](formEditor.md#data-entry-order) of objects in the form. +この順番はフォーム内でのオブジェクトのデフォルトの[入力順](formEditor.md#データ入力順) を決定します。 > 継承フォームの 0ページと 1ページだけが他のフォームに表示可能です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/macros.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/macros.md index e7e02ab5966960..2957ab4f5948ec 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/macros.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/macros.md @@ -76,7 +76,7 @@ Function onInvoke($editor : Object)->$result : Object ![](../assets/en/FormEditor/macroSelect.png) -This menu is built upon the `formMacros.json` [macro definition file(s)](#location-of-macro-file). マクロメニュー項目は ABC順に表示されます。 +このメニューは `formMacros.json` [マクロ定義ファイル](#マクロファイルの場所) をもとに作成されています。 マクロメニュー項目は ABC順に表示されます。 このメニューは、フォームエディター内で右クリックにより開くことができます。 選択オブジェクトがある状態や、フォームオブジェクトの上でマクロを呼び出した場合は、それらのオブジェクト名がマクロの [`onInvoke`](#oninvoke) 関数の `$editor.currentSelection` や `$editor.target` パラメーターに受け渡されます。 @@ -140,7 +140,7 @@ JSONファイルの説明です: プロジェクトおよびコンポーネントにおいてインスタンス化するマクロは、それぞれ [4Dクラス](Concepts/classes.md) として宣言する必要があります。 -The class name must match the name defined using the [class](#declaring-macros) attribute of the `formMacros.json` file. +クラスの名称は、`formMacros.json` ファイルで [class](#マクロの宣言) 属性に定義した名前と同一でなくてはなりません。 マクロは、アプリケーションの起動時にインスタンス化されます。 そのため、関数の追加やパラメーターの編集など、マクロクラスの構造や その [コンストラクター](#class-constructor) になんらかの変更を加えた場合には、それらを反映するにはアプリケーションを再起動する必要があります。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/objectLibrary.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/objectLibrary.md index 93e76ce9e184ae..6f1a309ce8305e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/objectLibrary.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/objectLibrary.md @@ -31,7 +31,7 @@ title: オブジェクトライブラリ 設定済みオブジェクトライブラリは変更できません。 デフォルトオブジェクトを編集したり、設定済みオブジェクトやフォームのライブラリを独自に作るには、カスタムオブジェクトライブラリを作成します (後述参照)。 -All objects proposed in the standard object library are described on [this section](../FormEditor/objectLibrary.md). +標準のオブジェクトライブラリにて提供されているオブジェクトについては[このセクション](../FormEditor/objectLibrary.md) で詳しく説明されています。 ## カスタムオブジェクトライブラリの作成と使用 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/pictures.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/pictures.md index ceec8a6608e990..d7a5c33495fc8d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/pictures.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/pictures.md @@ -57,10 +57,10 @@ title: ピクチャー 高解像度が自動的に優先されますが、スクリーンやピクチャーの dpi *(\*)*、およびピクチャー形式によって、動作に違いが生じることがあります: -| 演算 | 動作 | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| ドロップ、ペースト | ピクチャーの設定:
    • **72dpi または 96dpi** - ピクチャーは "[中央合わせ]"(FormObjects/properties_Picture.md#中央合わせ--トランケート-中央合わせしない) 表示され、ピクチャーを表示しているオブジェクトは同じピクセル数です。
    • **その他の dpi** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示され、ピクチャーを表示しているオブジェクトのピクセル数は (ピクチャーのピクセル数 / ピクチャーの dpi) \* (スクリーンの dpi) です。
    • **dpi なし** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示されます。
    | -| [Automatic Size](https://doc.4d.com/4Dv20/4D/20.2/Setting-object-display-properties.300-6750143.en.html#148057) (Form Editor context menu) | If the picture's display format is:
    • **[Scaled](FormObjects/properties_Picture.md#scaled-to-fit)** - The object containing the picture is resized according to (picture's number of pixels \* screen dpi) / (picture's dpi)
    • **Not scaled** - The object containing the picture has the same number of pixels as the picture.
    | +| 演算 | 動作 | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| ドロップ、ペースト | ピクチャーの設定:
    • **72dpi または 96dpi** - ピクチャーは "[中央合わせ]"(FormObjects/properties_Picture.md#中央合わせ--トランケート-中央合わせしない) 表示され、ピクチャーを表示しているオブジェクトは同じピクセル数です。
    • **その他の dpi** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示され、ピクチャーを表示しているオブジェクトのピクセル数は (ピクチャーのピクセル数 / ピクチャーの dpi) \* (スクリーンの dpi) です。
    • **dpi なし** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示されます。
    | +| [自動サイズ](https://doc.4d.com/4Dv20/4D/20.2/Setting-object-display-properties.300-6750143.ja.html#148057) (フォームエディターのコンテキストメニュー) | ピクチャーの表示が:
    • **[スケーリング]](FormObjects/properties_Picture.md#スケーリング)** - ピクチャーを表示しているオブジェクトのピクセル数は (ピクチャーのピクセル数 / ピクチャーの dpi) \* (スクリーンの dpi) にリサイズされます。
    • **スケーリング以外** - ピクチャーを表示しているオブジェクトは、ピクチャーと同じピクセル数です。
    | *(\*) 通常は macOS = 72dpi, Windows = 96dpi* @@ -73,7 +73,7 @@ title: ピクチャー - ダークモードピクチャーは、標準 (ライトスキーム) バージョンと同じ名前で、"_dark "という接尾辞が付きます。 - ダークモードピクチャーは、標準バージョンの隣に保存します。 -At runtime, 4D will automatically load the light or dark image according to the [current form color scheme](../FormEditor/properties_FormProperties.md#color-scheme). +ランタイム時に、4D は [現在のフォームのカラースキーム](../FormEditor/properties_FormProperties.md#カラースキーム) に応じて、ライト用またはダーク用のピクチャーを自動的にロードします。 ![](../assets/en/FormEditor/darkicon.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_Action.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_Action.md index 7e3b591d167a86..0e3140ceb1c68a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_Action.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_Action.md @@ -5,7 +5,7 @@ title: 動作 ## メソッド -フォームに関連づけられたメソッドへの参照。 フォームメソッドを使用してデータとオブジェクトを管理することができます。ただし、これら目的には、オブジェクトメソッドを使用する方が通常は簡単であり、より効果的です。 See [methods](../Concepts/methods.md). +フォームに関連づけられたメソッドへの参照。 フォームメソッドを使用してデータとオブジェクトを管理することができます。ただし、これら目的には、オブジェクトメソッドを使用する方が通常は簡単であり、より効果的です。 詳細は[メソッド](../Concepts/methods.md) を参照してください。 メソッドが関連づけられているフォームに関わるイベントが発生した場合、4D は自動的にフォームメソッドを呼び出します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md index 988880498a759f..43fe0659bea9aa 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md @@ -9,7 +9,7 @@ title: フォームプロパティ > 配色プロパティは、macOS でのみ適用されます。 -このプロパティは、フォームのカラースキームを定義します。 このプロパティは、フォームのカラースキームを定義します。 このプロパティが設定されていない場合のデフォルトでは、カラースキームの値は **継承済み** です (フォームは [アプリケーションレベル](../commands-legacy/set-application-color-scheme.md) で定義されたカラースキームを使用します)。 これは、フォームに対して以下の 2つのオプションのいずれかに変更することができます: これは、フォームに対して以下の 2つのオプションのいずれかに変更することができます: +このプロパティは、フォームのカラースキームを定義します。 このプロパティが設定されていない場合のデフォルトでは、カラースキームの値は **継承済み** です (フォームは [アプリケーションレベル](../commands-legacy/set-application-color-scheme.md) で定義されたカラースキームを使用します)。 これは、フォームに対して以下の 2つのオプションのいずれかに変更することができます: - dark - 暗い背景に明るいテキスト - light - 明るい背景に暗いテキスト @@ -52,7 +52,7 @@ title: フォームプロパティ - またコードエディター内での[自動補完機能](../code-editor/write-class-method.md#autocomplete-functions) を利用することもできます。 -- フォームが実行されると、4D は自動的にユーザークラスのオブジェクトをフォームに対してインスタンス化し、これは[`Form`](../commands/form.md) オブジェクトによって返されます。 Your code can directly access class functions defined in the user class through the `Form` command (e.g. `Form.message()`) without having to pass a *formData* object as parameter to the [`DIALOG`](../commands/dialog.md), [`Print form`](../commands/print-form.md), [`FORM LOAD`](../commands/form-load.md), and [`PRINT SELECTION`](../commands-legacy/print-selection.md) commands. +- フォームが実行されると、4D は自動的にユーザークラスのオブジェクトをフォームに対してインスタンス化し、これは[`Form`](../commands/form.md) オブジェクトによって返されます。 これにより、[`DIALOG`](../commands/dialog.md)、[`Print form`](../commands/print-form.md)、[`FORM LOAD`](../commands/form-load.md) あるいは [`PRINT SELECTION`](../commands-legacy/print-selection.md) といったコマンドに*formData* オブジェクトを渡さなくても、コードから`Form` コマンドを通してユーザークラスで定義されたクラス関数へと直接アクセスすることができます(例:`Form.message()`) 。 :::note @@ -74,7 +74,7 @@ title: フォームプロパティ #### JSON 文法 -フォーム名は、form.4Dform ファイルを格納するフォルダーの名前で定義されます。 See [project architecture](Project/architecture#sources) for more information. +フォーム名は、form.4Dform ファイルを格納するフォルダーの名前で定義されます。 詳しくは [プロジェクトのアーキテクチャー](Project/architecture.md#sources) を参照ください。 --- @@ -176,7 +176,7 @@ title: フォームプロパティ - カレントページ - それぞれのフォームオブジェクトの配置・大きさ・表示状態 (リストボックス列のサイズと表示状態も含む)。 -> このオプションは、`OBJECT DUPLICATE` コマンドを使用して作成されたオブジェクトに対しては無効です。 このコマンドを使用したときに使用環境を復元させるには、デベロッパーがオブジェクトの作成・定義・配置の手順を再現しなければなりません。 このコマンドを使用したときに使用環境を復元させるには、デベロッパーがオブジェクトの作成・定義・配置の手順を再現しなければなりません。 +> このオプションは、`OBJECT DUPLICATE` コマンドを使用して作成されたオブジェクトに対しては無効です。 このコマンドを使用したときに使用環境を復元させるには、デベロッパーがオブジェクトの作成・定義・配置の手順を再現しなければなりません。 このオプションが選択されているとき、一部のオブジェクトに置いては [値を記憶](FormObjects/properties_Object.md#値を記憶) のオプションが選択可能になります。 @@ -200,7 +200,7 @@ title: フォームプロパティ - Resourcesフォルダーに保存された、標準の XLIFF参照 - テーブル/フィールドラベル: 適用できるシンタックスは `` または `` です。 -- 変数またはフィールド: 適用できるシンタックスは `\` または `\<[TableName]FieldName>`。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 +- 変数またはフィールド: 適用できるシンタックスは `\` または `\<[TableName]FieldName>`。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 > ウィンドウタイトルの最大文字数は 31 です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_JSONref.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_JSONref.md index 0ef8b525325939..d09abd2875c5e1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_JSONref.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_JSONref.md @@ -9,46 +9,46 @@ title: フォーム JSON プロパティリスト [b](#b) - [c](#c) - [d](#d) - [e](#e) - [f](#f) - [h](#h) - [i](#i) - [m](#m) - [p](#p) - [r](#r) - [s](#s) - [w](#w) -| プロパティ | 説明 | とりうる値 | -| --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **b** | | | -| [`bottomMargin`](properties_FormSize.md#垂直-マージン) | 垂直マージン値 (ピクセル単位) | 最小値: 0 | -| **c** | | | -| [`colorScheme`](properties_FormProperties.md#カラースキーム) | フォームのカラースキーム | "dark", "light" | -| [`css`](properties_FormProperties.md#css) | フォームが使用する CSSファイル | 文字列、文字列のコレクション、または "path" と "media" プロパティを持つオブジェクトのコレクションとして提供される CSSファイルパス。 | -| **d** | | | -| [`destination`](properties_FormProperties.md#フォームタイプ) | フォームタイプ | "detailScreen", "listScreen", "detailPrinter", "listPrinter" | -| **e** | | | -| [`entryOrder`](formEditor.md#データの入力順) | 入力フォームで **Tab**キーや **改行**キーが使用されたときに、アクティブオブジェクトが選択される順番。 | 4Dフォームオブジェクト名のコレクション | -| [`events`](Events/overview.md) | オブジェクトまたはフォームについて選択されているイベントのリスト | イベント名のコレクション。例: ["onClick","onDataChange"...]. | -| **f** | | | -| [`formSizeAnchor`](./properties_FormSize.md#size-based-on) | フォームサイズを定義するために使用するオブジェクトの名前 (最小長さ: 1) (最小長さ: 1) | 4Dオブジェクトの名前 | -| **h** | | | -| [`height`](properties_FormSize.md#高さ) | フォームの高さ | 最小値: 0 | -| **i** | | | -| [`inheritedForm`](properties_FormProperties.md#継承されたフォーム名) | 継承フォームを指定します | テーブルまたはプロジェクトフォームの名前 (文字列), フォームを定義する .json ファイルへの POSIX パス (文字列), またはフォームを定義するオブジェクト | -| [`inheritedFormTable`](properties_FormProperties.md#継承されたフォームテーブル) | 継承フォームがテーブルに属していれば、そのテーブル | テーブル名またはテーブル番号 | -| **m** | | | -| [`markerBody`](properties_Markers.md#フォーム詳細) | 詳細マーカーの位置 | 最小値: 0 | -| [`markerBreak`](properties_Markers.md#フォームブレーク) | ブレークマーカーの位置 | 最小値: 0 | -| [`markerFooter`](properties_Markers.md#フォームフッター) | フッターマーカーの位置 | 最小値: 0 | -| [`markerHeader`](properties_Markers.md#form-header) | ヘッダーマーカーの位置 | 最小値 (整数): 0; 最小値 (整数配列): 0 | -| [`memorizeGeometry`](properties_FormProperties.md#save-geometry) | フォームウィンドウが閉じられた時に、フォームパラメーターを記憶 | true, false | -| [`menuBar`](properties_Menu.md#連結メニューバー) | フォームと関連づけるメニューバー | 有効なメニューバーの名称 | -| [`method`](properties_Action.md#メソッド) | プロジェクトメソッド名 | 存在するプロジェクトメソッドの名前 | -| **p** | | | -| [`pages`](properties_FormProperties.md#pages) | ページのコレクション (各ページはオブジェクトです) | ページオブジェクト | -| [`pageFormat`](properties_Print.md#設定) | object | 利用可能な印刷プロパティ | -| **r** | | | -| [`rightMargin`](properties_FormSize.md#水平-マージン) | 水平マージン値 (ピクセル単位) | 最小値: 0 | -| **s** | | | -| [`shared`](properties_FormProperties.md#サブフォームとして公開) | フォームがサブフォームとして利用可能かを指定します | true, false | -| **w** | | | -| [`width`](properties_FormSize.md#幅) | フォームの幅 | 最小値: 0 | -| [`windowMaxHeight`](properties_WindowSize.md#maximum-height-minimum-height) | フォームウィンドウの最大高さ | 最小値: 0 | -| [`windowMaxWidth`](properties_WindowSize.md#maximum-width-minimum-width) | フォームウィンドウの最大幅 | 最小値: 0 | -| [`windowMinHeight`](properties_WindowSize.md#maximum-height-minimum-height) | フォームウィンドウの最小高さ | 最小値: 0 | -| [`windowMinWidth`](properties_WindowSize.md#maximum-width-minimum-width) | フォームウィンドウの最小幅 | 最小値: 0 | -| [`windowSizingX`](properties_WindowSize.md#固定幅) | フォームウィンドウの高さ固定 | "fixed", "variable" | -| [`windowSizingY`](properties_WindowSize.md#固定高さ) | フォームウィンドウの幅固定 | "fixed", "variable" | -| [`windowTitle`](properties_FormProperties.md#ウィンドウタイトル) | フォームウィンドウのタイトルを指定します | フォームウィンドウの名前。 | \ No newline at end of file +| プロパティ | 説明 | とりうる値 | +| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **b** | | | +| [`bottomMargin`](properties_FormSize.md#垂直-マージン) | 垂直マージン値 (ピクセル単位) | 最小値: 0 | +| **c** | | | +| [`colorScheme`](properties_FormProperties.md#カラースキーム) | フォームのカラースキーム | "dark", "light" | +| [`css`](properties_FormProperties.md#css) | フォームが使用する CSSファイル | 文字列、文字列のコレクション、または "path" と "media" プロパティを持つオブジェクトのコレクションとして提供される CSSファイルパス。 | +| **d** | | | +| [`destination`](properties_FormProperties.md#フォームタイプ) | フォームタイプ | "detailScreen", "listScreen", "detailPrinter", "listPrinter" | +| **e** | | | +| [`entryOrder`](formEditor.md#データの入力順) | 入力フォームで **Tab**キーや **改行**キーが使用されたときに、アクティブオブジェクトが選択される順番。 | 4Dフォームオブジェクト名のコレクション | +| [`events`](Events/overview.md) | オブジェクトまたはフォームについて選択されているイベントのリスト | イベント名のコレクション。例: ["onClick","onDataChange"...]. | +| **f** | | | +| [`formSizeAnchor`](./properties_FormSize.md#サイズを決めるもの) | フォームサイズを定義するために使用するオブジェクトの名前 (最小長さ: 1) (最小長さ: 1) | 4Dオブジェクトの名前 | +| **h** | | | +| [`height`](properties_FormSize.md#高さ) | フォームの高さ | 最小値: 0 | +| **i** | | | +| [`inheritedForm`](properties_FormProperties.md#継承されたフォーム名) | 継承フォームを指定します | テーブルまたはプロジェクトフォームの名前 (文字列), フォームを定義する .json ファイルへの POSIX パス (文字列), またはフォームを定義するオブジェクト | +| [`inheritedFormTable`](properties_FormProperties.md#継承されたフォームテーブル) | 継承フォームがテーブルに属していれば、そのテーブル | テーブル名またはテーブル番号 | +| **m** | | | +| [`markerBody`](properties_Markers.md#フォーム詳細) | 詳細マーカーの位置 | 最小値: 0 | +| [`markerBreak`](properties_Markers.md#フォームブレーク) | ブレークマーカーの位置 | 最小値: 0 | +| [`markerFooter`](properties_Markers.md#フォームフッター) | フッターマーカーの位置 | 最小値: 0 | +| [`markerHeader`](properties_Markers.md#フォームヘッダー) | ヘッダーマーカーの位置 | 最小値 (整数): 0; 最小値 (整数配列): 0 | +| [`memorizeGeometry`](properties_FormProperties.md#配置を記憶) | フォームウィンドウが閉じられた時に、フォームパラメーターを記憶 | true, false | +| [`menuBar`](properties_Menu.md#連結メニューバー) | フォームと関連づけるメニューバー | 有効なメニューバーの名称 | +| [`method`](properties_Action.md#メソッド) | プロジェクトメソッド名 | 存在するプロジェクトメソッドの名前 | +| **p** | | | +| [`pages`](properties_FormProperties.md#pages) | ページのコレクション (各ページはオブジェクトです) | ページオブジェクト | +| [`pageFormat`](properties_Print.md#設定) | object | 利用可能な印刷プロパティ | +| **r** | | | +| [`rightMargin`](properties_FormSize.md#水平-マージン) | 水平マージン値 (ピクセル単位) | 最小値: 0 | +| **s** | | | +| [`shared`](properties_FormProperties.md#サブフォームとして公開) | フォームがサブフォームとして利用可能かを指定します | true, false | +| **w** | | | +| [`width`](properties_FormSize.md#幅) | フォームの幅 | 最小値: 0 | +| [`windowMaxHeight`](properties_WindowSize.md#最大高さ-最小高さ) | フォームウィンドウの最大高さ | 最小値: 0 | +| [`windowMaxWidth`](properties_WindowSize.md#最大幅-最小幅) | フォームウィンドウの最大幅 | 最小値: 0 | +| [`windowMinHeight`](properties_WindowSize.md#最大高さ-最小高さ) | フォームウィンドウの最小高さ | 最小値: 0 | +| [`windowMinWidth`](properties_WindowSize.md#最大幅-最小幅) | フォームウィンドウの最小幅 | 最小値: 0 | +| [`windowSizingX`](properties_WindowSize.md#固定幅) | フォームウィンドウの高さ固定 | "fixed", "variable" | +| [`windowSizingY`](properties_WindowSize.md#固定高さ) | フォームウィンドウの幅固定 | "fixed", "variable" | +| [`windowTitle`](properties_FormProperties.md#ウィンドウタイトル) | フォームウィンドウのタイトルを指定します | フォームウィンドウの名前。 | \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/buttonGrid_overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/buttonGrid_overview.md index 5ec56d8591a0d4..f558d1987fb951 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/buttonGrid_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/buttonGrid_overview.md @@ -25,7 +25,7 @@ title: ボタングリッド ### ページ指定アクション -You can assign the `gotoPage` [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) to a button grid. この標準アクションを設定すると、4D はボタングリッドで選択されたボタンの番号に相当するフォームページを自動的に表示します。 たとえばグリッド上の 10 番目のボタンを選択すると、4D は現在のフォームの 10 ページ目を表示します (存在する場合)。 +ボタングリッドにページ指定用の `gotoPage` [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html)を割り当てることができます。 この標準アクションを設定すると、4D はボタングリッドで選択されたボタンの番号に相当するフォームページを自動的に表示します。 たとえばグリッド上の 10 番目のボタンを選択すると、4D は現在のフォームの 10 ページ目を表示します (存在する場合)。 ## プロパティ一覧 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/button_overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/button_overview.md index 800397b8008fc5..140ef2176163a2 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/button_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/button_overview.md @@ -15,7 +15,7 @@ title: ボタン フォーム実行時、標準アクションが設定されたボタンは必要に応じてグレー表示されます。 たとえば、あるテーブルの1番目のレコードが表示されていると、先頭レコード (`firstRecord`) 標準アクションがついたボタンはグレー表示されます。 -If you want a button to perform an action that's not available as a standard action, leave the standard action field empty and write an [object method to specify the button’s action](../FormObjects/properties_Action.md#method). +標準アクションとして提供されていない動作をボタンに実行させたい場合には、標準アクションのフィールドは空欄にしておき、 [ボタンのアクションを指定するオブジェクトメソッドを書きます](../FormObjects/properties_Action.md#メソッド)。 通常は、イベントテーマで `On Clicked` イベントを有効にして、ボタンのクリック時にのみメソッドを実行します。 どのタイプのボタンにもメソッドを割り当てることができます。 ボタンに関連付けられた変数 ([variable](properties_Object.md#変数あるいは式) 属性) は、デザインモードやアプリケーションモードでフォームが初めて開かれるときに自動で **0** に初期化されます。 ボタンをクリックすると、変数の値は **1** になります。 @@ -325,7 +325,7 @@ Windows の場合、サークルは表示されません。 すべてのボタンは次の基本プロパティを共有します: -[Bold](properties_Text.md#bold) - [Border Line Style](properties_BackgroundAndBorder.md#border-line-style) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Button Style](properties_TextAndPicture.md#button-style) - [Class](properties_Object.md#css-class) - [Droppable](properties_Action.md#droppable) - [Focusable](properties_Entry.md#focusable) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Italic](properties_Text.md#italic) - [Image hugs title](properties_TextAndPicture.md#image-hugs-title)(1) - [Left](properties_CoordinatesAndSizing.md#left) - [Not rendered](properties_Display.md#not-rendered) - [Number of States](properties_TextAndPicture.md#number-of-states)(1) - [Object Name](properties_Object.md#object-name) - [Picture pathname](properties_TextAndPicture.md#picture-pathname)(1) - [Right](properties_CoordinatesAndSizing.md#right) - [Shortcut](properties_Entry.md#shortcut) - [Standard action](properties_Action.md#standard-action) - [Title](properties_Object.md#title) - [Title/Picture Position](properties_TextAndPicture.md#titlepicture-position)(1) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) - [With pop-up menu](properties_TextAndPicture.md#with-pop-up-menu)(2) +[タイプ](properties_Object.md#タイプ) - [オブジェクト名](properties_Object.md#オブジェクト名) - [変数あるいは式](properties_Object.md#変数あるいは式) - [タイトル](properties_Object.md#タイトル) - [CSSクラス](properties_Object.md#cssclass) - [ボタンスタイル](properties_TextAndPicture.md#ボタンスタイル) - [ピクチャーパス名](properties_TextAndPicture.md#ピクチャーパス名)(1) - [状態の数](properties_TextAndPicture.md#状態の数)(1) - [タイトル/ピクチャー位置](properties_TextAndPicture.md#タイトルピクチャー位置)(1) - [ポップアップメニューあり](properties_TextAndPicture.md#ポップアップメニューあり)(2) - [タイトルと画像を隣接させる](properties_TextAndPicture.md#タイトルと画像を隣接させる)(1) - [左](properties_CoordinatesAndSizing.md#左) - [上](properties_CoordinatesAndSizing.md#上) - [右](properties_CoordinatesAndSizing.md#右) - [下](properties_CoordinatesAndSizing.md#下) - [幅](properties_CoordinatesAndSizing.md#幅) - [高さ](properties_CoordinatesAndSizing.md#高さ) - [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) - [縦方向サイズ変更](properties_ResizingOptions.md#縦方向サイズ変更) - [フォーカス可](properties_Entry.md#フォーカス可) - [ショートカット](properties_Entry.md#ショートカット) - [表示状態](properties_Display.md#表示状態) - [レンダリングしない](properties_Display.md#レンダリングしない) - [境界線スタイル](properties_BackgroundAndBorder.md#境界線スタイル) - [フォント](properties_Text.md#フォント) - [フォントサイズ](properties_Text.md#フォントサイズ) - [太字](properties_Text.md#太字) - [イタリック](properties_Text.md#イタリック) - [下線](properties_Text.md#下線) - [フォントカラー](properties_Text.md#フォントカラー) - [横揃え](properties_Text.md#横揃え) - [ヘルプTips](properties_Help.md#ヘルプtips) - [標準アクション](properties_Action.md#標準アクション) - [ドロップ有効](properties_Action.md#ドロップ有効) > (1) [ヘルプ](#ヘルプ) スタイルではサポートされていません。
    > (2) [ヘルプ](#ヘルプ)、[フラット](#フラット) および [通常](#通常) スタイルではサポートされていません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/checkbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/checkbox_overview.md index cbef7b8cae8570..6aa74b6c93de37 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/checkbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/checkbox_overview.md @@ -9,7 +9,7 @@ title: チェックボックス チェックボックスは、メソッドまたは [標準アクション](#標準アクションの使用) を使って管理します。 チェックボックスが選択されると、チェックボックスに割り当てられたメソッドが実行されます。 他のボタンと同じように、フォームが初めて開かれると、チェックボックスの変数は 0 に初期化されます。 -チェックボックスは小さな四角形の右側にテキストを表示します。 このテキストはチェックボックスの [タイトル](properties_Object.md#title) プロパティで設定します。 You can enter a title in the form of an XLIFF reference in this area (see [Appendix B: XLIFF architecture](https://doc.4d.com/4Dv20/4D/20.2/Appendix-B-XLIFF-architecture.300-6750166.en.html)). +チェックボックスは小さな四角形の右側にテキストを表示します。 このテキストはチェックボックスの [タイトル](properties_Object.md#title) プロパティで設定します。 タイトルには、XLIFF参照を入れることもできます ([付録 B: XLIFFアーキテクチャー](https://doc.4d.com/4Dv20/4D/20.2/Appendix-B-XLIFF-architecture.300-6750166.ja.html) 参照)。 ## チェックボックスの使用 @@ -387,12 +387,12 @@ Office XP スタイルのチェックボックスの反転表示と背景のカ すべてのチェックボックスは次の基本プロパティを共有します: -[Bold](properties_Text.md#bold) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Button Style](properties_TextAndPicture.md#button-style) - [Class](properties_Object.md#css-class) - [Enterable](properties_Entry.md#enterable) - [Expression Type](properties_Object.md#expression-type) - [Focusable](properties_Entry.md#focusable) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment)(1) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Image hugs title](properties_TextAndPicture.md#image-hugs-title)(2) - [Italic](properties_Text.md#italic) - [Left](properties_CoordinatesAndSizing.md#left) - [Number of States](properties_TextAndPicture.md#number-of-states)(2) - [Object Name](properties_Object.md#object-name) - [Picture pathname](properties_TextAndPicture.md#picture-pathname)(2) - [Right](properties_CoordinatesAndSizing.md#right) - [Save value](properties_Object.md#save-value) - [Shortcut](properties_Entry.md#shortcut) - [Standard action](properties_Action.md#standard-action) - [Title](properties_Object.md#title) - [Title/Picture Position](properties_TextAndPicture.md#titlepicture-position)(2) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) +[タイプ](properties_Object.md#タイプ) - [オブジェクト名](properties_Object.md#オブジェクト名) - [変数あるいは式](properties_Object.md#変数あるいは式) - [式の型](properties_Object.md#式の型) - [タイトル](properties_Object.md#タイトル) - [値を記憶](properties_Object.md#値を記憶) - [CSSクラス](properties_Object.md#cssクラス) - [ボタンスタイル](properties_TextAndPicture.md#ボタンスタイル) - [ピクチャーパス名](properties_TextAndPicture.md#ピクチャーパス名)(2) - [状態の数](properties_TextAndPicture.md#状態の数)(2) - [タイトル/ピクチャー位置](properties_TextAndPicture.md#タイトルピクチャー位置)(2) - [タイトルと画像を隣接させる](properties_TextAndPicture.md#タイトルと画像を隣接させる)(2) - [左](properties_CoordinatesAndSizing.md#左) - [上](properties_CoordinatesAndSizing.md#上) - [右](properties_CoordinatesAndSizing.md#右) - [下](properties_CoordinatesAndSizing.md#下) - [幅](properties_CoordinatesAndSizing.md#幅) - [高さ](properties_CoordinatesAndSizing.md#高さ) - [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) - [縦方向サイズ変更](properties_ResizingOptions.md#vertical-sizing) - [入力可](properties_Entry.md#入力可) - [フォーカス可](properties_Entry.md#フォーカス可) - [ショートカット](properties_Entry.md#ショートカット) - [表示状態](properties_Display.md#表示状態) - [フォント](properties_Text.md#フォント) - [フォントサイズ](properties_Text.md#フォントサイズ) - [太字](properties_Text.md#太字) - [イタリック](properties_Text.md#イタリック) - [下線](properties_Text.md#下線) - [フォントカラー](properties_Text.md#フォントカラー) - [横揃え](properties_Text.md#横揃え)(1) - [ヘルプTips](properties_Help.md#ヘルプtips) - [標準アクション](properties_Action.md#標準アクション) > (1) [通常](#通常) および [フラット](#フラット) スタイルではサポートされていません。
    > (2) [通常](#通常)、[フラット](#フラット)、[開示ボタン](#開示ボタン) および [折りたたみ/展開](#折りたたみ展開) スタイルではサポートされていません。 -Additional specific properties are available, depending on the [button style](#check-box-button-styles): +[ボタンスタイル](#チェックボックスのボタンスタイル) に応じて、次の追加プロパティが使用できます: - カスタム: [背景パス名](properties_TextAndPicture.md#背景パス名) - [アイコンオフセット](properties_TextAndPicture.md#アイコンオフセット) - diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/comboBox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/comboBox_overview.md index 3a49162ecd503f..9cf62c28af85de 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/comboBox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/comboBox_overview.md @@ -3,7 +3,7 @@ id: comboBoxOverview title: コンボボックス --- -A combo box is similar to a [drop-down list](dropdownList_Overview.md), except that it accepts text entered from the keyboard and has additional options. +コンボボックスは [ドロップダウンリスト](dropdownList_Overview.md) と似ていますが、キーボードから入力されたテキストを受けいれる点と、二つの追加オプションがついている点が異なります。 ![](../assets/en/FormObjects/combo_box.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/dropdownList_Overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/dropdownList_Overview.md index 37aaae4f864db6..3f8c0cd8e25e01 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/dropdownList_Overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/dropdownList_Overview.md @@ -28,21 +28,21 @@ macOS においては、ドロップダウンリストは "ポップアップメ > この機能は 4Dプロジェクトでのみ利用可能です。 -ドロップダウンリストのデータソースとして、[コレクション](Concepts/dt_collection.md) を内包した [オブジェクト](Concepts/dt_object.md) を使用できます。 このオブジェクトには、次のプロパティが格納されていなくてはなりません: このオブジェクトには、次のプロパティが格納されていなくてはなりません: +ドロップダウンリストのデータソースとして、[コレクション](Concepts/dt_collection.md) を内包した [オブジェクト](Concepts/dt_object.md) を使用できます。 このオブジェクトには、次のプロパティが格納されていなくてはなりません: -| プロパティ | 型 | 説明 | -| -------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `values` | Collection | 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 サポートされている型:
  • 文字列
  • 数値
  • 日付
  • 時間
  • 空、または未定義の場合、ドロップダウンリストは空になります | -| `index` | number | 選択項目のインデックス (0 と `collection.length-1` の間の値)。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 | -| `currentValue` | Collection要素と同じ | 選択中の項目 (コードにより設定した場合はプレースホルダーとして使用される) | +| プロパティ | 型 | 説明 | +| -------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `values` | Collection | 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 サポートされている型:
  • 文字列
  • 数値
  • 日付
  • 時間
  • 空、または未定義の場合、ドロップダウンリストは空になります | +| `index` | number | 選択項目のインデックス (0 と `collection.length-1` の間の値)。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 | +| `currentValue` | Collection要素と同じ | 選択中の項目 (コードにより設定した場合はプレースホルダーとして使用される) | オブジェクトにその他のプロパティが含まれている場合、それらは無視されます。 ドロップダウンリストに関連付けるオブジェクトを初期化するには、次の方法があります: -- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 +- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 -- オブジェクトとそのプロパティを作成するコードを実行します。 オブジェクトとそのプロパティを作成するコードを実行します。 オブジェクトとそのプロパティを作成するコードを実行します。 たとえば、ドロップダウンリストに紐づいた [変数](properties_Object.md#変数あるいは式) が "myList" であれば、[On Load](Events/onLoad.md) フォームイベントに次のように書けます: +- オブジェクトとそのプロパティを作成するコードを実行します。 たとえば、ドロップダウンリストに紐づいた [変数](properties_Object.md#変数あるいは式) が "myList" であれば、[On Load](Events/onLoad.md) フォームイベントに次のように書けます: ```4d // Form.myDrop はフォームオブジェクトのデータソースです @@ -69,11 +69,11 @@ Form.myDrop.index //3 ### 配列の使用 -[配列](Concepts/arrays.md) とは、メモリー内の値のリストのことで、配列の名前によって参照されます。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 +[配列](Concepts/arrays.md) とは、メモリー内の値のリストのことで、配列の名前によって参照されます。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 ドロップダウンリストに関連付ける配列を初期化するには、次の方法があります: -- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 これらのデフォルト値は、配列へと自動的にロードされます。 オブジェクトに関連付けた変数名を使用して、この配列を参照することができます。 +- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、配列へと自動的にロードされます。 オブジェクトに関連付けた変数名を使用して、この配列を参照することができます。 - オブジェクトが表示される前に、値を配列要素に代入するコードを実行します。 例: @@ -89,7 +89,7 @@ Form.myDrop.index //3 この場合にも 、フォームのオブジェクトに紐付けた [変数](properties_Object.md#変数あるいは式) は `aCities` でなければなりません。 このコードは、前述した代入命令文の代わりに実行できます。 このコードをフォームメソッド内に置き、`On Load` フォームイベント発生時に実行されるようにします。 -- オブジェクトが表示される前に、[`LIST TO ARRAY`](../commands-legacy/list-to-array.md) コマンドを使ってリストの値を配列にロードします。 例: 例: +- オブジェクトが表示される前に、[`LIST TO ARRAY`](../commands-legacy/list-to-array.md) コマンドを使ってリストの値を配列にロードします。 例: ```4d LIST TO ARRAY("Cities";aCities) @@ -149,20 +149,18 @@ Form.myDrop.index //3 階層型選択リストをドロップダウンリストオブジェクトに割り当てるには、プロパティリストの [選択リスト](properties_DataSource.md#choice-list) 欄を使います。 -階層型ドロップダウンリストの管理には、4Dランゲージの **階層リスト** コマンドを使用します。 All commands that support the `(*; "name")` syntax can be used with hierarchical drop-down lists, e.g. [`List item parent`](../commands-legacy/list-item-parent.md). +階層型ドロップダウンリストの管理には、4Dランゲージの **階層リスト** コマンドを使用します。 `(*; "name")` シンタックスをサポートするコマンドであれば全て、階層型ドロップダウンリストに使用できます (例: [`List item parent`](../commands-legacy/list-item-parent.md))。 ### 標準アクションの使用 -[標準アクション](properties_Action.md#標準アクション) を使って、ドロップダウンリストを自動的に構築することができます。 この機能は、以下のコンテキストでサポートされています: この機能は、以下のコンテキストでサポートされています: この機能は、以下のコンテキストでサポートされています: +[標準アクション](properties_Action.md#標準アクション) を使って、ドロップダウンリストを自動的に構築することができます。 この機能は、以下のコンテキストでサポートされています: - `gotoPage` 標準アクションの使用。 この場合、4D は選択された項目の番号に対応する [フォームのページ](FormEditor/forms.md#フォームのページ) を自動的に表示します。 たとえば、ユーザーが 3番目の項目をクリックすると、4Dはカレントフォームの 3ページ目 (存在する場合) を表示します。 実行時のデフォルトでは、ドロップダウンリストにはページ番号 (1、2...)が表示されます。 -- 項目のサブリストを表示する標準アクションの使用 (例: `backgroundColor`)。 この機能には以下の条件があります: この機能には以下の条件があります: この機能には以下の条件があります: +- 項目のサブリストを表示する標準アクションの使用 (例: `backgroundColor`)。 この機能には以下の条件があります: - スタイル付きテキストエリア ([4D Write Pro エリア](writeProArea_overview.md) または [マルチスタイル](properties_Text.md#マルチスタイル) プロパティ付き [入力](input_overview.md)) が標準アクションのターゲットとしてフォーム内に存在する。 - ドロップダウンリストに [フォーカス可](properties_Entry.md#フォーカス可) 設定されていない。 実行時のドロップダウンリストは、背景色などの値の自動リストを表示します。 この自動リストは、各項目が任意の標準アクションを割り当てられた選択リストを設定することで上書きすることもできます。 - 実行時のドロップダウンリストは、背景色などの値の自動リストを表示します。 この自動リストは、各項目が任意の標準アクションを割り当てられた選択リストを設定することで上書きすることもできます。 - 実行時のドロップダウンリストは、背景色などの値の自動リストを表示します。 この自動リストは、各項目が任意の標準アクションを割り当てられた選択リストを設定することで上書きすることもできます。 > この機能は、階層型のドロップダウンリストでは使用できません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md index fae3f580df6fda..c69e0a715d934e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md @@ -13,15 +13,15 @@ title: リストボックス ### 基本のユーザー機能 -実行中、リストボックスはリストとしてデータを表示し、入力を受け付けます。 実行中、リストボックスはリストとしてデータを表示し、入力を受け付けます。 セルを編集可能にするには ([その列について入力が許可されていれば](#入力の管理))、セル上で2回クリックします: +実行中、リストボックスはリストとしてデータを表示し、入力を受け付けます。 セルを編集可能にするには ([その列について入力が許可されていれば](#入力の管理))、セル上で2回クリックします: ![](../assets/en/FormObjects/listbox_edit.png) リストボックスのセルには、複数行のテキストを入力・表示できます。 セル内で改行するには、**Ctrl+Return** (Windows) または **Command+Return** (macOS) を押します。 -セルにはブールやピクチャー、日付、時間、数値も表示することができます。 ヘッダーをクリックすると、列の値をソートできます ([標準ソート](ソートの管理))。 すべての列が自動で同期されます。 +セルにはブールやピクチャー、日付、時間、数値も表示することができます。 ヘッダーをクリックすると、列の値をソートできます ([標準ソート](#ソートの管理))。 すべての列が自動で同期されます。 -またそれぞれの列幅を変更できるほか、ユーザーはマウスを使用して [列](properties_ListBox.md#locked-columns-and-static-columns) や [行](properties_Action.md#movable-rows) の順番を (そのアクションが許可されていれば) 入れ替えることもできます。 リストボックスは [階層モード](#階層リストボックス) で使用することもできます。 リストボックスは [階層モード](#階層リストボックス) で使用することもできます。 +またそれぞれの列幅を変更できるほか、ユーザーはマウスを使用して [列](properties_ListBox.md#locked-columns-and-static-columns) や [行](properties_Action.md#movable-rows) の順番を (そのアクションが許可されていれば) 入れ替えることもできます。 リストボックスは [階層モード](#階層リストボックス) で使用することもできます。 ユーザーは標準のショートカットを使用して 1つ以上の行を選択できます。**Shift+クリック** で連続した行を、**Ctrl+クリック** (Windows) や **Command+クリック** (macOS) で非連続行を選択できます。 @@ -47,9 +47,9 @@ title: リストボックス ### リストボックスの型 -リストボックスには複数のタイプがあり、動作やプロパティの点で異なります。 リストボックスには複数のタイプがあり、動作やプロパティの点で異なります。 リストボックスの型は [データソースプロパティ](properties_Object.md#データソース) で定義します: +リストボックスには複数のタイプがあり、動作やプロパティの点で異なります。 リストボックスの型は [データソースプロパティ](properties_Object.md#データソース) で定義します: -- **配列**: 各列に 4D 配列を割り当てます。 **配列**: 各列に 4D 配列を割り当てます。 配列タイプのリストボックスは [階層リストボックス](listbox_overview.md#階層リストボックス) として表示することができます。 +- **配列**: 各列に 4D 配列を割り当てます。 配列タイプのリストボックスは [階層リストボックス](listbox_overview.md#階層リストボックス) として表示することができます。 - **セレクション** (**カレントセレクション** または **命名セレクション**): 各列に式 (たとえばフィールド) を割り当てます。それぞれの行はセレクションのレコードを基に評価されます。 - **コレクションまたはエンティティセレクション**: 各列に式を割り当てます。各行の中身はコレクションの要素ごと、あるいはエンティティセレクションのエンティティごとに評価されます。 @@ -59,7 +59,7 @@ title: リストボックス リストボックスオブジェクトはプロパティによってあらかじめ設定可能なほか、プログラムにより動的に管理することもできます。 -4D ランゲージにはリストボックス関連のコマンドをまとめた "リストボックス" テーマが専用に設けられていますが、"オブジェクトプロパティ" コマンドや `EDIT ITEM`、`Displayed line number` コマンドなど、ほかのテーマのコマンドも利用することができます。 Refer to the [List Box Commands Summary](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) page of the *4D Language reference* for more information. +4D ランゲージにはリストボックス関連のコマンドをまとめた "リストボックス" テーマが専用に設けられていますが、"オブジェクトプロパティ" コマンドや `EDIT ITEM`、`Displayed line number` コマンドなど、ほかのテーマのコマンドも利用することができます。 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 ## リストボックスオブジェクト @@ -72,8 +72,7 @@ title: リストボックス > 配列タイプのリストボックスは、特別なメカニズムをもつ [階層モード](listbox_overview.md#階層リストボックス) で表示することができます。 配列タイプのリストボックスでは、入力あるいは表示される値は 4Dランゲージで制御します。 列に [選択リスト](properties_DataSource.md#選択リスト) を割り当てて、データ入力を制御することもできます。 -配列タイプのリストボックスでは、入力あるいは表示される値は 4Dランゲージで制御します。 列に [選択リスト](properties_DataSource.md#選択リスト) を割り当てて、データ入力を制御することもできます。 -リストボックスのハイレベルコマンド (`LISTBOX INSERT ROWS` や `LISTBOX DELETE ROWS` 等) や配列操作コマンドを使用して、列の値を管理します。 たとえば、列の内容を初期化するには、以下の命令を使用できます: たとえば、列の内容を初期化するには、以下の命令を使用できます: +リストボックスのハイレベルコマンド (`LISTBOX INSERT ROWS` や `LISTBOX DELETE ROWS` 等) や配列操作コマンドを使用して、列の値を管理します。 たとえば、列の内容を初期化するには、以下の命令を使用できます: ```4d ARRAY TEXT(varCol;size) @@ -85,11 +84,11 @@ ARRAY TEXT(varCol;size) LIST TO ARRAY("ListName";varCol) ``` -> **警告**: 異なる配列サイズの列がリストボックスに含まれる場合、もっとも小さい配列サイズの数だけを表示します。 そのため、各配列の要素数は同じにしなければなりません。 リストボックスの列が一つでも空の場合 (ランゲージにより配列が正しく定義またはサイズ設定されなかったときに発生します)、リストボックスは何も表示しません。 そのため、各配列の要素数は同じにしなければなりません。 リストボックスの列が一つでも空の場合 (ランゲージにより配列が正しく定義またはサイズ設定されなかったときに発生します)、リストボックスは何も表示しません。 +> **警告**: 異なる配列サイズの列がリストボックスに含まれる場合、もっとも小さい配列サイズの数だけを表示します。 そのため、各配列の要素数は同じにしなければなりません。 リストボックスの列が一つでも空の場合 (ランゲージにより配列が正しく定義またはサイズ設定されなかったときに発生します)、リストボックスは何も表示しません。 ### セレクションリストボックス -このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 カラムをプログラムで変更するには、`LISTBOX SET COLUMN FORMULA` および `LISTBOX INSERT COLUMN FORMULA` コマンドを使用します。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 カラムをプログラムで変更するには、`LISTBOX SET COLUMN FORMULA` および `LISTBOX INSERT COLUMN FORMULA` コマンドを使用します。 +このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 カラムをプログラムで変更するには、`LISTBOX SET COLUMN FORMULA` および `LISTBOX INSERT COLUMN FORMULA` コマンドを使用します。 それぞれの行はセレクションのレコードを基に評価されます。セレクションは **カレントセレクション** または **命名セレクション**です。 @@ -198,7 +197,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 ### フォームイベント -| フォームイベント | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | コメント | +| フォームイベント | 返される追加のプロパティ(主なプロパティについては[Form event](../commands/form-event.md) を参照してください) | コメント | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | | On After Keystroke |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | @@ -269,11 +268,13 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 ### 列特有のプロパティ -[Alpha Format](properties_Display.md#alpha-format) - [Alternate Background Color](properties_BackgroundAndBorder.md#alternate-background-color) - [Automatic Row Height](properties_CoordinatesAndSizing.md#automatic-row-height) - [Background Color](properties_BackgroundAndBorder.md#background-color--fill-color) - [Background Color Expression](properties_BackgroundAndBorder.md#background-color-expression) - [Bold](properties_Text.md#bold) - [Choice List](properties_DataSource.md#choice-list) - [Class](properties_Object.md#css-class) - [Data Type (selection and collection list box column)](properties_DataSource.md#data-type-list) - [Date Format](properties_Display.md#date-format) - [Default Values](properties_DataSource.md#default-list-of-values) - [Display Type](properties_Display.md#display-type) - [Enterable](properties_Entry.md#enterable) - [Entry Filter](properties_Entry.md#entry-filter) - [Excluded List](properties_RangeOfValues.md#excluded-list) - [Expression](properties_DataSource.md#expression) - [Expression Type (array list box column)](properties_Object.md#expression-type) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Padding](properties_CoordinatesAndSizing.md#horizontal-padding) - [Italic](properties_Text.md#italic) - [Invisible](properties_Display.md#visibility) - [Maximum Width](properties_CoordinatesAndSizing.md#maximum-width) - [Method](properties_Action.md#method) - [Minimum Width](properties_CoordinatesAndSizing.md#minimum-width) - [Multi-style](properties_Text.md#multi-style) - [Number Format](properties_Display.md#number-format) - [Object Name](properties_Object.md#object-name) - [Picture Format](properties_Display.md#picture-format) - [Resizable](properties_ResizingOptions.md#resizable) - [Required List](properties_RangeOfValues.md#required-list) - [Row Background Color Array](properties_BackgroundAndBorder.md#row-background-color-array) - [Row Font Color Array](properties_Text.md#row-font-color-array) - [Row Style Array](properties_Text.md#row-style-array) - [Save as](properties_DataSource.md#save-as) - [Style Expression](properties_Text.md#style-expression) - [Text when False/Text when True](properties_Display.md#text-when-falsetext-when-true) - [Time Format](properties_Display.md#time-format) - [Truncate with ellipsis](properties_Display.md#truncate-with-ellipsis) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Alignment](properties_Text.md#vertical-alignment) - [Vertical Padding](properties_CoordinatesAndSizing.md#vertical-padding) - [Width](properties_CoordinatesAndSizing.md#width) - [Wordwrap](properties_Display.md#wordwrap) +[オブジェクト名](properties_Object.md#オブジェクト名) - [変数あるいは式](properties_Object.md#変数あるいは式) - [式タイプ (配列リストボックス列)](properties_Object.md#式の型式タイプ) - [CSSクラス](properties_Object.md#cssclass) - [デフォルト値](properties_DataSource.md#デフォルト値) - [選択リスト](properties_DataSource.md#選択リスト) - [式](properties_DataSource.md#式) - [データタイプ (セレクションおよびコレクションリストボックス列)](properties_DataSource.md#データタイプ-\(リスト\)) - [関連付け](properties_DataSource.md#関連付け) - [幅](properties_CoordinatesAndSizing.md#幅) - [自動行高](properties_CoordinatesAndSizing.md#自動行高) - [最小幅](properties_CoordinatesAndSizing.md#最小幅) - [最大幅](properties_CoordinatesAndSizing.md#最大幅) - [横方向パディング](properties_CoordinatesAndSizing.md#横方向パディング) +[縦方向パディング](properties_CoordinatesAndSizing.md#縦方向パディング) +[サイズ変更可](properties_ResizingOptions.md#サイズ変更可) - [入力可](properties_Entry.md#入力可) - [入力フィルター](properties_Entry.md#入力フィルター) - [指定リスト](properties_RangeOfValues.md#指定リスト) - [除外リスト](properties_RangeOfValues.md#除外リスト) - [表示タイプ](properties_Display.md#表示タイプ) - [文字フォーマット](properties_Display.md#文字フォーマット) - [数値フォーマット](properties_Display.md#数値フォーマット) - [テキスト (True時)/テキスト (False時)](properties_Display.md#テキスト-True時-テキスト-False時) - [日付フォーマット](properties_Display.md#日付フォーマット) - [時間フォーマット](properties_Display.md#時間フォーマット) - [ピクチャーフォーマット](properties_Display.md#ピクチャーフォーマット) - [非表示](properties_Display.md#表示状態) - [ワードラップ](properties_Display.md#ワードラップ) - [エリプシスを使用して省略](properties_Display.md#エリプシスを使用して省略) - [背景色](properties_BackgroundAndBorder.md#背景色) - [交互に使用する背景色](properties_BackgroundAndBorder.md#交互に使用する背景色) - [行背景色配列](properties_BackgroundAndBorder.md#行背景色配列) - [背景色式](properties_BackgroundAndBorder.md#背景色式) - [フォント](properties_Text.md#フォント) - [太字](properties_Text.md#太字) - [イタリック](properties_Text.md#イタリック) - [下線](properties_Text.md#下線) - [行スタイル配列](properties_Text.md#行スタイル配列) - [スタイル式](properties_Text.md#スタイル式) - [フォントカラー](properties_Text.md#フォントカラー) - [行フォントカラー配列](properties_Text.md#行フォントカラー配列) - [横揃え](properties_Text.md#横揃え) - [縦揃え](properties_Text.md#縦揃え) - [マルチスタイル](properties_Text.md#マルチスタイル) - [メソッド](properties_Action.md#メソッド) ### フォームイベント -| フォームイベント | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | コメント | +| フォームイベント | 返される追加のプロパティ(主なプロパティについては[Form event](../commands/form-event.md) を参照してください) | コメント | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | | On After Keystroke |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | @@ -384,7 +385,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 リストボックスのセルが入力可能であるには、以下の条件を満たす必要があります: - セルが属する列が [入力可](properties_Entry.md#入力可) に設定されている (でなければ、その列のセルには入力できません)。 -- `On Before Data Entry` イベントで $0 が -1 を返さない。 カーソルがセルに入ると、その列のメソッドで `On Before Data Entry` イベントが生成されます。 このイベントのコンテキストにおいて、$0 に -1 を設定すると、そのセルは入力不可として扱われます。 **Tab** や **Shift+Tab** が押された後にイベントが生成された場合には、フォーカスはそれぞれ次あるいは前のセルに移動します。 $0 が -1 でなければ (デフォルトは 0)、列は入力可であり編集モードに移行します。 このイベントのコンテキストにおいて、$0 に -1 を設定すると、そのセルは入力不可として扱われます。 **Tab** や **Shift+Tab** が押された後にイベントが生成された場合には、フォーカスはそれぞれ次あるいは前のセルに移動します。 $0 が -1 でなければ (デフォルトは 0)、列は入力可であり編集モードに移行します。 +- `On Before Data Entry` イベントで $0 が -1 を返さない。 カーソルがセルに入ると、その列のメソッドで `On Before Data Entry` イベントが生成されます。 このイベントのコンテキストにおいて、$0 に -1 を設定すると、そのセルは入力不可として扱われます。 **Tab** や **Shift+Tab** が押された後にイベントが生成された場合には、フォーカスはそれぞれ次あるいは前のセルに移動します。 $0 が -1 でなければ (デフォルトは 0)、列は入力可であり編集モードに移行します。 2つの配列で構築されるリストボックスを考えてみましょう。 1つは日付でもう 1つはテキストです。 日付配列は入力不可ですが、テキスト配列は日付が過去でない場合に入力可とします。 @@ -439,7 +440,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 選択行の管理は、リストボックスのタイプが配列か、レコードのセレクションか、あるいはコレクション/エンティティセレクションかによって異なります。 -- **セレクションリストボックス**: 選択行は、デフォルトで `$ListboxSetX` と呼ばれる変更可能なセットにより管理されます (X は 0 から始まり、フォーム内のリストボックスの数に応じて一つずつ増加していきます)。 このセットはリストボックスの[プロパティリスト](properties_ListBox.md#ハイライトセット)で定義します。 このセットは 4D が自動で管理します。 ユーザーがリストボックス中で 1つ以上の行を選択すると、セットが即座に更新されます。 他方、リストボックスの選択をプログラムから更新するために、"セット" テーマのコマンドを使用することができます。 このセットはリストボックスの[プロパティリスト](properties_ListBox.md#ハイライトセット)で定義します。 このセットは 4D が自動で管理します。 ユーザーがリストボックス中で 1つ以上の行を選択すると、セットが即座に更新されます。 他方、リストボックスの選択をプログラムから更新するために、"セット" テーマのコマンドを使用することができます。 +- **セレクションリストボックス**: 選択行は、デフォルトで `$ListboxSetX` と呼ばれる変更可能なセットにより管理されます (X は 0 から始まり、フォーム内のリストボックスの数に応じて一つずつ増加していきます)。 このセットはリストボックスの[プロパティリスト](properties_ListBox.md#ハイライトセット)で定義します。 このセットは 4D が自動で管理します。 ユーザーがリストボックス中で 1つ以上の行を選択すると、セットが即座に更新されます。 他方、リストボックスの選択をプログラムから更新するために、"セット" テーマのコマンドを使用することができます。 - **コレクション/エンティティセレクションリストボックス**: 選択項目は、専用のリストボックスプロパティを通して管理されます。 - [カレントの項目](properties_DataSource.md#カレントの項目) は、選択された要素/エンティティを受け取るオブジェクトです。 @@ -466,7 +467,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 ### 選択行の見た目のカスタマイズ -リストボックスの [セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) プロパティにチェックを入れている場合には、他のインターフェースオプションを活用してリストボックスの選択行を可視化する必要があります。 ハイライトが非表示になっていても選択行は引き続き 4D によって管理されています。つまり: ハイライトが非表示になっていても選択行は引き続き 4D によって管理されています。つまり: +リストボックスの [セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) プロパティにチェックを入れている場合には、他のインターフェースオプションを活用してリストボックスの選択行を可視化する必要があります。 ハイライトが非表示になっていても選択行は引き続き 4D によって管理されています。つまり: - 配列タイプのリストボックスの場合、当該リストボックスにリンクしているブール配列変数から選択行を割り出します。 - セレクションタイプのリストボックスの場合、特定行 (レコード) がリストボックスの [ハイライトセット](properties_ListBox.md#ハイライトセット) プロパティで指定しているセットに含まれているかを調べます。 @@ -477,7 +478,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 #### セレクションリストボックス -選択行を特定するには、リストボックスの [ハイライトセット](properties_ListBox.md#ハイライトセット) プロパティで指定されているセットに対象行が含まれているかを調べます: 選択行のアピアランスを定義するには、プロパティリストにて [カラー式またはスタイル式プロパティ](#配列と式の使用) を 1つ以上使います。 選択行のアピアランスを定義するには、プロパティリストにて [カラー式またはスタイル式プロパティ](#配列と式の使用) を 1つ以上使います。 +選択行を特定するには、リストボックスの [ハイライトセット](properties_ListBox.md#ハイライトセット) プロパティで指定されているセットに対象行が含まれているかを調べます: 選択行のアピアランスを定義するには、プロパティリストにて [カラー式またはスタイル式プロパティ](#配列と式の使用) を 1つ以上使います。 次の場合には式が自動的に再評価されることに留意ください: @@ -549,7 +550,7 @@ JSON フォームにおいて、リストボックスに次のハイライトセ $0:=$color ``` -> 階層リストボックスにおいては、[セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) オプションをチェックした場合には、ブレーク行をハイライトすることができません。 同階層のヘッダーの色は個別指定することができないため、任意のブレーク行だけをプログラムでハイライト表示する方法はありません。 同階層のヘッダーの色は個別指定することができないため、任意のブレーク行だけをプログラムでハイライト表示する方法はありません。 +> 階層リストボックスにおいては、[セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) オプションをチェックした場合には、ブレーク行をハイライトすることができません。 同階層のヘッダーの色は個別指定することができないため、任意のブレーク行だけをプログラムでハイライト表示する方法はありません。 ## ソートの管理 @@ -574,11 +575,11 @@ JSON フォームにおいて、リストボックスに次のハイライトセ ### カスタムソート -The developer can set up custom sorts, for example using the [`LISTBOX SORT COLUMNS`](../commands-legacy/listbox-sort-columns.md) command and/or combining the [`On Header Click`](../Events/onHeaderClick) and [`On After Sort`](../Events/onAfterSort) form events and relevant 4D commands. +デベロッパーは、例えば[`LISTBOX SORT COLUMNS`](../commands-legacy/listbox-sort-columns.md) コマンドを使用したり、あるいは[`On Header Click`](../Events/onHeaderClick) および [`On After Sort`](../Events/onAfterSort) フォームイベントと関連する4D コマンドを組み合わせることにより、カスタムのソートを設定することができます。 -カスタムソートを以下のことが可能です: +カスタムソートは以下のことが可能です: -- carry out multi-level sorts on several columns, thanks to the [`LISTBOX SORT COLUMNS`](../commands-legacy/listbox-sort-columns.md) command, +- [`LISTBOX SORT COLUMNS`](../commands-legacy/listbox-sort-columns.md) コマンドを使うことで、複数のカラムに対してマルチレベルソートを実行する。 - [`collection.orderByMethod()`](../API/CollectionClass.md#orderbymethod) や [`entitySelection.orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) などの関数を使って、複雑な条件のソートをおこなう #### 例題 @@ -587,7 +588,7 @@ The developer can set up custom sorts, for example using the [`LISTBOX SORT COLU ![](../assets/en/FormObjects/relationLB.png) -`Form.child` 式に紐づいた、エンティティセレクションタイプのリストボックスを設置します。 `Form.child` 式に紐づいた、エンティティセレクションタイプのリストボックスを設置します。 `On Load` フォームイベントでは、`Form.child:=ds.Child.all()` を実行します。 +`Form.child` 式に紐づいた、エンティティセレクションタイプのリストボックスを設置します。 `On Load` フォームイベントでは、`Form.child:=ds.Child.all()` を実行します。 次の 2つの列を表示します: @@ -622,7 +623,7 @@ End if 変数の値を設定して (たとえば Header2:=2)、ソートを表す矢印の表示を強制することができます。 しかし、列のソート順は変更されません、これを処理するのは開発者の役割です。 -> The [`OBJECT SET FORMAT`](../commands-legacy/object-set-format.md) command offers specific support for icons in list box headers, which can be useful when you want to work with a customized sort icon. +> The [`OBJECT SET FORMAT`](../commands-legacy/object-set-format.md) コマンドは、カスタマイズされた並べ替えアイコンをサポートする機能をリストボックスヘッダー用に提供しています。 ## スタイルとカラー、表示の管理 @@ -654,7 +655,7 @@ End if - 行属性について: 列の属性値を受け継ぎます - 列属性について: リストボックスの属性値を受け継ぎます -このように、高次のレベルの属性値をオブジェクトに継承させたい場合は、定義するコマンドに `lk inherited` 定数 (デフォルト値) を渡すか、対応する行スタイル/カラー配列の要素に直接渡します。 このように、高次のレベルの属性値をオブジェクトに継承させたい場合は、定義するコマンドに `lk inherited` 定数 (デフォルト値) を渡すか、対応する行スタイル/カラー配列の要素に直接渡します。 以下のような、標準のフォントスタイルで行の背景色が交互に変わる配列リストボックスを考えます: +このように、高次のレベルの属性値をオブジェクトに継承させたい場合は、定義するコマンドに `lk inherited` 定数 (デフォルト値) を渡すか、対応する行スタイル/カラー配列の要素に直接渡します。 以下のような、標準のフォントスタイルで行の背景色が交互に変わる配列リストボックスを考えます: ![](../assets/en/FormObjects/listbox_styles3.png) 以下の変更を加えます: @@ -686,23 +687,22 @@ End if ## リストボックスの印刷 -リストボックスの印刷には 2つの印刷モードがあります: フォームオブジェクトのようにリストボックスを印刷する **プレビューモード** と、フォーム内でリストボックスオブジェクトの印刷方法を制御できる **詳細モード** があります。 フォームエディターで、リストボックスオブジェクトに "印刷" アピアランスを適用できる点に留意してください。 フォームエディターで、リストボックスオブジェクトに "印刷" アピアランスを適用できる点に留意してください。 +リストボックスの印刷には 2つの印刷モードがあります: フォームオブジェクトのようにリストボックスを印刷する **プレビューモード** と、フォーム内でリストボックスオブジェクトの印刷方法を制御できる **詳細モード** があります。 フォームエディターで、リストボックスオブジェクトに "印刷" アピアランスを適用できる点に留意してください。 ### プレビューモード -プレビューモードでのリストボックスの印刷は、標準の印刷コマンドや **印刷** メニューを使用して、リストボックスを含むフォームをそのまま出力します。 リストボックスはフォーム上に表示されている通りに印刷されます。 このモードでは、オブジェクトの印刷を細かく制御することはできません。 とくに、表示されている以上の行を印刷することはできません。 リストボックスはフォーム上に表示されている通りに印刷されます。 このモードでは、オブジェクトの印刷を細かく制御することはできません。 とくに、表示されている以上の行を印刷することはできません。 +プレビューモードでのリストボックスの印刷は、標準の印刷コマンドや **印刷** メニューを使用して、リストボックスを含むフォームをそのまま出力します。 リストボックスはフォーム上に表示されている通りに印刷されます。 このモードでは、オブジェクトの印刷を細かく制御することはできません。 とくに、表示されている以上の行を印刷することはできません。 ### 詳細モード -このモードでは、リストボックスの印刷は `Print object` コマンドを使用してプログラムにより実行されます (プロジェクトフォームとテーブルフォームがサポートされています)。 `LISTBOX GET PRINT INFORMATION` コマンドを使用してオブジェクトの印刷を制御できます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用してオブジェクトの印刷を制御できます。 +このモードでは、リストボックスの印刷は `Print object` コマンドを使用してプログラムにより実行されます (プロジェクトフォームとテーブルフォームがサポートされています)。 `LISTBOX GET PRINT INFORMATION` コマンドを使用してオブジェクトの印刷を制御できます。 このモードでは: - オブジェクトの高さよりも印刷する行数が少ない場合、リストボックスオブジェクトの高さは自動で減少させられます ("空白" 行は印刷されません)。 他方、オブジェクトの内容に基づき高さが自動で増大することはありません。 実際に印刷されるオブジェクトのサイズは `LISTBOX GET PRINT INFORMATION` コマンドで取得できます。 - リストボックスオブジェクトは "そのまま" 印刷されます。言い換えれば、ヘッダーやグリッド線の表示、表示/非表示行など、現在の表示設定が考慮されます。 - リストボックスオブジェクトは "そのまま" 印刷されます。言い換えれば、ヘッダーやグリッド線の表示、表示/非表示行など、現在の表示設定が考慮されます。 これらの設定には印刷される最初の行も含みます。印刷を実行する前に `OBJECT SET SCROLL POSITION` を呼び出すと、リストボックスに印刷される最初の行はコマンドで指定した行になります。 -- 自動メカニズムにより、表示可能な行以上の行数を含むリストボックスの印刷が容易になります。連続して `Print object` を呼び出し、呼び出し毎に別の行のまとまりを印刷することができます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用して、印刷がおこなわれている間の状態をチェックできます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用して、印刷がおこなわれている間の状態をチェックできます。 +- 自動メカニズムにより、表示可能な行以上の行数を含むリストボックスの印刷が容易になります。連続して `Print object` を呼び出し、呼び出し毎に別の行のまとまりを印刷することができます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用して、印刷がおこなわれている間の状態をチェックできます。 ## 階層リストボックス @@ -718,11 +718,11 @@ End if - フォームエディターのプロパティリストを使用して階層要素を手作業で設定する (または JSON フォームを編集する)。 - フォームエディターのリストボックス管理メニューを使用して階層を生成する。 -- Use the [LISTBOX SET HIERARCHY](../commands-legacy/listbox-set-hierarchy.md) and [LISTBOX GET HIERARCHY](../commands-legacy/listbox-get-hierarchy.md) commands, described in the *4D Language Reference* manual. +- *4D ランゲージリファレンス* マニュアルにある、[LISTBOX SET HIERARCHY](../commands-legacy/listbox-set-hierarchy.md) および [LISTBOX GET HIERARCHY](../commands-legacy/listbox-get-hierarchy.md) コマンドを使用する。 #### "階層リストボックス" プロパティによる階層化 -このプロパティを使用してリストボックスの階層表示を設定します。 このプロパティを使用してリストボックスの階層表示を設定します。 JSON フォームにおいては、リストボックス列の [*dataSource* プロパティの値が配列名のコレクションであるとき](properties_Object.md#配列リストボックス) に階層化します。 +このプロパティを使用してリストボックスの階層表示を設定します。 JSON フォームにおいては、リストボックス列の [*dataSource* プロパティの値が配列名のコレクションであるとき](properties_Object.md#配列リストボックス) に階層化します。 *階層リストボックス* プロパティが選択されると、追加プロパティである **Variable 1...10** が利用可能になります。これらには階層の各レベルとして使用するデータソース配列を指定します。これが *dataSource* の値である配列名のコレクションとなります。 入力欄に値が入力されると、新しい入力欄が追加されます。 10個までの変数を指定できます。 これらの変数は先頭列に表示される階層のレベルを設定します。 @@ -750,7 +750,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の - その列の変数が階層を指定するために使用されます。 既に設定されていた変数は置き換えられます。 - (先頭列を除き) 選択された列はリストボックス内に表示されなくなります。 -例: 左から国、地域、都市、人口列が設定されたリストボックスがあります。 例: 左から国、地域、都市、人口列が設定されたリストボックスがあります。 国、地域、都市が (下図の通り) 選択され、コンテキストメニューから **階層を作成** を選択すると、先頭列に3レベルの階層が作成され、二番目と三番目の列は取り除かれます。人口列が二番目になります: +例: 左から国、地域、都市、人口列が設定されたリストボックスがあります。 国、地域、都市が (下図の通り) 選択され、コンテキストメニューから **階層を作成** を選択すると、先頭列に3レベルの階層が作成され、二番目と三番目の列は取り除かれます。人口列が二番目になります: ![](../assets/en/FormObjects/listbox_hierarchy2.png) @@ -841,7 +841,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の > 親が折りたたまれているために行が非表示になっていると、それらは選択から除外されます。 (直接あるいはスクロールによって) 表示されている行のみを選択できます。 言い換えれば、行を選択かつ隠された状態にすることはできません。 -選択と同様に、`LISTBOX GET CELL POSITION` コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、`LISTBOX GET CELL POSITION` は同じ位置 (3;2) を返します。 つまり以下の両方の例題で、`LISTBOX GET CELL POSITION` は同じ位置 (3;2) を返します。 +選択と同様に、`LISTBOX GET CELL POSITION` コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、`LISTBOX GET CELL POSITION` は同じ位置 (3;2) を返します。 *非階層表示:* ![](../assets/en/FormObjects/hierarch9.png) @@ -886,19 +886,19 @@ Variable 2 も常に表示され、入力できます。 これは二番目の `On Expand` や `On Collapse` フォームイベントを使用して階層リストボックスの表示を最適化できます。 -階層リストボックスはその配列の内容から構築されます。 そのためこれらの配列すべてがメモリにロードされる必要があります。 階層リストボックスはその配列の内容から構築されます。そのためこれらの配列すべてがメモリにロードされる必要があります。 大量のデータから (`SELECTION TO ARRAY` コマンドを使用して) 生成される配列をもとに階層リストボックスを構築するのは、表示速度だけでなくメモリ使用量の観点からも困難が伴います。 +階層リストボックスはその配列の内容から構築されます。 そのためこれらの配列すべてがメモリにロードされる必要があります。 大量のデータから (`SELECTION TO ARRAY` コマンドを使用して) 生成される配列をもとに階層リストボックスを構築するのは、表示速度だけでなくメモリ使用量の観点からも困難が伴います。 -`On Expand` と `On Collapse` フォームイベントを使用することで、この制限を回避できます。たとえば、ユーザーのアクションに基づいて階層の一部だけを表示したり、必要に応じて配列をロード/アンロードできます。 これらのイベントのコンテキストでは、`LISTBOX GET CELL POSITION` コマンドは、行を展開/折りたたむためにユーザーがクリックしたセルを返します。 これらのイベントのコンテキストでは、`LISTBOX GET CELL POSITION` コマンドは、行を展開/折りたたむためにユーザーがクリックしたセルを返します。 +`On Expand` と `On Collapse` フォームイベントを使用することで、この制限を回避できます。たとえば、ユーザーのアクションに基づいて階層の一部だけを表示したり、必要に応じて配列をロード/アンロードできます。 これらのイベントのコンテキストでは、`LISTBOX GET CELL POSITION` コマンドは、行を展開/折りたたむためにユーザーがクリックしたセルを返します。 この場合、開発者がコードを使用して配列を空にしたり値を埋めたりしなければなりません。 実装する際注意すべき原則は以下のとおりです: -- リストボックスが表示される際、先頭の配列のみ値を埋めます。 リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: +- リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: ![](../assets/en/FormObjects/hierarch15.png) - ユーザーが展開アイコンをクリックすると `On Expand` イベントが生成されます。 `LISTBOX GET CELL POSITION` コマンドはクリックされたセルを返すので、適切な階層を構築します: 先頭の配列に繰り返しの値を設定し、2番目の配列には `SELECTION TO ARRAY` コマンドから得られる値を設定します。そして`LISTBOX INSERT ROWS` コマンドを使用して必要なだけ行を挿入します。 ![](../assets/en/FormObjects/hierarch16.png) -- ユーザーが折りたたみアイコンをクリックすると `On Collapse` イベントが生成されます。 ユーザーが折りたたみアイコンをクリックすると `On Collapse` イベントが生成されます。 `LISTBOX GET CELL POSITION` コマンドはクリックされたセルを返すので、 `LISTBOX DELETE ROWS` コマンドを使用してリストボックスから必要なだけ行を削除します。 +- ユーザーが折りたたみアイコンをクリックすると `On Collapse` イベントが生成されます。 `LISTBOX GET CELL POSITION` コマンドはクリックされたセルを返すので、 `LISTBOX DELETE ROWS` コマンドを使用してリストボックスから必要なだけ行を削除します。 ## オブジェクト配列の使用 @@ -910,7 +910,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の ### オブジェクト配列カラムの設定 -To assign an object array to a list box column, you just need to set the object array name in either the Property list ("Variable Name" field), or using the [LISTBOX INSERT COLUMN](../commands-legacy/listbox-insert-column.md) command, like with any array-based column. プロパティリスト内では、カラムにおいて "式タイプ" にオブジェクトを選択できます: +オブジェクト配列をリストボックスのカラムに割り当てるには、プロパティリスト (の "変数名" 欄) にオブジェクト配列名を設定するか、配列型のカラムのように [LISTBOX INSERT COLUMN](../commands-legacy/listbox-insert-column.md) コマンドを使用します。 プロパティリスト内では、カラムにおいて "式タイプ" にオブジェクトを選択できます: ![](../assets/en/FormObjects/listbox_column_objectArray_config.png) @@ -947,7 +947,7 @@ ARRAY OBJECT(obColumn;0) // カラム配列 - "color": 背景色を定義 - "event": ラベル付ボタンを表示 -4D は "valueType" の値に応じたデフォルトのウィジェットを使用します (つまり、"text" と設定すればテキスト入力ウィジェットが表示され、"boolean" と設定すればチェックボックスが表示されます)。 しかし、オプションを使用することによって表示方法の選択が可能な場合もあります (たとえば、"real" と設定した場合、ドロップダウンメニューとしても表示できます)。 以下の一覧はそれぞれの値の型に対してのデフォルトの表示方法と、他に選択可能な表示方の一覧を表しています: 以下の一覧はそれぞれの値の型に対してのデフォルトの表示方法と、他に選択可能な表示方の一覧を表しています: +4D は "valueType" の値に応じたデフォルトのウィジェットを使用します (つまり、"text" と設定すればテキスト入力ウィジェットが表示され、"boolean" と設定すればチェックボックスが表示されます)。 しかし、オプションを使用することによって表示方法の選択が可能な場合もあります (たとえば、"real" と設定した場合、ドロップダウンメニューとしても表示できます)。 以下の一覧はそれぞれの値の型に対してのデフォルトの表示方法と、他に選択可能な表示方の一覧を表しています: | valueType | デフォルトのウィジェット | 他に選択可能なウィジェット | | --------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------- | @@ -1184,7 +1184,7 @@ behavior 属性は、値の通常の表示とは異なる表示方法を提供 特定の値を使用することで、セルの値に関連した単位を追加することができます (*例*: "10 cm", "20 pixels" 等)。 単位リストを定義するためには、以下の属性のどれか一つを使用します: 単位リストを定義するためには、以下の属性のどれか一つを使用します: - "unitsList": 利用可能な単位 (例: "cm"、"inches"、"km"、"miles"、他) を定義するのに使用する x 要素を格納した配列。 オブジェクト内で単位を定義するためには、この属性を使用します。 -- "unitsListReference": 利用可能な単位を含んだ 4Dリストへの参照。 Use this attribute to define units with a 4D list created with the [`New list`](../commands-legacy/new-list.md) command. +- "unitsListReference": 利用可能な単位を含んだ 4Dリストへの参照。 [`New list`](../commands-legacy/new-list.md) コマンドで作成された 4D リストで単位を定義するためには、この属性を使用します。 - "unitsListName": 利用可能な単位を含んだデザインモードで作成された 4Dリスト名。 ツールボックスで作成された 4Dリストで単位を定義するためには、この属性を使用します。 単位リストが定義された方法に関わらず、以下の属性を関連付けることができます: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/subform_overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/subform_overview.md index fee4d2023901a9..140dd6f5bccbe0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/subform_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/subform_overview.md @@ -35,13 +35,13 @@ title: サブフォーム ページサブフォームは [詳細フォーム](properties_Subform.md#詳細フォーム) プロパティで指定された入力フォームを使用します。 リストサブフォームと異なり、使用されるフォームは親フォームと同じテーブルに所属していてもかまいません。 また、プロジェクトフォームを使用することもできます。 実行時、ページサブフォームは入力フォームと同じ標準の表示特性を持ちます。 -> 4Dウィジェットは、ページサブフォームに基づいた定義済みの複合オブジェクトです。 They are described in detail in a separate manual, [4D Widgets](https://doc.4d.com/4Dv20/4D/20/4D-Widgets.100-6343453.en.html). +> 4Dウィジェットは、ページサブフォームに基づいた定義済みの複合オブジェクトです。 詳細は専用のドキュメント [4D Widgets (ウィジェット)](https://doc.4d.com/4Dv20/4D/20/4D-Widgets.100-6343453.ja.html) を参照してください。 ### バインドされた変数あるいは式の管理 サブフォームコンテナーオブジェクトには、[変数あるいは式](properties_Object.md#変数あるいは式) をバインドすることができます。 これは、親フォームとサブフォーム間で値を同期するのに便利です。 -By default, 4D creates a variable or expression of [object type](properties_Object.md#expression-type) for a subform container, which allows you to share values in the context of the subform using the `Form` command. しかし、単一の値のみを共有したい場合は、任意のスカラー型 (時間、整数など) の変数や式を使用することもできます。 +デフォルトで、4D はサブフォームコンテナーに [オブジェクト型](properties_Object.md#式の型式タイプ) の変数あるいは式をバインドし、`Form` コマンドを使ってサブフォームのコンテキストで値を共有できるようにします。 しかし、単一の値のみを共有したい場合は、任意のスカラー型 (時間、整数など) の変数や式を使用することもできます。 - バインドするスカラー型の変数あるいは式を定義し、[On Bound Variable Change](../Events/onBoundVariableChange.md) や [On Data Change](../Events/onDataChange.md) フォームイベントが発生したときに、`OBJECT Get subform container value` や `OBJECT SET SUBFORM CONTAINER VALUE` コマンドを呼び出して値を共有します。 この方法は、単一の値を同期させるのに推奨されます。 - または、バインドされた **オブジェクト** 型の変数あるいは式を定義し、`Form` コマンドを使用してサブフォームからそのプロパティにアクセスします。 この方法は、複数の値を同期させるのに推奨されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/ja/docusaurus-plugin-content-docs/current/Notes/updates.md index 38f5891b0c95eb..4dad8430ba7f66 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -5,11 +5,14 @@ title: リリースノート ## 4D 20 R10 -Read [**What’s new in 4D 20 R10**](https://blog.4d.com/en-whats-new-in-4d-20-R10/), the blog post that lists all new features and enhancements in 4D 20 R10. +[**4D 20 R10の新機能**](https://blog.4d.com/en-whats-new-in-4d-20-R10/) 4D 20 R10 の新機能と拡張機能をすべてリストアップしたブログ記事です。 #### ハイライト -- New `connectionTimeout` option in the [`options`](../API/TCPConnectionClass.md#options-parameter) parameter of the [`4D.TCPConnection.new()`](../API/TCPConnectionClass.md#4dtcpconnectionnew) function. +- [`4D.TCPConnection.new()`](../API/TCPConnectionClass.md#4dtcpconnectionnew) 関数の[`options`](../API/TCPConnectionClass.md#options-parameter) 引数に新しい`connectionTimeout` オプションが追加されました。 +- 4D 内でのUUID は**バージョン7**で生成されるようになりました。 以前の4D のリリースでは、バージョン4で生成されていました。 +- 4Dランゲージ: + - 統一性のため、[`Create entity selection`](../commands/create-entity-selection.md) コマンドおよび [`USE ENTITY SELECTION`](../commands/use-entity-selection.md) コマンドは、["4D 環境"](../commands/theme/4D_Environment.md) テーマから ["Selection"](../commands/theme/Selection.md) テーマへと移動しました。 ## 4D 20 R9 @@ -28,12 +31,12 @@ Read [**What’s new in 4D 20 R10**](https://blog.4d.com/en-whats-new-in-4d-20-R - 新しい[4D AIKit コンポーネント](../aikit/overview.md) を使用することでサードパーティAI のAPI とやり取りをすることが可能になります。 - 以下のVP コマンドのコールバックは、4D カスタム関数がその計算を全て終えるのを待つようになりました: [VP IMPORT DOCUMENT](../ViewPro/commands/vp-import-document.md), [VP IMPORT FORM BLOB](../ViewPro/commands/vp-import-from-blob.md)、[VP IMPORT FROM OBJECT](../ViewPro/commands/vp-import-from-object.md)、および [VP FLUSH COMMANDS](../ViewPro/commands/vp-flush-commands.md) - Google およびMicrosoft 365 カレンダーを管理するための新しい[4D Netkit](https://developer.4d.com/4D-NetKit/) 機能。OAuth 2.0 認証のためのホストWeb サーバーを使用する機能。 -- 4D Write Pro Interface: New [integrated AI](../WritePro/writeprointerface.md#integrated-ai) to interact with **chatGTP** from your 4D Write Pro documents. -- [**Fixed bug list**](https://bugs.4d.fr/fixedbugslist?version=20_R9): list of all bugs that have been fixed in 4D 20 R9. +- 4D Write Pro インターフェース: 新しい [統合されたAI](../WritePro/writeprointerface.md#integrated-ai) を使用して、4D Write Pro ドキュメントから**chatGTP** とやり取りすることができます。 +- [**修正リスト**](https://bugs.4d.fr/fixedbugslist?version=20_R9): 4D 20 R9 で修正されたバグのリストです(日本語版は [こちら](https://4d-jp.github.io/2025/99/release-note-version-20r9//))。 ## 4D 20 R8 -Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8/), the blog post that lists all new features and enhancements in 4D 20 R8. +[**4D 20 R8 の新機能**](https://blog.4d.com/ja-whats-new-in-4d-v20-R8/): 4D 20 R8 の新機能と拡張機能をすべてリストアップしたブログ記事です。 #### ハイライト @@ -51,7 +54,7 @@ Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8 - 以下のコマンドが、引数としてオブジェクトまたはコレクションを受け取れるようになりました: [WP SET ATTRIBUTES](../WritePro/commands/wp-set-attributes.md)、[WP Get attributes](../WritePro/commands/wp-get-attributes.md)、[WP RESET ATTRIBUTES](../WritePro/commands/wp-reset-attributes.md)、[WP Table append row](../WritePro/commands/wp-table-append-row.md)、 [WP Import document](../WritePro/commands/wp-import-document.md)、 [WP EXPORT DOCUMENT](../WritePro/commands/wp-export-document.md)、 [WP Add picture](../WritePro/commands/wp-add-picture.md)、および [WP Insert picture](../WritePro/commands/wp-insert-picture.md) - [WP Insert formula](../WritePro/commands/wp-insert-formula.md)、 [WP Insert document body](../WritePro/commands/wp-insert-document-body.md)、および [WP Insert break](../WritePro/commands/wp-insert-break.md) はレンジを返す関数になりました(頭文字のみ大文字です)。 - ドキュメント属性に関連した新しい式: [This.sectionIndex](../WritePro/managing-formulas.md)、 [This.sectionName](../WritePro/managing-formulas.md) および[This.pageIndex](../WritePro/managing-formulas.md) -- 4D ランゲージ: +- 4Dランゲージ: - 変更されたコマンド: [`FORM EDIT`](../commands/form-edit.md) - [4D.CryptoKey class](../API/CryptoKeyClass.md) の[`.sign()`](../API/CryptoKeyClass.md#sign) および [`.verify()`](../API/CryptoKeyClass.md#verify) 関数は *message* 引数においてBlob をサポートするようになりました。 - [**修正リスト**](https://bugs.4d.fr/fixedbugslist?version=20_R8): 4D 20 R8 で修正されたバグのリストです(日本語版は [こちら](https://4d-jp.github.io/2024/360/release-note-version-20r8/))。 @@ -63,7 +66,7 @@ Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8 ## 4D 20 R7 -Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7/), the blog post that lists all new features and enhancements in 4D 20 R7. +[**4D 20 R7 の新機能**](https://blog.4d.com/ja-whats-new-in-4d-v20-R7/): 4D 20 R7 の新機能と拡張機能をすべてリストアップしたブログ記事です。 #### ハイライト @@ -78,7 +81,7 @@ Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7 - 4Dクライアントアプリケーション用の新しいアプリケーションビルド XMLキー: 接続時にサーバーから送信される証明書について、認証局の 署名 や [ドメイン](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.ja.html) を検証するためのキーが追加されました。 - [埋め込みライセンスなしでスタンドアロンアプリケーションをビルドすること](../Desktop/building.md#licenses) が可能になりました。 -- 4D ランゲージ: +- 4Dランゲージ: - 新コマンド: [Process info](../commands/process-info.md)、 [Session info](../commands/session-info.md)、 [SET WINDOW DOCUMENT ICON](../commands/set-window-document-icon.md) - 変更されたコマンド: [Process activity](../commands/process-activity.md)、 [Process number](../commands/process-number.md) - 4D Write Pro: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md b/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md index 7297a333163d04..48505bdca34736 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md @@ -140,7 +140,7 @@ Function GetBestOnes() `City クラス` は API を提供しています: ```4d -// cs.City class +// cs.City クラス Class extends DataClass @@ -267,10 +267,10 @@ End if データモデルクラスを作成・編集する際には次のルールに留意しなくてはなりません: - 4D のテーブル名は、**cs** [クラスストア](Concepts/classes.md#クラスストア) 内において自動的に DataClass クラス名として使用されるため、**cs** 名前空間において衝突があってはなりません。 特に: - - Do not give the same name to a 4D table and to a [user class name](../Concepts/classes.md#class-definition). 衝突が起きた場合には、ユーザークラスのコンストラクターは使用不可となります (コンパイラーにより警告が返されます)。 + - 4D テーブル名と[ユーザークラス名](../Concepts/classes.md#クラス定義)に同じ名前をつけてはいけません。 衝突が起きた場合には、ユーザークラスのコンストラクターは使用不可となります (コンパイラーにより警告が返されます)。 - 4D テーブルに予約語を使用してはいけません (例: "DataClass")。 -- When defining a class, make sure the [`Class extends`](../Concepts/classes.md#class-extends-classname) statement exactly matches the parent class name (remember that they're case sensitive). たとえば、EntitySelection クラスを継承するには `Class extends EntitySelection` と書きます。 +- クラス定義の際、[`Class extends`](../Concepts/classes.md#class-extends-classname) ステートメントに使用する親クラスの名前は完全に合致するものでなくてはいけません (文字の大小が区別されます)。 たとえば、EntitySelection クラスを継承するには `Class extends EntitySelection` と書きます。 - データモデルクラスオブジェクトのインスタンス化に `new()` キーワードは使えません (エラーが返されます)。 上述の ORDA クラステーブルに一覧化されている、通常の [インスタンス化の方法](#アーキテクチャー) を使う必要があります。 @@ -845,7 +845,7 @@ $id:=$remoteDS.Schools.computeIDNumber() // エラー (未知のメンバー機 ```4d // onHTTPGet 関数を宣言する -exposed onHTTPGet Function (params) : result +exposed onHttpGet Function (params) : result ``` :::info @@ -997,7 +997,7 @@ End if ### クラスファイル -An ORDA data model user class is defined by adding, at the [same location as regular class files](../Concepts/classes.md#class-definition) (*i.e.* in the `/Sources/Classes` folder of the project folder), a .4dm file with the name of the class. たとえば、`Utilities` データクラスのエンティティクラスは、`UtilitiesEntity.4dm` ファイルによって定義されます。 +ORDA データモデルユーザークラスは、クラスと同じ名称の .4dm ファイルを [通常のクラスファイルと同じ場所](../Concepts/classes.md#クラス定義) (つまり、Project フォルダー内の `/Sources/Classes` フォルダー) に追加することで定義されます。 たとえば、`Utilities` データクラスのエンティティクラスは、`UtilitiesEntity.4dm` ファイルによって定義されます。 ### クラスの作成 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Project/components.md b/i18n/ja/docusaurus-plugin-content-docs/current/Project/components.md index 76c69d73c5344c..f15400e08eb5c5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Project/components.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Project/components.md @@ -3,7 +3,7 @@ id: components title: コンポーネント --- -4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 +4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 独自の 4Dコンポーネントを [開発](../Extensions/develop-components.md) し、[ビルド](../Desktop/building.md) することもできますし、4Dコミュニティによって共有されているパブリックコンポーネントを GitHubで見つけて ダウンロードすることもできます。 @@ -11,14 +11,14 @@ title: コンポーネント ## インタープリターとコンパイル済みコンポーネント -Components can be interpreted or [compiled](../Desktop/building.md). +コンポーネントは、インタープリターまたは [コンパイル済み](../Desktop/building.md) のものが使えます。 - インタープリターモードで動作する 4Dプロジェクトは、インタープリターまたはコンパイル済みどちらのコンポーネントも使用できます。 -- コンパイルモードで実行される 4Dプロジェクトでは、インタープリターのコンポーネントを使用できません。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 +- コンパイルモードで実行される 4Dプロジェクトでは、インタープリターのコンポーネントを使用できません。 この場合、コンパイル済みコンポーネントのみが利用可能です。 -### Package folder +### パッケージフォルダ -The package folder of a component (*MyComponent.4dbase* folder) can contain: +コンポーネントのパッケージフォルダ(*MyComponent.4dbase* フォルダ) には以下のものを含めることができます: - for **interpreted components**: a standard [Project folder](../Project/architecture.md). The package folder name must be suffixed with **.4dbase** if you want to install it in the [**Components** folder of your project](architecture.md#components). - for **compiled components**: @@ -35,7 +35,7 @@ The "Contents" folder architecture is recommended for components if you want to :::note -このページでは、**4D** と **4D Server** 環境でのコンポーネントの使用方法について説明します。 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: +このページでは、**4D** と **4D Server** 環境でのコンポーネントの使用方法について説明します。 他の環境では、コンポーネントの管理は異なります: - [リモートモードの 4D](../Desktop/clientServer.md) では、サーバーがコンポーネントを読み込み、リモートアプリケーションに送信します。 - 統合されたアプリケーションでは、コンポーネントは [ビルドする際に組み込まれます](../Desktop/building.md#プラグインコンポーネントページ)。 @@ -61,7 +61,7 @@ The "Contents" folder architecture is recommended for components if you want to #### dependencies.json -**dependencies.json** ファイルは、4Dプロジェクトに必要なすべてのコンポーネントを宣言します。 このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: +**dependencies.json** ファイルは、4Dプロジェクトに必要なすべてのコンポーネントを宣言します。 このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: ``` /MyProjectRoot/Project/Sources/dependencies.json @@ -167,7 +167,7 @@ flowchart TB パスは、POSIXシンタックスで表します ([POSIXシンタックス](../Concepts/paths#posix-シンタックス) 参照)。 -相対パスは、[`environment4d.json`](#environment4djson) ファイルを基準とした相対パスです。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 +相対パスは、[`environment4d.json`](#environment4djson) ファイルを基準とした相対パスです。 絶対パスは、ユーザーのマシンにリンクされています。 コンポーネントアーキテクチャーの柔軟性と移植性のため、ほとんどの場合、相対パスを使用することが **推奨** されます (特に、プロジェクトがソース管理ツールにホストされている場合)。 @@ -232,7 +232,7 @@ If you select the [**Follow 4D Version**](#defining-a-github-dependency-version- ::: -- **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 [**dependencies.json** ファイル](#dependenciesjson) および [**environment4d.json**](#environment4djson) ファイルでは、プロジェクトで使用するリリースタグを指定することができます。 たとえば: たとえば: たとえば: たとえば: たとえば: たとえば: たとえば: +- **タグ** はリリースを一意に参照するテキストです。 [**dependencies.json** ファイル](#dependenciesjson) および [**environment4d.json**](#environment4djson) ファイルでは、プロジェクトで使用するリリースタグを指定することができます。 たとえば: ```json { @@ -245,7 +245,7 @@ If you select the [**Follow 4D Version**](#defining-a-github-dependency-version- } ``` -- リリースは **バージョン** によっても識別されます。 リリースは **バージョン** によっても識別されます。 リリースは **バージョン** によっても識別されます。 The versioning system used is based on the [*Semantic Versioning*](https://regex101.com/r/Ly7O1x/3/) concept, which is the most commonly used. 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: +- リリースは **バージョン** によっても識別されます。 使用されるバージョニングシステムは一般的に使用されている [*セマンティックバージョニング*](https://regex101.com/r/Ly7O1x/3/) コンセプトに基づいています。 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: ```json { @@ -258,7 +258,7 @@ If you select the [**Follow 4D Version**](#defining-a-github-dependency-version- } ``` -範囲は、最小値と最大値を示す 2つのセマンティックバージョンと演算子 ('`< | > | >= | <= | =`') で定義します。 `*` はすべてのバージョンのプレースホルダーとして使用できます。 ~ および ^ の接頭辞は、数字で始まるバージョンを定義し、それぞれ次のメジャーバージョンおよびマイナーバージョンまでの範囲を示します。 `*` はすべてのバージョンのプレースホルダーとして使用できます。 ~ および ^ の接頭辞は、数字で始まるバージョンを定義し、それぞれ次のメジャーバージョンおよびマイナーバージョンまでの範囲を示します。 +範囲は、最小値と最大値を示す 2つのセマンティックバージョンと演算子 ('`< | > | >= | <= | =`') で定義します。 `*` はすべてのバージョンのプレースホルダーとして使用できます。 ~ および ^ の接頭辞は、数字で始まるバージョンを定義し、それぞれ次のメジャーバージョンおよびマイナーバージョンまでの範囲を示します。 以下にいくつかの例を示します: @@ -308,7 +308,7 @@ You then need to [provide your connection token](#providing-your-github-access-t #### 依存関係のローカルキャッシュ -参照された GitHubコンポーネントはローカルのキャッシュフォルダーにダウンロードされ、その後環境に読み込まれます。 ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: +参照された GitHubコンポーネントはローカルのキャッシュフォルダーにダウンロードされ、その後環境に読み込まれます。 ローカルキャッシュフォルダーは以下の場所に保存されます: - macOs: `$HOME/Library/Caches//Dependencies` - Windows: `C:\Users\\AppData\Local\\Dependencies` @@ -374,7 +374,7 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ### 依存関係のオリジン -依存関係パネルには、各依存関係のオリジン (由来) にかかわらず、プロジェクトの依存関係すべてがリストされます。 依存関係のオリジンは、名前の下に表示されるタグによって判断することができます: 依存関係のオリジンは、名前の下に表示されるタグによって判断することができます: +依存関係パネルには、各依存関係のオリジン (由来) にかかわらず、プロジェクトの依存関係すべてがリストされます。 依存関係のオリジンは、名前の下に表示されるタグによって判断することができます: ![dependency-origin](../assets/en/Project/dependency-origin.png) @@ -406,11 +406,11 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ### ローカルな依存関係の追加 -ローカルな依存関係を追加するには、パネルのフッターエリアにある **+** ボタンをクリックします。 次のようなダイアログボックスが表示されます: 次のようなダイアログボックスが表示されます: 次のようなダイアログボックスが表示されます: +ローカルな依存関係を追加するには、パネルのフッターエリアにある **+** ボタンをクリックします。 次のようなダイアログボックスが表示されます: ![dependency-add](../assets/en/Project/dependency-add.png) -**ローカル** タブが選択されていることを確認し、**...** ボタンをクリックします。 標準の "ファイルを開く" ダイアログボックスが表示され、追加するコンポーネントを選択できます。 You can select a [**.4DZ**](../Desktop/building.md#build-component) or a [**.4DProject**](architecture.md#applicationname4dproject-file) file. +**ローカル** タブが選択されていることを確認し、**...** ボタンをクリックします。 標準の "ファイルを開く" ダイアログボックスが表示され、追加するコンポーネントを選択できます。 [**.4DZ**](../Desktop/building.md#コンポーネントをビルド) または [**.4DProject**](architecture.md#applicationname4dproject-ファイル) ファイルを選択できます。 選択した項目が有効であれば、その名前と場所がダイアログボックスに表示されます。 @@ -421,7 +421,7 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single プロジェクトに依存関係を追加するには、**追加** をクリックします。 - プロジェクトパッケージフォルダーの隣 (デフォルトの場所) にあるコンポーネントを選択すると、[**dependencies.json**](#dependenciesjson)ファイル内で宣言されます。 -- プロジェクトのパッケージフォルダーの隣にないコンポーネントを選択した場合、そのコンポーネントは [**dependencies.json**](#dependenciesjson) ファイルで宣言され、そのパスも [**environment4d.json**](#environment4djson) ファイルで宣言されます (注記参照)。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 +- プロジェクトのパッケージフォルダーの隣にないコンポーネントを選択した場合、そのコンポーネントは [**dependencies.json**](#dependenciesjson) ファイルで宣言され、そのパスも [**environment4d.json**](#environment4djson) ファイルで宣言されます (注記参照)。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 :::note @@ -429,7 +429,7 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ::: -この依存関係は、[非アクティブな依存関係のリスト](#依存関係のステータス) に **Available after restart** (再起動後に利用可能) というステータスで追加されます。 このコンポーネントはアプリケーションの再起動後にロードされます。 このコンポーネントはアプリケーションの再起動後にロードされます。 +この依存関係は、[非アクティブな依存関係のリスト](#依存関係のステータス) に **Available after restart** (再起動後に利用可能) というステータスで追加されます。 このコンポーネントはアプリケーションの再起動後にロードされます。 ### GitHubの依存関係の追加 @@ -437,11 +437,11 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ![dependency-add-git](../assets/en/Project/dependency-add-git.png) -依存関係の GitHubリポジトリのパスを入力します。 **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: +依存関係の GitHubリポジトリのパスを入力します。 **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: ![dependency-add-git-2](../assets/en/Project/dependency-add-git-2.png) -接続が確立されると、入力エリアの右側に GitHubアイコン ![dependency-gitlogo](../assets/en/Project/dependency-gitlogo.png) が表示されます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 +接続が確立されると、入力エリアの右側に GitHubアイコン ![dependency-gitlogo](../assets/en/Project/dependency-gitlogo.png) が表示されます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 :::note @@ -561,24 +561,24 @@ To provide your GitHub access token, you can either: ![dependency-add-token-2](../assets/en/Project/dependency-add-token-2.png) -パーソナルアクセストークンは 1つしか入力できません。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 +パーソナルアクセストークンは 1つしか入力できません。 入力されたトークンは編集することができます。 The provided token is stored in a **github.json** file in the [active 4D folder](../commands-legacy/get-4d-folder.md#active-4d-folder). ### 依存関係の削除 -依存関係パネルから依存関係を削除するには、対象の依存関係を選択し、パネルの **-** ボタンをクリックするか、コンテキストメニューから **依存関係の削除...** を選択します。 依存関係は複数選択することができ、その場合、操作は選択したすべての依存関係に適用されます。 依存関係は複数選択することができ、その場合、操作は選択したすべての依存関係に適用されます。 +依存関係パネルから依存関係を削除するには、対象の依存関係を選択し、パネルの **-** ボタンをクリックするか、コンテキストメニューから **依存関係の削除...** を選択します。 依存関係は複数選択することができ、その場合、操作は選択したすべての依存関係に適用されます。 :::note -依存関係パネルを使用して削除できるのは、[**dependencies.json**](#dependenciesjson) ファイルで宣言されている依存関係に限られます。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 +依存関係パネルを使用して削除できるのは、[**dependencies.json**](#dependenciesjson) ファイルで宣言されている依存関係に限られます。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 ::: -確認用のダイアログボックスが表示されます。 確認用のダイアログボックスが表示されます。 確認用のダイアログボックスが表示されます。 確認用のダイアログボックスが表示されます。 依存関係が **environment4d.json** ファイルで宣言されている場合、以下のオプションでそれを削除することができます: +確認用のダイアログボックスが表示されます。 依存関係が **environment4d.json** ファイルで宣言されている場合、以下のオプションでそれを削除することができます: ![dependency-remove](../assets/en/Project/remove-comp.png) -ダイアログボックスを確定すると、削除された依存関係の [ステータス](#依存関係のステータス) には "Unloaded after restart" (再起動時にアンロード) フラグが自動的に付きます。 このコンポーネントはアプリケーションの再起動時にアンロードされます。 このコンポーネントはアプリケーションの再起動時にアンロードされます。 +ダイアログボックスを確定すると、削除された依存関係の [ステータス](#依存関係のステータス) には "Unloaded after restart" (再起動時にアンロード) フラグが自動的に付きます。 このコンポーネントはアプリケーションの再起動時にアンロードされます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/REST/$singleton.md b/i18n/ja/docusaurus-plugin-content-docs/current/REST/$singleton.md index 11d6285153df40..43e4164610c4ab 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/REST/$singleton.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/REST/$singleton.md @@ -43,7 +43,7 @@ POST リクエストのボディに関数に渡す引数を含めます: `["mypa :::note -`SingletonClassFunction()` 関数を `GET` で呼び出し可能にするためには、この関数は `onHTTPGet` キーワードで宣言されている必要があります([関数の設定](ClassFunctions#関数の設定) を参照して下さい)。 +The `SingletonClassFunction()` function must have been declared with the `onHTTPGet` keyword to be callable with `GET` (see [Function configuration](ClassFunctions#function-configuration)). ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md b/i18n/ja/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md index a93094fa52be04..bf98fb587668af 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md @@ -50,7 +50,7 @@ POST リクエストのボディに関数に渡す引数を含めます: `["Agua :::note -`getCity()` 関数は、 `onHTTPGet` キーワードを使用して宣言されている必要があります(以下の[関数の設定](#関数の設定) を参照して下さい)。 +The `getCity()` function must have been declared with the `onHTTPGet` keyword (see [Function configuration](#function-configuration) below). ::: @@ -74,10 +74,10 @@ exposed Function getSomeInfo() : 4D.OutgoingMessage ### `onHTTPGet` -HTTP `GET` リクエストから呼び出すことのできる関数は、[`onHTTPGet` キーワード](../ORDA/ordaClasses.md#onHTTPGet-キーワード) も使用して明確に宣言されていなければなりません。 例: +Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). 例: ```4d -// GET リクエストを許可する +//allowing GET requests exposed onHTTPGet Function getSomeInfo() : 4D.OutgoingMessage ``` diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/authentication.md b/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/authentication.md index d23859cada3257..77d100dce15f1d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/authentication.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/authentication.md @@ -23,7 +23,7 @@ Webユーザーに特定のアクセス権を与えるには、ユーザーを ### カスタムの認証 (デフォルト) -このモードでは基本的に、ユーザーを認証する方法は開発者に委ねられています。 4D only evaluates HTTP requests [that require an authentication](#database-method-calls). +このモードでは基本的に、ユーザーを認証する方法は開発者に委ねられています。 4Dは、[認証を必要とする](#データベースメソッドの呼び出し) HTTPリクエストのみを評価します。 この認証モードは最も柔軟性が高く、以下のことが可能です: @@ -38,7 +38,7 @@ ds.webUser.save() "はじめに" の章の [例題](gettingStarted.md#ユーザー認証) も参照ください。 -カスタム認証が提供されていない場合、4D は [`On Web Authentication`](#on-web-authentication) データベースメソッドを呼び出します (あれば)。 In addition to $urll and $content, only the IP addresses of the browser and the server ($IPClient and $IPServer) are provided, the user name and password ($user and $password) are empty. ユーザー認証が成功した場合、このメソッドは $0 に **True** を返さなければなりません。この場合、リクエストされたリソースが提供されます。認証が失敗した場合には、$0 に **False** を返します。 +カスタム認証が提供されていない場合、4D は [`On Web Authentication`](#on-web-authentication) データベースメソッドを呼び出します (あれば)。 $urll と $content に加えて、ブラウザーとサーバーの IPアドレス ($IPClient と$IPServer) のみが提供され、ユーザー名とパスワード ($user と $password) は空です。 ユーザー認証が成功した場合、このメソッドは $0 に **True** を返さなければなりません。この場合、リクエストされたリソースが提供されます。認証が失敗した場合には、$0 に **False** を返します。 > **警告:** `On Web Authentication` データベースメソッドが存在しない場合、接続は自動的に受け入れられます (テストモード)。 @@ -61,7 +61,7 @@ ds.webUser.save() DIGESTモードはより高いセキュリティレベルを提供します。認証情報は復号が困難な一方向ハッシュを使用して処理されます。 -BASICモードと同様に、ユーザーは接続時に自分の名前とパスワードを入力する必要があります。 その後、[`On Web Authentication`](#on-web-authentication) データベースメソッドが呼び出されます。 When the DIGEST mode is activated, the $password parameter (password) is always returned empty. 実際このモードを使用するとき、この情報はネットワークからクリアテキスト (平文) では渡されません。 この場合、接続リクエストは `WEB Validate digest` コマンドを使用して検証しなければなりません。 +BASICモードと同様に、ユーザーは接続時に自分の名前とパスワードを入力する必要があります。 その後、[`On Web Authentication`](#on-web-authentication) データベースメソッドが呼び出されます。 DIGESTモードが有効の時、$password 引数 (パスワード) は常に空の文字列が渡されます。 実際このモードを使用するとき、この情報はネットワークからクリアテキスト (平文) では渡されません。 この場合、接続リクエストは `WEB Validate digest` コマンドを使用して検証しなければなりません。 > これらのパラメーターの変更を反映させるためには、Webサーバーを再起動する必要があります。 @@ -77,14 +77,14 @@ BASICモードと同様に、ユーザーは接続時に自分の名前とパス - Webサーバーが、存在しないリソースを要求する URL を受信した場合 - Webサーバーが `4DACTION/`, `4DCGI/` ... で始まる URL を受信した場合 -- when the web server receives a root access URL and no home page has been set in the Settings or by means of the [`WEB SET HOME PAGE`](../commands-legacy/web-set-home-page.md) command +- Webサーバーがルートアクセス URL を受信したが、ストラクチャー設定または [`WEB SET HOME PAGE`](../commands-legacy/web-set-home-page.md) コマンドでホームページが設定されていないとき - Webサーバーが、セミダイナミックページ内でコードを実行するタグ (`4DSCRIPT`など) を処理した場合。 次の場合には、`On Web Authentication` データベースメソッドは呼び出されません: - Webサーバーが有効な静的ページを要求する URL を受信したとき。 -- when the web server receives a URL beginning with `rest/` and the REST server is launched (in this case, the authentication is handled through the [`ds.authentify` function](../REST/authUsers#force-login-mode) or (deprecated) the `On REST Authentication` database method or Structure settings. -- when the web server receives a URL with a pattern triggering a [custom HTTP Request Handler](http-request-handler.md). +- Webサーバーが `rest/` で始まる URL を受信し、RESTサーバーが起動しているとき (この場合、認証は[`ds.authentify` 関数](../REST/authUsers#強制ログインモード) または `On REST Authentication` データベースメソッド(非推奨)またはストラクチャー設定によって処理されます)。 +- Web サーバーが、[カスタムのHTTP リクエストハンドラー](http-request-handler.md)をトリガーするパターンを持ったURL を受信したとき。 ### シンタックス diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md b/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md index 86fffc80a746bf..da692a013e23eb 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md @@ -243,7 +243,7 @@ HTTP リクエストハンドラーコードは、[**共有された**](../Conce :::note -[`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) または [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) キーワードを使用してリクエストハンドラー関数を外部REST 呼び出しへと公開することは**推奨されていません**。 +It is **not recommended** to expose request handler functions to external REST calls using [`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) or [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keywords. ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/templates.md b/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/templates.md index a71fc89d03ba0a..2b30a136bc6766 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/templates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/WebServer/templates.md @@ -3,7 +3,7 @@ id: templates title: テンプレートページ --- -4D の Webサーバーでは、タグを含む HTMLテンプレートページを使用することができます。 つまり、静的な HTMLコードと、4DTEXT、4DIF、4DINCLUDEなどの [変換タグ](../Tags/transformation-tags.md) によって追加された 4D参照の組み合わせです。 これらのタグは通常、HTMLタイプのコメント (``) として、HTMLソースコードに挿入されます。 4D変換タグは様々なタイプのデータを引数として受け入れます: テキスト、変数、メソッド、コマンド名、…。 これらのデータが自分で書いたコードから提供される場合、その受け渡しを自分でコントロールできるので、悪意あるコードの侵入のリスクは無いと言っていいでしょう。 しかしながら、 データベースのコード扱うデータは多くの場合、外部ソース (ユーザー入力、読み込み、等) から導入されたものです。 4D変換タグは様々なタイプのデータを引数として受け入れます: テキスト、変数、メソッド、コマンド名、…。 これらのデータが自分で書いたコードから提供される場合、その受け渡しを自分でコントロールできるので、悪意あるコードの侵入のリスクは無いと言っていいでしょう。 しかしながら、 データベースのコード扱うデータは多くの場合、外部ソース (ユーザー入力、読み込み、等) から導入されたものです。 4D変換タグは様々なタイプのデータを引数として受け入れます: テキスト、変数、メソッド、コマンド名、…。 これらのデータが自分で書いたコードから提供される場合、その受け渡しを自分でコントロールできるので、悪意あるコードの侵入のリスクは無いと言っていいでしょう。 しかしながら、 データベースのコード扱うデータは多くの場合、外部ソース (ユーザー入力、読み込み、等) から導入されたものです。 4D変換タグは様々なタイプのデータを引数として受け入れます: テキスト、変数、メソッド、コマンド名、…。 これらのデータが自分で書いたコードから提供される場合、その受け渡しを自分でコントロールできるので、悪意あるコードの侵入のリスクは無いと言っていいでしょう。 しかしながら、 データベースのコード扱うデータは多くの場合、外部ソース (ユーザー入力、読み込み、等) から導入されたものです。 +4D の Webサーバーでは、タグを含む HTMLテンプレートページを使用することができます。 つまり、静的な HTMLコードと、4DTEXT、4DIF、4DINCLUDEなどの [変換タグ](../Tags/transformation-tags.md) によって追加された 4D参照の組み合わせです。 これらのタグは通常、HTMLタイプのコメント (``) として、HTMLソースコードに挿入されます。 これらのページが HTTPサーバーから送信される際、ページは解析され、含まれているタグが実行され、結果のデータに置き換えられます。 このように、ブラウザーが受け取るページは、静的な要素と 4D の処理による値が組み合わさったものです。 @@ -63,7 +63,7 @@ title: テンプレートページ 最適化のため、".HTML" または ".HTM" を末尾に持つ単純な URL で HTMLページを呼び出した場合、4D Webサーバーは HTMLソースコードの解析をおこないません。 -4D Web サーバーが送信するテンプレートページの解析は、`WEB SEND FILE` (.htm, .html, .sthtm, .shtml)、`WEB SEND BLOB` (text/html type BLOB)、または `WEB SEND TEXT` コマンドが呼び出されたとき、および URL を使用して呼び出されたページを送信するときにおこなわれます。 URL で呼び出す場合、".htm" と ".html" で終わるページは最適化のため解析されません。 この場合に HTMLページの解析を強制するには、末尾を ".shtm" または ".shtml" とする必要があります (例: `http://www.server.com/dir/page.shtm`)。 このタイプのページの使用例は、`WEB GET STATISTICS` コマンドの説明に記載されています。 XMLページ (.xml、.xsl) もサポートされており、常に 4D によって解析されます。 URL で呼び出す場合、".htm" と ".html" で終わるページは最適化のため解析されません。 この場合に HTMLページの解析を強制するには、末尾を ".shtm" または ".shtml" とする必要があります (例: `http://www.server.com/dir/page.shtm`)。 このタイプのページの使用例は、`WEB GET STATISTICS` コマンドの説明に記載されています。 XMLページ (.xml、.xsl) もサポートされており、常に 4D によって解析されます。 URL で呼び出す場合、".htm" と ".html" で終わるページは最適化のため解析されません。 この場合に HTMLページの解析を強制するには、末尾を ".shtm" または ".shtml" とする必要があります (例: `http://www.server.com/dir/page.shtm`)。 このタイプのページの使用例は、`WEB GET STATISTICS` コマンドの説明に記載されています。 XMLページ (.xml、.xsl) もサポートされており、常に 4D によって解析されます。 URL で呼び出す場合、".htm" と ".html" で終わるページは最適化のため解析されません。 この場合に HTMLページの解析を強制するには、末尾を ".shtm" または ".shtml" とする必要があります (例: `http://www.server.com/dir/page.shtm`)。 このタイプのページの使用例は、`WEB GET STATISTICS` コマンドの説明に記載されています。 XMLページ (.xml、.xsl) もサポートされており、常に 4D によって解析されます。 +4D Web サーバーが送信するテンプレートページの解析は、`WEB SEND FILE` (.htm, .html, .sthtm, .shtml)、`WEB SEND BLOB` (text/html type BLOB)、または `WEB SEND TEXT` コマンドが呼び出されたとき、および URL を使用して呼び出されたページを送信するときにおこなわれます。 URL で呼び出す場合、".htm" と ".html" で終わるページは最適化のため解析されません。 この場合に HTMLページの解析を強制するには、末尾を ".shtm" または ".shtml" とする必要があります (例: `http://www.server.com/dir/page.shtm`)。 このタイプのページの使用例は、`WEB GET STATISTICS` コマンドの説明に記載されています。 XMLページ (.xml、.xsl) もサポートされており、常に 4D によって解析されます。 `PROCESS 4D TAGS` コマンドを使用すると、Webコンテキスト外でも解析をおこなうことができます。 @@ -82,7 +82,7 @@ title: テンプレートページ ## Webから 4Dメソッドへのアクセス -`4DEACH`、`4DELSEIF`、`4DEVAL`、`4DHTML`、`4DIF`、`4DLOOP`、`4DSCRIPT`、または `4DTEXT` で Webリクエストから 4Dメソッドを実行できるか否かは、メソッドプロパティの [公開オプション: 4D タグと URL(4DACTION...)](allowProject.md) 属性の設定に依存します。 この属性がチェックされていないメソッドは、Webリクエストから呼び出すことができません。 この属性がチェックされていないメソッドは、Webリクエストから呼び出すことができません。 この属性がチェックされていないメソッドは、Webリクエストから呼び出すことができません。 この属性がチェックされていないメソッドは、Webリクエストから呼び出すことができません。 この属性がチェックされていないメソッドは、Webリクエストから呼び出すことができません。 +`4DEACH`、`4DELSEIF`、`4DEVAL`、`4DHTML`、`4DIF`、`4DLOOP`、`4DSCRIPT`、または `4DTEXT` で Webリクエストから 4Dメソッドを実行できるか否かは、メソッドプロパティの [公開オプション: 4D タグと URL(4DACTION...)](allowProject.md) 属性の設定に依存します。 この属性がチェックされていないメソッドは、Webリクエストから呼び出すことができません。 ## 悪意あるコードの侵入を防止 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIParameters.md b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIParameters.md index d189b7f82a91f7..bbeb245d6f0c19 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIParameters.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIParameters.md @@ -22,22 +22,22 @@ title: OpenAIParameters ### ネットワークプロパティ -| プロパティ | 型 | 説明 | -| -------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `timeout` | Real | Overrides the client-level default timeout for the request, in seconds. Default is 0. | -| `httpAgent` | HTTPAgent | Overrides the client-level default HTTP agent for the request. | -| `maxRetries` | Integer | The maximum number of retries for the request. (Only if code not asynchrone ie. no function provided) | -| `extraHeaders` | Object | Extra headers to send with the request. | +| プロパティ | 型 | 説明 | +| -------------- | --------- | --------------------------------------------------------------------------- | +| `timeout` | Real | クライアントレベルのリクエストのデフォルトのタイムアウトをオーバーライドします(秒単位)。 デフォルトは0です。 | +| `httpAgent` | HTTPAgent | クライアントレベルのリクエストのデフォルトのHTTP エージェントをオーバーライドします。 | +| `maxRetries` | Integer | リクエストのリトライの最大回数。 (コードが非同期でない場合、つまり関数が提供されていない場合のみ) | +| `extraHeaders` | Object | リクエストに付随して送信する追加のヘッダー。 | -### OpenAPI properties +### OpenAPIプロパティ -| プロパティ | 型 | 説明 | -| ------ | ---- | ----------------------------------------------------------------------------------------------------------- | -| `user` | Text | A unique identifier representing the end-user, which helps OpenAI monitor and detect abuse. | +| プロパティ | 型 | 説明 | +| ------ | ---- | -------------------------------------------------- | +| `user` | Text | エンドユーザーを表す固有の識別子。これはOpenAI が不正利用をモニターし検知するのに役立ちます。 | ## 継承クラス -Several classes inherit from `OpenAIParameters` to extend its functionality for specific use cases. Below are some of the classes that extend `OpenAIParameters`: +特定の用途のためにこのクラスの機能を拡張するために、いくつかのクラスが`OpenAIParameters` クラスを継承します。 `OpenAIParameters` 以下はクラスを拡張するクラスの一部です: - [OpenAIChatCompletionsParameters](OpenAIChatCompletionsParameters.md) - [OpenAIChatCompletionsMessagesParameters](OpenAIChatCompletionsMessagesParameters.md) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIResult.md b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIResult.md index 32904817f6c78e..0b164f438f4cb3 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIResult.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIResult.md @@ -5,7 +5,7 @@ title: OpenAIResult # OpenAIResult -The `OpenAIResult` class is designed to handle the response from HTTP requests and provides functions to evaluate the success of the request, retrieve body content, and collect any errors that may have occurred during processing. +`OpenAIResult` クラスはHTTP リクエストからのレスポンスを管理するために設計されており、リクエストの成否の評価、本文コンテンツの取得、そして処理中に起きたかもしれないあらゆるエラーの収集などの機能を提供します。 ## プロパティ @@ -15,42 +15,42 @@ The `OpenAIResult` class is designed to handle the response from HTTP requests a ## 計算プロパティ -| プロパティ | 型 | 説明 | -| ------------ | ---------- | --------------------------------------------------------------------------------------------------------------------------- | -| `success` | Boolean | A Boolean indicating whether the HTTP request was successful. | -| `errors` | Collection | Returns a collection of errors. These could be network errors or errors returned by OpenAI. | -| `terminated` | Boolean | HTTP リクエストが終了したかどうかを示すブール値。 | -| `headers` | Object | Returns the response headers as an object. | -| `rateLimit` | Object | Returns rate limit information from the response headers. | -| `効果` | Object | Returns usage information from the response body if any. | +| プロパティ | 型 | 説明 | +| ------------ | ---------- | ---------------------------------------------------------------- | +| `success` | Boolean | HTTP リクエストが成功したかどうかを示すブール値。 | +| `errors` | Collection | エラーのコレクションを返します。 これのエラーはネットワークエラーまたはOpenAI から返されたエラーである可能性があります。 | +| `terminated` | Boolean | HTTP リクエストが終了したかどうかを示すブール値。 | +| `headers` | Object | レスポンスのヘッダーをオブジェクトとして返します。 | +| `rateLimit` | Object | レスポンスヘッダーからのレート制限情報を返します。 | +| `usage` | Object | レスポンス本文からの使用状況を返します(あれば)。 | ### rateLimit -The `rateLimit` property returns an object containing rate limit information from the response headers. -This information includes the limits, remaining requests, and reset times for both requests and tokens. +`rateLimit` プロパティはレスポンスヘッダーからのレート制限情報を格納しているオブジェクトを返します。 +この情報には上限、残りのリクエスト、そしてリクエストとトークン両方のリセットまでの時間が含まれます。 -For more details on rate limits and the specific headers used, refer to [the OpenAI Rate Limits Documentation](https://platform.openai.com/docs/guides/rate-limits#rate-limits-in-headers). +レート制限と使用される特定のヘッダーの詳細な情報については、[OpenAI のレート制限についてのドキュメンテーション](https://platform.openai.com/docs/guides/rate-limits#rate-limits-in-headers) を参照してください。 -The structure of the `rateLimit` object is as follows: +`rateLimit` オブジェクトの構造は以下のようになっています: -| フィールド | 型 | 説明 | -| ------------------- | ------- | ------------------------------------------------ | -| `limit.request` | Integer | Number of allowed requests. | -| `limit.tokens` | Integer | Number of allowed tokens. | -| `remaining.request` | Integer | Number of remaining requests. | -| `remaining.tokens` | Integer | Number of remaining tokens. | -| `reset.request` | 文字列 | Time until request limit resets. | -| `reset.tokens` | 文字列 | Time until token limit resets. | +| フィールド | 型 | 説明 | +| ------------------- | ------- | ---------------------- | +| `limit.request` | Integer | 許可されたリクエスト数。 | +| `limit.tokens` | Integer | 許可されたトークン数。 | +| `remaining.request` | Integer | 残りのリクエスト数。 | +| `remaining.tokens` | Integer | 残りのトークン数。 | +| `reset.request` | 文字列 | リクエストの制限がリセットされるまでの時間。 | +| `reset.tokens` | 文字列 | トークンの制限がリセットされるまでの時間。 | ## 関数 ### `throw()` -Throws the first error in the `errors` collection. This function is useful for propagating errors up the call stack. +`errors` コレクション内の最初のエラーをスローします。 この関数は呼び出しスタック内のエラーを辿っていくのに有用です。 ## 継承クラス -Several classes inherit from `OpenAIResult` to extend its functionality for specific use cases. Below are some of the classes that extend `OpenAIResult`: +特定の用途のためにこのクラスの機能を拡張するために、いくつかのクラスが`OpenAIResult` クラスを継承します。 `OpenAIResult` 以下はクラスを拡張するクラスの一部です: - [OpenAIChatCompletionsResult](OpenAIChatCompletionsResult.md) - [OpenAIChatCompletionsStreamResult](OpenAIChatCompletionsStreamResult.md) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIVision.md b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIVision.md index 2709b0ee06ce08..5b3cc196a9c5bc 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIVision.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIVision.md @@ -5,7 +5,7 @@ title: OpenAIVision # OpenAIVision -Helper for vision stuff. +視覚関連のヘルパー。 ## 関数 @@ -13,10 +13,10 @@ Helper for vision stuff. \**create*(*imageURL* : Text) : OpenAIVisionHelper -| 引数 | 型 | 説明 | -| ---------- | ------------------------------------------- | ---------------------------------------------------------- | -| *imageURL* | Text | The URL of the image to analyze. | -| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | A helper instance for analyzing the image. | +| 引数 | 型 | 説明 | +| ---------- | ------------------------------------------- | --------------------- | +| *imageURL* | Text | 解析したい画像のURL。 | +| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | 画像を解析するためのヘルパーインスタンス。 | #### 使用例 @@ -29,10 +29,10 @@ var $result:=$helper.prompt("Could you describe it?") \**fromFile*(*imageFile* : 4D.File) : OpenAIVisionHelper -| 引数 | 型 | 説明 | -| ----------- | ------------------------------------------- | ---------------------------------------------------------- | -| *imageFile* | 4D.File | The image file to analyze. | -| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | A helper instance for analyzing the image. | +| 引数 | 型 | 説明 | +| ----------- | ------------------------------------------- | --------------------- | +| *imageFile* | 4D.File | 解析したい画像ファイル。 | +| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | 画像を解析するためのヘルパーインスタンス。 | #### 使用例 @@ -45,10 +45,10 @@ var $result:=$helper.prompt("Could you describe it?") \**fromPicture*(*image* : Picture) : OpenAIVisionHelper -| 引数 | 型 | 説明 | -| ------- | ------------------------------------------- | ---------------------------------------------------------- | -| *ピクチャー* | Picture | The image to analyze. | -| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | A helper instance for analyzing the image. | +| 引数 | 型 | 説明 | +| ------- | ------------------------------------------- | --------------------- | +| *image* | Picture | 解析したい画像。 | +| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | 画像を解析するためのヘルパーインスタンス。 | #### 使用例 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIVisionHelper.md b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIVisionHelper.md index 3b53f2d4131c5f..b86029b0c883a8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIVisionHelper.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIVisionHelper.md @@ -11,13 +11,13 @@ title: OpenAIVisionHelper **prompt**(*prompt*: Test; *parameters* : OpenAIChatCompletionsParameters) -| 引数 | 型 | 説明 | -| ------------ | --------------------------------------------------------------------- | -------------------------------------------------------------------- | -| *prompt* | Text | The text prompt to send to the OpenAI chat API. | -| *parameters* | [OpenAIChatCompletionsParameters](OpenAIChatCompletionsParameters.md) | Optional parameters for the chat completion request. | -| 戻り値 | [OpenAIChatCompletionsResult](OpenAIChatCompletionsResult.md) | The result of the vision. | +| 引数 | 型 | 説明 | +| ------------ | --------------------------------------------------------------------- | ------------------------------ | +| *prompt* | Text | OpenAI チャットAPI に送信するテキストプロンプト。 | +| *parameters* | [OpenAIChatCompletionsParameters](OpenAIChatCompletionsParameters.md) | チャット補完リクエスト用の任意のパラメーター。 | +| 戻り値 | [OpenAIChatCompletionsResult](OpenAIChatCompletionsResult.md) | ビジョンの結果。 | -Sends a prompt to the OpenAI chat API along with an associated image URL, and optionally accepts parameters for the chat completion. +OpenAI API にプロンプトとそれに付随した画像URL を送信します。またオプションとしてチャット補完用のパラメーターも受付ます。 #### 使用例 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema1.png b/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema1.png new file mode 100644 index 00000000000000..e3e42329c20e16 Binary files /dev/null and b/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema1.png differ diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema2.png b/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema2.png new file mode 100644 index 00000000000000..79cf0060952bcd Binary files /dev/null and b/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-schema2.png differ diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-structure.png b/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-structure.png new file mode 100644 index 00000000000000..d7f45b3788d414 Binary files /dev/null and b/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/Develop/transactions-structure.png differ diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/ViewPro/vpFormEvents.md.backup b/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/ViewPro/vpFormEvents.md.backup index 502c42e670883a..78e6cb20e1819a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/ViewPro/vpFormEvents.md.backup +++ b/i18n/ja/docusaurus-plugin-content-docs/current/assets/en/ViewPro/vpFormEvents.md.backup @@ -1,10 +1,10 @@ --- id: vpFormEvents -title: 4D View Pro Form Events +title: 4D View Pro フォームイベント --- 4D View Pro エリアのプロパティリスト内では、以下のフォームイベントが利用可能です: ![](vpFormEvents.PNG) -一部のイベントは (すべてのアクティブオブジェクトで利用可能な) 標準のフォームイベントであり、一部は 4D View Pro 専用のフォームイベントです。 一部の4D View Pro フォームイベントは、4D View Pro エリア内でイベントが生成された場合には、`FORM Event` コマンドによって返されるオブジェクト内には追加の情報が提供されます。 The following table shows which events are standard and which are specific 4D View Pro form events: \ No newline at end of file +一部のイベントは (すべてのアクティブオブジェクトで利用可能な) 標準のフォームイベントであり、一部は 4D View Pro 専用のフォームイベントです。 一部の4D View Pro フォームイベントは、4D View Pro エリア内でイベントが生成された場合には、`FORM Event` コマンドによって返されるオブジェクト内には追加の情報が提供されます。 以下の表示には、どのフォームイベントが他のオブジェクトと共通で、どのフォームイベントが 4D View Pro エリアに特有のものであるのかが示されています: \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/constant-list.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/constant-list.md new file mode 100644 index 00000000000000..53e99d53fd9fa4 --- /dev/null +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/constant-list.md @@ -0,0 +1,1693 @@ +--- +id: constant-list +title: Constant List +slug: /commands/constant-list +displayed_sidebar: docs +--- + + +| English | French | +|---------|--------| +| 4D Client Database Folder | Dossier base 4D Client | +| 4D Client SOAP License | Licence SOAP 4D Client | +| 4D Client Web License | Licence Web 4D Client | +| 4D Desktop | 4D Desktop | +| 4D For OCI License | Licence 4D For OCI | +| 4D Local Mode | 4D mode local | +| 4D ODBC Pro License | Licence 4D ODBC Pro | +| 4D REST Test license | 4D REST Test license | +| 4D Remote Mode | 4D mode distant | +| 4D Remote Mode Timeout | Timeout 4D mode distant | +| 4D SOAP License | Licence 4D SOAP | +| 4D SOAP Local License | Licence 4D SOAP locale | +| 4D SOAP One Connection License | Licence 4D SOAP une connexion | +| 4D SQL Server License | Licence Serveur SQL 4D | +| 4D SQL Server Local License | Licence Serveur SQL 4D locale | +| 4D SQL Server One Conn License | Licence Serveur SQL 4D 1 conn | +| 4D Server | 4D Server | +| 4D Server Log Recording | Enreg requêtes 4D Server | +| 4D Server Timeout | Timeout 4D Server | +| 4D View License | Licence 4D View | +| 4D Volume Desktop | 4D Volume Desktop | +| 4D Web License | Licence 4D Web | +| 4D Web Local License | Licence 4D Web locale | +| 4D Web One Connection License | Licence 4D Web une connexion | +| 4D Write License | Licence 4D Write | +| 4D user account | Compte utilisateur 4D | +| 4D user alias | Alias utilisateur 4D | +| 4D user alias or account | Alias ou compte utilisateur 4D | +| 64 bit Version | Version 64 bits | +| ACK ASCII code | ASCII ACK | +| Aborted | Détruit | +| Absolute path | Chemin absolu | +| Access Privileges | Autorisations d’accès | +| Activate event | Activation fenêtre | +| Activate window bit | Bit activation fenêtre | +| Activate window mask | Masque activation fenêtre | +| Active 4D Folder | Dossier 4D actif | +| Activity all | Activités toutes | +| Activity language | Activité langage | +| Activity network | Activité réseau | +| Activity operations | Activité opérations | +| Additional text | Texte supplémentaire | +| Align Top | Aligné en haut | +| Align bottom | Aligné en bas | +| Align center | Aligné au centre | +| Align default | Aligné par défaut | +| Align left | Aligné à gauche | +| Align right | Aligné à droite | +| Allow alias files | Sélection alias | +| Allow deletion | Suppression autorisée | +| Alternate dialog box | Dialogue ombré | +| Apple Event Manager | Gestionnaire Apple Event | +| Applications or Program Files | Applications ou Program Files | +| April | Avril | +| Array 2D | Est un tableau 2D | +| Associated Standard Action | Action standard associée | +| Associated standard action name | Associer action standard | +| At sign | Arobase | +| At the Bottom | En bas | +| At the Top | En haut | +| Attribute Executed on server | Attribut exécutée sur serveur | +| Attribute Invisible | Attribut invisible | +| Attribute Published SOAP | Attribut publiée SOAP | +| Attribute Published SQL | Attribut publiée SQL | +| Attribute Published WSDL | Attribut publiée WSDL | +| Attribute Published Web | Attribut publiée Web | +| Attribute Shared | Attribut partagée | +| Attribute background color | Attribut couleur fond | +| Attribute bold style | Attribut style gras | +| Attribute folder name | Attribut nom dossier | +| Attribute font name | Attribut nom de police | +| Attribute italic style | Attribut style italique | +| Attribute strikethrough style | Attribut style barré | +| Attribute text color | Attribut couleur texte | +| Attribute text size | Attribut taille texte | +| Attribute underline style | Attribut style souligné | +| August | Août | +| Austrian Schilling | Schilling autrichien | +| Auto Synchro Resources Folder | Synchro auto dossier Resources | +| Auto insertion | Insertion automatique | +| Auto key event | Répétition touche | +| Auto repair mode | Mode réparation auto | +| Automatic | Automatique | +| Automatic style sheet | Feuille de style automatique | +| Automatic style sheet_additional | Feuille de style automatique_additionnel | +| Automatic style sheet_main text | Feuille de style automatique_texte principal | +| BEL ASCII code | ASCII BEL | +| BS ASCII code | ASCII BS | +| Background color | Coul arrière plan | +| Background color none | Coul fond transparent | +| Backspace | Retour arrière | +| Backspace Key | Touche retour arrière | +| Backup Process | Process de sauvegarde | +| Backup data settings | Fichier configuration sauvegarde pour le fichier de données | +| Backup history file | Fichier historique des sauvegardes | +| Backup log file | Fichier log sauvegarde | +| Backup structure settings | Fichier configuration sauvegarde | +| Belgian Franc | Franc belge | +| Black | Noir | +| Black and white | Noir et blanc | +| Blank if null date | Vide si date nulle | +| Blank if null time | Vide si heure nulle | +| Blob array | Est un tableau blob | +| Blue | Bleu | +| Bold | Gras | +| Bold and Italic | Gras et italique | +| Bold and Underline | Gras et souligné | +| Boolean array | Est un tableau booléen | +| Border Dotted | Bordure Trait pointillé | +| Border Double | Bordure Double | +| Border None | Bordure Aucune | +| Border Plain | Bordure Normal | +| Border Raised | Bordure Relief | +| Border Sunken | Bordure Relief inversé | +| Border System | Bordure Système | +| Brown | Marron | +| Build application log file | Fichier log application générée | +| Build application settings | Fichier de configuration application | +| CAN ASCII code | ASCII CAN | +| CR ASCII code | ASCII CR | +| Cache Manager | Gestionnaire du cache | +| Cache Priority high | Cache priorité haute | +| Cache Priority low | Cache priorité basse | +| Cache Priority normal | Cache priorité normal | +| Cache Priority very high | Cache priorité très haute | +| Cache Priority very low | Cache priorité très basse | +| Cache flush periodicity | Périodicité écriture cache | +| Cache unload minimum size | Taille minimum libération cache | +| Caps Lock key bit | Bit touche verrouillage maj | +| Caps Lock key mask | Masque touche verrouillage maj | +| Carriage return | Retour chariot | +| Changed resource bit | Bit ressource modifiée | +| Changed resource mask | Masque ressource modifiée | +| Character set | Jeu de caractères | +| Choice list | Liste énumération | +| Circular log limitation | Limitation nombre journaux | +| Client HTTPS Port ID | Client numéro de port HTTPS | +| Client Manager Process | Process gestionnaire clients | +| Client Max Concurrent Web Proc | Client proc Web simultanés maxi | +| Client Server Port ID | Numéro du port client serveur | +| Client Web Log Recording | Client enreg requêtes Web | +| Client character set | Client jeu de caractères | +| Client log Recording | Enreg requêtes client | +| Client port ID | Client numéro de port | +| Cluster BTree Index | Index BTree cluster | +| Code with tokens | Code avec tokens | +| Color option | Option couleur | +| Command key bit | Bit touche commande | +| Command key mask | Masque touche commande | +| Compact address table | Compacter table adresses | +| Compact compression mode | Méthode de compression compacte | +| Compacting log file | Fichier log compactage | +| Compiler process | Process de compilation | +| Control key bit | Bit touche contrôle | +| Control key mask | Masque touche contrôle | +| Controller form window | Form fenêtre contrôleur | +| Copy XML Data Source | Copier source données XML | +| Create process | Créer un process | +| Created from Menu Command | Créé par commande de menu | +| Created from execution dialog | Créé par dialogue d’exécution | +| Crop | Recadrage | +| Currency symbol | Symbole monétaire | +| Current Resources folder | Dossier Resources courant | +| Current backup settings file | Fichier configuration sauvegarde courant | +| Current localization | Langue courante | +| Current process debug log recording | Enreg historique débogage du process courant | +| DB4D Cron | Process DB4D Cron | +| DB4D Flush cache | Process DB4D Ecriture cache | +| DB4D Garbage collector | Process DB4D Garbage collector | +| DB4D Index builder | Process DB4D Index builder | +| DB4D Listener | Process DB4D Listener | +| DB4D Mirror | Process DB4D Miroir | +| DB4D Worker pool user | Process DB4D Worker pool utilisateur | +| DC1 ASCII code | ASCII DC1 | +| DC2 ASCII code | ASCII DC2 | +| DC3 ASCII code | ASCII DC3 | +| DC4 ASCII code | ASCII DC4 | +| DEL ASCII code | ASCII DEL | +| DLE ASCII code | ASCII DLE | +| DOCTYPE Name | Nom DOCTYPE | +| Dark Blue | Bleu foncé | +| Dark Brown | Marron foncé | +| Dark Green | Vert foncé | +| Dark Grey | Gris foncé | +| Dark shadow color | Coul sombre | +| Data bits 5 | Bits de données 5 | +| Data bits 6 | Bits de données 6 | +| Data bits 7 | Bits de données 7 | +| Data bits 8 | Bits de données 8 | +| Data folder | Dossier données | +| Database Folder | Dossier base | +| Database Folder Unix Syntax | Dossier base syntaxe UNIX | +| Date RFC 1123 | Date RFC 1123 | +| Date array | Est un tableau date | +| Date separator | Séparateur date | +| Date type | Type date | +| Dates inside objects | Dates dans les objets | +| Debug Log Recording | Enreg événements debogage | +| Debug log file | Fichier log débogage | +| December | Décembre | +| Decimal separator | Séparateur décimal | +| Default Index Type | Type index par défaut | +| Default localization | Langue par défaut | +| Degree | Degré | +| Delayed | Endormi | +| Delete only if empty | Supprimer si vide | +| Delete with contents | Supprimer avec contenu | +| Demo Version | Version de démonstration | +| Description in Text Format | Description format Texte | +| Description in XML Format | Description format XML | +| Design Process | Process développement | +| Desktop | Bureau | +| Destination option | Option destination | +| Deutsche Mark | Mark allemand | +| Diagnostic Log Recording | Enreg diagnostic | +| Diagnostic log file | Fichier log diagnostic | +| Diagnostic log level | Log niveau diagnostic | +| Direct2D disabled | Direct2D désactivé | +| Direct2D get active status | Direct2D lire statut actif | +| Direct2D hardware | Direct2D matériel | +| Direct2D software | Direct2D logiciel | +| Direct2D status | Direct2D statut | +| Directory file | Directory file | +| Disable events others unchanged | Inactiver événements autres inchangés | +| Disable highlight item color | Coul fond élément sélect désact | +| Disk event | Evénement disque | +| Do not compact index | Ne pas compacter les index | +| Do not create log file | Ne pas créer d’historique | +| Do not modify | Ne pas changer | +| Document URI | URI document | +| Document unchanged | Document inchangé | +| Document with CR | Document avec CR | +| Document with CRLF | Document avec CRLF | +| Document with LF | Document avec LF | +| Document with native format | Document avec format natif | +| Documents folder | Dossier documents | +| Does not exist | Inexistant | +| Double quote | Guillemets | +| Double sided option | Option recto verso | +| Down Arrow Key | Touche bas | +| EM ASCII code | ASCII EM | +| ENQ ASCII code | ASCII ENQ | +| EOT ASCII code | ASCII EOT | +| ESC ASCII code | ASCII ESC | +| ETB ASCII code | ASCII ETB | +| ETX ASCII code | ASCII ETX | +| EXIF Action | EXIF Action | +| EXIF Adobe RGB | EXIF Adobe RGB | +| EXIF Aperture priority AE | EXIF Aperture priority AE | +| EXIF Auto | EXIF Auto | +| EXIF Auto bracket | EXIF Auto bracket | +| EXIF Auto mode | EXIF Auto mode | +| EXIF Average | EXIF Average | +| EXIF B | EXIF B | +| EXIF Cb | EXIF Cb | +| EXIF Center weighted average | EXIF Center weighted average | +| EXIF Close | EXIF Close | +| EXIF Cloudy | EXIF Cloudy | +| EXIF Color sequential area | EXIF Color sequential area | +| EXIF Color sequential linear | EXIF Color sequential linear | +| EXIF Compulsory flash firing | EXIF Compulsory flash firing | +| EXIF Compulsory flash suppression | EXIF Compulsory flash suppression | +| EXIF Cool white fluorescent | EXIF Cool white fluorescent | +| EXIF Cr | EXIF Cr | +| EXIF Creative | EXIF Creative | +| EXIF Custom | EXIF Custom | +| EXIF D50 | EXIF D50 | +| EXIF D55 | EXIF D55 | +| EXIF D65 | EXIF D65 | +| EXIF D75 | EXIF D75 | +| EXIF Day white fluorescent | EXIF Day white fluorescent | +| EXIF Daylight | EXIF Daylight | +| EXIF Daylight fluorescent | EXIF Daylight fluorescent | +| EXIF Detected | EXIF Detected | +| EXIF Digital camera | EXIF Digital camera | +| EXIF Distant | EXIF Distant | +| EXIF EXIF version | EXIF EXIF version | +| EXIF Exposure portrait | EXIF Exposure portrait | +| EXIF F number | EXIF F number | +| EXIF Film scanner | EXIF Film scanner | +| EXIF Fine weather | EXIF Fine weather | +| EXIF Flash fired | EXIF Flash fired | +| EXIF Flashlight | EXIF Flashlight | +| EXIF G | EXIF G | +| EXIF High | EXIF High | +| EXIF High gain down | EXIF High gain down | +| EXIF High gain up | EXIF High gain up | +| EXIF ISO speed ratings | EXIF ISO speed ratings | +| EXIF ISOStudio tungsten | EXIF ISOStudio tungsten | +| EXIF Landscape | EXIF Landscape | +| EXIF Light fluorescent | EXIF Light fluorescent | +| EXIF Low | EXIF Low | +| EXIF Low gain down | EXIF Low gain down | +| EXIF Low gain up | EXIF Low gain up | +| EXIF Macro | EXIF Macro | +| EXIF Manual | EXIF Manual | +| EXIF Multi segment | EXIF Multi segment | +| EXIF Multi spot | EXIF Multi spot | +| EXIF Night | EXIF Night | +| EXIF No detection function | EXIF No detection function | +| EXIF None | EXIF None | +| EXIF Normal | EXIF Normal | +| EXIF Not defined | EXIF Not defined | +| EXIF Not detected | EXIF Not detected | +| EXIF One chip color area | EXIF One chip color area | +| EXIF Other | EXIF Other | +| EXIF Partial | EXIF Partial | +| EXIF Program AE | EXIF Program AE | +| EXIF R | EXIF R | +| EXIF Reflection print scanner | EXIF Reflection print scanner | +| EXIF Reserved | EXIF Reserved | +| EXIF Scene landscape | EXIF Scene landscape | +| EXIF Scene portrait | EXIF Scene portrait | +| EXIF Shade | EXIF Shade | +| EXIF Shutter speed priority AE | EXIF Shutter speed priority AE | +| EXIF Spot | EXIF Spot | +| EXIF Standard | EXIF Standard | +| EXIF Standard light A | EXIF Standard light A | +| EXIF Standard light B | EXIF Standard light B | +| EXIF Standard light C | EXIF Standard light C | +| EXIF Three chip color area | EXIF Three chip color area | +| EXIF Trilinear | EXIF Trilinear | +| EXIF Tungsten | EXIF Tungsten | +| EXIF Two chip color area | EXIF Two chip color area | +| EXIF Uncalibrated | EXIF Uncalibrated | +| EXIF Unknown | EXIF Unknown | +| EXIF Unused | EXIF Unused | +| EXIF White fluorescent | EXIF White fluorescent | +| EXIF Y | EXIF Y | +| EXIF aperture value | EXIF aperture value | +| EXIF brightness value | EXIF brightness value | +| EXIF color space | EXIF color space | +| EXIF components configuration | EXIF components configuration | +| EXIF compressed bits per pixel | EXIF compressed bits per pixel | +| EXIF contrast | EXIF contrast | +| EXIF custom rendered | EXIF custom rendered | +| EXIF date time digitized | EXIF date time digitized | +| EXIF date time original | EXIF date time original | +| EXIF digital zoom ratio | EXIF digital zoom ratio | +| EXIF exposure bias value | EXIF exposure bias value | +| EXIF exposure index | EXIF exposure index | +| EXIF exposure mode | EXIF exposure mode | +| EXIF exposure program | EXIF exposure program | +| EXIF exposure time | EXIF exposure time | +| EXIF file source | EXIF file source | +| EXIF flash | EXIF flash | +| EXIF flash energy | EXIF flash energy | +| EXIF flash function present | EXIF flash function present | +| EXIF flash mode | EXIF flash mode | +| EXIF flash pix version | EXIF flash pix version | +| EXIF flash red eye reduction | EXIF flash red eye reduction | +| EXIF flash return light | EXIF flash return light | +| EXIF focal len in 35 mm film | EXIF focal lens in 35 mm film | +| EXIF focal length | EXIF focal length | +| EXIF focal plane X resolution | EXIF focal plane X resolution | +| EXIF focal plane Y resolution | EXIF focal plane Y resolution | +| EXIF focal plane resolution unit | EXIF focal plane resolution unit | +| EXIF gain control | EXIF gain control | +| EXIF gamma | EXIF gamma | +| EXIF image unique ID | EXIF image unique ID | +| EXIF light source | EXIF light source | +| EXIF maker note | EXIF maker note | +| EXIF max aperture value | EXIF max aperture value | +| EXIF metering Mode | EXIF metering mode | +| EXIF pixel X dimension | EXIF pixel X dimension | +| EXIF pixel Y dimension | EXIF pixel Y dimension | +| EXIF related sound file | EXIF related sound file | +| EXIF s RGB | EXIF s RGB | +| EXIF saturation | EXIF saturation | +| EXIF scene capture type | EXIF scene capture type | +| EXIF scene type | EXIF scene type | +| EXIF sensing method | EXIF sensing method | +| EXIF sharpness | EXIF sharpness | +| EXIF shutter speed value | EXIF shutter speed value | +| EXIF spectral sensitivity | EXIF spectral sensitivity | +| EXIF subject Distance | EXIF subject distance | +| EXIF subject area | EXIF subject area | +| EXIF subject dist range | EXIF subject dist range | +| EXIF subject location | EXIF subject location | +| EXIF user comment | EXIF user comment | +| EXIF white balance | EXIF white balance | +| Editor theme folder | Dossier des thèmes éditeur | +| Enable events disable others | Activer événements inactiver autres | +| Enable events others unchanged | Activer événements autres inchangés | +| Encoding | Encoding | +| End Key | Touche fin | +| Enter | Entrée | +| Enter Key | Touche entrée | +| Error Message | Message d’erreur | +| Escape | Échappement | +| Escape Key | Touche échappement | +| Euro | Euro | +| Event Manager | Gestionnaire d’événement | +| Excluded list | Liste exclusions | +| Execute on Client Process | Process exécuté sur client | +| Execute on Server Process | Process exécuté sur serveur | +| Executing | En exécution | +| Extended real format | Format réel étendu | +| External Task | Tâche externe | +| External window | Fenêtre externe | +| F1 Key | Touche F1 | +| F10 Key | Touche F10 | +| F11 Key | Touche F11 | +| F12 Key | Touche F12 | +| F13 Key | Touche F13 | +| F14 Key | Touche F14 | +| F15 Key | Touche F15 | +| F2 Key | Touche F2 | +| F3 Key | Touche F3 | +| F4 Key | Touche F4 | +| F5 Key | Touche F5 | +| F6 Key | Touche F6 | +| F7 Key | Touche F7 | +| F8 Key | Touche F8 | +| F9 Key | Touche F9 | +| FF ASCII code | ASCII FF | +| FS ASCII code | ASCII FS | +| Fade to grey scale | Passage en niveaux de gris | +| Fast compression mode | Méthode de compression rapide | +| Favorite fonts | Polices favorites | +| Favorites Win | Favoris Win | +| February | Février | +| Field attribute with name | Attribut champ nom | +| Field attribute with number | Attribut champ numéro | +| File name entry | Saisie nom de fichier | +| Finnish Markka | Mark finlandais | +| Flip horizontally | Miroir horizontal | +| Flip vertically | Miroir vertical | +| Floating window | Fenêtre flottante | +| Folder separator | Séparateur dossier | +| Folder separator | Séparateur dossier | +| Folder separator | Séparateur dossier | +| Fonts | Polices | +| Foreground color | Coul premier plan | +| Form Break0 | Rupture formulaire0 | +| Form Break1 | Rupture formulaire1 | +| Form Break2 | Rupture formulaire2 | +| Form Break3 | Rupture formulaire3 | +| Form Break4 | Rupture formulaire4 | +| Form Break5 | Rupture formulaire5 | +| Form Break6 | Rupture formulaire6 | +| Form Break7 | Rupture formulaire7 | +| Form Break8 | Rupture formulaire8 | +| Form Break9 | Rupture formulaire9 | +| Form Detail | Corps formulaire | +| Form Footer | Pied de page formulaire | +| Form Header | Entête formulaire | +| Form Header1 | Entête formulaire1 | +| Form Header10 | Entête formulaire10 | +| Form Header2 | Entête formulaire2 | +| Form Header3 | Entête formulaire3 | +| Form Header4 | Entête formulaire4 | +| Form Header5 | Entête formulaire5 | +| Form Header6 | Entête formulaire6 | +| Form Header7 | Entête formulaire7 | +| Form Header8 | Entête formulaire8 | +| Form Header9 | Entête formulaire9 | +| Form all pages | Form toutes les pages | +| Form current page | Form page courante | +| Form has full screen mode Mac | Form avec mode plein écran Mac | +| Form has no menu bar | Form sans barre de menus | +| Form inherited | Form hérité | +| Formula in with virtual structure | Formule entrée avec structure virtuelle | +| Formula out with tokens | Formule sortie avec tokens | +| Formula out with virtual structure | Formule sortie avec structure virtuelle | +| Four colors | Quatre couleurs | +| French Franc | Franc français | +| Friday | Vendredi | +| Full method text | Texte méthode | +| GPS 2D | GPS 2D | +| GPS 3D | GPS 3D | +| GPS Above sea level | GPS Above sea level | +| GPS Below sea level | GPS Below sea level | +| GPS Correction applied | GPS Correction applied | +| GPS Correction not applied | GPS Correction not applied | +| GPS DOP | GPS DOP | +| GPS East | GPS East | +| GPS Processing method | GPS Processing method | +| GPS Satellites | GPS Satellites | +| GPS Speed | GPS Speed | +| GPS Speed ref | GPS Speed ref | +| GPS Status | GPS Status | +| GPS Track | GPS Track | +| GPS Track ref | GPS Track ref | +| GPS Version ID | GPS Version ID | +| GPS altitude | GPS altitude | +| GPS altitude ref | GPS altitude ref | +| GPS area information | GPS area information | +| GPS date time | GPS date time | +| GPS dest bearing | GPS dest bearing | +| GPS dest bearing ref | GPS dest bearing ref | +| GPS dest distance | GPS dest distance | +| GPS dest distance ref | GPS dest distance ref | +| GPS dest latitude | GPS dest latitude | +| GPS dest latitude deg | GPS dest latitude deg | +| GPS dest latitude dir | GPS dest latitude dir | +| GPS dest latitude min | GPS dest latitude min | +| GPS dest latitude sec | GPS dest latitude sec | +| GPS dest longitude | GPS dest longitude | +| GPS dest longitude deg | GPS dest longitude deg | +| GPS dest longitude dir | GPS dest longitude dir | +| GPS dest longitude min | GPS dest longitude min | +| GPS dest longitude sec | GPS dest longitude sec | +| GPS differential | GPS differential | +| GPS img direction | GPS img direction | +| GPS img direction ref | GPS img direction ref | +| GPS km h | GPS km h | +| GPS knots h | GPS knots h | +| GPS latitude | GPS latitude | +| GPS latitude deg | GPS latitude deg | +| GPS latitude dir | GPS latitude dir | +| GPS latitude min | GPS latitude min | +| GPS latitude sec | GPS latitude sec | +| GPS longitude | GPS longitude | +| GPS longitude deg | GPS longitude deg | +| GPS longitude dir | GPS longitude dir | +| GPS longitude min | GPS longitude min | +| GPS longitude sec | GPS longitude sec | +| GPS magnetic north | GPS magnetic north | +| GPS map datum | GPS map datum | +| GPS measure mode | GPS measure mode | +| GPS measurement Interoperability | GPS measurement Interoperability | +| GPS measurement in progress | GPS measurement in progress | +| GPS miles h | GPS niles h | +| GPS north | GPS north | +| GPS south | GPS south | +| GPS true north | GPS true north | +| GPS west | GPS west | +| GS ASCII code | ASCII GS | +| GZIP best compression mode | GZIP méthode de compression compacte | +| GZIP fast compression mode | GZIP méthode de compression rapide | +| Generic PDF driver | Driver PDF générique | +| Get Pathname | Lire chemin accès | +| Get XML Data Source | Lire source données XML | +| Graph background color | Graphe couleur fond | +| Graph background opacity | Graphe opacité fond | +| Graph background shadow color | Graphe couleur ombre | +| Graph bottom margin | Graphe marge basse | +| Graph colors | Graphe couleurs | +| Graph column gap | Graphe espacement colonnes | +| Graph column width max | Graphe largeur max colonne | +| Graph column width min | Graphe largeur min colonne | +| Graph default height | Graphe hauteur par défaut | +| Graph default width | Graphe largeur par défaut | +| Graph display legend | Graphe afficher la légende | +| Graph document background color | Graphe couleur fond document | +| Graph document background opacity | Graphe opacité fond document | +| Graph font color | Graphe couleur police | +| Graph font family | Graphe famille police | +| Graph font size | Graphe taille police | +| Graph left margin | Graphe marge gauche | +| Graph legend font color | Graphe couleur police légende | +| Graph legend icon gap | Graphe espacement icônes légende | +| Graph legend icon height | Graphe hauteur icônes légende | +| Graph legend icon width | Graphe largeur icônes légende | +| Graph legend labels | Graphe libellés légende | +| Graph line width | Graphe épaisseur des lignes | +| Graph number format | Graphe format des nombres | +| Graph pie direction | Graphe direction secteurs | +| Graph pie font size | Graphe taille police des secteurs | +| Graph pie shift | Graphe décalage secteurs | +| Graph pie start angle | Graphe angle départ secteurs | +| Graph plot height | Graphe hauteur des points | +| Graph plot radius | Graphe rayon des points | +| Graph plot width | Graphe largeur des points | +| Graph right margin | Graphe marge droite | +| Graph top margin | Graphe marge haute | +| Graph type | Graphe type | +| Graph xGrid | Graphe xGrille | +| Graph xMax | Graphe xMax | +| Graph xMin | Graphe xMin | +| Graph xProp | Graphe xProp | +| Graph yGrid | Graphe yGrille | +| Graph yMax | Graphe yMax | +| Graph yMin | Graphe yMin | +| Greek Drachma | Drachme grecque | +| Green | Vert | +| Grey | Gris | +| HH MM | h mn | +| HH MM AM PM | h mn Matin Après Midi | +| HH MM SS | h mn s | +| HT ASCII code | ASCII HT | +| HTML Root Folder | Dossier racine HTML | +| HTTP Client log file | Fichier log HTTP Client | +| HTTP Compression Level | Niveau de compression HTTP | +| HTTP Compression Threshold | Seuil de compression HTTP | +| HTTP DELETE method | HTTP méthode DELETE | +| HTTP GET method | HTTP méthode GET | +| HTTP HEAD method | HTTP méthode HEAD | +| HTTP Listener | Process HTTP Listener | +| HTTP Log flusher | Process HTTP Ecriture historique | +| HTTP OPTIONS method | HTTP méthode OPTIONS | +| HTTP POST method | HTTP méthode POST | +| HTTP PUT method | HTTP méthode PUT | +| HTTP TRACE method | HTTP méthode TRACE | +| HTTP Worker pool server | Process HTTP Worker pool serveur | +| HTTP basic | HTTP basic | +| HTTP client log | HTTP client log | +| HTTP compression | HTTP compression | +| HTTP debug log file | Fichier log débogage HTTP | +| HTTP digest | HTTP digest | +| HTTP disable log | HTTP désactiver log | +| HTTP display auth dial | HTTP afficher dial auth | +| HTTP enable log with all body parts | HTTP activer log avec tous body | +| HTTP enable log with request body | HTTP activer log avec body request | +| HTTP enable log with response body | HTTP activer log avec body response | +| HTTP enable log without body | HTTP activer log sans body | +| HTTP follow redirect | HTTP suivre redirection | +| HTTP log file | Fichier log HTTP | +| HTTP max redirect | HTTP redirections max | +| HTTP reset auth settings | HTTP effacer infos auth | +| HTTP timeout | HTTP timeout | +| HTTPS port ID | Numéro de port HTTPS | +| Has full screen mode Mac | Avec mode plein écran Mac | +| Has grow box | Avec case de contrôle de taille | +| Has highlight | Avec barre de titre active | +| Has window title | Avec titre de fenêtre | +| Has zoom box | Avec case de zoom | +| Help Key | Touche aide | +| Highlight menu background color | Coul fond ligne menu sélect | +| Highlight menu text color | Coul texte ligne menu sélect | +| Highlight text background color | Coul de fond texte sélect | +| Highlight text color | Coul texte sélect | +| Highlighted method text | Texte méthode surligné | +| Home Key | Touche début | +| Home folder | Dossier personnel | +| Horizontal concatenation | Concaténation horizontale | +| Horizontally Centered | Centrée horizontalement | +| Hour Min Sec | Heures minutes secondes | +| Hour min | Heures minutes | +| IMAP Log | IMAP Enreg historique | +| IMAP all | IMAP all | +| IMAP authentication CRAM MD5 | IMAP authentication CRAM MD5 | +| IMAP authentication OAUTH2 | IMAP authentication OAUTH2 | +| IMAP authentication login | IMAP authentication login | +| IMAP authentication plain | IMAP authentication plain | +| IMAP log file | Fichier log IMAP | +| IMAP read only state | IMAP read only state | +| IMAP read write state | IMAP read write state | +| IPTC Byline | IPTC Byline | +| IPTC Byline title | IPTC Byline title | +| IPTC Date time created | IPTC date time created | +| IPTC Digital creation date time | IPTC digital creation date time | +| IPTC Image orientation | IPTC Image orientation | +| IPTC Image type | IPTC Image type | +| IPTC Keywords | IPTC Keywords | +| IPTC Language identifier | IPTC Language identifier | +| IPTC Object Attribute reference | IPTC Object attribute reference | +| IPTC Object cycle | IPTC Object cycle | +| IPTC Object name | IPTC Object name | +| IPTC Original transmission reference | IPTC Original transmission reference | +| IPTC Originating program | IPTC Originating program | +| IPTC Release date time | IPTC Release date time | +| IPTC Urgency | IPTC Urgency | +| IPTC Writer editor | IPTC Writer editor | +| IPTC action | IPTC action | +| IPTC aerial view | IPTC aerial view | +| IPTC caption abstract | IPTC caption abstract | +| IPTC category | IPTC category | +| IPTC city | IPTC city | +| IPTC close up | IPTC close up | +| IPTC contact | IPTC contact | +| IPTC content location code | IPTC content location code | +| IPTC content location name | IPTC content location name | +| IPTC copyright notice | IPTC copyright notice | +| IPTC country primary location code | IPTC country primary location code | +| IPTC country primary location name | IPTC country primary location name | +| IPTC couple | IPTC couple | +| IPTC credit | IPTC credit | +| IPTC edit status | IPTC edit status | +| IPTC expiration date time | IPTC expiration date time | +| IPTC exterior view | IPTC exterior view | +| IPTC fixture identifier | IPTC fixture identifier | +| IPTC full length | IPTC full length | +| IPTC general view | IPTC general view | +| IPTC group | IPTC group | +| IPTC half length | IPTC half length | +| IPTC headline | IPTC headline | +| IPTC headshot | IPTC headshot | +| IPTC interior view | IPTC interior view | +| IPTC movie scene | IPTC movie scene | +| IPTC night scene | IPTC night scene | +| IPTC off beat | IPTC off beat | +| IPTC panoramic view | IPTC panoramic view | +| IPTC performing | IPTC performing | +| IPTC posing | IPTC posing | +| IPTC profile | IPTC profile | +| IPTC program version | IPTC program version | +| IPTC province state | IPTC province state | +| IPTC rear view | IPTC rear view | +| IPTC satellite | IPTC satellite | +| IPTC scene | IPTC scene | +| IPTC single | IPTC single | +| IPTC source | IPTC source | +| IPTC special instructions | IPTC special instructions | +| IPTC star rating | IPTC star rating | +| IPTC sub Location | IPTC sub location | +| IPTC subject reference | IPTC subject reference | +| IPTC supplemental category | IPTC supplemental category | +| IPTC symbolic | IPTC symbolic | +| IPTC two | IPTC two | +| IPTC under water | IPTC under water | +| ISO L1 Ampersand | ISO L1 Et commercial | +| ISO L1 Cap A acute | ISO L1 A majus aigu | +| ISO L1 Cap A circumflex | ISO L1 A majus circonflexe | +| ISO L1 Cap A grave | ISO L1 A majus grave | +| ISO L1 Cap A ring | ISO L1 A majus rond | +| ISO L1 Cap A tilde | ISO L1 A majus tilde | +| ISO L1 Cap A umlaut | ISO L1 A majus umlaut | +| ISO L1 Cap AE ligature | ISO L1 AE majus ligature | +| ISO L1 Cap C cedilla | ISO L1 C majus cédille | +| ISO L1 Cap E acute | ISO L1 E majus aigu | +| ISO L1 Cap E circumflex | ISO L1 E majus circonflexe | +| ISO L1 Cap E grave | ISO L1 E majus grave | +| ISO L1 Cap E umlaut | ISO L1 E majus umlaut | +| ISO L1 Cap Eth Icelandic | ISO L1 Eth majus islandais | +| ISO L1 Cap I acute | ISO L1 I majus aigu | +| ISO L1 Cap I circumflex | ISO L1 I majus circonflexe | +| ISO L1 Cap I grave | ISO L1 I majus grave | +| ISO L1 Cap I umlaut | ISO L1 I majus umlaut | +| ISO L1 Cap N tilde | ISO L1 N majus tilde | +| ISO L1 Cap O acute | ISO L1 O majus aigu | +| ISO L1 Cap O circumflex | ISO L1 O majus circonflexe | +| ISO L1 Cap O grave | ISO L1 O majus grave | +| ISO L1 Cap O slash | ISO L1 O majus barré | +| ISO L1 Cap O tilde | ISO L1 O majus tilde | +| ISO L1 Cap O umlaut | ISO L1 O majus umlaut | +| ISO L1 Cap THORN Icelandic | ISO L1 THORN majus islandais | +| ISO L1 Cap U acute | ISO L1 U majus aigu | +| ISO L1 Cap U circumflex | ISO L1 U majus circonflexe | +| ISO L1 Cap U grave | ISO L1 U majus grave | +| ISO L1 Cap U umlaut | ISO L1 U majus umlaut | +| ISO L1 Cap Y acute | ISO L1 Y majus aigu | +| ISO L1 Copyright | ISO L1 Copyright | +| ISO L1 Greater than | ISO L1 Supérieur à | +| ISO L1 Less than | ISO L1 Inférieur à | +| ISO L1 Quotation mark | ISO L1 Guillemets | +| ISO L1 Registered | ISO L1 Marque déposée | +| ISO L1 a acute | ISO L1 a aigu | +| ISO L1 a circumflex | ISO L1 a circonflexe | +| ISO L1 a grave | ISO L1 a grave | +| ISO L1 a ring | ISO L1 a rond | +| ISO L1 a tilde | ISO L1 a tilde | +| ISO L1 a umlaut | ISO L1 a umlaut | +| ISO L1 ae ligature | ISO L1 ae ligature | +| ISO L1 c cedilla | ISO L1 c cédille | +| ISO L1 e acute | ISO L1 e aigu | +| ISO L1 e circumflex | ISO L1 e circonflexe | +| ISO L1 e grave | ISO L1 e grave | +| ISO L1 e umlaut | ISO L1 e umlaut | +| ISO L1 eth Icelandic | ISO L1 eth islandais | +| ISO L1 i acute | ISO L1 i aigu | +| ISO L1 i circumflex | ISO L1 i circonflexe | +| ISO L1 i grave | ISO L1 i grave | +| ISO L1 i umlaut | ISO L1 i umlaut | +| ISO L1 n tilde | ISO L1 n tilde | +| ISO L1 o acute | ISO L1 o aigu | +| ISO L1 o circumflex | ISO L1 o circonflexe | +| ISO L1 o grave | ISO L1 o grave | +| ISO L1 o slash | ISO L1 o barré | +| ISO L1 o tilde | ISO L1 o tilde | +| ISO L1 o umlaut | ISO L1 o umlaut | +| ISO L1 sharp s German | ISO L1 s Es zett allemand | +| ISO L1 thorn Icelandic | ISO L1 thorn islandais | +| ISO L1 u acute | ISO L1 u aigu | +| ISO L1 u circumflex | ISO L1 u circonflexe | +| ISO L1 u grave | ISO L1 u grave | +| ISO L1 u umlaut | ISO L1 u umlaut | +| ISO L1 y acute | ISO L1 y aigu | +| ISO L1 y umlaut | ISO L1 y umlaut | +| ISO date | ISO date | +| ISO date GMT | ISO date GMT | +| ISO time | ISO heure | +| Idle Connections Timeout | Timeout connexions inactives | +| Ignore invisible | Ignorer invisibles | +| In contents | Dans zone contenu | +| Indexing Process | Gestionnaire d’index | +| Indicator Asynchronous progress bar | Indicateur de progression asynchrone | +| Indicator Barber shop | Indicateur Barber shop | +| Indicator Progress bar | Indicateur Barre de progression | +| Information Message | Message d’information | +| Integer array | Est un tableau entier | +| Intel Compatible | Compatible Intel | +| Internal 4D Server Process | Process 4D Server interne | +| Internal 4D localization | Langue interne 4D | +| Internal Timer Process | Process minuteur interne | +| Internal date abbreviated | Interne date abrégé | +| Internal date long | Interne date long | +| Internal date short | Interne date court | +| Internal date short special | Interne date court spécial | +| Into 4D Commands Log | Vers historique commandes 4D | +| Into 4D Debug Message | Vers message débogage | +| Into 4D Diagnostic Log | Vers historique diagnostic | +| Into 4D Request Log | Vers historique requêtes 4D | +| Into Windows Log Events | Vers observateur Windows | +| Into current selection | Vers sélection courante | +| Into named selection | Vers sélection temporaire | +| Into set | Vers ensemble | +| Into system standard outputs | Vers sorties standard système | +| Into variable | Vers variable | +| Irish Pound | Livre irlandaise | +| Is Alpha Field | Est un champ alpha | +| Is BLOB | Est un BLOB | +| Is DOM reference | Est une référence DOM | +| Is Date | Est une date | +| Is Integer | Est un entier | +| Is Integer 64 bits | Est un entier 64 bits | +| Is LongInt | Est un entier long | +| Is Picture | Est une image | +| Is Pointer | Est un pointeur | +| Is Real | Est un numérique | +| Is String Var | Est une variable chaîne | +| Is Subtable | Est une sous table | +| Is Text | Est un texte | +| Is Time | Est une heure | +| Is Undefined | Est une variable indéfinie | +| Is XML | Est un XML | +| Is a document | Est un document | +| Is a folder | Est un dossier | +| Is boolean | Est un booléen | +| Is collection | Est une collection | +| Is color | Est en couleurs | +| Is current database a project | Base courante est projet | +| Is gray scale | Est en niveaux de gris | +| Is host database a project | Base hôte est projet | +| Is host database writable | Base hôte est en écriture | +| Is not compressed | Non compressé | +| Is null | Est un null | +| Is object | Est un objet | +| Is variant | Est un variant | +| Italian Lira | Lire italienne | +| Italic | Italique | +| Italic and Underline | Italique et souligné | +| January | Janvier | +| July | Juillet | +| June | Juin | +| Key down event | Touche enfoncée | +| Key up event | Touche relâchée | +| Keywords Index | Index de mots clés | +| LDAP all levels | LDAP tous niveaux | +| LDAP clear password | LDAP mot de passe en clair | +| LDAP digest MD5 password | LDAP mot de passe en digest MD5 | +| LDAP root and next | LDAP racine et suivant | +| LDAP root only | LDAP racine uniquement | +| LF ASCII code | ASCII LF | +| Last Backup Date | Date dernière sauvegarde | +| Last Backup Status | Statut dernière sauvegarde | +| Last Backup information | Information dernière sauvegarde | +| Last Restore Date | Date dernière restitution | +| Last Restore Status | Statut dernière restitution | +| Last backup file | Fichier dernière sauvegarde | +| Last journal integration log file | Fichier dernière intégration historique | +| Left Arrow Key | Touche gauche | +| Legacy printing layer option | Option ancienne couche impression | +| Libldap version | Version Libldap | +| Libsasl version | Version Libsasl | +| Libzip version | Version Libzip | +| Licenses Folder | Dossier Licenses | +| Light Blue | Bleu clair | +| Light Grey | Gris clair | +| Light shadow color | Coul claire | +| Line feed | Retour à la ligne | +| Locked resource bit | Bit ressource verrouillée | +| Locked resource mask | Masque ressource verrouillée | +| Log Command list | Liste commandes enreg | +| Log File Process | Process du fichier d’historique | +| Log debug | Log débogue | +| Log error | Log erreur | +| Log info | Log info | +| Log trace | Log trace | +| Log warn | Log avertissement | +| Logger process | Process Logger | +| Logs Folder | Dossier Logs | +| LongInt array | Est un tableau entierlong | +| Luxembourg Franc | Franc luxembourgeois | +| MAXINT | MAXENT | +| MAXLONG | MAXLONG | +| MAXTEXTLENBEFOREV11 | MAXLONGTEXTEAVANTV11 | +| MD5 digest | Digest MD5 | +| MM SS | mn s | +| MSC Process | Process CSM | +| Mac C string | Mac chaîne en C | +| Mac OS | Mac OS | +| Mac Pascal string | Mac chaîne pascal | +| Mac spool file format option | Option mode impression Mac | +| Mac text with length | Mac texte avec longueur | +| Mac text without length | Mac texte sans longueur | +| MacOS Printer Port | Port imprimante MacOS | +| MacOS Serial Port | Port série MacOS | +| Macintosh byte ordering | Ordre octets Macintosh | +| Macintosh double real format | Format réel double Macintosh | +| Main 4D process | Process principal 4D | +| Main Process | Process principal | +| Manual | Manuel | +| March | Mars | +| Max Concurrent Web Processes | Process Web simultanés maxi | +| Maximum Web requests size | Taille maximum requêtes Web | +| May | Mai | +| Merged application | Application fusionnée | +| Method editor macro Process | Process macro éditeur de méthod | +| Millions of colors 24 bit | Millions de couleurs 24 bits | +| Millions of colors 32 bit | Millions de couleurs 32 bits | +| Min Sec | Minutes secondes | +| Min TLS version | Min version TLS | +| MobileApps folder | Dossier MobileApps | +| Modal dialog | Fenêtre modale | +| Modal dialog box | Dialogue modal | +| Modal form dialog box | Form dialogue modal | +| Monday | Lundi | +| Monitor Process | Process d’activité | +| Mouse button bit | Bit bouton souris | +| Mouse button mask | Masque bouton souris | +| Mouse down event | Bouton souris enfoncé | +| Mouse up event | Bouton souris relâché | +| Movable dialog box | Dialogue modal déplaçable | +| Movable form dialog box | Form dialogue modal déplaçable | +| Movable form dialog box no title | Form dialogue modal déplaçable sans titre | +| Move to Replaced files folder | Déplacer dans Replaced files | +| Multiline Auto | Multiligne Auto | +| Multiline No | Multiligne Non | +| Multiline Yes | Multiligne Oui | +| Multiple Selection | Sélection multiple | +| Multiple files | Fichiers multiples | +| NAK ASCII code | ASCII NAK | +| NBSP ASCII CODE | ASCII Espace insécable | +| NUL ASCII code | ASCII NUL | +| Native byte ordering | Ordre octets natif | +| Native real format | Format réel natif | +| Netherlands Guilder | Florin néerlandais | +| New file | Nouveau fichier | +| New file dialog | Dialogue nouveau fichier | +| New record | Est un nouvel enregistrement | +| Next Backup Date | Date prochaine sauvegarde | +| No Selection | Pas de sélection | +| No current record | Aucun enregistrement courant | +| No relation | Pas de lien | +| No such data in pasteboard | Données absentes conteneur | +| None | Aucun | +| Normal | Normal | +| November | Novembre | +| Null event | Evénement nul | +| Number of copies option | Option nombre copies | +| Number of formulas in cache | Nombre de formules en cache | +| Object First in entry order | Objet Premier ordre saisie | +| Object array | Est un tableau objet | +| Object current | Objet courant | +| Object named | Objet nommé | +| Object subform container | Objet conteneur sous formulaire | +| Object type 3D button | Objet type bouton 3D | +| Object type 3D checkbox | Objet type case à cocher 3D | +| Object type 3D radio button | Objet type bouton radio 3D | +| Object type button grid | Objet type grille de boutons | +| Object type checkbox | Objet type case à cocher | +| Object type combobox | Objet type combobox | +| Object type dial | Objet type cadran | +| Object type group | Objet type groupe | +| Object type groupbox | Objet type zone de groupe | +| Object type hierarchical list | Objet type liste hiérarchique | +| Object type hierarchical popup menu | Objet type menu déroulant hiérarchique | +| Object type highlight button | Objet type bouton inversé | +| Object type invisible button | Objet type bouton invisible | +| Object type line | Objet type ligne | +| Object type listbox | Objet type listbox | +| Object type listbox column | Objet type listbox colonne | +| Object type listbox footer | Objet type listbox pied | +| Object type listbox header | Objet type listbox entête | +| Object type matrix | Objet type matrice | +| Object type oval | Objet type ovale | +| Object type picture button | Objet type bouton image | +| Object type picture input | Objet type saisie image | +| Object type picture popup menu | Objet type popup menu image | +| Object type picture radio button | Objet type bouton radio image | +| Object type plugin area | Objet type zone plug in | +| Object type popup dropdown list | Objet type popup liste déroulante | +| Object type progress indicator | Objet type indicateur de progression | +| Object type push button | Objet type bouton poussoir | +| Object type radio button | Objet type bouton radio | +| Object type radio button field | Objet type champ radio bouton | +| Object type rectangle | Objet type rectangle | +| Object type rounded rectangle | Objet type rectangle arrondi | +| Object type ruler | Objet type règle | +| Object type splitter | Objet type séparateur | +| Object type static picture | Objet type image statique | +| Object type static text | Objet type texte statique | +| Object type subform | Objet type sous formulaire | +| Object type tab control | Objet type onglet | +| Object type text input | Objet type saisie texte | +| Object type unknown | Objet type inconnu | +| Object type view pro area | Objet type zone view pro | +| Object type web area | Objet type zone web | +| Object type write pro area | Objet type zone write pro | +| Object with focus | Objet avec focus | +| October | Octobre | +| On Activate | Sur activation | +| On After Edit | Sur après modification | +| On After Keystroke | Sur après frappe clavier | +| On After Sort | Sur après tri | +| On Alternative Click | Sur clic alternatif | +| On Background | Sur fond | +| On Before Data Entry | Sur avant saisie | +| On Before Keystroke | Sur avant frappe clavier | +| On Begin Drag Over | Sur début glisser | +| On Begin URL Loading | Sur début chargement URL | +| On Bound Variable Change | Sur modif variable liée | +| On Clicked | Sur clic | +| On Close Box | Sur case de fermeture | +| On Close Detail | Sur fermeture corps | +| On Collapse | Sur contracter | +| On Column Moved | Sur déplacement colonne | +| On Column Resize | Sur redimensionnement colonne | +| On Data Change | Sur données modifiées | +| On Deactivate | Sur désactivation | +| On Delete Action | Sur action suppression | +| On Deleting Record Event | Sur suppression enregistrement | +| On Display Detail | Sur affichage corps | +| On Double Clicked | Sur double clic | +| On Drag Over | Sur glisser | +| On Drop | Sur déposer | +| On End URL Loading | Sur fin chargement URL | +| On Exit Process | Process sur fermeture | +| On Expand | Sur déployer | +| On Footer Click | Sur clic pied | +| On Getting Focus | Sur gain focus | +| On Header | Sur entête | +| On Header Click | Sur clic entête | +| On Load | Sur chargement | +| On Load Record | Sur chargement ligne | +| On Long Click | Sur clic long | +| On Losing Focus | Sur perte focus | +| On Menu Selected | Sur menu sélectionné | +| On Mouse Enter | Sur début survol | +| On Mouse Leave | Sur fin survol | +| On Mouse Move | Sur survol | +| On Mouse Up | Sur relâchement bouton | +| On Open Detail | Sur ouverture corps | +| On Open External Link | Sur ouverture lien externe | +| On Outside Call | Sur appel extérieur | +| On Page Change | Sur changement de page | +| On Plug in Area | Sur appel zone du plug in | +| On Printing Break | Sur impression sous total | +| On Printing Detail | Sur impression corps | +| On Printing Footer | Sur impression pied de page | +| On Resize | Sur redimensionnement | +| On Row Moved | Sur déplacement ligne | +| On Row Resize | Sur redimensionnement ligne | +| On Saving Existing Record Event | Sur sauvegarde enregistrement | +| On Saving New Record Event | Sur sauvegarde nouvel enreg | +| On Scroll | Sur défilement | +| On Selection Change | Sur nouvelle sélection | +| On Timer | Sur minuteur | +| On URL Filtering | Sur filtrage URL | +| On URL Loading Error | Sur erreur chargement URL | +| On URL Resource Loading | Sur chargement ressource URL | +| On Unload | Sur libération | +| On VP Range Changed | Sur VP plage changée | +| On VP Ready | Sur VP prêt | +| On Validate | Sur validation | +| On Window Opening Denied | Sur refus ouverture fenêtre | +| On after host database exit | Sur après fermeture base hôte | +| On after host database startup | Sur après ouverture base hôte | +| On application background move | Sur passage arrière plan | +| On application foreground move | Sur passage premier plan | +| On before host database exit | Sur avant fermeture base hôte | +| On before host database startup | Sur avant ouverture base hôte | +| On object locked abort | Sur objet verrouillé abandonner | +| On object locked confirm | Sur objet verrouillé confirmer | +| On object locked retry | Sur objet verrouillé réessayer | +| On the Left | À gauche | +| On the Right | À droite | +| OpenSSL version | Version OpenSSL | +| Operating system event | Evénement système | +| Option key bit | Bit touche option | +| Option key mask | Masque touche option | +| Orange | Orange | +| Order By Formula On Server | Trier par formule serveur | +| Orientation 0° | Orientation 0° | +| Orientation 180° | Orientation 180° | +| Orientation 90° left | Orientation 90° gauche | +| Orientation 90° right | Orientation 90° droite | +| Orientation option | Option orientation | +| Other 4D Process | Autre process 4D | +| Other User Process | Autre process utilisateur | +| Other internal process | Autre process interne | +| Own XML Data Source | Posséder source données XML | +| PC byte ordering | Ordre octets PC | +| PC double real format | Format réel double PC | +| PHP Raw result | PHP résultat brut | +| PHP interpreter IP address | PHP adresse IP interpréteur | +| PHP interpreter port | PHP port interpréteur | +| POP3 Log | POP3 Enreg historique | +| POP3 authentication APOP | POP3 authentification APOP | +| POP3 authentication CRAM MD5 | POP3 authentification CRAM MD5 | +| POP3 authentication OAUTH2 | POP3 authentication OAUTH2 | +| POP3 authentication login | POP3 authentification login | +| POP3 authentication plain | POP3 authentification simple | +| POP3 authentication user | POP3 authentication user | +| POP3 log file | Fichier log POP3 | +| PUBLIC ID | ID PUBLIC | +| Package open | Ouverture progiciel | +| Package selection | Sélection progiciel | +| Page Down Key | Touche page suivante | +| Page Up Key | Touche page précédente | +| Page range option | Option intervalle de page | +| Page setup dialog | Dialogue de format impression | +| Palette form window | Form fenêtre palette | +| Palette window | Fenêtre palette | +| Paper option | Option papier | +| Paper source option | Option alimentation | +| Parity Even | Parité paire | +| Parity None | Pas de parité | +| Parity Odd | Parité impaire | +| Path All objects | Chemin tous les objets | +| Path Database method | Chemin méthode base | +| Path Project form | Chemin formulaire projet | +| Path Project method | Chemin méthode projet | +| Path Table form | Chemin formulaire table | +| Path Trigger | Chemin trigger | +| Path class | Chemin classe | +| Path is POSIX | Chemin est POSIX | +| Path is system | Chemin est système | +| Pause logging | Pause journaux | +| Paused | Suspendu | +| Period | Point | +| Pi | Pi | +| Picture Document | Document image | +| Picture array | Est un tableau image | +| Picture data | Données image | +| Plain | Normal | +| Plain dialog box | Dialogue simple | +| Plain fixed size window | Fenêtre standard de taille fixe | +| Plain form window | Form fenêtre standard | +| Plain form window no title | Form fenêtre standard sans titre | +| Plain no zoom box window | Fenêtre standard sans zoom | +| Plain window | Fenêtre standard | +| Pointer array | Est un tableau pointeur | +| Pop up form window | Form fenêtre pop up | +| Pop up window | Fenêtre pop up | +| Port ID | Numéro du port | +| Portuguese Escudo | Escudo portugais | +| Posix path | Chemin POSIX | +| Power PC | Power PC | +| Preloaded resource bit | Bit ressource préchargée | +| Preloaded resource mask | Masque ressource préchargée | +| Print Frame fixed with multiple records | Impression limitée avec report | +| Print Frame fixed with truncation | Impression limitée par le cadre | +| Print dialog | Dialogue impression | +| Print preview option | Option aperçu avant impression | +| Processes and sessions | Process et sessions | +| Processes only | Process seulement | +| Protected resource bit | Bit ressource protégée | +| Protected resource mask | Masque ressource protégée | +| Protocol DTR | Protocole DTR | +| Protocol None | Protocole Aucun | +| Protocol XONXOFF | Protocole XONXOFF | +| Purgeable resource bit | Bit ressource purgeable | +| Purgeable resource mask | Masque ressource purgeable | +| Purple | Violet | +| Query by formula joins | Jointures chercher par formule | +| Query by formula on server | Chercher par formule serveur | +| Quote | Apostrophe | +| RDP Optimization | Optimisation RDP | +| RS ASCII code | ASCII RS | +| Radian | Radian | +| Read Mode | Mode lecture | +| Read and Write | Lecture et écriture | +| Real array | Est un tableau numérique | +| Recent fonts | Polices récentes | +| Recursive parsing | Chemin récursif | +| Red | Rouge | +| Redim horizontal grow | Redim horizontal agrandir | +| Redim horizontal move | Redim horizontal déplacer | +| Redim vertical grow | Redim vertical agrandir | +| Redim vertical move | Redim vertical déplacer | +| Redim vertical none | Redim vertical aucun | +| Regular window | Fenêtre normale | +| Remote connection sleep timeout | Timeout mise en veille connexion à distance | +| Renumber records | Renuméroter les enregistrements | +| Repair log file | Fichier log réparation | +| Replicated | Mosaïque | +| Request log file | Fichier log requêtes | +| Required list | Liste obligations | +| Reset | Réinitialisation | +| Resizable sheet window | Fenêtre feuille redim | +| Resize horizontal none | Redim horizontal aucun | +| Restore Process | Process de restitution | +| ReturnKey | Touche retour chariot | +| Right Arrow Key | Touche droite | +| Right control key bit | Bit touche contrôle droite | +| Right control key mask | Masque touche contrôle droite | +| Right option key bit | Bit touche option droite | +| Right option key mask | Masque touche option droite | +| Right shift key bit | Bit touche majuscule droite | +| Right shift key mask | Masque touche majuscule droite | +| Round corner window | Fenêtre à coins arrondis | +| SHA1 digest | Digest SHA1 | +| SHA256 digest | Digest SHA256 | +| SHA512 digest | Digest SHA512 | +| SI ASCII code | ASCII SI | +| SMTP Log | SMTP Enreg historique | +| SMTP authentication CRAM MD5 | SMTP authentification CRAM MD5 | +| SMTP authentication OAUTH2 | SMTP authentication OAUTH2 | +| SMTP authentication login | SMTP authentification login | +| SMTP authentication plain | SMTP authentification simple | +| SMTP log file | Fichier log SMTP | +| SO ASCII code | ASCII SO | +| SOAP Client Fault | SOAP erreur client | +| SOAP Input | SOAP entrée | +| SOAP Method Name | SOAP nom méthode | +| SOAP Output | SOAP sortie | +| SOAP Process | Process SOAP | +| SOAP Server Fault | SOAP erreur serveur | +| SOAP Service Name | SOAP nom service | +| SOH ASCII code | ASCII SOH | +| SP ASCII code | ASCII SP | +| SQL All Records | SQL tous les enregistrements | +| SQL Asynchronous | SQL asynchrone | +| SQL Charset | SQL jeu de caractères | +| SQL Connection Time Out | SQL timeout connexion | +| SQL Listener | Process SQL Listener | +| SQL Max Data Length | SQL longueur maxi données | +| SQL Max Rows | SQL nombre maxi lignes | +| SQL Method Execution Process | Process exécution méthode SQL | +| SQL Net Session manager | Gestionnaire de session SQL Net | +| SQL On error abort | SQL abandonner si erreur | +| SQL On error confirm | SQL confirmer si erreur | +| SQL On error continue | SQL continuer si erreur | +| SQL Param In | SQL paramètre entrée | +| SQL Param In Out | SQL paramètre entrée sortie | +| SQL Param Out | SQL paramètre sortie | +| SQL Param Set Size | SQL paramètre fixer taille | +| SQL Query Time Out | SQL timeout requête | +| SQL Server Port ID | Numéro de port Serveur SQL | +| SQL Use Access Rights | SQL utiliser les droits d’accès | +| SQL Worker pool server | Process SQL Worker pool serveur | +| SQL autocommit | SQL autocommit | +| SQL data chunk size | SQL taille fragment données | +| SQL engine case Sensitivity | Casse caractères moteur SQL | +| SQL_INTERNAL | SQL_INTERNAL | +| SSL cipher List | Liste de chiffrement SSL | +| ST 4D Expressions as sources | ST Expressions 4D comme sources | +| ST 4D Expressions as values | ST Expressions 4D comme valeurs | +| ST End highlight | ST Fin sélection | +| ST End text | ST Fin texte | +| ST Expression type | ST Type expression | +| ST Expressions display mode | ST Mode affichage expressions | +| ST Mixed type | ST Type mixte | +| ST Picture type | ST Type image | +| ST Plain type | ST Type brut | +| ST References | ST Références | +| ST References as spaces | ST Références comme espaces | +| ST Start highlight | ST Début sélection | +| ST Start text | ST Début texte | +| ST Tags as XML code | ST Balises comme code XML | +| ST Tags as plain text | ST Balises comme texte brut | +| ST Text displayed with 4D Expression sources | ST Texte visible avec Expressions 4D comme sources | +| ST Text displayed with 4D Expression values | ST Texte visible avec Expressions 4D comme valeurs | +| ST URL as labels | ST URL comme libellés | +| ST URL as links | ST URL comme liens | +| ST Unknown tag type | ST Type balise inconnue | +| ST Url type | ST Type URL | +| ST User links as labels | ST Liens utilisateur comme libellés | +| ST User links as links | ST Liens utilisateur comme liens | +| ST User type | ST Type utilisateur | +| ST Values | ST Valeurs | +| STX ASCII code | ASCII STX | +| SUB ASCII code | ASCII SUB | +| SYN ASCII code | ASCII SYN | +| SYSTEM ID | ID SYSTEM | +| Saturday | Samedi | +| Scale | Redimensionnement | +| Scale option | Option échelle | +| Scaled to Fit | Non tronquée | +| Scaled to fit prop centered | Proportionnelle centrée | +| Scaled to fit proportional | Proportionnelle | +| Screen size | Taille écran | +| Screen work area | Zone de travail | +| September | Septembre | +| Serial Port Manager | Gestionnaire du port série | +| Server Base Process Stack Size | Taille pile process base server | +| Server Interface Process | Process interface serveur | +| ServerNet Listener | Process ServerNet Listener | +| ServerNet Session manager | Gestionnaire de session ServerNet | +| Sessions only | Sessions seulement | +| Sheet form window | Form fenêtre feuille | +| Sheet window | Fenêtre feuille | +| Shift key bit | Bit touche majuscule | +| Shift key mask | Masque touche majuscule | +| Short date day position | Position jour date courte | +| Short date month position | Position mois date courte | +| Short date year position | Position année date courte | +| Shortcut with Backspace | Raccourci avec Effacement Arrière | +| Shortcut with Carriage Return | Raccourci avec Retour Charriot | +| Shortcut with Delete | Raccourci avec Suppression | +| Shortcut with Down Arrow | Raccourci avec Flèche bas | +| Shortcut with End | Raccourci avec Fin | +| Shortcut with Enter | Raccourci avec Entrée | +| Shortcut with Escape | Raccourci avec Echappement | +| Shortcut with F1 | Raccourci avec F1 | +| Shortcut with F10 | Raccourci avec F10 | +| Shortcut with F11 | Raccourci avec F11 | +| Shortcut with F12 | Raccourci avec F12 | +| Shortcut with F13 | Raccourci avec F13 | +| Shortcut with F14 | Raccourci avec F14 | +| Shortcut with F15 | Raccourci avec F15 | +| Shortcut with F2 | Raccourci avec F2 | +| Shortcut with F3 | Raccourci avec F3 | +| Shortcut with F4 | Raccourci avec F4 | +| Shortcut with F5 | Raccourci avec F5 | +| Shortcut with F6 | Raccourci avec F6 | +| Shortcut with F7 | Raccourci avec F7 | +| Shortcut with F8 | Raccourci avec F8 | +| Shortcut with F9 | Raccourci avec F9 | +| Shortcut with Help | Raccourci avec Aide | +| Shortcut with Home | Raccourci avec Début | +| Shortcut with Left Arrow | Raccourci avec Flèche gauche | +| Shortcut with Page Down | Raccourci avec Page suiv | +| Shortcut with Page Up | Raccourci avec Page préc | +| Shortcut with Right Arrow | Raccourci avec Flèche droite | +| Shortcut with Tabulation | Raccourci avec Tabulation | +| Shortcut with Up Arrow | Raccourci avec Flèche haut | +| Single Selection | Sélection unique | +| Sixteen colors | Seize couleurs | +| Space | Espacement | +| Spanish Peseta | Peseta espagnole | +| Speed 115200 | Vitesse 115200 | +| Speed 1200 | Vitesse 1200 | +| Speed 1800 | Vitesse 1800 | +| Speed 19200 | Vitesse 19200 | +| Speed 230400 | Vitesse 230400 | +| Speed 2400 | Vitesse 2400 | +| Speed 300 | Vitesse 300 | +| Speed 3600 | Vitesse 3600 | +| Speed 4800 | Vitesse 4800 | +| Speed 57600 | Vitesse 57600 | +| Speed 600 | Vitesse 600 | +| Speed 7200 | Vitesse 7200 | +| Speed 9600 | Vitesse 9600 | +| Spellchecker | Correcteur orthographique | +| Spooler document name option | Option nom document à imprimer | +| Standard BTree Index | Index BTree standard | +| Start Menu Win_All | Menu Démarrer Win_Tous | +| Start Menu Win_User | Menu Démarrer Win | +| Start a New Process | Démarrer un process | +| Startup Win_All | Démarrage Win_Tous | +| Startup Win_User | Démarrage Win | +| Stop bits One | Bit de stop un | +| Stop bits One and a half | Bit de stop un et demi | +| Stop bits Two | Bits de stop deux | +| Strict mode | Mode strict | +| String array | Est un tableau chaîne | +| String type with time zone | Type chaine avec fuseau horaire | +| String type without time zone | Type chaine sans fuseau horaire | +| Structure Settings | Propriétés structure | +| Structure configuration | Configuration structure | +| Sunday | Dimanche | +| Superimposition | Superposition | +| System | Système | +| System Data Source | Source de données système | +| System Win | System Win | +| System date abbreviated | Système date abrégé | +| System date long | Système date long | +| System date long pattern | Motif date long | +| System date medium pattern | Motif date abrégé | +| System date short | Système date court | +| System date short pattern | Motif date court | +| System fonts | Polices système | +| System heap resource bit | Bit ressource heap système | +| System heap resource mask | Masque ressource heap système | +| System time AM label | Libellé AM heure système | +| System time PM label | Libellé PM heure système | +| System time long | Système heure long | +| System time long abbreviated | Système heure long abrégé | +| System time long pattern | Motif heure long | +| System time medium pattern | Motif heure abrégé | +| System time short | Système heure court | +| System time short pattern | Motif heure court | +| System32 Win | System32 Win | +| TCP DNS | TCP DNS | +| TCP FTP Control | TCP FTP Control | +| TCP FTP Data | TCP FTP Data | +| TCP HTTP WWW | TCP HTTP WWW | +| TCP IMAP3 | TCP IMAP3 | +| TCP KLogin | TCP KLogin | +| TCP Kerberos | TCP Kerberos | +| TCP NNTP | TCP NNTP | +| TCP NTP | TCP NTP | +| TCP NTalk | TCP NTalk | +| TCP PMCP | TCP PMCP | +| TCP PMD | TCP PMD | +| TCP POP3 | TCP POP3 | +| TCP RADACCT | TCP RADACCT | +| TCP RADIUS | TCP RADIUS | +| TCP Router | TCP Router | +| TCP SMTP | TCP SMTP | +| TCP SNMP | TCP SNMP | +| TCP SNMPTRAP | TCP SNMPTRAP | +| TCP SUN RPC | TCP SUN RPC | +| TCP TFTP | TCP TFTP | +| TCP Talk | TCP Talk | +| TCP Telnet | TCP Telnet | +| TCP UUCP | TCP UUCP | +| TCP UUCP RLOGIN | TCP UUCP RLOGIN | +| TCP authentication | TCP authentication | +| TCP finger | TCP finger | +| TCP gopher | TCP gopher | +| TCP log recording | TCP enreg historique | +| TCP nickname | TCP nickname | +| TCP printer | TCP printer | +| TCP remote Cmd | TCP remote Cmd | +| TCP remote Exec | TCP remote Exec | +| TCP remote Login | TCP remote Login | +| TCP_NODELAY | TCP_NODELAY | +| TIFF Adobe deflate | TIFF Adobe deflate | +| TIFF Artist | TIFF Artist | +| TIFF CCIRLEW | TIFF CCIRLEW | +| TIFF CCITT1D | TIFF CCITT1D | +| TIFF CIELab | TIFF CIELab | +| TIFF CM | TIFF CM | +| TIFF CMYK | TIFF CMYK | +| TIFF Compression | TIFF Compression | +| TIFF Copyright | TIFF Copyright | +| TIFF DCS | TIFF DCS | +| TIFF Date time | TIFF Date time | +| TIFF Document name | TIFF Document name | +| TIFF Epson ERF | TIFF Epson ERF | +| TIFF Host computer | TIFF Host computer | +| TIFF ICCLab | TIFF ICCLab | +| TIFF IT8BL | TIFF IT8BL | +| TIFF IT8CTPAD | TIFF IT8CTPAD | +| TIFF IT8LW | TIFF IT8LW | +| TIFF IT8MP | TIFF IT8MP | +| TIFF ITULab | TIFF ITULab | +| TIFF Image description | TIFF Image description | +| TIFF JBIG | TIFF JBIG | +| TIFF JBIG Black and White | TIFF JBIG Black and White | +| TIFF JBIGColor | TIFF JBIGColor | +| TIFF JPEG | TIFF JPEG | +| TIFF JPEG2000 | TIFF JPEG2000 | +| TIFF JPEGThumbs Only | TIFF JPEGThumbs Only | +| TIFF Kodak DCR | TIFF Kodak DCR | +| TIFF Kodak KDC | TIFF Kodak KDC | +| TIFF Kodak262 | TIFF Kodak262 | +| TIFF LZW | TIFF LZW | +| TIFF MDIBinary level codec | TIFF MDIBinary level codec | +| TIFF MDIProgressive transform codec | TIFF MDIProgressive transform codec | +| TIFF MDIVector | TIFF MDIVector | +| TIFF MM | TIFF MM | +| TIFF Make | TIFF Make | +| TIFF Model | TIFF Model | +| TIFF Nikon NEF | TIFF Nikon NEF | +| TIFF Orientation | TIFF Orientation | +| TIFF Pentax PEF | TIFF Pentax PEF | +| TIFF Photometric interpretation | TIFF Photometric interpretation | +| TIFF Pixar film | TIFF Pixar film | +| TIFF Pixar log | TIFF Pixar log | +| TIFF Pixar log L | TIFF Pixar log L | +| TIFF Pixar log Luv | TIFF Pixar log Luv | +| TIFF RGB | TIFF RGB | +| TIFF RGBPalette | TIFF RGBPalette | +| TIFF Resolution unit | TIFF Resolution unit | +| TIFF SGILog | TIFF SGILog | +| TIFF SGILog24 | TIFF SGILog24 | +| TIFF Software | TIFF Software | +| TIFF Sony ARW | TIFF Sony ARW | +| TIFF T4Group3Fax | TIFF T4Group3Fax | +| TIFF T6Group4Fax | TIFF T6Group4Fax | +| TIFF Thunderscan | TIFF Thunderscan | +| TIFF UM | TIFF UM | +| TIFF XResolution | TIFF XResolution | +| TIFF YCb Cr | TIFF YCb Cr | +| TIFF YResolution | TIFF YResolution | +| TIFF black is zero | TIFF black is zero | +| TIFF color Filter Array | TIFF color Filter Array | +| TIFF deflate | TIFF deflate | +| TIFF horizontal | TIFF horizontal | +| TIFF inches | TIFF inches | +| TIFF linear Raw | TIFF linear Raw | +| TIFF mirror horizontal | TIFF mirror horizontal | +| TIFF mirror horizontal and Rotate90cw | TIFF mirror horizontal and Rotate90cw | +| TIFF mirror horizontal and rotate270cw | TIFF mirror horizontal and rotate270cw | +| TIFF mirror vertical | TIFF mirror vertical | +| TIFF next | TIFF next | +| TIFF none | TIFF none | +| TIFF pack bits | TIFF pack bits | +| TIFF rotate180 | TIFF rotate180 | +| TIFF rotate270CW | TIFF rotate270CW | +| TIFF rotate90CW | TIFF rotate90CW | +| TIFF transparency mask | TIFF transparency mask | +| TIFF uncompressed | TIFF uncompressed | +| TIFF white is zero | TIFF white is zero | +| TLSv1_2 | TLSv1_2 | +| TLSv1_3 | TLSv1_3 | +| Tab | Tabulation | +| Tab Key | Touche tab | +| Table Sequence Number | Numéro automatique table | +| Text Document | Document texte | +| Text array | Est un tableau texte | +| Text data | Données texte | +| Texture appearance | Aspect texture | +| Thousand separator | Séparateur de milliers | +| Thousands of colors | Milliers de couleurs | +| Thursday | Jeudi | +| Time array | Est un tableau heure | +| Time separator | Séparateur heure | +| Times in milliseconds | Heures en millisecondes | +| Times in seconds | Heures en secondes | +| Times inside objects | Heures dans les objets | +| Timestamp log file name | Nom historique avec date heure | +| Tips delay | Messages aide délai | +| Tips duration | Messages aide durée | +| Tips enabled | Messages aide activation | +| Toolbar form window | Form fenêtre barre outils | +| Translate | Translation | +| Transparency | Transparence | +| Truncated Centered | Tronquée centrée | +| Truncated non Centered | Tronquée non centrée | +| Tuesday | Mardi | +| Two fifty six colors | Deux cent cinquante six coul | +| US ASCII code | ASCII US | +| UTF8 C string | UTF8 chaîne en C | +| UTF8 text with length | UTF8 texte avec longueur | +| UTF8 text without length | UTF8 texte sans longueur | +| Uncooperative process threshold | Seuil process peu cooperatif | +| Underline | Souligné | +| Up Arrow Key | Touche haut | +| Update event | Mise à jour fenêtre | +| Update records | Mettre à jour enregistrements | +| Use AST interpreter | Utiliser interpreter AST | +| Use PicRef | Utiliser réf image | +| Use Sheet Window | Utiliser fenêtre feuille | +| Use default folder | Utiliser dossier par défaut | +| Use legacy Network Layer | Utiliser ancienne couche réseau | +| Use selected file | Utiliser fichier sélectionné | +| Use structure definition | Utiliser définition structure | +| User Data Source | Source de données utilisateur | +| User Preferences_All | Préférences utilisateur_Tous | +| User Preferences_User | Préférences utilisateur | +| User Settings | Propriétés utilisateur | +| User param value | Valeur User param | +| User settings file | Fichier propriétés utilisateur | +| User settings file for data | Fichier propriétés utilisateur pour données | +| User settings for data file | Propriétés utilisateur pour le fichier de données | +| User system localization | Langue système utilisateur | +| VT ASCII code | ASCII VT | +| Verification log file | Fichier log vérification | +| Verify All | Tout vérifier | +| Verify Indexes | Vérifier index | +| Verify Records | Vérifier enregistrements | +| Version | Version | +| Vertical concatenation | Concaténation verticale | +| Vertically Centered | Centrée verticalement | +| WA Enable Web inspector | WA autoriser inspecteur Web | +| WA Enable contextual menu | WA autoriser menu contextuel | +| WA Next URLs | WA URLs suivants | +| WA Previous URLs | WA URLs précédents | +| WA enable URL drop | WA autoriser déposer URL | +| Waiting for input output | En attente entrée sortie | +| Waiting for internal flag | En attente drapeau interne | +| Waiting for user event | En attente événement | +| Warning Message | Message d’avertissement | +| Web CORS enabled | Web CORS activé | +| Web CORS settings | Web propriétés CORS | +| Web Character set | Web jeu de caractères | +| Web Client IP address to listen | Web client adresse IP d’écoute | +| Web HSTS enabled | Web HSTS activé | +| Web HSTS max age | Web HSTS max age | +| Web HTTP Compression Level | Web niveau de compression HTTP | +| Web HTTP Compression Threshold | Web seuil de compression HTTP | +| Web HTTP TRACE | Web TRACE HTTP | +| Web HTTP enabled | Web HTTP activé | +| Web HTTPS Port ID | Web numéro de port HTTPS | +| Web HTTPS enabled | Web HTTPS activé | +| Web IP address to listen | Web adresse IP d’écoute | +| Web Inactive process timeout | Web timeout process | +| Web Inactive session timeout | Web timeout session | +| Web Log Recording | Web enreg requêtes | +| Web Max Concurrent Processes | Web process Web simultanés maxi | +| Web Max sessions | Web nombre de sessions max | +| Web Maximum requests size | Web taille max requêtes | +| Web Port ID | Web numéro du port | +| Web Process on 4D Remote | Process Web 4D distant | +| Web Process with no Context | Process Web sans contexte | +| Web SameSite Lax | Web SameSite Lax | +| Web SameSite None | Web SameSite Aucun | +| Web SameSite Strict | Web SameSite Strict | +| Web Service Compression | Web Service compression | +| Web Service Detailed Message | Web Service message | +| Web Service Dynamic | Web Service dynamique | +| Web Service Error Code | Web Service code erreur | +| Web Service Fault Actor | Web Service origine erreur | +| Web Service HTTP Compression | Web Service compression HTTP | +| Web Service HTTP Status code | Web Service code statut HTTP | +| Web Service HTTP Timeout | Web Service timeout HTTP | +| Web Service Manual | Web Service manuel | +| Web Service Manual In | Web Service entrée manuel | +| Web Service Manual Out | Web Service sortie manuel | +| Web Service SOAP Header | Web Service header SOAP | +| Web Service SOAP Version | Web Service version SOAP | +| Web Service SOAP_1_1 | Web Service SOAP_1_1 | +| Web Service SOAP_1_2 | Web Service SOAP_1_2 | +| Web Service display auth dialog | Web Service afficher dial auth | +| Web Service reset auth settings | Web Service effacer infos auth | +| Web Session IP address validation enabled | Web validation adresse IP de session acctivé | +| Web Session cookie domain | Web domaine du cookie de session | +| Web Session cookie name | Web nom du cookie de session | +| Web Session cookie path | Web chemin du cookie de session | +| Web debug log | Web debug log | +| Web legacy session | Web sessions anciennes | +| Web scalable session | Web session extensible | +| Web server Process | Process du serveur Web | +| Web server database | Web serveur de base de données | +| Web server host database | Web serveur de base de données hôte | +| Web server receiving request | Web serveur recevant requête | +| Wednesday | Mercredi | +| White | Blanc | +| Windows | Windows | +| Windows MIDI Document | Document MIDI Windows | +| Windows Sound Document | Document son Windows | +| Windows Video Document | Document vidéo Windows | +| Worker pool in use | Process Worker pool utilisé | +| Worker pool spare | Process Worker pool réserve | +| Worker process | Process worker | +| Write Mode | Mode écriture | +| XML BOM | XML BOM | +| XML Base64 | XML Base64 | +| XML CDATA | XML CDATA | +| XML CR | XML CR | +| XML CRLF | XML CRLF | +| XML Convert to PNG | XML convertir en PNG | +| XML DATA | XML DATA | +| XML DOCTYPE | XML DOCTYPE | +| XML DOM case sensitivity | XML DOM sensibilité à la casse | +| XML ISO | XML ISO | +| XML LF | XML LF | +| XML Native codec | XML codec natif | +| XML UTC | XML UTC | +| XML binary encoding | XML encodage binaire | +| XML case insensitive | XML casse insensible | +| XML case sensitive | XML casse sensible | +| XML comment | XML commentaire | +| XML data URI scheme | XML data URI scheme | +| XML date encoding | XML encodage dates | +| XML datetime UTC | XML datetime UTC | +| XML datetime local | XML datetime local | +| XML datetime local absolute | XML datetime local absolu | +| XML default | XML valeur par défaut | +| XML disabled | XML désactivé | +| XML duration | XML durée | +| XML element | XML élément | +| XML enabled | XML activé | +| XML end Document | XML fin document | +| XML end Element | XML fin élément | +| XML entity | XML entité | +| XML external entity resolution | XML résolution des entités externes | +| XML indentation | XML indentation | +| XML line ending | XML fin de ligne | +| XML local | XML local | +| XML no indentation | XML sans indentation | +| XML picture encoding | XML encodage images | +| XML processing Instruction | XML instruction de traitement | +| XML raw data | XML données brutes | +| XML seconds | XML secondes | +| XML start Document | XML début document | +| XML start Element | XML début élément | +| XML string encoding | XML encodage chaînes | +| XML time encoding | XML encodage heures | +| XML with escaping | XML avec échappement | +| XML with indentation | XML avec indentation | +| XY Current form | XY Formulaire courant | +| XY Current window | XY Fenêtre courante | +| XY Main window | XY Fenêtre principale | +| XY Screen | XY Ecran | +| Yellow | Jaune | +| ZIP Compression LZMA | ZIP Compression LZMA | +| ZIP Compression XZ | ZIP Compression XZ | +| ZIP Compression none | ZIP Compression aucune | +| ZIP Compression standard | ZIP Compression standard | +| ZIP Encryption AES128 | ZIP Chiffrement AES128 | +| ZIP Encryption AES192 | ZIP Chiffrement AES192 | +| ZIP Encryption AES256 | ZIP Chiffrement AES256 | +| ZIP Encryption none | ZIP Chiffrement aucun | +| ZIP Ignore invisible files | ZIP Ignorer fichier invisible | +| ZIP Without enclosing folder | ZIP Sans dossier parent | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/delete-folder.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/delete-folder.md index 1def58238c18b9..6d761fd5d41f72 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/delete-folder.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/delete-folder.md @@ -29,7 +29,7 @@ displayed_sidebar: docs * Delete with contents (1) を受け渡した場合: * *folder* パラメーターに指定したフォルダーは、格納されている要素ごと削除されます。 **警告:** フォルダーや格納要素がロックされていたり、読み取り専用に設定されていても、カレントユーザーが処理に必要な権限を持っていれば削除されます。 - * フォルダーや格納要素を削除できない場合、最初の削除不能な要素を検知した時点で処理は中断され、エラー**\*** が返されます。この場合、フォルダーは一部削除済みの可能性があります。処理が中断された場合には、[Last errors](last-errors.md) を使って、問題となったファイルの名称とパスを取得できます。 + * フォルダーや格納要素を削除できない場合、最初の削除不能な要素を検知した時点で処理は中断され、エラー**\*** が返されます。この場合、フォルダーは一部削除済みの可能性があります。処理が中断された場合には、[Last errors](../commands/last-errors.md) を使って、問題となったファイルの名称とパスを取得できます。 * *folder* パラメーターに指定したフォルダーがが存在しない場合、このコマンドは処理を行わず、エラーも発生しません。 (\*) Windows: -54 (ロックされたファイルを書き込みのために開こうとしました。) macOS: -45 (ファイルがロックされている、あるいはパス名が不正です。) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md index 7299e6f946d3ab..d6b58b73707161 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/generate-password-hash.md @@ -30,7 +30,7 @@ displayed_sidebar: docs ### エラー管理 -以下のエラーが返される可能性があります。これらのエラーは[Last errors](last-errors.md) および [ON ERR CALL](on-err-call.md) コマンドで分析することができます。 +以下のエラーが返される可能性があります。これらのエラーは[Last errors](../commands/last-errors.md) および [ON ERR CALL](on-err-call.md) コマンドで分析することができます。 | **番号** | **メッセージ** | | ------ | ----------------------------------------------------- | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/last-errors.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/last-errors.md deleted file mode 100644 index fadb6d43c0e221..00000000000000 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/last-errors.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -id: last-errors -title: Last errors -slug: /commands/last-errors -displayed_sidebar: docs ---- - -**Last errors** : Collection - -| 引数 | 型 | | 説明 | -| --- | --- | --- | --- | -| 戻り値 | Collection | ← | エラーオブジェクトのコレクション | - - - -## 説明 - -**Last errors** コマンドは4D アプリケーションのエラーのカレントのスタックを、エラーオブジェクトのコレクションとして返します。エラーが発生していない場合には**null** を返します。 - -各エラーオブジェクトには以下の属性が格納されています: - -| **プロパティ** | **型** | **詳細** | -| ------------------ | ----- | ------------------- | -| errCode | 数値 | エラーコード | -| message | テキスト | エラーの詳細 | -| componentSignature | テキスト | エラーを返した内部コンポーネントの署名 | - -:::note - -コンポーネントのシグネチャの説明については、[エラーコード](../Concepts/error-handling.md#error-codes) セクションを参照してください。 - -::: - -このコマンドは、[ON ERR CALL](on-err-call.md) コマンドでインストールされたエラー処理メソッド内から呼び出されている必要があります。 - - -## 参照 - -[ON ERR CALL](on-err-call.md) -[throw](throw.md) -[Error handling](../Concepts/error-handling.md) - -## プロパティ - -| | | -| --- | --- | -| コマンド番号 | 1799 | -| スレッドセーフである | ✓ | - - diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/listbox-get-cell-coordinates.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/listbox-get-cell-coordinates.md index 0b34b0772f7764..55f661c69e7088 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/listbox-get-cell-coordinates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/listbox-get-cell-coordinates.md @@ -39,7 +39,7 @@ displayed_sidebar: docs リストボックス内の選択されたセルの周りに赤い長方形を描画する場合を考えます: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //赤い長方形を初期化 + OBJECT SET VISIBLE(*;"RedRect";False) //赤い長方形を初期化   //長方形はフォーム内のどこかに既に定義済み  LISTBOX GET CELL POSITION(*;"LB1";$col;$row)  LISTBOX GET CELL COORDINATES(*;"LB1";$col;$row;$x1;$y1;$x2;$y2) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md index 83f64354d02a2c..dcecc17896b5f9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md @@ -22,7 +22,7 @@ displayed_sidebar: docs セッションファイルが有効でない、あるいは削除されていた場合には、対応するセッションはメモリから削除されます。 -コマンドは以下のいずれかのエラーを返します。これらは[ON ERR CALL](on-err-call.md) および [Last errors](last-errors.md) コマンドを通して管理可能です: +コマンドは以下のいずれかのエラーを返します。これらは[ON ERR CALL](on-err-call.md) および [Last errors](../commands/last-errors.md) コマンドを通して管理可能です: | **コンポーネント名** | **エラーコード** | **詳細** | | ------------ | ---------- | --------------------------- | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md index 378728a8fb82fa..95ad466c935b90 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ displayed_sidebar: docs リストボックスのオブジェクトメソッドにおいて、以下の様に記述します: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //赤い四角を初期化 + OBJECT SET VISIBLE(*;"RedRect";False) //赤い四角を初期化  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md index 8bbaa3502ac27e..9941a782d88619 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md @@ -41,7 +41,7 @@ displayed_sidebar: docs エラーはシステム変数Error の値で判別します。このシステム変数にはエラーコードが納められます。このマニュアルの付録に *エラーコード* が記載されています。詳細は*シンタックスエラー (1 -> 81)*を参照してください。システム変数Error の値はエラー処理メソッド内のみで有効です。エラーの原因となったメソッド内でこのエラーコードが必要であれば、システム変数Error を独自のプロセス変数にコピーしてください。またError method 、Error lineとError formula システム変数にはそれぞれ、エラーが発生したメソッドの名前とその行番号、フォーミュラのテキストが格納されます ([メソッド内でのエラー処理]([../Concepts/error-handling.md]) 参照)。 -[Last errors](last-errors.md) または [Last errors](last-errors.md) コマンドを使用する事で割り込みの発生源のエラーシークエンス(例えばエラー"スタック"など)を取得する事ができます。 +[Last errors](../commands/last-errors.md) または [Last errors](../commands/last-errors.md) コマンドを使用する事で割り込みの発生源のエラーシークエンス(例えばエラー"スタック"など)を取得する事ができます。 エラー処理メソッドは適切な方法でエラーを管理、またはユーザに対してエラーメッセージを表示します。エラーは以下で実行されたプロセス中に生成されます: @@ -177,8 +177,8 @@ IO ERROR HANDLERプロジェクトメソッドは以下のようになります: [ABORT](abort.md) *Error Handler* -[Last errors](last-errors.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) +[Last errors](../commands/last-errors.md) [Method called on error](method-called-on-error.md) *システム変数* diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md index 215e7eaec25084..b9f0193c093054 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md @@ -49,7 +49,7 @@ displayed_sidebar: docs **注:** 技術的な理由で、FastCGIプロトコル経由で渡す引数のサイズは64KBを超えてはなりません。テキスト型の引数を使用する際にはこの制限を考慮にいれる必要があります。 -4D側でコマンドが正しく実行できると、言い換えれば実行環境の起動、スクリプトのオープン、そしてPHPインタープリターとの通信に成功すると、コマンドからTrueが返されます。 そうでない場合、[ON ERR CALL](on-err-call.md)でとらえることができ、[Last errors](last-errors.md) で解析できるエラーが生成されます。 +4D側でコマンドが正しく実行できると、言い換えれば実行環境の起動、スクリプトのオープン、そしてPHPインタープリターとの通信に成功すると、コマンドからTrueが返されます。 そうでない場合、[ON ERR CALL](on-err-call.md)でとらえることができ、[Last errors](../commands/last-errors.md) で解析できるエラーが生成されます。 さらにスクリプト自身がPHPエラーを生成するかもしれません。この場合[PHP GET FULL RESPONSE](php-get-full-response.md)コマンドを使用してエラーの発生元を解析しなければなりません (例題4参照)。 **注** **:** PHPを使用してエラー管理を設定できます。詳細は例えば以下のページを参照してください: . diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md index 3b2191bdfdaf0f..e84ffb8a2d9a07 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## 説明 -Printing pageは、印刷中のページ番号を返します。このコマンドは、[PRINT SELECTION](print-selection.md "PRINT SELECTION")コマンドまたはデザインモードのプリント...メニューの選択によって印刷する場合にのみ使用することができます。 +Printing pageは、印刷中のページ番号を返します。 ## 例題 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md index 7f3d4c9575298f..bb5c09c02954d1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md @@ -32,7 +32,7 @@ displayed_sidebar: docs ## 参照 -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## プロパティ diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/throw.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/throw.md index 745adf22f9777b..2eb326598e8154 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/throw.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/throw.md @@ -48,7 +48,7 @@ description 引数を渡さなかった場合には、次の情報が提示さ | message | text | エラーの説明。
    **message** には、errorObj オブジェクト引数に追加されたカスタムプロパティによって置き換えられるプレースホルダーを含めることができます。各プレースホルダーは、置き換えに使用するカスタムプロパティ名を中括弧 {} で囲むことで指定します。 **message** が渡されない場合、または空文字列の場合、コマンドはカレントデータベースの xliff ファイルを検索し、"ERR\_{componentSignature}\_{errCode}" に合致する resname を探します。
    を探します。 | | deferred | boolean | カレントメソッドの終了時または[Try ブロック](developer.4d.com/docs/Concepts/error-handling#trycatchend-try)の終了時にエラーを延期するかどうかを指定します。デフォルト値は false です。 | -このシンタックスを使用すると、[Last errors](last-errors.md) で errorObjオブジェクトが返されます。 +このシンタックスを使用すると、[Last errors](../commands/last-errors.md) で errorObjオブジェクトが返されます。 **注記:** 同じプロジェクトメソッド内でこのコマンドを複数回呼び出して、複数のエラーを生成することができます。遅延モードを使って、これらのエラーを一度にスローできます。 @@ -56,7 +56,7 @@ description 引数を渡さなかった場合には、次の情報が提示さ このシンタックスは、カレントエラーをすべて**遅延モード**でスローします。つまり、これらのエラーはエラースタックに追加され、カレントメソッド終了時に処理されます。これは通常、[ON ERR CALL](on-err-call.md) コールバック内でおこなわれます。 -* **アプリケーションにおいて:** 発生したエラーはエラースタックに追加され、カレントメソッド終了時にアプリケーションの [ON ERR CALL](on-err-call.md) メソッドが呼び出されます。[Last errors](last-errors.md) 関数はエラースタックを返します。 +* **アプリケーションにおいて:** 発生したエラーはエラースタックに追加され、カレントメソッド終了時にアプリケーションの [ON ERR CALL](on-err-call.md) メソッドが呼び出されます。[Last errors](../commands/last-errors.md) 関数はエラースタックを返します。 * **コンポーネントにおいて:** エラースタックはホストアプリケーションに送信され、ホストアプリケーションの [ON ERR CALL](on-err-call.md) メソッドが呼び出されます。 ## 例題 1 @@ -102,7 +102,7 @@ throw({componentSignature: "xbox"; errCode: 600; name: "myFileName"; path: "myFi ## 参照 [ASSERT](assert.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## プロパティ diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md index f02135b763f306..329ed6e9589588 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md @@ -23,7 +23,7 @@ displayed_sidebar: docs ### エラー管理 -以下のエラーが返される可能性があります。これらのエラーは[Last errors](last-errors.md) および [ON ERR CALL](on-err-call.md) コマンドで分析することができます。 +以下のエラーが返される可能性があります。これらのエラーは[Last errors](../commands/last-errors.md) および [ON ERR CALL](on-err-call.md) コマンドで分析することができます。 | **番号** | **メッセージ** | | ------ | ------------------------------- | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/command-index.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/command-index.md index 3250408fbc022c..e492769a2d2974 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/command-index.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/command-index.md @@ -530,7 +530,7 @@ title: インデックス L -[`Last errors`](../commands-legacy/last-errors.md)
    +[`Last errors`](last-errors.md)
    [`Last field number`](../commands-legacy/last-field-number.md)
    [`Last query path`](../commands-legacy/last-query-path.md)
    [`Last query plan`](../commands-legacy/last-query-plan.md)
    diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/command-name.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/command-name.md index 6e97eebc9dd2e4..538b1092a5b9cd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/command-name.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/command-name.md @@ -9,42 +9,42 @@ displayed_sidebar: docs -| 引数 | 型 | | 説明 | -| ----- | ------- | --------------------------- | ---------------------------- | -| コマンド | Integer | → | コマンド番号 | -| info | Integer | ← | Command property to evaluate | -| theme | Text | ← | Language theme of command | -| 戻り値 | Text | ← | Localized command name | +| 引数 | 型 | | 説明 | +| ----- | ------- | --------------------------- | -------------- | +| コマンド | Integer | → | コマンド番号 | +| info | Integer | ← | 評価するコマンドのプロパティ | +| theme | Text | ← | コマンドのランゲージテーマ | +| 戻り値 | Text | ← | ローカライズされたコマンド名 |
    履歴 -| リリース | 内容 | -| ----- | ------------------------------ | -| 20 R9 | Support of deprecated property | +| リリース | 内容 | +| ----- | --------------------- | +| 20 R9 | deprecated プロパティのサポート |
    ## 説明 -The **Command name** command returns the name as well as (optionally) the properties of the command whose command number you pass in *command*.The number of each command is indicated in the Explorer as well as in the Properties area of this documentation. +**Command name** コマンドは、*command* 引数にコマンド番号を渡したコマンドの名前と、オプションとしてそのコマンドのプロパティを返します。各コマンドの番号はエクスプローラー内に記載してある他、このドキュメンテーションのプロパティエリアにも記載があります。 -**Compatibility note:** A command name may vary from one 4D version to the next (commands renamed), this command was used in previous versions to designate a command directly by means of its number, especially in non-tokenized portions of code. This need has diminished over time as 4D continues to evolve because, for non-tokenized statements (formulas), 4D now provides a token syntax. This syntax allows you to avoid potential problems due to variations in command names as well as other elements such as tables, while still being able to type these names in a legible manner (for more information, refer to the *Using tokens in formulas* section). Note also that the \*[Use regional system settings\* option of the Preferences](../Preferences/methods.md#4d-programming-language-use-regional-system-settings) allows you to continue using the French language in a French version of 4D. +**互換性に関する注意:** コマンド名はある4D のバージョンと他のバージョンでは異なる(コマンドが改名された)可能性があり、このコマンドは以前のバージョンでは特にトークナイズドされていない部分のコードにおいて、コマンドをその番号で指定するのに使用されていました。 この用途の必要性は、時とともに4D が進化するにつれて減ってきています。それはトークナイズドされていない宣言(フォーミュラ)に対しては、4D は現在はトークンシンタックスを提供しているからです。 このシンタックスを使用すると、コマンド名の変遷や、あるいはテーブル名などの他の要素が変わったことによって引き起こされる潜在的な問題を避けつつ、読みやすい方法でこれらの名前を入力することができるようになります(詳細な情報については、 *フォーミュラ内でトークンを使用* の章を参照して下さい)。 また、[環境設定内の*リージョンシステム設定を使用* オプション](../Preferences/methods.md#4d-programming-language-use-regional-system-settings) を使用すると、フランス語版の4D において引き続きフランス語のコマンド名を使用することが可能となります。 -Two optional parameters are available: +二つのオプションの引数を渡すことができます: -- *info*: properties of the command. The returned value is a *bit field*, where the following bits are meaningful: - - First bit (bit 0): set to 1 if the command is [**thread-safe**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (i.e., compatible with execution in a preemptive process) and 0 if it is **thread-unsafe**. Only thread-safe commands can be used in [preemptive processes](../Develop/preemptive.md). - - Second bit (bit 1): set to 1 if the command is **deprecated**, and 0 if it is not. A deprecated command will continue to work normally as long as it is supported, but should be replaced whenever possible and must no longer be used in new code. Deprecated commands in your code generate warnings in the [live checker and the compiler](../code-editor/write-class-method.md#warnings-and-errors). +- *info*: コマンドのプロパティを指定します。 返される値は *ビットフィールド* で、以下のビットが意味を持ちます: + - 最初のビット(bit 0): コマンドが[**スレッドセーフである**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code)(つまりプリエンプティブプロセスでの実行に互換性がある)場合には1 に設定され、コマンドが**スレッドセーフでない**場合には0 に設定されます。 [プリエンプティブプロセス](../Develop/preemptive.md) 内ではスレッドセーフなコマンドのみが使用可能です。 + - 二つ目のビット(bit 1): コマンドが**廃止予定** の場合には1 に設定され、そうでない場合には0 に設定されます。 廃止予定のコマンドはサポートされている限りにおいては通常通り機能し続けますが、可能であれば置き換えるべきであり、今後書く新しいコード内においては使用するべきではありません。 コード内における廃止予定のコマンドは[ライブチェッカーおよびコンパイラ](../code-editor/write-class-method.md#警告とエラー) において警告を生成します。 -*theme*: name of the 4D language theme for the command. +*theme*: コマンドの4D ランゲージテーマの名前。 -The **Command name** command sets the *OK* variable to 1 if *command* corresponds to an existing command number, and to 0 otherwise. Note, however, that some existing commands have been disabled, in which case **Command name** returns an empty string (see last example). +**Command name** コマンドは、*command* で指定したコマンドが既存のコマンド番号と対応する場合には*OK* 変数を1に設定し、それ以外の場合には0に設定します。 しかしながら、既存のコマンドの一部には無効化されてしまったコマンドもあり、そういったコマンドの場合には**Command name** は空の文字列を返すという点に注意が必要です(最後の例題を参照して下さい)。 ## 例題 1 -The following code allows you to load all valid 4D commands in an array: +以下のコードを使用すると、全ての有効な4Dコマンドを配列内に読み込むことができます: ```4d  var $Lon_id : Integer @@ -55,18 +55,18 @@ The following code allows you to load all valid 4D commands in an array:  Repeat     $Lon_id:=$Lon_id+1     $Txt_command:=Command name($Lon_id) -    If(OK=1) //command number exists -       If(Length($Txt_command)>0) //command is not disabled +    If(OK=1) // コマンド番号が存在する +       If(Length($Txt_command)>0) // コマンドが無効化されていない           APPEND TO ARRAY($tTxt_commands;$Txt_command)           APPEND TO ARRAY($tLon_Command_IDs;$Lon_id)        End if     End if - Until(OK=0) //end of existing commands + Until(OK=0) // 既存のコマンドの終了 ``` ## 例題 2 -In a form, you want a drop-down list populated with the basic summary report commands. In the object method for that drop-down list, you write: +フォームで、一般的なサマリーレポートコマンドのドロップダウンリストを作成します。 ドロップダウンリストのオブジェクトメソッドに、次のように記述します: ```4d  Case of @@ -80,13 +80,13 @@ In a form, you want a drop-down list populated with the basic summary report com  End case ``` -In the English version of 4D, the drop-down list will read: Sum, Average, Min, and Max. In the French version\*, the drop-down list will read: Somme, Moyenne, Min, and Max. +4Dの日本語版ではドロップダウンリストに、Sum、Average、Min、Maxが表示されます。 フランス語版\*では、ドロップダウンリストには、Somme、Moyenne、Min、Maxが表示されます。 -\*with a 4D application configured to use the French programming language (see compatibility note) +\*フランス語のプログラミング言語を使用するよう設定されている4Dアプリケーション(互換性に関する注意を参照して下さい) ## 例題 3 -You want to create a method that returns **True** if the command, whose number is passed as parameter, is thread-safe, and **False** otherwise. +番号を引数として渡したコマンドがスレッドセーフである場合には**True** を、そうでない場合には**False** を返す様なメソッドを作成したい場合を考えます。 ```4d   //Is_Thread_Safe project method @@ -94,23 +94,23 @@ You want to create a method that returns **True** if the command, whose number i  var $threadsafe : Integer  var $name; $theme : Text  $name:=Command name($command;$threadsafe;$theme) - If($threadsafe ?? 0) //if the first bit is set to 1 + If($threadsafe ?? 0) // 最初のビットが1に設定されている     return True  Else     return False  End if ``` -Then, for the "SAVE RECORD" command (53) for example, you can write: +これを使い、例えば"SAVE RECORD"コマンド(53番)に対して、以下のように書く事ができます: ```4d  $isSafe:=Is_Thread_Safe(53) -  // returns True +  // True を返す ``` ## 例題 4 -You want to return a collection of all deprecated commands in your version of 4D. +使用中のバージョンの4D 内で、廃止予定のコマンドを全てコレクションに入れて返したい場合を考えます。 ```4d var $info; $Lon_id : Integer @@ -120,18 +120,18 @@ var $deprecated : Collection Repeat $Lon_id:=$Lon_id+1 $Txt_command:=Command name($Lon_id;$info) - If($info ?? 1) //the second bit is set to 1 - //then the command is deprecated + If($info ?? 1) // 二つ目のビットが1である + // 1であればコマンドは廃止予定である $deprecated.push($Txt_command) End if -Until(OK=0) //end of existing commands +Until(OK=0) // 既存のコマンドの終了 ``` ## 参照 [EXECUTE FORMULA](../commands-legacy/execute-formula.md)\ -[Preemptive Processes](../Develop/preemptive.md) +[プリエンプティブプロセス](../Develop/preemptive.md) ## プロパティ diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/compile-project.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/compile-project.md index 1a3ad03aae26ec..7603408bc9e02d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/compile-project.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/compile-project.md @@ -39,9 +39,9 @@ displayed_sidebar: docs **注:** このコマンドを使用してバイナリーデータベースをコンパイルすることはできません。 -コンパイラウィンドウとは異なり、このコマンドではコンパイルするコンポーネントを明示的に指定する必要があります。 **Compile project** でプロジェクトをコンパイルする場合、*options* 引数の*components* プロパティを使用してそのコンポーネントを宣言する必要があります。 なお、そのコンポーネントは既にコンパイルされている必要があるという点に注意してください(バイナリーコンポーネントはサポートされます)。 **Compile project** でプロジェクトをコンパイルする場合、*options* 引数の*components* プロパティを使用してそのコンポーネントを宣言する必要があります。 なお、そのコンポーネントは既にコンパイルされている必要があるという点に注意してください(バイナリーコンポーネントはサポートされます)。 +コンパイラウィンドウとは異なり、このコマンドではコンパイルするコンポーネントを明示的に指定する必要があります。 **Compile project** でプロジェクトをコンパイルする場合、*options* 引数の*components* プロパティを使用してそのコンポーネントを宣言する必要があります。 なお、そのコンポーネントは既にコンパイルされている必要があるという点に注意してください(バイナリーコンポーネントはサポートされます)。 -コンパイルされたコードは、*options* 引数の*targets* プロパティでの指定によって、DerivedData または Libraries フォルダに格納されています。 コンパイルされたコードは、*options* 引数の*targets* プロパティでの指定によって、DerivedData または Libraries フォルダに格納されています。 +コンパイルされたコードは、*options* 引数の*targets* プロパティでの指定によって、DerivedData または Libraries フォルダに格納されています。 .4dz ファイルを作成したい場合でも、コンパイルされたプロジェクトを手動でZIP圧縮するか、[ビルドアプリケーション](../Desktop/building.md) 機能を使用する必要があります。 *targets* プロパティに空のコレクションを渡した場合、**Compile project** コマンドはコンパイルせずにシンタックスチェックを実行します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/ds.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/ds.md index 57ca5abd212abd..d37b7daa48f48b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/ds.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/ds.md @@ -19,9 +19,9 @@ displayed_sidebar: docs `ds` コマンドは、カレントの 4Dデータベース、または *localID* で指定したデータベースに合致するデータストアの参照を返します。 -*localID* を省略した (または空の文字列 "" を渡した) 場合には、ローカル4Dデータベース (4D Server でリモートデータベースを開いている場合にはそのデータベース) に合致するデータストアの参照を返します。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 +*localID* を省略した (または空の文字列 "" を渡した) 場合には、ローカル4Dデータベース (4D Server でリモートデータベースを開いている場合にはそのデータベース) に合致するデータストアの参照を返します。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 -開かれているリモートデータストアのローカルIDを *localID* パラメーターに渡すと、その参照を取得できます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 +開かれているリモートデータストアのローカルIDを *localID* パラメーターに渡すと、その参照を取得できます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 > ローカルIDのスコープは、当該データストアを開いたデータベースです。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/form-edit.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/form-edit.md index f1bbbd6a4f7f24..3f85abc61839b6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/form-edit.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/form-edit.md @@ -62,7 +62,7 @@ displayed_sidebar: docs ## 参照 -[Design Object Access Commands](../commands/theme/Design_Object_Access.md) +[デザインオブジェクトアクセスコマンド](../commands/theme/Design_Object_Access.md) ## プロパティ diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/form-event.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/form-event.md index 04f31b37f32404..097eda5af0b378 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/form-event.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/form-event.md @@ -37,8 +37,8 @@ displayed_sidebar: docs イベントオブジェクトには、イベントが発生したオブジェクト によっては追加のプロパティが含まれていることがあります。 これは以下のオブジェクトで生成された *eventObj* オブジェクトが対象です: -- List box or list box column objects, see [this section](../FormObjects/listbox_overview.md#additional-properties). -- 4D View Pro areas, see [On VP Ready form event](../Events/onVpReady.md). +- リストボックスまたはリストボックスカラムオブジェクト。詳細は[こちらの章](../FormObjects/listbox_overview.md#追加プロパティ)を参照してください。 +- 4D View Pro エリア。詳細は[On VP Ready フォームイベント](../Events/onVpReady.md) を参照してください。 ***注意:*** カレントのイベントが何もない場合、**FORM Event** はnull オブジェクトを返します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/formula.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/formula.md index 00869ab24a23ed..b67964c3078dca 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/formula.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/formula.md @@ -34,7 +34,7 @@ displayed_sidebar: docs 返されたフォーミュラは以下の方法で呼び出すことが可能です: - [`.call()`](../API/FunctionClass.md#call) あるいは [`.apply()`](../API/FunctionClass.md#apply) 関数 -- object notation syntax (see [formula object](../commands/formula.md-object)). +- オブジェクト記法シンタックス ([Formula オブジェクト](../commands/formula.md-object) 参照) ```4d var $f : 4D.Function @@ -47,7 +47,7 @@ displayed_sidebar: docs $o.myFormula() // 3 を返します ``` -You can pass [parameters](../API/FunctionClass.md#passing-parameters) to the `Formula`, as seen below in [example 4](#example-4). +以下の[例題4](#例題-4)にあるように、`Formula` には[引数](../API/FunctionClass.md#引数を渡す)を渡すことが可能です。 フォーミュラの実行対象となるオブジェクトを指定することができます ([例題5](#例題-5) 参照)。 このオブジェクトのプロパティは、 `This` コマンドでアクセス可能です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/last-errors.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/last-errors.md new file mode 100644 index 00000000000000..6c36aeed0206ec --- /dev/null +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/last-errors.md @@ -0,0 +1,91 @@ +--- +id: last-errors +title: Last errors +slug: /commands/last-errors +displayed_sidebar: docs +--- + +**Last errors** : Collection + + + +| 引数 | 型 | | 説明 | +| --- | ---------- | --------------------------- | ---------------- | +| 戻り値 | Collection | ← | エラーオブジェクトのコレクション | + + + +## 説明 + +**Last errors** コマンドは4D アプリケーションのカレントのスタックエラーをエラーオブジェクトのコレクションとして返すか、あるいはエラーが何も起きなかった場合には **null** を返します。エラーのスタックには、 [throw](../commands-legacy/throw.md) コマンドで返されたオブジェクトも(あれば)含みます。 + +このコマンドは[ON ERR CALL](../commands-legacy/on-err-call.md) コマンドで実装されたエラー処理メソッドから、あるいは[Try または Try/Catch](../Concepts/error-handling.md#tryexpression) コンテキスト内から呼び出す必要があります。 + +それぞれのエラーオブジェクトには、次のプロパティが格納されています: + +| **プロパティ** | **型** | **Description** | +| ------------------ | ------ | -------------------------------------------- | +| errCode | number | エラーコード | +| message | text | エラーの詳細 | +| componentSignature | text | エラーを返した内部コンポーネントの署名(以下参照) | + +#### 内部コンポーネント署名(4D) + +| コンポーネント署名 | コンポーネント | +| ------------------------- | --------------------------------------------------------- | +| 4DCM | 4D コンパイラランタイム | +| 4DRT | 4D ランタイム | +| bkrs | 4D バックアップ&復元マネージャー | +| brdg | SQL 4D ブリッジ | +| cecm | 4D コードエディター | +| CZip | zip 4DのAPI | +| dbmg | 4D データベースマネージャー | +| FCGI | fast cgi 4D ブリッジ | +| FiFo | 4D ファイルオブジェクト | +| HTCL | HTTP クライアント4D API | +| HTTPクライアント | 4D HTTP サーバー | +| IMAP | IMAP 4D API | +| JFEM | フォームマクロAPI | +| LD4D | LDAP 4D API | +| lscm | 4D ランゲージシンタックスマネージャー | +| MIME | MIME 4D API | +| mobi | 4D Mobile | +| pdf1 | 4D PDF API | +| PHP_ | PFP 4D ブリッジ | +| POP3 | POP3 4D API | +| SMTP | SMTP 4D API | +| SQLS | 4D SQL サーバー | +| srvr | 4D ネットワークレイヤーAPI | +| svg1 | SVG 4D API | +| ugmg | 4D ユーザー&グループマネージャー | +| UP4D | 4D アップデーター | +| VSS | 4D VSS サポート(Windows ボリュームスナップショットサービス) | +| webc | 4D Web view | +| xmlc | XML 4D API | +| wri1 | 4D Write Pro | + +#### 内部コンポーネント署名(システム) + +| コンポーネント署名 | コンポーネント | +| --------- | -------------------------------------------------- | +| CARB | Carbon サブシステム | +| COCO | Cocoa サブシステム | +| MACH | macOS Mach サブシステム | +| POSX | posix/bsd サブシステム(mac、linux、win) | +| PW32 | Pre-Win32 サブシステム | +| WI32 | Win32 サブシステム | + +## 参照 + +[ON ERR CALL](../commands-legacy/on-err-call.md) +[throw](../commands-legacy/throw.md)\ +[Error handling](../Concepts/error-handling.md) + +## プロパティ + +| | | +| ------- | --------------------------- | +| コマンド番号 | 1799 | +| スレッドセーフ | ✓ | + + diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/print-form.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/print-form.md index 7b04b5814b00c9..62887e306c2f26 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/print-form.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/print-form.md @@ -21,7 +21,7 @@ displayed_sidebar: docs ## 説明 -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** は、*aTable* のフィールドや変数の現在の値を使用して *form* 引数で指定したフォームを印刷します。 通常は、印刷処理を完全に制御する必要のある非常に複雑なレポートを印刷するために使用します。 **Print form** はレコード処理、ブレーク処理、改ページ処理を全く行いません。 これらの処理はすべて開発者が行います。 **Print form** は固定されたサイズの枠のなかにフィ-ルドや変数を印刷します。 +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*.**Print form** コマンドは、*aTable* のフィールドや変数の現在の値を使用して *form* 引数で指定したフォームを印刷します。 通常は、印刷処理を完全に制御する必要のある非常に複雑なレポートを印刷するために使用します。 **Print form** はレコード処理、ブレーク処理、改ページ処理を全く行いません。 これらの処理はすべて開発者が行います。 **Print form** は固定されたサイズの枠のなかにフィ-ルドや変数を印刷します。 *form* 引数には、以下のいづれかを渡すことができます: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/process-number.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/process-number.md index 15403a48c0b623..d95ccc693a7335 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/process-number.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/process-number.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## 説明 -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` コマンドは第一引数 *name* または *id* に渡した名前またはID を持つプロセスの番号を返します。 プロセスが見つからない場合、`Process number` は0 を返します。 +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` コマンドは第一引数 *name* または *id* に渡した名前またはID を持つプロセスの番号を返します。 プロセスが見つからない場合、`Process number` は0 を返します。 オプションの \* 引数を渡すと、サーバー上で実行中のプロセス番号をリモートの 4D から取得することができます。 この場合、返される値は負の値になります。 このオプションは特に[GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md)、 [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) および [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md) コマンドを使用する場合などに有用です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/select-log-file.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/select-log-file.md index d5096dbed9da50..571f76e64cc58a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/select-log-file.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/select-log-file.md @@ -21,7 +21,7 @@ displayed_sidebar: docs *logFile* 引数には、作成したいログファイルの名前または完全パス名を渡します。 名前だけを渡した場合、ファイルはデータベースのストラクチャーファイルと同階層にあるデータベースの"Logs" フォルダ内に作成されます。 -*logFile* に空の文字列を渡した場合、**SELECT LOG FILE** はファイルを保存ダイアログボックスを表示し、作成するログファイルの名前と場所をユーザーが選択できるようにします。 If the file is created correctly, the OK variable is set to 1. そうでない場合、例えばユーザーがキャンセルをクリックしたりログファイルが作成できなかったような場合OK 変数は 0 に設定されます。 +*logFile* に空の文字列を渡した場合、**SELECT LOG FILE** はファイルを保存ダイアログボックスを表示し、作成するログファイルの名前と場所をユーザーが選択できるようにします。 ファイルが正常に作成されれば、OK 変数は 1 に設定されます。 そうでない場合、例えばユーザーがキャンセルをクリックしたりログファイルが作成できなかったような場合OK 変数は 0 に設定されます。 **注意:** 新しいログファイルはコマンドの実行直後に生成されるのではなく、次回バックアップ(引数はデータファイル内に保存され、データベースが閉じられたとしてもその引数を考慮します)、または [New log file](new-log-file.md) コマンドを呼び出した後に生成されます。 [BACKUP](../commands-legacy/backup.md) コマンドを呼び出すことで、ログファイルの作成をトリガーすることができます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/session.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/session.md index 87c0e9c4aba544..1f014a7e3bac76 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/session.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/session.md @@ -30,7 +30,7 @@ displayed_sidebar: docs コマンドを呼び出したプロセスによって、カレントユーザーセッションは次のいずれかです: -- a web session (when [scalable sessions are enabled](WebServer/sessions.md#enabling-web-sessions)), +- Web セッション([スケーラブルセッションが有効化されている](WebServer/sessions.md#webセッションの有効化) 場合) - リモートクライアントセッション - ストアドプロシージャセッション - スタンドアロンアプリケーションの*designer* セッション diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md index 7e37144f5942b0..4fa09bd3fd2791 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md @@ -14,7 +14,6 @@ slug: /commands/theme/4D-Environment | [](../../commands-legacy/compact-data-file.md)
    | | [](../../commands-legacy/component-list.md)
    | | [](../../commands-legacy/create-data-file.md)
    | -| [](../../commands/create-entity-selection.md)
    | | [](../../commands-legacy/data-file.md)
    | | [](../../commands-legacy/database-measures.md)
    | | [](../../commands-legacy/drop-remote-user.md)
    | @@ -46,7 +45,6 @@ slug: /commands/theme/4D-Environment | [](../../commands-legacy/set-update-folder.md)
    | | [](../../commands-legacy/structure-file.md)
    | | [](../../commands-legacy/table-fragmentation.md)
    | -| [](../../commands/use-entity-selection.md)
    | | [](../../commands-legacy/verify-current-data-file.md)
    | | [](../../commands-legacy/verify-data-file.md)
    | | [](../../commands-legacy/version-type.md)
    | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md index 1d5dd8f4214059..b42567cc00cdab 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md @@ -11,7 +11,7 @@ slug: /commands/theme/Interruptions | [](../../commands-legacy/asserted.md)
    | | [](../../commands-legacy/filter-event.md)
    | | [](../../commands-legacy/get-assert-enabled.md)
    | -| [](../../commands-legacy/last-errors.md)
    | +| [](../../commands/last-errors.md)
    | | [](../../commands-legacy/method-called-on-error.md)
    | | [](../../commands-legacy/method-called-on-event.md)
    | | [](../../commands-legacy/on-err-call.md)
    | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/Selection.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/Selection.md index 039662c739336c..201e1e4019b9b6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/Selection.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/theme/Selection.md @@ -9,6 +9,7 @@ slug: /commands/theme/Selection | [](../../commands-legacy/all-records.md)
    | | [](../../commands-legacy/apply-to-selection.md)
    | | [](../../commands-legacy/before-selection.md)
    | +| [](../../commands/create-entity-selection.md)
    | | [](../../commands-legacy/create-selection-from-array.md)
    | | [](../../commands-legacy/delete-selection.md)
    | | [](../../commands-legacy/display-selection.md)
    | @@ -28,3 +29,4 @@ slug: /commands/theme/Selection | [](../../commands-legacy/scan-index.md)
    | | [](../../commands-legacy/selected-record-number.md)
    | | [](../../commands-legacy/truncate-table.md)
    | +| [](../../commands/use-entity-selection.md)
    | diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md index ea4e2c883f5317..7af040d6b5152c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/DataStoreClass.md @@ -164,10 +164,10 @@ user / password を指定せずにリモートデータストアに接続しま ```4d var $connectTo : Object - var $remoteDS : cs.DataStore - $connectTo:=New object("type";"4D Server";"hostname";"192.168.18.11:8044") - $remoteDS:=Open datastore($connectTo;"students") - ALERT("このリモートデータストアには "+String($remoteDS.Students.all().length)+" 名の生徒が登録されています") +var $remoteDS : 4D.DataStoreImplementation +$connectTo:=New object("type";"4D Server";"hostname";"192.168.18.11:8044") +$remoteDS:=Open datastore($connectTo;"students") +ALERT("This remote datastore contains "+String($remoteDS.Students.all().length)+" students") ``` #### 例題 2 @@ -176,11 +176,11 @@ user / password / timeout / tls を指定してリモートデータストアに ```4d var $connectTo : Object - var $remoteDS : cs.DataStore - $connectTo:=New object("type";"4D Server";"hostname";\"192.168.18.11:4443";\ +var $remoteDS : 4D.DataStoreImplementation +$connectTo:=New object("type";"4D Server";"hostname";\"192.168.18.11:4443";\ "user";"marie";"password";$pwd;"idleTimeout";70;"tls";True) - $remoteDS:=Open datastore($connectTo;"students") - ALERT("このリモートデータストアには "+String($remoteDS.Students.all().length)+" 名の生徒が登録されています") +$remoteDS:=Open datastore($connectTo;"students") +ALERT("This remote datastore contains "+String($remoteDS.Students.all().length)+" students") ``` #### 例題 3 @@ -395,12 +395,12 @@ user / password / timeout / tls を指定してリモートデータストアに リモートデータストアの場合: ```4d - var $remoteDS : cs.DataStore - var $info; $connectTo : Object + var $remoteDS : 4D.DataStoreImplementation +var $info; $connectTo : Object - $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") - $remoteDS:=Open datastore($connectTo;"students") - $info:=$remoteDS.getInfo() +$connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") +$remoteDS:=Open datastore($connectTo;"students") +$info:=$remoteDS.getInfo() //{"type":"4D Server", //"localID":"students", @@ -742,27 +742,27 @@ ORDA クライアントリクエストをメモリに記録します: ```4d var $connect; $status : Object - var $person : cs.PersonsEntity - var $ds : cs.DataStore - var $choice : Text - var $error : Boolean +var $person : cs.PersonsEntity +var $ds : 4D.DataStoreImplementation +var $choice : Text +var $error : Boolean - Case of +Case of :($choice="local") $ds:=ds :($choice="remote") $connect:=New object("hostname";"111.222.3.4:8044") $ds:=Open datastore($connect;"myRemoteDS") - End case +End case - $ds.startTransaction() - $person:=$ds.Persons.query("lastname=:1";"Peters").first() +$ds.startTransaction() +$person:=$ds.Persons.query("lastname=:1";"Peters").first() - If($person#Null) +If($person#Null) $person.lastname:="Smith" $status:=$person.save() - End if - ... +End if +... ... If($error) $ds.cancelTransaction() diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/EntityClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/EntityClass.md index 729c4f3bca36e8..3e4fe3b593ca93 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/EntityClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/EntityClass.md @@ -600,15 +600,14 @@ vCompareResult1 (すべての差異が返されています):
    -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | 引数 | 型 | | 説明 | | ---- | ------- |:--:| -------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: プライマリーキーの型にかかわらず、プライマリーキーを文字列として返します | -| 戻り値 | Text | <- | エンティティのテキスト型プライマリーキーの値 | -| 戻り値 | Integer | <- | エンティティの数値型プライマリーキーの値 | +| 戻り値 | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1540,11 +1539,12 @@ employeeObject:=employeeSelected.toObject("directReports.*") #### 説明 -`.touched()` 関数は、 エンティティがメモリに読み込まれてから、あるいは保存されてから、エンティティ属性が変更されたかどうかをテストします。 +`.touched()` 関数は、 メモリ読み込み後にエンティティの属性が1個でも変更されていれば True を返します。 この関数を使用することで、エンティティを保存する必要があるかどうかを確認することができます。 -属性が更新あるいは計算されていた場合、関数は true を返し、それ以外は false を返します。 この関数を使用することで、エンティティを保存する必要があるかどうかを確認することができます。 +この関数は、種類 ([kind](DataClassClass.md#attributename)) が `storage` あるいは `relatedEntity` である属性にだけ適用されます。 + +( [`.new()`](DataClassClass.md#new)で) 作成されたばかりの新しいエンティティの場合、関数は False を返します。 しかし、[`autoFilled`プロパティが](./DataClassClass.md#返されるオブジェクト)Trueである属性にアクセスすると、`.touched()`関数はTrueを返します。 例えば、新しいエンティティに対して`$id:=ds.Employee.ID を`実行すると (ID 属性に "自動インクリメント" プロパティが設定されていると仮定)、`.touched()`は True を返します。 -この関数は、([`.new( )`](DataClassClass.md#new) で作成された) 新規エンティティに対しては常に false を返します。 ただし、エンティティの属性を計算する関数を使用した場合には、`.touched()` 関数は true を返します。 たとえば、プライマリーキーを計算するために [`.getKey()`](#getkey) を呼び出した場合、`.touched()` メソッドは true を返します。 #### 例題 @@ -1587,7 +1587,7 @@ employeeObject:=employeeSelected.toObject("directReports.*") `.toObject()` 関数は、 メモリに読み込み後に変更されたエンティティの属性名を返します。 -この関数は、種類 ([kind](DataClassClass.md#attributename)) が `storage` あるいは `relatedEntity` である属性に適用されます。 +この関数は、種類 ([kind](DataClassClass.md#attributename)) が `storage` あるいは `relatedEntity` である属性にだけ適用されます。 リレート先のエンティティそのものが更新されていた場合 (外部キーの変更)、リレートエンティティの名称とそのプライマリーキー名が返されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/FileClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/FileClass.md index 291fda0fe64e60..f1d101a51f8391 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/FileClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/FileClass.md @@ -515,12 +515,12 @@ $myFile.moveTo($DocFolder.folder("Archives");"Infos_old.txt") `.setAppInfo()` 関数は、 *info* に渡したプロパティを **.exe** や **.dll**、**.plist** ファイルの情報として書き込みます。 -この関数は、既存の .exe、.dll、あるいは .plist ファイルと使う必要があります。 ファイルがディスク上に存在しない、または、有効な .exe や .dll、.plist ファイルでない場合、この関数は何もしません (エラーは生成されません)。 - -> この関数は xml形式の .plist ファイル (テキスト) のみをサポートしています。 バイナリ形式の .plist ファイルを対象に使用した場合、エラーが返されます。 **.exe または .dll ファイル用の *info* オブジェクト** +関数に渡されるファイルは、ディスク上に存在する有効な .exe または .dll ファイルでなければなりません。そうでない場合、この関数は何もしません (エラーは生成されません)。 + + > .exe および .dll ファイル情報の書き込みは Windows上でのみ可能です。 *info* オブジェクトに設定された各プロパティは .exe または .dll ファイルのバージョンリソースに書き込まれます。 以下のプロパティが使用できます (それ以外のプロパティは無視されます): @@ -540,6 +540,8 @@ $myFile.moveTo($DocFolder.folder("Archives");"Infos_old.txt") **.plist ファイル用の *info* オブジェクト** +> この関数は xml形式の .plist ファイル (テキスト) のみをサポートしています。 バイナリ形式の .plist ファイルを対象に使用した場合、エラーが返されます。 + *info* オブジェクトに設定された各プロパティは .plist ファイルにキーとして書き込まれます。 あらゆるキーの名称が受け入れられます。 値の型は可能な限り維持されます。 *info* に設定されたキーが .plist ファイル内ですでに定義されている場合は、その値が更新され、元の型が維持されます。 .plist ファイルに既存のそのほかのキーはそのまま維持されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md index 59a34274f49272..8b908d3dc6cdcd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md @@ -682,7 +682,7 @@ CORS についての詳細は、Wikipedia の[Cross-origin resource sharing](htt プロジェクトの設定ファイルに定義されているデフォルトの設定、または `WEB SET OPTION` コマンドで定義された設定 (ホストデータベースのみ) を使用して、Webサーバーは開始されます。 しかし、*settings* 引数を渡せば、Webサーバーセッションにおいてカスタマイズされた設定を定義することができます。 -[Web Server オブジェクト](#webサーバーオブジェクト) の設定は、読み取り専用プロパティ ([.isRunning](#isrunning)、[.name](#name)、[.openSSLVersion](#opensslversion)、[.perfectForwardSecrecy](#perfectforwardsecrecy)、[.sessionCookieName](#sessioncookiename)) を除いて、すべてカスタマイズ可能です。 +[Webサーバーオブジェクト](#webサーバーオブジェクト)の設定すべては、読み取り専用プロパティ([.isRunning](#isrunning)、[.name](#name)、[.openSSLVersion](#opensslversion)、[.perfectForwardSecrecy](#perfectforwardsecrecy)、[.sessionCookieName](#sessioncookiename))を除き、カスタマイズすることができます。 カスタマイズされた設定は [`.stop()`](#stop) が呼び出されたときにリセットされます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-19/Concepts/dt_picture.md b/i18n/ja/docusaurus-plugin-content-docs/version-19/Concepts/dt_picture.md index e68bbe0e5822c2..99a0dba80bd92e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-19/Concepts/dt_picture.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-19/Concepts/dt_picture.md @@ -29,18 +29,18 @@ WIC および ImageIO はピクチャー内のメタデータの書き込みを ## ピクチャー演算子 -| 演算 | シンタックス | 戻り値 | 動作 | -| -------- | ---------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | -| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | -| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | -| 包括的論理和 | Pict1 | Pict2 | Picture | | 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 二つのピクチャーサイズに違いがある場合、Pict1 | Pict2 は空のピクチャーを生成します。 | -| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | -| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | -| リサイズ | Picture * Number | Picture | 割合によってピクチャーをサイズ変更します。 | -| 水平スケール | Picture *+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | -| 垂直スケール | Picture *| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | -| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照してください。 | +| 演算 | シンタックス | 戻り値 | 動作 | +| -------- | ---------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | +| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | +| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | +| 包括的論理和 | Pict1 | Pict2 | Picture | | 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 二つのピクチャーサイズに違いがある場合、Pict1 | Pict2 は空のピクチャーを生成します。 | +| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | +| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | +| リサイズ | Picture * Number | Picture | 割合によってピクチャーをサイズ変更します。 | +| 水平スケール | Picture *+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | +| 垂直スケール | Picture *| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | +| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照してください。 | **注:** diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-19/Desktop/building.md b/i18n/ja/docusaurus-plugin-content-docs/version-19/Desktop/building.md index 3e20a3ca68fec6..fad33b7d22ecb4 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-19/Desktop/building.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-19/Desktop/building.md @@ -153,7 +153,7 @@ Windows においては、.exe 拡張子のついた実行ファイルが作成 * *Windows* * MyProject.exe - 実行可能ファイル、そして MyProject.rsr (アプリケーションリソースファイル) * 4D Extensions および Resources フォルダー、さまざまなライブラリ (DLL)、 Native Components フォルダー、SASL Plugins フォルダーなど、アプリケーション実行に必要なファイル - * Databaseフォルダー: Resources フォルダーと MyProject.4DZ ファイルが格納されています。 これらはプロジェクトのコンパイル済みストラクチャーおよびプロジェクトの Resources フォルダーです。 **Note**: This folder also contains the *Default Data* folder, if it has been defined (see [Data file management in final applications](#management-of-data-files). + * Databaseフォルダー: Resources フォルダーと MyProject.4DZ ファイルが格納されています。 これらはプロジェクトのコンパイル済みストラクチャーおよびプロジェクトの Resources フォルダーです。 **注記**: もし*Default Data* フォルダーが設定されていれば、ここに格納されます ([データファイルの管理](#データファイルの管理)を参照してください)。 * (オプション) データベースに含まれるコンポーネントやプラグインが配置された Components フォルダーおよび Plugins フォルダー。 この点に関する詳細は [プラグイン&コンポーネントページ](#プラグイン&コンポーネントページ) を参照してください。 * Licenses フォルダー - アプリケーションに統合されたライセンス番号の XML ファイルが含まれます。 この点に関する詳細は [ライセンス&証明書ページ](#ライセンス&証明書ページ) を参照してください。 * 4D Volume Desktop フォルダーに追加されたその他の項目 (あれば) ([4D Volume Desktop フォルダーのカスタマイズ](#4d-volume-desktop-フォルダーのカスタマイズ) 参照) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md index c1599afc5d5cca..5a3949ed135330 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md @@ -461,12 +461,12 @@ $hasModifications:=($currentStamp # ds.getGlobalStamp()) リモートデータストアの場合: ```4d - var $remoteDS : cs.DataStore - var $info; $connectTo : Object + var $remoteDS : 4D.DataStoreImplementation +var $info; $connectTo : Object - $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") - $remoteDS:=Open datastore($connectTo;"students") - $info:=$remoteDS.getInfo() +$connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") +$remoteDS:=Open datastore($connectTo;"students") +$info:=$remoteDS.getInfo() //{"type":"4D Server", //"localID":"students", @@ -1123,7 +1123,7 @@ SET DATABASE PARAMETER(4D Server Log Recording;0) ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md index fb31c958261d14..0fde1c0db0595f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md @@ -615,15 +615,14 @@ vCompareResult1 (すべての差異が返されています): -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any -| 引数 | 型 | | 説明 | -| ---- | ------- | :-------------------------: | ------------------------------------------------------------------------ | -| mode | Integer | -> | `dk key as string`: プライマリーキーの型にかかわらず、プライマリーキーを文字列として返します | -| 戻り値 | Text | <- | エンティティのテキスト型プライマリーキーの値 | -| 戻り値 | Integer | <- | エンティティの数値型プライマリーキーの値 | +| 引数 | 型 | | 説明 | +| ---- | ------- | :-------------------------: | --------------------------------------------------------------------------- | +| mode | Integer | -> | `dk key as string`: プライマリーキーの型にかかわらず、プライマリーキーを文字列として返します | +| 戻り値 | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1641,11 +1640,11 @@ employeeObject:=employeeSelected.toObject("directReports.*") #### 説明 `.touched()` 関数は、 -エンティティがメモリに読み込まれてから、あるいは保存されてから、エンティティ属性が変更されたかどうかをテストします。 +エンティティがメモリに読み込まれてから、あるいは保存されてから、少なくとも1つのエンティティ属性が変更されていた場合にはTrue を返します。 この関数を使用することで、エンティティを保存する必要があるかどうかを確認することができます。 -属性が更新あるいは計算されていた場合、関数は true を返し、それ以外は false を返します。 この関数を使用することで、エンティティを保存する必要があるかどうかを確認することができます。 +これは属性の[`kind`](DataClassClass.md#返されるオブジェクト) が"storage" あるいは "relatedEntity" である属性のみに適用されます。 -この関数は、( [`.new( )`](DataClassClass.md#new) で作成された) 新規エンティティに対しては常に false を返します。 ただし、エンティティの属性を計算する関数を使用した場合には、`.touched()` 関数は true を返します。 たとえば、プライマリーキーを計算するために [`.getKey()`](#getkey) を呼び出した場合、`.touched()` メソッドは true を返します。 +[`.new()`](DataClassClass.md#new) を使用して新規に作成したばかりの新しいエンティティについては、この関数はFalse を返します。 しかしながら、このコンテキストにおいて[`autoFilled` プロパティ](./DataClassClass.md#返されるオブジェクト) がTrue である属性にアクセスすると、`.touched()` 関数はTrue を返します。 例えば、新しいエンティティに対して`$id:=ds.Employee.ID` を実行すると (ID 属性に "自動インクリメント" プロパティが設定されていると仮定)、`.touched()` は True を返します。 #### 例題 @@ -1689,7 +1688,7 @@ employeeObject:=employeeSelected.toObject("directReports.*") `.touchedAttributes()` 関数は、メモリに読み込み後に変更されたエンティティの属性名を返します。 -この関数は、種類 ([kind](DataClassClass.md#attributename)) が `storage` あるいは `relatedEntity` である属性に適用されます。 +これは属性の[`kind`](DataClassClass.md#返されるオブジェクト) が"storage" あるいは "relatedEntity" である属性のみに適用されます。 リレート先のエンティティそのものが更新されていた場合 (外部キーの変更)、リレートエンティティの名称とそのプライマリーキー名が返されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md index b91f25b60e443e..e283bab0112b89 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md @@ -538,15 +538,13 @@ $fhandle:=$f.open("read") `.setAppInfo()` 関数は、*info* に渡したプロパティを **.exe** や **.dll**、**.plist** ファイルの情報として書き込みます。 -この関数は、既存の .exe、.dll、あるいは .plist ファイルと使う必要があります。 ファイルがディスク上に存在しない、または、有効な .exe や .dll、.plist ファイルでない場合、この関数は何もしません (エラーは生成されません)。 - -> この関数は xml形式の .plist ファイル (テキスト) のみをサポートしています。 バイナリ形式の .plist ファイルを対象に使用した場合、エラーが返されます。 - **.exe または .dll ファイル用の *info* オブジェクト** +関数に渡されるファイルは、ディスク上に存在する有効な .exe または .dll ファイルでなければなりません。そうでない場合、この関数は何もしません (エラーは生成されません)。 + > .exe および .dll ファイル情報の書き込みは Windows上でのみ可能です。 -*info* オブジェクトに設定された各プロパティは .exe または .dll ファイルのバージョンリソースに書き込まれます。 以下のプロパティが使用できます (それ以外のプロパティは無視されます): +*info* オブジェクト引数内に設定されているそれぞれの有効なプロパティは、.exe あるいは .dll ファイルのバージョンリソースに書き込まれます。 以下のプロパティが使用できます (それ以外のプロパティは無視されます): | プロパティ | 型 | 説明 | | ---------------- | ---- | -------------------------------------------------------------------- | @@ -560,22 +558,24 @@ $fhandle:=$f.open("read") | OriginalFilename | Text | | | WinIcon | Text | .icoファイルの Posixパス。 このプロパティは、4D が生成した実行ファイルにのみ適用されます。 | -`WinIcon` を除くすべてのプロパティにおいて、値として null または空テキストを渡すと、空の文字列がプロパティに書き込まれます。 テキストでない型の値を渡した場合には、文字列に変換されます。 +`WinIcon` を除き全てのプロパティにおいて、値としてnull または空の文字列を渡した場合、プロパティには空の文字列が書き込まれます。 テキストでない型の値を渡した場合には、文字列に変換されます。 -`WinIcon` プロパティにおいては、アイコンファイルが存在しないか、フォーマットが正しくない場合、エラーが発生します。 +`WinIcon` プロパティにおいては、ファイルが存在しない、または不正なフォーマットだった場合にはエラーが生成されます。 **.plist ファイル用の *info* オブジェクト** -*info* オブジェクトに設定された各プロパティは .plist ファイルにキーとして書き込まれます。 あらゆるキーの名称が受け入れられます。 値の型は可能な限り維持されます。 +> この関数は xml形式の .plist ファイル (テキスト) のみをサポートしています。 バイナリ形式の .plist ファイルを対象に使用した場合、エラーが返されます。 + +*info* オブジェクト引数内に設定されたそれぞれの有効なプロパティは、 .plist ファイル内にキーとして書き込まれます。 あらゆるキーの名称が受け入れられます。 値の型は可能な限り維持されます。 -*info* に設定されたキーが .plist ファイル内ですでに定義されている場合は、その値が更新され、元の型が維持されます。 .plist ファイルに既存のそのほかのキーはそのまま維持されます。 +*info* 引数内に設定されたキーが.plist ファイル内に既に定義されていた場合には、元の型を保ったまま値が更新されます。 .plist ファイルに既存のそのほかのキーはそのまま維持されます。 > 日付型の値を定義するには、Xcode plist エディターのようにミリ秒を除いた ISO UTC 形式の JSONタイムスタンプ文字列 (例: "2003-02-01T01:02:03Z") を使用します。 #### 例題 ```4d - // .exe ファイルの著作権、バージョン、およびアイコン情報を設定します (Windows) + // .exe ファイルに対して著作権、バージョン、およびアイコンを設定する(Windows用) var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file; fk platform path) @@ -588,15 +588,15 @@ $exeFile.setAppInfo($info) ``` ```4d - // info.plist ファイルのキーをいくつか設定します (すべてのプラットフォーム) + // info.plist ファイル内のキーを一部設定する(全プラットフォーム用) var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") $info:=New object -$info.Copyright:="Copyright 4D 2023" // テキスト -$info.ProductVersion:=12 // 整数 -$info.ShipmentDate:="2023-04-22T06:00:00Z" // タイムスタンプ -$info.CFBundleIconFile:="myApp.icns" // macOS 用 +$info.Copyright:="Copyright 4D 2023" //テキスト +$info.ProductVersion:=12 //整数 +$info.ShipmentDate:="2023-04-22T06:00:00Z" //タイムスタンプ +$info.CFBundleIconFile:="myApp.icns" //macOS用 $infoPlistFile.setAppInfo($info) ``` @@ -669,7 +669,7 @@ $infoPlistFile.setAppInfo($info) `.setText()` 関数は、*text* に渡されたテキストをファイルの新しいコンテンツとして書き込みます。 -`File` オブジェクトで参照されているファイルがディスク上に存在しない場合、このメソッドがそのファイルを作成します。 ディスク上にファイルが存在する場合、ファイルが開かれている場合を除き、以前のコンテンツは消去されます。 ファイルが開かれている場合はコンテンツはロックされ、エラーが生成されます。 +`File` オブジェクトで参照されているファイルがディスク上に存在しない場合、この関数がそのファイルを作成します。 ディスク上にファイルが存在する場合、ファイルが開かれている場合を除き、以前のコンテンツは消去されます。 ファイルが開かれている場合はコンテンツはロックされ、エラーが生成されます。 *text* には、ファイルに書き込むテキストを渡します。 テキストリテラル ("my text" など) のほか、4Dテキストフィールドや変数も渡せます。 @@ -682,7 +682,7 @@ $infoPlistFile.setAppInfo($info) 文字セットにバイトオーダーマーク (BOM) が存在し、かつその文字セットに "-no-bom" 接尾辞 (例: "UTF-8-no-bom") が含まれていない場合、4D は BOM をファイルに挿入します。 文字セットを指定しない場合、 4D はデフォルトで "UTF-8" の文字セットを BOMなしで使用します。 -*breakMode* には、ファイルを保存する前に改行文字に対しておこなう処理を指定する倍長整数を渡します。 **System Documents** テーマ内にある、以下の定数を使用することができます: +*breakMode* には、ファイルを保存する前に改行文字に対して行う処理を指定する整数を渡します。 **System Documents** テーマ内にある、以下の定数を使用することができます: | 定数 | 値 | 説明 | | ----------------------------- | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -694,7 +694,7 @@ $infoPlistFile.setAppInfo($info) *breakMode* 引数を渡さなかった場合はデフォルトで、改行はネイティブモード (1) で処理されます。 -**互換性に関する注記:** EOL (改行コード) および BOM の管理については、互換性オプションが利用可能です。 詳細はdoc.4d.com 上の[互換性ページ](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.ja.html) を参照してください。 +**互換性に関する注記:** EOL (改行コード) および BOM の管理については、互換性オプションが利用可能です。 詳細については、doc.4d.com 上の[互換性ページ](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.ja.html)を参照してください。 #### 例題 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md index 40ccb99e15291a..cfa809758cfc4c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/OutgoingMessageClass.md @@ -5,7 +5,7 @@ title: OutgoingMessage `4D.OutgoingMessage` クラスを使うと、アプリケーションの関数が[REST リクエスト](../REST/REST_requests.md) に応答して返すメッセージを作成することができます。 レスポンスが`4D.OutgoingMessage` 型であった場合、REST サーバーはオブジェクトを返すのではなく、`OutgoingMessage` クラスのオブジェクトインスタンスを返します。 -通常、このクラスは、カスタムの[HTTP リクエストハンドラー関数](../WebServer/http-request-handler.md#関数の設定) またはHTTP GET リクエストを管理するようにデザインされた、[`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) キーワードで宣言された関数内で使用することができます。 このようなリクエストは、例えば、ファイルのダウンロード、画像の生成、ダウンロードなどの機能を実装するためや、ブラウザを介して任意のコンテンツタイプを受信するために使用されます。 +Typically, this class can be used in custom [HTTP request handler functions](../WebServer/http-request-handler.md#function-configuration) or in functions declared with the [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keyword and designed to handle HTTP GET requests. このようなリクエストは、例えば、ファイルのダウンロード、画像の生成、ダウンロードなどの機能を実装するためや、ブラウザを介して任意のコンテンツタイプを受信するために使用されます。 このクラスのインスタンスは4D Server 上にビルドされ、[4D REST サーバー](../REST/gettingStarted.md) によってのみブラウザに送信することができます。 このクラスを使用することで、HTTP 以外のテクノロジー(例: モバイルなど)を使用することができます。 このクラスを使用することで、HTTP 以外のテクノロジー(例: モバイルなど)を使用することができます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md index 884515b001f100..6ed2095e2263d5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md @@ -568,7 +568,7 @@ The HTTPリクエストログファ プロジェクトの設定ファイルに定義されているデフォルトの設定、または `WEB SET OPTION` コマンドで定義された設定 (ホストデータベースのみ) を使用して、Webサーバーは開始されます。 しかし、*settings* 引数を渡せば、Webサーバーセッションにおいてカスタマイズされた設定を定義することができます。 -[Web Server オブジェクト](../commands/web-server.md-object) の設定は、読み取り専用プロパティ ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)) を除いて、すべてカスタマイズ可能です。 +[Web Server オブジェクト](../commands/web-server.md-object) の設定は、読み取り専用プロパティ ([.isRunning](#isrunning), [.name](#name)、 [.openSSLVersion](#opensslversion)、 [.perfectForwardSecrecy](#perfectforwardsecrecy)、および [.sessionCookieName](#sessioncookiename)) を除いて、すべてカスタマイズ可能です。 カスタマイズされた設定は [`.stop()`](#stop) が呼び出されたときにリセットされます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Admin/dataExplorer.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Admin/dataExplorer.md index c207a3a4ba13d3..9fb7b3e7aef01c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Admin/dataExplorer.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Admin/dataExplorer.md @@ -75,7 +75,7 @@ title: データエクスプローラー ![alt-text](../assets/en/Admin/dataExplorer3.png) - 中央部には、**検索エリア** と **データグリッド** (選択されたデータクラスのエンティティのリスト) があります。 グリッドの各列は、データストアの属性を表します。 - - デフォルトでは、すべてのエンティティが表示されます。 検索エリアを使用して、表示されるエンティティをフィルターできます。 Two query modes are available: [Query on attributes](#query-on-attributes) (selected by default), and the [Advanced query with expression](#advanced-queries-with-expression). 対応するボタンをクリックして、クエリモードを選択します (**X** ボタンは、クエリエリアをリセットして、フィルターを停止します): + - デフォルトでは、すべてのエンティティが表示されます。 検索エリアを使用して、表示されるエンティティをフィルターできます。 クエリには2つのクエリモードがあります: [属性に基づくクエリ](#属性に基づくクエリ) (デフォルト)、および [式による高度なクエリ](#式による高度なクエリ) です。 対応するボタンをクリックして、クエリモードを選択します (**X** ボタンは、クエリエリアをリセットして、フィルターを停止します): ![alt-text](../assets/en/Admin/dataExplorer4b.png) - 選択されたデータクラスの名前は、データグリッドの上にタブとして追加されます。 これらのタブを使って、選択されたデータクラスを切り替えることができます。 参照されているデータクラスを削除するには、データクラス名の右に表示される "削除" アイコンをクリックします。 - 左側の属性のチェックを外すことで、表示されている列数を減らせます。 また、ドラッグ&ドロップでデータグリッドの列の位置を入れ替えることができます。 列のヘッダーをクリックすると、値に応じて [エンティティを並べ替える](#エンティティの並べ替え) ことができます (可能な場合)。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Admin/webAdmin.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Admin/webAdmin.md index 3f870ef0200f3c..81090d6fc2c115 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Admin/webAdmin.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Admin/webAdmin.md @@ -63,7 +63,7 @@ Web管理の設定ダイアログボックスを開くには、**ファイル #### WebAdmin サーバーをスタートアップ時に起動 -Check this option if you want the `WebAdmin` web server to be automatically launched when the 4D or 4D Server application starts ([see above](#launch-at-startup)). デフォルトでは、このオプションはチェックされていません。 +4D または 4D Server アプリケーションの起動時に `WebAdmin` Webサーバーを自動的に開始させるには、このオプションをチェックします ([前述参照](#自動スタートアップ))。 デフォルトでは、このオプションはチェックされていません。 #### ローカルホストでHTTP接続を受け入れる diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md index ae6a92c1e91a00..8fcc364640966d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md @@ -360,8 +360,8 @@ Class constructor ($name : Text ; $age : Integer) ``` ```4d -// In a project method -// You can instantiate an object +// プロジェクトメソッド内において +// クラスをインスタンス化することができます var $o : cs.MyClass $o:=cs.MyClass.new("John";42) // $o = {"name":"John";"age":42} @@ -511,7 +511,7 @@ $o.age:="Smith" // シンタックスチェックでエラー 両方の関数が定義されている場合、計算プロパティは **read-write** となります。 両方の関数が定義されている場合、計算プロパティは **read-write** となります。 `Function get` のみが定義されている場合、計算プロパティは**read-only** です。 この場合、コードがプロパティを変更しようとするとエラーが返されます。 `Function set` のみが定義されている場合、4D はプロパティの読み取り時に *undefined* を返します。 この場合、コードがプロパティを変更しようとするとエラーが返されます。 `Function set` のみが定義されている場合、4D はプロパティの読み取り時に *undefined* を返します。 -If the functions are declared in a [shared class](#shared-classes), you can use the `shared` keyword with them so that they could be called without [`Use...End use` structure](shared.md#useend-use). 詳細については、後述の [共有関数](#共有関数) の項目を参照ください。 +関数が[共有クラス](#共有クラス)で宣言されている場合、`shared` キーワードを使用することで、[`Use...End use` 構文](shared.md#useend-use)なしで呼び出せるようにすることができます。 詳細については、後述の [共有関数](#共有関数) の項目を参照ください。 計算プロパティの型は、*ゲッター* の `$return` の型宣言によって定義されます。 [有効なプロパティタイプ](dt_object.md) であれば、いずれも使用可能です。 [有効なプロパティタイプ](dt_object.md) であれば、いずれも使用可能です。 @@ -753,7 +753,7 @@ shared Function Bar($value : Integer) :::note - セッションシングルトンは、自動的に共有シングルトンとなります(クラスコンストラクターにおいて`shared` キーワードを使用する必要はありません)。 -- シングルトンの共有関数は、[`onHTTPGet` キーワード](../ORDA/ordaClasses.md#onhttpget-keyword) をサポートします。 +- シングルトンの共有関数は[`onHTTPGet` キーワード](../ORDA/ordaClasses.md#onhttpget-キーワード) をサポートします。 ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/data-types.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/data-types.md index f4626a7c3de781..72e19ff3c95192 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/data-types.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/data-types.md @@ -7,25 +7,25 @@ title: データタイプの概要 この2つはおおよそ同じものですが、データベースレベルで提供されているいくつかのデータタイプはランゲージにおいては直接利用可能ではなく、自動的に適宜変換されます。 同様に、いくつかのデータタイプはランゲージでしか利用できません。 各場所で利用可能なデータタイプと、ランゲージでの宣言の仕方の一覧です: -| データタイプ | データベース | ランゲージ | [`var` declaration](variables.md) | [`ARRAY` 宣言](arrays.md) | -| ----------------------------------------------------- | -------------------------- | -------- | --------------------------------- | ----------------------- | -| [文字列](dt_string.md) | ◯ | テキストに変換 | - | - | -| [テキスト](Concepts/dt_string.md) | ◯ | ◯ | `Text` | `ARRAY TEXT` | -| [日付](Concepts/dt_date.md) | ◯ | ◯ | `Date` | `ARRAY DATE` | -| [時間](Concepts/dt_time.md) | ◯ | ◯ | `Time` | `ARRAY TIME` | -| [ブール](Concepts/dt_boolean.md) | ◯ | ◯ | `Boolean` | `ARRAY BOOLEAN` | -| [整数](Concepts/dt_number.md) | ◯ | 倍長整数 に変換 | `Integer` | `ARRAY INTEGER` | -| [倍長整数](Concepts/dt_number.md) | ◯ | ◯ | `Integer` | `ARRAY LONGINT` | -| [64ビット整数](Concepts/dt_number.md) | ◯ (SQL) | 実数に変換 | - | - | -| [実数](Concepts/dt_number.md) | ◯ | ◯ | `Real` | `ARRAY REAL` | -| [未定義](Concepts/dt_null_undefined.md) | - | ◯ | - | - | -| [Null](Concepts/dt_null_undefined.md) | - | ◯ | - | - | -| [ポインター](Concepts/dt_pointer.md) | - | ◯ | `Pointer` | `ARRAY POINTER` | -| [ピクチャー](Concepts/dt_picture.md) | ◯ | ◯ | `Picture` | `ARRAY PICTURE` | -| [BLOB](Concepts/dt_blob.md) | ◯ | ◯ | `Blob`, `4D.Blob` | `ARRAY BLOB` | -| [オブジェクト](Concepts/dt_object.md) | ◯ | ◯ | `Object` | `ARRAY OBJECT` | -| [コレクション](Concepts/dt_collection.md) | - | ◯ | `Collection` | | -| [バリアント](Concepts/dt_variant.md)(2) | - | ◯ | `Variant` | | +| データタイプ | データベース | ランゲージ | [`var` 宣言](variables.md) | [`ARRAY` 宣言](arrays.md) | +| ----------------------------------------------------- | -------------------------- | -------- | ------------------------ | ----------------------- | +| [文字列](dt_string.md) | ◯ | テキストに変換 | - | - | +| [テキスト](Concepts/dt_string.md) | ◯ | ◯ | `Text` | `ARRAY TEXT` | +| [日付](Concepts/dt_date.md) | ◯ | ◯ | `Date` | `ARRAY DATE` | +| [時間](Concepts/dt_time.md) | ◯ | ◯ | `Time` | `ARRAY TIME` | +| [ブール](Concepts/dt_boolean.md) | ◯ | ◯ | `Boolean` | `ARRAY BOOLEAN` | +| [整数](Concepts/dt_number.md) | ◯ | 倍長整数 に変換 | `Integer` | `ARRAY INTEGER` | +| [倍長整数](Concepts/dt_number.md) | ◯ | ◯ | `Integer` | `ARRAY LONGINT` | +| [64ビット整数](Concepts/dt_number.md) | ◯ (SQL) | 実数に変換 | - | - | +| [実数](Concepts/dt_number.md) | ◯ | ◯ | `Real` | `ARRAY REAL` | +| [未定義](Concepts/dt_null_undefined.md) | - | ◯ | - | - | +| [Null](Concepts/dt_null_undefined.md) | - | ◯ | - | - | +| [ポインター](Concepts/dt_pointer.md) | - | ◯ | `Pointer` | `ARRAY POINTER` | +| [ピクチャー](Concepts/dt_picture.md) | ◯ | ◯ | `Picture` | `ARRAY PICTURE` | +| [BLOB](Concepts/dt_blob.md) | ◯ | ◯ | `Blob`, `4D.Blob` | `ARRAY BLOB` | +| [オブジェクト](Concepts/dt_object.md) | ◯ | ◯ | `Object` | `ARRAY OBJECT` | +| [コレクション](Concepts/dt_collection.md) | - | ◯ | `Collection` | | +| [バリアント](Concepts/dt_variant.md)(2) | - | ◯ | `Variant` | | (1) ORDA では、オブジェクト (エンティティ) を介してデータベースフィールドを扱うため、オブジェクトにおいて利用可能なデータタイプのみがサポートされます。 詳細については [オブジェクト](Concepts/dt_object.md) のデータタイプの説明を参照ください。 @@ -33,10 +33,10 @@ title: データタイプの概要 ## コマンド -You can always know the type of a field or variable using the following commands: +以下のコマンドを使用することで、フィールドや変数の型を調べることができます: -- [`Type`](../commands-legacy/type.md) for fields and scalar variables -- [`Value type`](../commands-legacy/value-type.md) for expressions +- フィールドやスカラー変数に対しては、[`Type`](../commands-legacy/type.md) コマンド +- 式対しては、[`Value type`](../commands-legacy/value-type.md) コマンド ## デフォルト値 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_blob.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_blob.md index 3e18aaafce171a..2199e92d2abc32 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_blob.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_blob.md @@ -34,8 +34,8 @@ BLOB に演算子を適用することはできません。 ## 変数がスカラーBLOB と `4D.Blob` のどちらを格納しているかの確認 -Use the [Value type](../commands-legacy/value-type.md) command to determine if a value is of type Blob or Object. -To check that an object is a blob object (`4D.Blob`), use [OB instance of](../commands-legacy/ob-instance-of.md): +値がBLOB なのかオブジェクトなのかを判断するためには、[Value type](../commands-legacy/value-type.md) コマンドを使用します。 +オブジェクトがBlob オブジェクト(`4D.Blob`) であるかどうかをチェックするためには、[OB instance of](../commands-legacy/ob-instance-of.md) コマンドを使用します: ```4d var $myBlob: Blob diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_object.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_object.md index dabf76772d6c99..a75532389adcdf 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_object.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_object.md @@ -18,7 +18,7 @@ title: Object - ピクチャー(2) - collection -(1) **非ストリームオブジェクト** である [エンティティ](ORDA/dsMapping.md#エンティティ) や [エンティティセレクション](ORDA/dsMapping.md#エンティティセレクション) などの ORDAオブジェクト、[FileHandle](../API/FileHandleClass.md)、[Webサーバー](../API/WebServerClass.md)... は **オブジェクトフィールド** には保存できません。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 +(1) **非ストリームオブジェクト** である [エンティティ](ORDA/dsMapping.md#エンティティ) や [エンティティセレクション](ORDA/dsMapping.md#エンティティセレクション) などの ORDAオブジェクト、[FileHandle](../API/FileHandleClass.md)、[Webサーバー](../API/WebServerClass.md)... は **オブジェクトフィールド** には保存できません。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 (2) デバッガー内でテキストとして表示したり、JSON へと書き出されたりした場合、ピクチャー型のオブジェクトプロパティは "[object Picture]" と表されます。 @@ -69,7 +69,7 @@ title: Object `{}` 演算子を使って、**オブジェクトリテラル** を作成することができます。 オブジェクトリテラルとは、オブジェクトのプロパティ名とその値のペアが 0組以上含まれたセミコロン区切りのリストを中括弧 `{}` で囲んだものです。 オブジェクトリテラルのシンタックスは、空の、またはプロパティが格納されたオブジェクトを作成します。 -プロパティの値は式とみなされるため、プロパティ値に `{}` を使ってサブオブジェクトを作成することができます。 また、**コレクションリテラル** を作成し、参照することもできます。 また、**コレクションリテラル** を作成し、参照することもできます。 また、**コレクションリテラル** を作成し、参照することもできます。 +プロパティの値は式とみなされるため、プロパティ値に `{}` を使ってサブオブジェクトを作成することができます。 また、**コレクションリテラル** を作成し、参照することもできます。 例: @@ -150,8 +150,6 @@ $col:=$o.col[5] // 6 - **オブジェクト** 自身 (変数、フィールド、オブジェクトプロパティ、オブジェクト配列、コレクション要素などに保存されているもの)。 例: - 例: - 例: ```4d $age:=$myObjVar.employee.age // 変数 @@ -172,8 +170,6 @@ $col:=$o.col[5] // 6 - オブジェクトを返す **プロジェクトメソッド** または **関数**。 例: - 例: - 例: ```4d // MyMethod1 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_picture.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_picture.md index 4a540cab346d92..a315a7042fb0b6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_picture.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_picture.md @@ -16,36 +16,30 @@ WIC および ImageIO はピクチャー内のメタデータの書き込みを 4D は多様な [ピクチャーフォーマット](FormEditor/pictures.md#native-formats-supported) をネイティブにサポートします: .jpeg, .png, .svg 等。 -多くの [4D ピクチャー管理コマンド](https://doc.4d.com/4Dv18/4D/18/Pictures.201-4504337.ja.html) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -多くの [4D ピクチャー管理コマンド](https://doc.4d.com/4Dv18/4D/18/Pictures.201-4504337.ja.html) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドからピクチャー Codec IDとして返されます。 これは以下の形式で返されます: これは以下の形式で返されます: これは以下の形式で返されます: これは以下の形式で返されます: +4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドからピクチャー Codec IDとして返されます。 これは以下の形式で返されます: - 拡張子 (例: “.gif”) - MIME タイプ (例: “image/jpeg”) それぞれのピクチャーフォーマットに対して返される形式は、当該 Codec が OS レベルで記録されている方法に基づきます。 エンコーディング (書き込み) 用コーデックにはライセンスが必要な場合があるため、利用できるコーデックの一覧は、読み込み用と書き込み用で異なる可能性があることに注意してください。 -Most of the [4D picture management commands](../commands/theme/Pictures.md) can receive a Codec ID as a parameter. したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -多くの [4D ピクチャー管理コマンド](https://doc.4d.com/4Dv18/4D/18/Pictures.201-4504337.ja.html) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドからピクチャー Codec IDとして返されます。 これは以下の形式で返されます: +多くの [4D ピクチャー管理コマンド](../commands/theme/Pictures.md) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 +4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 ## ピクチャー演算子 -| 演算 | シンタックス | 戻り値 | 動作 | -| -------- | ------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | -| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | -| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) Pict1 の前面に Pict2 を重ねます (Pict2 が前面) COMBINE PICTURES(pict3;pict1;Superimposition;pict2) と同じ結果になります。 Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | -| 包括的論理和 | Pict1 | Pict2 | Picture | \| 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 ピクチャーのフィールド・変数・式に格納されるデータは、任意の Windows または Macintosh の画像です。 これらの画像には、ペーストボード上に置いたり、4Dコマンドやプラグインコマンド (`READ PICTURE FILE` など) を使用してディスクから読み出すことのできる画像を含みます。 | -| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | -| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | -| リサイズ | Picture \* Number | Picture | 割合によってピクチャーをサイズ変更します。 | -| 水平スケール | Picture \*+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | -| 垂直スケール | Picture \*| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | -| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください | +| 演算 | シンタックス | 戻り値 | 動作 | +| -------- | ------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------- | +| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | +| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | +| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | +| 包括的論理和 | Pict1 | Pict2 | Picture | \| 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 `$equal:=Equal pictures(Pict1;Pict2;Pict3)` と同じ結果になります。 | +| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | +| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | +| リサイズ | Picture \* Number | Picture | 割合によってピクチャーをサイズ変更します。 | +| 水平スケール | Picture \*+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | +| 垂直スケール | Picture \*| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | +| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照ください | **注 :** diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/error-handling.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/error-handling.md index 6ab90635f7c19a..c1c9c82e953978 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/error-handling.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/error-handling.md @@ -17,13 +17,13 @@ title: エラー処理 :::tip グッドプラクティス -サーバー上で実行されるコードのため、4D Server にはグローバルなエラー処理メソッドを実装しておくことが強く推奨されます。 サーバー上で実行されるコードのため、4D Server にはグローバルなエラー処理メソッドを実装しておくことが強く推奨されます。 4D Server が [ヘッドレス](../Admin/cli.md) で実行されていない場合 (つまり、[管理画面](../ServerWindow/overview.md) 付きで起動されている場合)、このメソッドによって、予期せぬダイアログがサーバーマシン上に表示されることを防ぎます。 ヘッドレスモードでは、エラーは解析のため [4DDebugLog ファイル](../Debugging/debugLogFiles.md#4ddebuglogtxt-standard) に記録されます。 ヘッドレスモードでは、エラーは解析のため [4DDebugLog ファイル](../Debugging/debugLogFiles.md#4ddebuglogtxt-standard) に記録されます。 +サーバー上で実行されるコードのため、4D Server にはグローバルなエラー処理メソッドを実装しておくことが強く推奨されます。 4D Server が [ヘッドレス](../Admin/cli.md) で実行されていない場合 (つまり、[管理画面](../ServerWindow/overview.md) 付きで起動されている場合)、このメソッドによって、予期せぬダイアログがサーバーマシン上に表示されることを防ぎます。 ヘッドレスモードでは、エラーは解析のため [4DDebugLog ファイル](../Debugging/debugLogFiles.md#4ddebuglogtxt-standard) に記録されます。 ::: ## エラー/ステータス -`entity.save()` や `transporter.send()` など、おおくの 4D クラス関数は *status* オブジェクトを返します。 ランタイムにおいて "想定される"、プログラムの実行を停止させないエラー (無効なパスワード、ロックされたエンティティなど) がこのオブジェクトに格納されます。 これらのエラーへの対応は、通常のコードによっておこなうことができます。 ランタイムにおいて "想定される"、プログラムの実行を停止させないエラー (無効なパスワード、ロックされたエンティティなど) がこのオブジェクトに格納されます。 これらのエラーへの対応は、通常のコードによっておこなうことができます。 +`entity.save()` や `transporter.send()` など、おおくの 4D クラス関数は *status* オブジェクトを返します。 ランタイムにおいて "想定される"、プログラムの実行を停止させないエラー (無効なパスワード、ロックされたエンティティなど) がこのオブジェクトに格納されます。 これらのエラーへの対応は、通常のコードによっておこなうことができます。 ディスク書き込みエラーやネットワークの問題などのイレギュラーな中断は "想定されない" エラーです。 これらのエラーは例外を発生させ、エラー処理メソッドや `Try()` キーワードを介して対応する必要があります。 @@ -209,7 +209,7 @@ End if ## Try...Catch...End try -The `Try...Catch...End try` structure allows you to test a block code in its actual execution context (including, in particular, local variable values) and to intercept errors it throws so that the 4D error dialog box is not displayed. +`Try...Catch...End try` 文は、実際の実行コンテキスト (特にローカル変数の値を含む) でコードブロックをテストし、スローされるエラーをキャッチすることで、4D のエラーダイアログボックスが表示されないようにできます。 `Try(expression)` キーワードが単一の行の式を評価するのとは異なり、`Try...Catch...End try` 文は、単純なものから複雑なものまで、任意のコードブロックを評価することができます。エラー処理メソッドは必要としない点は同じです。 また、`Catch` ブロックは、任意の方法でエラーを処理するために使用できます。 @@ -229,7 +229,7 @@ End try - エラーがスローされなかった場合には、対応する `End try` キーワードの後へとコード実行が継続されます。 `Catch` と `End try` キーワード間のコードは実行されません。 - コードブロックの実行が *非遅延エラー* をスローした場合、実行フローは停止し、対応する `Catch` コードブロックを実行します。 -- If the code block calls a method that throws a *deferred error*, the execution flow jumps directly to the corresponding `Catch` code block. +- コードブロックが *非遅延エラー* をスローするメソッドを呼び出した場合、実行フローは対応する `Catch` コードブロックへと直接ジャンプします。 - 遅延エラーが `Try` ブロックから直接スローされた場合、実行フローは `Try` ブロックの終わりまで継続し、対応する `Catch` ブロックは実行しません。 :::note @@ -244,7 +244,7 @@ End try ::: -In the `Catch` code block, you can handle the error(s) using standard error handling commands. [`Last errors`](https://doc.4d.com/4dv20/help/command/en/page1799.html) 関数は最後のエラーに関するコレクションを格納しています。 このコードブロック内で[エラー処理メソッドを宣言する](#エラー処理メソッドの実装) こともできます。この場合エラー発生時にはそれが呼び出されます(宣言しない場合には、4Dエラーダイアログが表示されます)。 +`Catch` コードブロックでは、標準のエラー処理コマンドを使用してエラーを処理できます。 [`Last errors`](https://doc.4d.com/4dv20/help/command/en/page1799.html) 関数は最後のエラーに関するコレクションを格納しています。 このコードブロック内で[エラー処理メソッドを宣言する](#エラー処理メソッドの実装) こともできます。この場合エラー発生時にはそれが呼び出されます(宣言しない場合には、4Dエラーダイアログが表示されます)。 :::note diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/identifiers.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/identifiers.md index ebca0f3b501dec..47ba93c5ca3c41 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/identifiers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/identifiers.md @@ -17,7 +17,7 @@ title: 識別子の命名規則 クラス名は、ドット記法のための標準的な [プロパティ名の命名規則](Concepts/dt_object.md#オブジェクトプロパティ識別子) に準拠している必要があります。 -> Giving the same name to a class and a [database table](#tables-and-fields) is not recommended, in order to prevent any conflict. +> 同じ名前をクラスと[データベーステーブル](#tables-and-fields) につけることは、あらゆるコンフリクトを避けるため推奨されていません。 ## 関数 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/methods.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/methods.md index a29b622c432419..50976a03d0e16e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/methods.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/methods.md @@ -201,12 +201,12 @@ $o:=$f.message // $o にはフォーミュラオブジェクトが返されま プロジェクトメソッドを実行するには、リストからメソッドを選択し、**実行** をクリックします。 デバッグモードでメソッドを実行するには **デバッグ** をクリックします。 デバッガーに関する詳細は、[デバッガー](../Debugging/basics.md) の章を参照ください。 -**新規プロセス** チェックボックスを選択すると、選択したメソッドは新規に作成されたプロセス内で実行されます。 大量の印刷など時間のかかる処理をメソッドがおこなう場合でもこのオプションを使用すれば、レコードの追加、グラフの作成などの処理をアプリケーションプロセスで継続できます。 For more information about processes, refer to [Processes](../Develop/processes.md). +**新規プロセス** チェックボックスを選択すると、選択したメソッドは新規に作成されたプロセス内で実行されます。 大量の印刷など時間のかかる処理をメソッドがおこなう場合でもこのオプションを使用すれば、レコードの追加、グラフの作成などの処理をアプリケーションプロセスで継続できます。 プロセスに関するより詳細な情報については、[プロセス](../Develop/processes.md) を参照してください。 **4D Serverに関する注記**: - クライアントではなくサーバー上でメソッドを実行したい場合、実行モードメニューで **4D Server** を選択します。 この場合 *ストアドプロシージャー* と呼ばれるプロセスが新規にサーバー上で作成され、メソッドが実行されます。 このオプションを使用して、ネットワークトラフィックを減らしたり、4D Serverの動作を最適化したりできます (特にディスクに格納されたデータにアクセスする場合など)。 すべてのタイプのメソッドをサーバー上や他のクライアント上で実行できますが、ユーザーインターフェースを変更するものは例外です。 この場合、ストアドプロシージャーは効果がありません。 -- 他のクライアントマシン上でメソッドを実行するよう選択することもできます。 Other client workstations will not appear in the menu, unless they have been previously "registered" (for more information, refer to the description of the [REGISTER CLIENT](../commands-legacy/register-client.md). +- 他のクライアントマシン上でメソッドを実行するよう選択することもできます。 他のクライアントマシンは、事前に登録されていなければメニューに表示されません (詳細な情報については [REGISTER CLIENT](../commands-legacy/register-client.md) の説明を参照ください)。 デフォルトでは、**ローカル** オプションが選択されています。 4D シングルユーザーの場合、このオプションしか選択できません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/operators.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/operators.md index 78fa1ba3cbe1d3..6797c5d2ea76b5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/operators.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/operators.md @@ -282,7 +282,7 @@ $name:=$person.maidenName || $person.name `条件 ? truthy時の式 : falsy時の式` -> Since the [token syntax](https://doc.4d.com/4Dv20/4D/20.6/Using-tokens-in-formulas.300-7487422.en.html) uses colons, we recommend inserting a space after the colon `:` or enclosing tokens using parentheses to avoid any conflicts. +> [トークンシンタックス](https://doc.4d.com/4Dv20/4D/20.6/Using-tokens-in-formulas.300-7487422.ja.html#2675202) にはコロンが使われているため、競合を避けるには、コロン `:` の後にスペースを入れる、または、トークンは括弧でくくることが推奨されます。 ### 例題 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/parameters.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/parameters.md index fe0c9a590de0fa..f0e4d133f6ae2d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/parameters.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/parameters.md @@ -133,7 +133,7 @@ Function myTransform ($x : Integer) -> $x : Integer ### サポートされているデータ型 -With named parameters, you can use the same data types as those which are [supported by the `var` keyword](variables.md), including class objects. 例: +名前付き引数の場合、[`var` キーワードでサポートされている](variables.md) データ型 (クラスオブジェクト含む) を使用できます。 例: ```4d Function saveToFile($entity : cs.ShapesEntity; $file : 4D.File) @@ -319,7 +319,7 @@ method1(42) // 型間違い。 期待されるのはテキスト - [コンパイル済みプロジェクト](interpreted.md) では、可能な限りコンパイル時にエラーが生成されます。 それ以外の場合は、メソッドの呼び出し時にエラーが生成されます。 - インタープリタープロジェクトでは: - - if the parameter was declared using the named syntax (`#DECLARE` or `Function`), an error is generated when the method is called. + - 名前付きシンタックス (`#DECLARE` または `Function`) を使用して引数が宣言されている場合は、メソッドの呼び出し時にエラーが発生します。 - 旧式の (`C_XXX`) シンタックスを使用して宣言されている場合、エラーは発生せず、呼び出されたメソッドは期待される型の空の値を受け取ります。 ## オブジェクトプロパティを名前付き引数として使用する diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/shared.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/shared.md index e14141cb7ca618..1c8cd6c24ccf20 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/shared.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/shared.md @@ -111,11 +111,11 @@ End Use ### 自動的な Use...End use 呼び出し -The following features automatically trigger an internal **Use/End use**, making an explicit call to the structure unnecessary when it is executed: +以下の機能は、内部的な **Use/End use** を自動でトリガーするため、この構文を実行時に明示的に呼び出す必要はありません: -- [collection functions](../API/CollectionClass.md) that modify shared collections, -- [`ARRAY TO COLLECTION`](../commands-legacy/array-to-collection.md) command, -- [`OB REMOVE`](../commands-legacy/ob-remove.md) command, +- 共有コレクションを変更する[コレクション関数](../API/CollectionClass.md) +- [`ARRAY TO COLLECTION`](../commands-legacy/array-to-collection.md) コマンド +- [`OB REMOVE`](../commands-legacy/ob-remove.md) コマンド - [共有クラス](classes.md#共有クラス) 内で定義された [共有関数](classes.md#共有関数) ## 例題 1 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/variables.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/variables.md index 3718e9bc5cbeb5..bf38f56c24bd72 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/variables.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Concepts/variables.md @@ -149,7 +149,7 @@ var $a:=$class.test 4D は最も一般的なタイプを推論しようとします。 たとえば、変数が整数値で初期化される場合、整数型ではなく実数型が使用されます (例: `var $a:=10 //実数型が推論されます`)。 このような場合や、クラスのインスタンス化など複雑な型を持つ変数を初期化する場合は、明示的に型を指定することが推奨されます。 -ほとんどの場合、変数の型は自動的に決まります。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 ほとんどの場合、変数の型は自動的に決まります。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 +ほとんどの場合、変数の型は自動的に決まります。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 :::note @@ -176,7 +176,7 @@ MyNumber:=3 > [データ型の宣言](#変数の宣言) をせずに変数を作成することは通常推奨されません。 -もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 [Products]Size というフィールドに *MyNumber* 変数の値を代入するには、代入演算子の右側に MyNumber を書きます: +もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 [Products]Size というフィールドに *MyNumber* 変数の値を代入するには、代入演算子の右側に MyNumber を書きます: ```4d [Products]Size:=MyNumber @@ -186,7 +186,7 @@ MyNumber:=3 ## ローカル、プロセス、およびインタープロセス変数 -**ローカル**、**プロセス**、および **インタープロセス** という、3種類の変数の変数を作成することができます。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 +**ローカル**、**プロセス**、および **インタープロセス** という、3種類の変数の変数を作成することができます。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 ### ローカル変数 @@ -223,7 +223,7 @@ MyNumber:=3 インタープリターモードでは、変数は動的にメモリ上に作成・消去されます。 これに対してコンパイルモードでは、作成したすべてのプロセス (ユーザープロセス) で同じプロセス変数定義が共有されますが、変数のインスタンスはプロセス毎に異なるものとなります。 たとえば、プロセスP_1 とプロセスP_2 の両方においてプロセス変数 myVar が存在していても、それらはそれぞれ別のインスタンスです。 -`GET PROCESS VARIABLE` や `SET PROCESS VARIABLE` を使用して、あるプロセスから他のプロセスのプロセス変数の値を取得したり、設定したりできます。 これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: +`GET PROCESS VARIABLE` や `SET PROCESS VARIABLE` を使用して、あるプロセスから他のプロセスのプロセス変数の値を取得したり、設定したりできます。 これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: - コード内の特定の箇所におけるプロセス間通信 - プロセス間のドラッグ&ドロップ処理 @@ -247,21 +247,21 @@ MyNumber:=3 ## システム変数 -4Dランゲージが管理する複数の **システム変数** を使うことで、さまざまな動作の実行をコントロールできます。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 - -システム変数は [4Dコマンド](../commands/command-index.md) によって使用されます。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 - -| システム変数名 | 型 | 説明 | -| ------------------------------------------------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `OK` | Integer | 通常、コマンドがダイアログボックスを表示して、ユーザーが **OK** ボタンをクリックすると 1 に、**キャンセル** ボタンをクリックした場合は 0 に設定されます。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 | -| `Document` | Text | Contains the "long name" (full path+name) of the last file opened or created using commands such as [Open document](../commands-legacy/open-document.md) or [SELECT LOG FILE](../commands/select-log-file.md). | -| `FldDelimit`, `RecDelimit` | Text | テキストを読み込んだり書き出したりする際に、フィールドの区切りとして (デフォルトは **タブ** (9))、あるいはレコードの区切り文字として (デフォルトは **キャリッジリターン** (13)) 使用する文字コードが格納されています。 区切り文字を変更する場合は、システム変数の値を変更します。 区切り文字を変更する場合は、システム変数の値を変更します。 区切り文字を変更する場合は、システム変数の値を変更します。 | -| `Error`, `Error method`, `Error line`, `Error formula` | Text, Longint | Used in an error-catching method installed by the [`ON ERR CALL`](../commands-legacy/on-err-call.md) command. [メソッド内でのエラー処理](../Concepts/error-handling.md#メソッド内でのエラー処理)参照。 | -| `MouseDown` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. マウスボタンが押されたときに 1 が、それ以外の場合は 0 に設定されます。 | -| `MouseX`, `MouseY` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command.
  • `MouseDown=1` イベントの時、`MouseX` と `MouseY` にはクリックされた場所の水平 / 垂直座標がそれぞれ代入されます。 両方の値ともピクセル単位で表わされ、ウィンドウのローカルな座標システムを使用します。 [`ON EVENT CALL`](https://doc.4d.com/4dv20/help/command/ja/page190.html) コマンドでインストールされたメソッド内で使用されます。
  • `MouseDown=1` イベントの時、`MouseX` と `MouseY` にはクリックされた場所の水平 / 垂直座標がそれぞれ代入されます。 両方の値ともピクセル単位で表わされ、ウィンドウのローカルな座標システムを使用します。
  • ピクチャーフィールドや変数の場合は、[`On Clicked`](../Events/onClicked.md) や [`On Double Clicked`](../Events/onDoubleClicked.md)、および [`On Mouse Up`](../Events/onMouseUp.md) フォームイベント内で、クリックのローカル座標が `MouseX` と `MouseY` に返されます。 また、[`On Mouse Enter`](../Events/onMouseEnter.md) および [`On Mouse Move`](../Events/onMouseMove.md) フォームイベントでもマウスカーソルのローカル座標が返されます。 詳細については、[ピクチャー上のマウス座標](../FormEditor/pictures.md#ピクチャー上のマウス座標) を参照ください。
  • また、[`On Mouse Enter`](../Events/onMouseEnter.md) および [`On Mouse Move`](../Events/onMouseMove.md) フォームイベントでもマウスカーソルのローカル座標が返されます。 詳細については、[ピクチャー上のマウス座標](../FormEditor/pictures.md#ピクチャー上のマウス座標) を参照ください。 | -| `KeyCode` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. 押されたキーの文字コードが代入されます。 [`ON EVENT CALL`](https://doc.4d.com/4dv20/help/command/ja/page190.html) コマンドでインストールされたメソッド内で使用されます。 押されたキーの文字コードが代入されます。 押されたキーがファンクションキーの場合、`KeyCode` には特殊コードがセットされます。 | -| `Modifiers` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. キーボードのモディファイアキーの値を格納します (Ctrl/Command、Alt/Option、Shift、Caps Lock)。 | -| `MouseProc` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. 最後のイベントが発生したプロセス番号を格納します。 | +4Dランゲージが管理する複数の **システム変数** を使うことで、さまざまな動作の実行をコントロールできます。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 + +システム変数は [4Dコマンド](../commands/command-index.md) によって使用されます。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 + +| システム変数名 | 型 | 説明 | +| ------------------------------------------------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `OK` | Integer | 通常、コマンドがダイアログボックスを表示して、ユーザーが **OK** ボタンをクリックすると 1 に、**キャンセル** ボタンをクリックした場合は 0 に設定されます。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 | +| `Document` | Text | [Open document](../commands-legacy/open-document.md) や [SELECT LOG FILE](../commands/select-log-file.md) などのコマンドを使用して最後に開かれた、または作成されたファイルの「長い名前」(完全パス名)が格納されています。 | +| `FldDelimit`, `RecDelimit` | Text | テキストを読み込んだり書き出したりする際に、フィールドの区切りとして (デフォルトは **タブ** (9))、あるいはレコードの区切り文字として (デフォルトは **キャリッジリターン** (13)) 使用する文字コードが格納されています。 区切り文字を変更する場合は、システム変数の値を変更します。 | +| `Error`, `Error method`, `Error line`, `Error formula` | Text, Longint | [`ON ERR CALL`](../commands-legacy/on-err-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 [メソッド内でのエラー処理](../Concepts/error-handling.md#メソッド内でのエラー処理)参照。 | +| `MouseDown` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 マウスボタンが押されたときに 1 が、それ以外の場合は 0 に設定されます。 | +| `MouseX`, `MouseY` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。
  • `MouseDown=1` イベントの時、`MouseX` と `MouseY` にはクリックされた場所の水平 / 垂直座標がそれぞれ代入されます。 両方の値ともピクセル単位で表わされ、ウィンドウのローカルな座標システムを使用します。
  • ピクチャーフィールドや変数の場合は、[`On Clicked`](../Events/onClicked.md) や [`On Double Clicked`](../Events/onDoubleClicked.md)、および [`On Mouse Up`](../Events/onMouseUp.md) フォームイベント内で、クリックのローカル座標が `MouseX` と `MouseY` に返されます。 また、[`On Mouse Enter`](../Events/onMouseEnter.md) および [`On Mouse Move`](../Events/onMouseMove.md) フォームイベントでもマウスカーソルのローカル座標が返されます。 詳細については、[ピクチャー上のマウス座標](../FormEditor/pictures.md#ピクチャー上のマウス座標) を参照ください。
  • | +| `KeyCode` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 押されたキーの文字コードが代入されます。 押されたキーがファンクションキーの場合、`KeyCode` には特殊コードがセットされます。 | +| `Modifiers` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 キーボードのモディファイアキーの値を格納します (Ctrl/Command、Alt/Option、Shift、Caps Lock)。 | +| `MouseProc` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 最後のイベントが発生したプロセス番号を格納します。 | :::note diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Develop/preemptive.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Develop/preemptive.md index 28cd7ff37a181f..c4be9803e36a15 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Develop/preemptive.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Develop/preemptive.md @@ -268,12 +268,12 @@ DocRef 参照番号 (開かれたドキュメントの参照番号。次のコ 特定のコードを検証対象から除外するには、コメント形式の専用ディレクティブ `%T-` および `%T+` でそのコードを挟みます。 `//%T-` は以降のコードを検証から除外し、`//%T+` は以降のコードに対する検証を有効に戻します: ```4d - //%T- to disable thread safety checking - - // Place the code containing commands to be excluded from thread safety checking here - $w:=Open window(10;10;100;100) //for example - - //%T+ to enable thread safety checking again for the rest of the method + // %T- 検証を無効にします + + // スレッドセーフ検証から除外するコード + $w:=Open window(10;10;100;100) // 例 + + // %T+ 検証を有効に戻します ``` 無効化および有効化用のディレクティブでコードを挟んだ場合、そのコードがスレッドセーフかどうかについては、開発者が熟知している必要があります。 プリエンプティブなスレッドでスレッドセーフでないコードが実行された場合には、ランタイムエラーが発生します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Develop/processes.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Develop/processes.md index 66e8ebcadca936..ac3b6aedc96cb8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Develop/processes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Develop/processes.md @@ -18,9 +18,9 @@ title: プロセスとワーカー 新規プロセスを作成するにはいくつかの方法があります: - デザインモードにおいて、"メソッド実行" ダイアログボックスで **新規プロセス** チェックボックスをチェックした後、メソッドを実行する。 メソッド実行ダイアログボックスで選択したメソッドが (そのプロセスをコントロールする) プロセスメソッドとなります。 -- Use the [`New process`](../commands-legacy/new-process.md) command. `New process` コマンドの引数として渡されたメソッドがプロセスメソッドです。 -- Use the [`Execute on server`](../commands-legacy/execute-on-server.md) command in order to create a stored procedure on the server. コマンドの引数として渡されたメソッドがプロセスメソッドです。 -- Use the [`CALL WORKER`](../commands-legacy/call-worker.md) command. ワーカープロセスが既に存在していない場合、新たに作成されます。 +- [`New process`](../commands-legacy/new-process.md) コマンドを使用する。 `New process` コマンドの引数として渡されたメソッドがプロセスメソッドです。 +- サーバー上ですトアドプロシージャーを作成するためには、[`Execute on server`](../commands-legacy/execute-on-server.md) コマンドを使用します。 コマンドの引数として渡されたメソッドがプロセスメソッドです。 +- [`CALL WORKER`](../commands-legacy/call-worker.md) コマンドを使用する。 ワーカープロセスが既に存在していない場合、新たに作成されます。 :::note @@ -33,7 +33,7 @@ title: プロセスとワーカー - プロセスメソッドの実行が完了したとき。 - ユーザーがアプリケーションを終了したとき。 - メソッドからプロセスを中止するか、またはデバッガーまたはランタイムエクスプローラーで **アボート** ボタンを使用した場合。 -- If you call the [`KILL WORKER`](../commands-legacy/kill-worker.md) command (to delete a worker process only). +- [`KILL WORKER`](../commands-legacy/kill-worker.md) コマンドを呼び出した場合(ただしこれで削除できるのはワーカープロセスのみです)。 プロセスは別のプロセスを作成することができます。 プロセスは階層構造にはなっていません。どのプロセスから作成されようと、すべてのプロセスは同等です。 いったん、“親” プロセスが “子” プロセスを作成すると、親プロセスの実行状況に関係なく、子プロセスは処理を続行します。 @@ -94,11 +94,11 @@ title: プロセスとワーカー ワーカープロセスとは、簡単かつ強力なプロセス間通信の方法です。 この機能は非同期のメッセージシステムに基づいており、プロセスやフォームを呼び出して、呼び出し先のコンテキストにおいて任意のメソッドを指定パラメーターとともに実行させることができます。 -A worker can be "hired" by any process (using the [`CALL WORKER`](../commands-legacy/call-worker.md) command) to execute project methods with parameters in their own context, thus allowing access to shared information. +あらゆるプロセスは [`CALL WORKER`](../commands-legacy/call-worker.md) コマンドを使用することでワーカープロセスを "雇用" することができ、ワーカーのコンテキストにおいて任意のプロジェクトメソッドを指定のパラメーターで実行させることができます。つまり、呼び出し元のプロセスとワーカーの間で情報の共有が可能です。 :::info -In Desktop applications, a project method can also be executed with parameters in the context of any form using the [`CALL FORM`](../commands-legacy/call-form.md) command. +デスクトップアプリケーションにおいては、[`CALL FORM`](../commands-legacy/call-form.md) コマンドを使うことで、あらゆるフォームのコンテキストにおいて任意のプロジェクトメソッドを指定のパラメーターで実行させることができます。 ::: @@ -136,7 +136,7 @@ In Desktop applications, a project method can also be executed with parameters i ワーカープロセスは、ストアドプロシージャーを使って 4D Server 上に作成することもできます。たとえば、`CALL WORKER` コマンドを実行するメソッドを `Execute on server` コマンドから実行できます。 -A worker process is closed by a call to the [`KILL WORKER`](../commands-legacy/kill-worker.md) command, which empties the worker's message box and asks the associated process to stop processing messages and to terminate its current execution as soon as the current task is finished. +ワーカープロセスを閉じるには [`KILL WORKER`](../commands-legacy/kill-worker.md) コマンドをコールします。これによってワーカーのメッセージボックスが空にされ、関連プロセスはメッセージの処理を停止し、現在のタスク完了後に実行を終了します。 ワーカープロセスを新規生成する際に指定したメソッドがワーカーの初期メソッドになります。 次回以降の呼び出しで *method* パラメーターに空の文字列を受け渡した場合、`CALL WORKER` はこの初期メソッドの実行をワーカーに依頼します。 @@ -144,7 +144,7 @@ A worker process is closed by a call to the [`KILL WORKER`](../commands-legacy/k ### ワーカープロセスの識別 -All worker processes, except the main process, have the process type `Worker process` (5) returned by the [`Process info`](../commands/process-info.md) command. +全てのワーカープロセス(メインプロセスを除く)は、[`Process info`](../commands/process-info.md) コマンドからは `Worker process` (5) が返されるプロセスタイプを持ちます。 [専用アイコン](../ServerWindow/processes#プロセスタイプ) からもワーカープロセスを識別することができます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onAlternativeClick.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onAlternativeClick.md index e0c3f028c727e4..7a4bce3805eec3 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onAlternativeClick.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onAlternativeClick.md @@ -15,7 +15,7 @@ title: On Alternative Click 4D では `On Alternative Click` イベントを使用してこの動作を管理できます。 このイベントは、ユーザーが矢印をクリックすると、マウスボタンが押されてすぐに生成されます: -- ポップアップメニューが **分離** されている場合、このイベントはボタン中で矢印のあるエリアがクリックされた場合のみ生成されます。 Note that the [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) assigned to the button (if any) is not executed in this case. +- ポップアップメニューが **分離** されている場合、このイベントはボタン中で矢印のあるエリアがクリックされた場合のみ生成されます。 ボタンに適用されている [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html) があったとしても、この場合には実行されないことに留意してください。 - ポップアップメニューが **リンク** されている場合、このイベントはボタン上どこをクリックしても生成されます。 このタイプのボタンでは [`On Long Click`](onLongClick.md) イベントが生成されないことに注意してください。 ![](../assets/en/Events/clickevents.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onBoundVariableChange.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onBoundVariableChange.md index b34d0c31f7d875..fb5e81ad0c83c0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onBoundVariableChange.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onBoundVariableChange.md @@ -11,4 +11,4 @@ title: On Bound Variable Change このイベントは、親フォーム中のサブフォームにバインドされた変数の値が更新され (同じ値が代入された場合でも) 、かつサブフォームがカレントフォームページまたはページ0 に属している場合に、[サブフォーム](FormObjects/subform_overview.md) のフォームメソッドのコンテキストで生成されます。 -For more information, refer to the [Managing the bound variable](FormObjects/subform_overview.md#using-the-bound-variable-or-expression) section. \ No newline at end of file +詳細については、[バインドされた変数の管理](FormObjects/subform_overview.md#バインドされた変数あるいは式の管理) を参照してください。 \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onDoubleClicked.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onDoubleClicked.md index c9b6b4509e0983..3157c1b270b713 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onDoubleClicked.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onDoubleClicked.md @@ -3,9 +3,9 @@ id: onDoubleClicked title: On Double Clicked --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ | -| 13 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) | オブジェクト上でダブルクリックされた | +| コード | 呼び出し元 | 定義 | +| --- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| 13 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#list-box-columns) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) | オブジェクト上でダブルクリックされた | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onDragOver.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onDragOver.md index 1b65990c332bd1..4cd0137a1c567d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onDragOver.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onDragOver.md @@ -3,9 +3,9 @@ id: onDragOver title: On Drag Over --- -| コード | 呼び出し元 | 定義 | -| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | -| 21 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | データがオブジェクト上にドロップされる可能性がある | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | +| 21 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | データがオブジェクト上にドロップされる可能性がある | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onGettingFocus.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onGettingFocus.md index 808ece282ff4b3..47070577489ef0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onGettingFocus.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onGettingFocus.md @@ -3,9 +3,9 @@ id: onGettingFocus title: On Getting focus --- -| コード | 呼び出し元 | 定義 | -| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -| 15 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Web area](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを得た | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | +| 15 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを得た | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onHeader.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onHeader.md index 7cb683e8c5952e..559ced0ed2d0ce 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onHeader.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onHeader.md @@ -3,9 +3,9 @@ id: onHeader title: On Header --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | -| 5 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form (list form only) - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームのヘッダーエリアが印刷あるいは表示されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | +| 5 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム (リストフォームのみ) - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームのヘッダーエリアが印刷あるいは表示されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onLoad.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onLoad.md index 69633c47c4dd14..659b64c4eb1740 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onLoad.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onLoad.md @@ -3,9 +3,9 @@ id: onLoad title: On Load --- -| コード | 呼び出し元 | 定義 | -| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | -| 1 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Tab control](FormObjects/tabControl.md) - [Web Area](FormObjects/webArea_overview.md) | フォームが表示または印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | +| 1 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [タブコントロール](FormObjects/tabControl.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームが表示または印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onLosingFocus.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onLosingFocus.md index 3a75849eeb06d3..e3681f3834f58a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onLosingFocus.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onLosingFocus.md @@ -3,9 +3,9 @@ id: onLosingFocus title: On Losing focus --- -| コード | 呼び出し元 | 定義 | -| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| 14 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Web area](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを失った | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | +| 14 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを失った | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseEnter.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseEnter.md index a7a662b9144837..abbbb7aeda8137 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseEnter.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseEnter.md @@ -3,9 +3,9 @@ id: onMouseEnter title: On Mouse Enter --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | -| 35 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア内に入った | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | +| 35 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア内に入った | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseLeave.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseLeave.md index 4a974b20c52eeb..816d5f0618fc4d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseLeave.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseLeave.md @@ -3,9 +3,9 @@ id: onMouseLeave title: On Mouse Leave --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| 36 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリアから出た | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | +| 36 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリアから出た | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseMove.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseMove.md index a3beda16304790..5bb9b8efb3c0ca 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseMove.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onMouseMove.md @@ -3,9 +3,9 @@ id: onMouseMove title: On Mouse Move --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| 37 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア上で (最低1ピクセル) 動いたか、変更キー (Shift, Alt/Option, Shift Lock) が押された | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| 37 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア上で (最低1ピクセル) 動いたか、変更キー (Shift, Alt/Option, Shift Lock) が押された | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPlugInArea.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPlugInArea.md index 6680a66413b90c..9ccd5755cdf297 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPlugInArea.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPlugInArea.md @@ -3,9 +3,9 @@ id: onPlugInArea title: On Plug in Area --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------- | ------------------------------- | -| 19 | Form - [Plug-in Area](FormObjects/pluginArea_overview.md) | 外部オブジェクトのオブジェクトメソッドの実行がリクエストされた | +| コード | 呼び出し元 | 定義 | +| --- | ----------------------------------------------------- | ------------------------------- | +| 19 | フォーム - [プラグインエリア](FormObjects/pluginArea_overview.md) | 外部オブジェクトのオブジェクトメソッドの実行がリクエストされた | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingBreak.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingBreak.md index c803c051442494..82e0b81206926e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingBreak.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingBreak.md @@ -3,9 +3,9 @@ id: onPrintingBreak title: On Printing Break --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | -| 6 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームのブレークエリアのひとつが印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | +| 6 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームのブレークエリアのひとつが印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingDetail.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingDetail.md index 0858d5f54afed1..7f88434dddbd71 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingDetail.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingDetail.md @@ -3,9 +3,9 @@ id: onPrintingDetail title: On Printing Detail --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | -| 23 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームの詳細エリアが印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | +| 23 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームの詳細エリアが印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingFooter.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingFooter.md index fc0db65cfa3427..f19b187211df55 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingFooter.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onPrintingFooter.md @@ -3,9 +3,9 @@ id: onPrintingFooter title: On Printing Footer --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| 7 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームのフッターエリアが印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | +| 7 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームのフッターエリアが印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onUnload.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onUnload.md index 5682190896cabb..22a9c09649ba42 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onUnload.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onUnload.md @@ -3,9 +3,9 @@ id: onUnload title: On Unload --- -| コード | 呼び出し元 | 定義 | -| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| 24 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Tab control](FormObjects/tabControl.md) - [Web Area](FormObjects/webArea_overview.md) | フォームを閉じて解放しようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| 24 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [タブコントロール](FormObjects/tabControl.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームを閉じて解放しようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onValidate.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onValidate.md index 43a285196e13e9..b1882e31f48305 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onValidate.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Events/onValidate.md @@ -3,9 +3,9 @@ id: onValidate title: On Validate --- -| コード | 呼び出し元 | 定義 | -| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| 3 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Tab control](FormObjects/tabControl.md) | レコードのデータ入力が受け入れられた | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| 3 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [タブコントロール](FormObjects/tabControl.md) | レコードのデータ入力が受け入れられた | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md index b32aebd099084e..1c214311dbf2cd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md @@ -11,13 +11,13 @@ title: コンポーネントの開発 - **マトリクスプロジェクト**: コンポーネント開発に使用する4D プロジェクト。 マトリクスプロジェクトは特別な属性を持たない標準のプロジェクトです。 マトリクスプロジェクトはひとつのコンポーネントを構成します。 - **ホストプロジェクト**: コンポーネントがインストールされ、それを使用するアプリケーションプロジェクト。 -- **Component**: Matrix project that can be compiled and [built](Desktop/building.md#build-component), [installed in the host application](../Project/components.md) and whose contents are used in the host application. +- **コンポーネント**: [ホストアプリケーションにインストール](../Project/components.md) され、同アプリケーションによって使用されるマトリクスプロジェクトのこと。マトリクスプロジェクトはコンパイルし、[ビルド](Desktop/building.md#コンポーネントをビルド) することができます。 ## 基本 4D コンポーネントの作成とインストールは直接 4D を使用しておこないます: -- To use a component, you simply need to [install it in your application](../Project/components.md). +- コンポーネントを使用するには、[アプリケーションにインストール](../Project/components.md) するだけです。 - 言い換えれば、マトリクスプロジェクト自体も1 つ以上のコンポーネントを使用できます。 しかしコンポーネントが "サブコンポーネント" を使用することはできません。 - コンポーネントは次の 4D の要素を呼び出すことができます: クラス、関数、プロジェクトメソッド、プロジェクトフォーム、メニューバー、選択リストなど。 反面、コンポーネントが呼び出せないものは、データベースメソッドとトリガーです。 - コンポーネント内でデータストアや標準のテーブル、データファイルを使用することはできません。 しかし、外部データベースのメカニズムを使用すればテーブルやフィールドを作成し、そこにデータを格納したり読み出したりすることができます。 外部データベースは、メインの 4D データベースとは独立して存在し、SQLコマンドでアクセスします。 @@ -29,7 +29,7 @@ title: コンポーネントの開発 コマンドがコンポーネントから呼ばれると、コマンドはコンポーネントのコンテキストで実行されます。ただし [`EXECUTE METHOD`](https://doc.4d.com/4dv20/help/command/ja/page1007.html) および [`EXECUTE FORMULA`](https://doc.4d.com/4dv20/help/command/ja/page63.html) コマンドは除きます。これらのコマンドは、パラメーターにて指定されたメソッドのコンテキストを使用します。 また、ユーザー&グループテーマの読み出しコマンドはコンポーネントで使用することができますが、読み出されるのはホストプロジェクトのユーザー&グループ情報であることに注意してください (コンポーネントに固有のユーザー&グループはありません)。 -[`SET DATABASE PARAMETER`](https://doc.4d.com/4dv20/help/command/ja/page642.html) と [`Get database parameter`](https://doc.4d.com/4dv20/help/command/ja/page643.html) コマンドは例外となります: これらのコマンドのスコープはグローバルです。 これらのコマンドがコンポーネントから呼び出されると、結果はホストプロジェクトに適用されます。 +[`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) および [`Get database parameter`](../commands-legacy/get-database-parameter.md) コマンドは例外となります: これらのコマンドのスコープはグローバルです。 これらのコマンドがコンポーネントから呼び出されると、結果はホストプロジェクトに適用されます。 さらに、`Structure file` と `Get 4D folder` コマンドは、コンポーネントで使用するための設定ができるようになっています。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/formEditor.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/formEditor.md index 56585c9dd68488..2ba1526ec6f6b1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/formEditor.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/formEditor.md @@ -15,14 +15,14 @@ title: フォームエディター フォームのカレントページの大部分のインタフェース要素は、表示したり非表示にしたりすることができます。 - **継承されたフォーム**: 継承されたフォームオブジェクト ([継承されたフォーム](forms.md#継承フォーム) が存在する場合) -- **ページ0**: [ページ0](forms.md#フォームのページ) のオブジェクト。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 -- **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 +- **ページ0**: [ページ0](forms.md#フォームのページ) のオブジェクト。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 +- **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 - **ルーラー**: フォームエディターウィンドウのルーラー。 - **マーカー**: フォームのエリアを識別する出力コントロールラインとマーカー。 この要素は、[リストフォーム](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 - **マーカーラベル**: マーカーラベル。 これは出力コントロールラインが表示されている場合のみ有効です。 この要素は、[リストフォーム](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 - **境界**: フォームの境界。 このオプションが選択されていると、アプリケーションモードで表示されるとおりに、フォームがフォームエディターに表示されます。 これによりアプリケーションモードに移動しなくてもフォームを調整しやすくなります。 -> [**サイズを決めるもの**](properties_FormSize.md#サイズを決めるもの)、[**水平マージン**](properties_FormSize.md#水平マージン) そして [**垂直マージン**](properties_FormSize.md#垂直マージン) フォームプロパティ設定はフォーム境界に影響します。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 +> [**サイズを決めるもの**](properties_FormSize.md#サイズを決めるもの)、[**水平マージン**](properties_FormSize.md#水平マージン) そして [**垂直マージン**](properties_FormSize.md#垂直マージン) フォームプロパティ設定はフォーム境界に影響します。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 #### デフォルト表示 @@ -106,7 +106,7 @@ title: フォームエディター プロパティリストを使用して、フォームおよびオブジェクトプロパティを表示・変更できます。 エディター上でオブジェクト選択していればそのプロパティが、オブジェクトを選択していない場合はフォームのプロパティがプロパティリストに表示されます。 -プロパティリストを表示/非表示にするには、**フォーム** メニュー、またはフォームエディターのコンテキストメニューから **プロパティリスト** を選択します。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 +プロパティリストを表示/非表示にするには、**フォーム** メニュー、またはフォームエディターのコンテキストメニューから **プロパティリスト** を選択します。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 #### ショートカット @@ -126,7 +126,7 @@ title: フォームエディター フォームにオブジェクトを追加する方法は複数あります: -- By drawing the object directly in the form after selecting its type in the object bar (see [Using the object bar](#object-bar)) +- オブジェクトバーでオブジェクトタイプを選択し、フォームエディター上で直接それを描画する ([オブジェクトバーを使用する](#オブジェクトバー) 参照)。 - オブジェクトバーからオブジェクトをドラッグ&ドロップする。 - 定義済み [オブジェクトライブラリ](objectLibrary.md) から選択したオブジェクトをドラッグ&ドロップあるいはコピー/ペーストする。 - 他のフォームからオブジェクトをドラッグ&ドロップする。 @@ -150,7 +150,7 @@ title: フォームエディター

    マウスカーソルをフォームエリアに移動すると、カーソルは標準の矢印の形をしたポインターに変わります

    。 -2. 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 サイズ変更ハンドルが表示され、オブジェクトが選択されたことを表わします。

    ![](../assets/en/FormEditor/selectResize.png)

    +2. 選択したいオブジェクトをクリックします。 サイズ変更ハンドルが表示され、オブジェクトが選択されたことを表わします。

    ![](../assets/en/FormEditor/selectResize.png)

    プロパティリストを使用してオブジェクトを選択するには: @@ -232,7 +232,7 @@ title: フォームエディター グループ化を解除すると、再び個々にオブジェクトを扱えるようになります。 -グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 しかし、グループに属するオブジェクトを、グループ化を解除せずに選択することは可能です。 これには、オブジェクトを **Ctrl+クリック** (Windows) または **Command+クリック** (macOS) します (グループはあらかじめ選択されている必要があります)。 +グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 しかし、グループに属するオブジェクトを、グループ化を解除せずに選択することは可能です。 これには、オブジェクトを **Ctrl+クリック** (Windows) または **Command+クリック** (macOS) します (グループはあらかじめ選択されている必要があります)。 グループ化はフォームエディター上でのみ意味を持ちます。 フォームの実行中は、グループ化されたすべてのオブジェクトが、グループ化されていないのと同じに動作します。 @@ -241,8 +241,9 @@ title: フォームエディター オブジェクトをグループ化するには: 1. グループ化したいオブジェクトを選択します。 -2. オブジェクトメニューから **グループ化** を選択します。 オブジェクトメニューから **グループ化** を選択します。 オブジェクトメニューから **グループ化** を選択します。
    または
    フォームエディターのツールバーでグループ化ボタンをクリックします。

    ![](../assets/en/FormEditor/group.png)

    - 4D は、新たにグループ化されたオブジェクトの境界をハンドルで表わします。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 +2. オブジェクトメニューから **グループ化** を選択します。 または + フォームエディターのツールバーでグループ化ボタンをクリックします。

    ![](../assets/en/FormEditor/group.png)

    + 4D は、新たにグループ化されたオブジェクトの境界をハンドルで表わします。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 オブジェクトのグループ化を解除するには: @@ -314,22 +315,22 @@ title: フォームエディター 1. 3つ以上のオブジェクトを選択し、希望する均等配置ツールをクリックします。 -2. 適用したい均等配置に対応する整列ツールをツールバー上で選択します。

    ![](../assets/en/FormEditor/distributionTool.png)

    または

    **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから均等揃えメニューコマンドを選択します。

    4D は各オブジェクトを均等に配置します。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 +2. 適用したい均等配置に対応する整列ツールをツールバー上で選択します。

    ![](../assets/en/FormEditor/distributionTool.png)

    または

    **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから均等揃えメニューコマンドを選択します。

    4D は各オブジェクトを均等に配置します。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 "整列と均等配置" ダイアログボックスを用いてオブジェクトを均等に配置するには: 1. 均等配置したいオブジェクトを選択します。 -2. **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから **整列...** コマンドを選択します。 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: [](../assets/en/FormEditor/alignmentAssistant.png) +2. **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから **整列...** コマンドを選択します。 次のダイアログボックスが表示されます: [](../assets/en/FormEditor/alignmentAssistant.png) 3. "左/右整列" や "上/下整列" エリアで、標準の均等配置アイコンをクリックします: ![](../assets/en/FormEditor/horizontalDistribution.png)

    (標準の横均等揃えアイコン)

    見本エリアには、選択結果が表示されます。 -4. 標準の均等配置を実行するには、**プレビュー** または *適用* をクリックします。

    この場合、4D は標準の均等配置を実行し、オブジェクトは等間隔で配置されます。

    または:

    特定の均等配置を実行するには、**均等配置** オプションを選択します (たとえば各オブジェクトの右辺までの距離をもとにしてオブジェクトを均等に配置したい場合)。 このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    +4. 標準の均等配置を実行するには、**プレビュー** または *適用* をクリックします。

    この場合、4D は標準の均等配置を実行し、オブジェクトは等間隔で配置されます。

    または:

    特定の均等配置を実行するには、**均等配置** オプションを選択します (たとえば各オブジェクトの右辺までの距離をもとにしてオブジェクトを均等に配置したい場合)。 このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    - 左/右整列の場合、各アイコンは次の均等配置に対応します: 選択オブジェクトの左辺、中央 (横)、 右辺で均等に揃えます。 - 上/下整列の場合、各アイコンは次の均等配置に対応します: 選択オブジェクトの上辺、中央 (縦)、 下辺で均等に揃えます。 -**プレビュー** ボタンをクリックすると、この設定による結果をプレビューすることができます。 この表示はフォームエディター上で実行されますが、ダイアログボックスは前面に表示されたままです。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 +**プレビュー** ボタンをクリックすると、この設定による結果をプレビューすることができます。 この表示はフォームエディター上で実行されますが、ダイアログボックスは前面に表示されたままです。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 > 整列アシスタントを使用すると、1回の操作でオブジェクトの整列や均等配置をおこなえます。 オブジェクトを均等配置する方法についての詳細は、[オブジェクトの均等配置](#オブジェクトの均等配置) を参照ください。 @@ -353,7 +354,7 @@ title: フォームエディター ### データの入力順 -データ入力順とは、入力フォームで **Tab**キーや **改行**キーを押したときに、フィールドやサブフォーム、その他のアクティブオブジェクトが選択される順番のことです。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 +データ入力順とは、入力フォームで **Tab** キーや **改行**キーを押したときに、フィールドやサブフォーム、その他のアクティブオブジェクトが選択される順番のことです。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 > 入力順は、`FORM SET ENTRY ORDER` および `FORM GET ENTRY ORDER` コマンドを使用することでランタイムで変更することができます。 @@ -389,7 +390,7 @@ JSONフォームの入力順序の設定は、[`entryOrder`](properties_JSONref. 4. 入力順の設定が終了したら、ツールバーの他のツールをクリックするか、**フォーム** メニューから **入力順** を選択します。 4Dは、フォームエディターの通常操作に戻ります。 -> フォームのカレントページの入力順だけが表示されます。 フォームのカレントページの入力順だけが表示されます。 フォームのカレントページの入力順だけが表示されます。 フォームのカレントページの入力順だけが表示されます。 フォームのページ0 や継承フォームに入力可オブジェクトが含まれている場合、デフォルトの入力順は次のようになります: 継承フォームのページ0 のオブジェクト→ 継承フォームのページ1 のオブジェクト→ 開かれているフォームのページ0 のオブジェクト→ 開かれているフォームのカレントページのオブジェクト。 +> フォームのカレントページの入力順だけが表示されます。 フォームのページ0 や継承フォームに入力可オブジェクトが含まれている場合、デフォルトの入力順は次のようになります: 継承フォームのページ0 のオブジェクト→ 継承フォームのページ1 のオブジェクト→ 開かれているフォームのページ0 のオブジェクト→ 開かれているフォームのカレントページのオブジェクト。 #### データ入力グループを使用する @@ -457,7 +458,7 @@ stroke: #800080; ![](../assets/en/FormEditor/cssPpropList.png) -スタイルシートで定義された属性値は、JSONフォームの記述でオーバーライドすることができます (ただし、CSS に `!important` 宣言が含まれている場合は除きます。 後述参照)。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 +スタイルシートで定義された属性値は、JSONフォームの記述でオーバーライドすることができます (ただし、CSS に `!important` 宣言が含まれている場合は除きます。 後述参照)。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 > [カレントビュー](#ビューを使い始める前に) は太字で表示されます。 @@ -471,7 +472,7 @@ stroke: #800080; ## リストボックスビルダー -**リストボックスビルダー** を使用して、エンティティセレクション型リストボックスを素早く作成することができます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 +**リストボックスビルダー** を使用して、エンティティセレクション型リストボックスを素早く作成することができます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 リストボックスビルダーでは、いくつかの簡単な操作で、エンティティセレクション型リストボックスの作成と入力ができます。 @@ -517,7 +518,7 @@ stroke: #800080; ## フィールドを挿入 -**フィールドを挿入** ボタンは、テーブルフォームにおいて、親テーブルの全フィールド (オブジェクト型と BLOB型を除く) をインターフェース標準に従ってラベル付きで挿入します。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 +**フィールドを挿入** ボタンは、テーブルフォームにおいて、親テーブルの全フィールド (オブジェクト型と BLOB型を除く) をインターフェース標準に従ってラベル付きで挿入します。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 **フィールドを挿入** ボタンは、テーブルフォームでのみ利用可能です。 @@ -582,7 +583,7 @@ stroke: #800080; ビューパレットを表示するには、次の 3つの方法があります: -- **ツールバー**: フォームエディターのツールバーにあるビューボタンをクリックする。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 +- **ツールバー**: フォームエディターのツールバーにあるビューボタンをクリックする。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 | デフォルトビューのみ | 追加のビューあり | | :-----------------------------------------------------: | :---------------------------------------------------: | diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/forms.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/forms.md index 8255c6c22f4857..5ced8fbcb3e9a5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/forms.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/forms.md @@ -10,7 +10,7 @@ title: Forms また、以下の機能により、フォームは他のフォームを含むことができます: - [サブフォームオブジェクト](FormObjects/subform_overview.md) -- [inherited forms](./properties_FormProperties.md#inherited-form-name) +- [継承されたフォーム](./properties_FormProperties.md#継承するフォーム名) ## フォームを作成する @@ -18,7 +18,7 @@ title: Forms - **4D Developer インターフェース:** **ファイル** メニューまたは **エクスプローラ** ウィンドウから新規フォームを作成できます。 - **フォームエディター**: フォームの編集は **[フォームエディター](FormEditor/formEditor.md)** を使っておこないます。 -- **JSON code:** Create and design your forms using JSON and save the form files at the [appropriate location](Project/architecture#sources). 例: +- **JSON コード:** JSON を使ってフォームを作成・設計し、フォーム ファイルを [適切な場所](Project/architecture.md#sources) に保存します。 例: ``` { @@ -87,7 +87,7 @@ title: Forms - もっとも重要な情報を最初のページに配置し、他の情報を後ろのページに配置する。 - トピックごとに、専用ページにまとめる。 -- Reduce or eliminate scrolling during data entry by setting the [entry order](formEditor.md#data-entry-order). +- [入力順](formEditor.md#データの入力順)を設定して、データ入力中のスクロール動作を少なくしたり、または不要にする。 - フォーム要素の周りの空間を広げ、洗練された画面をデザインする。 複数ページは入力フォームとして使用する場合にのみ役立ちます。 印刷出力には向きません。 マルチページフォームを印刷すると、最初のページしか印刷されません。 @@ -111,7 +111,7 @@ title: Forms 3. 開かれたフォームの 0ページ 4. 開かれたフォームのカレントページ -This order determines the default [entry order](formEditor.md#data-entry-order) of objects in the form. +この順番はフォーム内でのオブジェクトのデフォルトの[入力順](formEditor.md#データ入力順) を決定します。 > 継承フォームの 0ページと 1ページだけが他のフォームに表示可能です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/macros.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/macros.md index e7e02ab5966960..2957ab4f5948ec 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/macros.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/macros.md @@ -76,7 +76,7 @@ Function onInvoke($editor : Object)->$result : Object ![](../assets/en/FormEditor/macroSelect.png) -This menu is built upon the `formMacros.json` [macro definition file(s)](#location-of-macro-file). マクロメニュー項目は ABC順に表示されます。 +このメニューは `formMacros.json` [マクロ定義ファイル](#マクロファイルの場所) をもとに作成されています。 マクロメニュー項目は ABC順に表示されます。 このメニューは、フォームエディター内で右クリックにより開くことができます。 選択オブジェクトがある状態や、フォームオブジェクトの上でマクロを呼び出した場合は、それらのオブジェクト名がマクロの [`onInvoke`](#oninvoke) 関数の `$editor.currentSelection` や `$editor.target` パラメーターに受け渡されます。 @@ -140,7 +140,7 @@ JSONファイルの説明です: プロジェクトおよびコンポーネントにおいてインスタンス化するマクロは、それぞれ [4Dクラス](Concepts/classes.md) として宣言する必要があります。 -The class name must match the name defined using the [class](#declaring-macros) attribute of the `formMacros.json` file. +クラスの名称は、`formMacros.json` ファイルで [class](#マクロの宣言) 属性に定義した名前と同一でなくてはなりません。 マクロは、アプリケーションの起動時にインスタンス化されます。 そのため、関数の追加やパラメーターの編集など、マクロクラスの構造や その [コンストラクター](#class-constructor) になんらかの変更を加えた場合には、それらを反映するにはアプリケーションを再起動する必要があります。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/objectLibrary.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/objectLibrary.md index 93e76ce9e184ae..6f1a309ce8305e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/objectLibrary.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/objectLibrary.md @@ -31,7 +31,7 @@ title: オブジェクトライブラリ 設定済みオブジェクトライブラリは変更できません。 デフォルトオブジェクトを編集したり、設定済みオブジェクトやフォームのライブラリを独自に作るには、カスタムオブジェクトライブラリを作成します (後述参照)。 -All objects proposed in the standard object library are described on [this section](../FormEditor/objectLibrary.md). +標準のオブジェクトライブラリにて提供されているオブジェクトについては[このセクション](../FormEditor/objectLibrary.md) で詳しく説明されています。 ## カスタムオブジェクトライブラリの作成と使用 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/pictures.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/pictures.md index ceec8a6608e990..d7a5c33495fc8d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/pictures.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/pictures.md @@ -57,10 +57,10 @@ title: ピクチャー 高解像度が自動的に優先されますが、スクリーンやピクチャーの dpi *(\*)*、およびピクチャー形式によって、動作に違いが生じることがあります: -| 演算 | 動作 | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| ドロップ、ペースト | ピクチャーの設定:
    • **72dpi または 96dpi** - ピクチャーは "[中央合わせ]"(FormObjects/properties_Picture.md#中央合わせ--トランケート-中央合わせしない) 表示され、ピクチャーを表示しているオブジェクトは同じピクセル数です。
    • **その他の dpi** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示され、ピクチャーを表示しているオブジェクトのピクセル数は (ピクチャーのピクセル数 / ピクチャーの dpi) \* (スクリーンの dpi) です。
    • **dpi なし** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示されます。
    | -| [Automatic Size](https://doc.4d.com/4Dv20/4D/20.2/Setting-object-display-properties.300-6750143.en.html#148057) (Form Editor context menu) | If the picture's display format is:
    • **[Scaled](FormObjects/properties_Picture.md#scaled-to-fit)** - The object containing the picture is resized according to (picture's number of pixels \* screen dpi) / (picture's dpi)
    • **Not scaled** - The object containing the picture has the same number of pixels as the picture.
    | +| 演算 | 動作 | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| ドロップ、ペースト | ピクチャーの設定:
    • **72dpi または 96dpi** - ピクチャーは "[中央合わせ]"(FormObjects/properties_Picture.md#中央合わせ--トランケート-中央合わせしない) 表示され、ピクチャーを表示しているオブジェクトは同じピクセル数です。
    • **その他の dpi** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示され、ピクチャーを表示しているオブジェクトのピクセル数は (ピクチャーのピクセル数 / ピクチャーの dpi) \* (スクリーンの dpi) です。
    • **dpi なし** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示されます。
    | +| [自動サイズ](https://doc.4d.com/4Dv20/4D/20.2/Setting-object-display-properties.300-6750143.ja.html#148057) (フォームエディターのコンテキストメニュー) | ピクチャーの表示が:
    • **[スケーリング]](FormObjects/properties_Picture.md#スケーリング)** - ピクチャーを表示しているオブジェクトのピクセル数は (ピクチャーのピクセル数 / ピクチャーの dpi) \* (スクリーンの dpi) にリサイズされます。
    • **スケーリング以外** - ピクチャーを表示しているオブジェクトは、ピクチャーと同じピクセル数です。
    | *(\*) 通常は macOS = 72dpi, Windows = 96dpi* @@ -73,7 +73,7 @@ title: ピクチャー - ダークモードピクチャーは、標準 (ライトスキーム) バージョンと同じ名前で、"_dark "という接尾辞が付きます。 - ダークモードピクチャーは、標準バージョンの隣に保存します。 -At runtime, 4D will automatically load the light or dark image according to the [current form color scheme](../FormEditor/properties_FormProperties.md#color-scheme). +ランタイム時に、4D は [現在のフォームのカラースキーム](../FormEditor/properties_FormProperties.md#カラースキーム) に応じて、ライト用またはダーク用のピクチャーを自動的にロードします。 ![](../assets/en/FormEditor/darkicon.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_Action.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_Action.md index 7e3b591d167a86..0e3140ceb1c68a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_Action.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_Action.md @@ -5,7 +5,7 @@ title: 動作 ## メソッド -フォームに関連づけられたメソッドへの参照。 フォームメソッドを使用してデータとオブジェクトを管理することができます。ただし、これら目的には、オブジェクトメソッドを使用する方が通常は簡単であり、より効果的です。 See [methods](../Concepts/methods.md). +フォームに関連づけられたメソッドへの参照。 フォームメソッドを使用してデータとオブジェクトを管理することができます。ただし、これら目的には、オブジェクトメソッドを使用する方が通常は簡単であり、より効果的です。 詳細は[メソッド](../Concepts/methods.md) を参照してください。 メソッドが関連づけられているフォームに関わるイベントが発生した場合、4D は自動的にフォームメソッドを呼び出します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_FormProperties.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_FormProperties.md index 988880498a759f..43fe0659bea9aa 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_FormProperties.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_FormProperties.md @@ -9,7 +9,7 @@ title: フォームプロパティ > 配色プロパティは、macOS でのみ適用されます。 -このプロパティは、フォームのカラースキームを定義します。 このプロパティは、フォームのカラースキームを定義します。 このプロパティが設定されていない場合のデフォルトでは、カラースキームの値は **継承済み** です (フォームは [アプリケーションレベル](../commands-legacy/set-application-color-scheme.md) で定義されたカラースキームを使用します)。 これは、フォームに対して以下の 2つのオプションのいずれかに変更することができます: これは、フォームに対して以下の 2つのオプションのいずれかに変更することができます: +このプロパティは、フォームのカラースキームを定義します。 このプロパティが設定されていない場合のデフォルトでは、カラースキームの値は **継承済み** です (フォームは [アプリケーションレベル](../commands-legacy/set-application-color-scheme.md) で定義されたカラースキームを使用します)。 これは、フォームに対して以下の 2つのオプションのいずれかに変更することができます: - dark - 暗い背景に明るいテキスト - light - 明るい背景に暗いテキスト @@ -52,7 +52,7 @@ title: フォームプロパティ - またコードエディター内での[自動補完機能](../code-editor/write-class-method.md#autocomplete-functions) を利用することもできます。 -- フォームが実行されると、4D は自動的にユーザークラスのオブジェクトをフォームに対してインスタンス化し、これは[`Form`](../commands/form.md) オブジェクトによって返されます。 Your code can directly access class functions defined in the user class through the `Form` command (e.g. `Form.message()`) without having to pass a *formData* object as parameter to the [`DIALOG`](../commands/dialog.md), [`Print form`](../commands/print-form.md), [`FORM LOAD`](../commands/form-load.md), and [`PRINT SELECTION`](../commands-legacy/print-selection.md) commands. +- フォームが実行されると、4D は自動的にユーザークラスのオブジェクトをフォームに対してインスタンス化し、これは[`Form`](../commands/form.md) オブジェクトによって返されます。 これにより、[`DIALOG`](../commands/dialog.md)、[`Print form`](../commands/print-form.md)、[`FORM LOAD`](../commands/form-load.md) あるいは [`PRINT SELECTION`](../commands-legacy/print-selection.md) といったコマンドに*formData* オブジェクトを渡さなくても、コードから`Form` コマンドを通してユーザークラスで定義されたクラス関数へと直接アクセスすることができます(例:`Form.message()`) 。 :::note @@ -74,7 +74,7 @@ title: フォームプロパティ #### JSON 文法 -フォーム名は、form.4Dform ファイルを格納するフォルダーの名前で定義されます。 See [project architecture](Project/architecture#sources) for more information. +フォーム名は、form.4Dform ファイルを格納するフォルダーの名前で定義されます。 詳しくは [プロジェクトのアーキテクチャー](Project/architecture.md#sources) を参照ください。 --- @@ -176,7 +176,7 @@ title: フォームプロパティ - カレントページ - それぞれのフォームオブジェクトの配置・大きさ・表示状態 (リストボックス列のサイズと表示状態も含む)。 -> このオプションは、`OBJECT DUPLICATE` コマンドを使用して作成されたオブジェクトに対しては無効です。 このコマンドを使用したときに使用環境を復元させるには、デベロッパーがオブジェクトの作成・定義・配置の手順を再現しなければなりません。 このコマンドを使用したときに使用環境を復元させるには、デベロッパーがオブジェクトの作成・定義・配置の手順を再現しなければなりません。 +> このオプションは、`OBJECT DUPLICATE` コマンドを使用して作成されたオブジェクトに対しては無効です。 このコマンドを使用したときに使用環境を復元させるには、デベロッパーがオブジェクトの作成・定義・配置の手順を再現しなければなりません。 このオプションが選択されているとき、一部のオブジェクトに置いては [値を記憶](FormObjects/properties_Object.md#値を記憶) のオプションが選択可能になります。 @@ -200,7 +200,7 @@ title: フォームプロパティ - Resourcesフォルダーに保存された、標準の XLIFF参照 - テーブル/フィールドラベル: 適用できるシンタックスは `` または `` です。 -- 変数またはフィールド: 適用できるシンタックスは `\` または `\<[TableName]FieldName>`。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 +- 変数またはフィールド: 適用できるシンタックスは `\` または `\<[TableName]FieldName>`。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 > ウィンドウタイトルの最大文字数は 31 です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_JSONref.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_JSONref.md index 0ef8b525325939..d09abd2875c5e1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_JSONref.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormEditor/properties_JSONref.md @@ -9,46 +9,46 @@ title: フォーム JSON プロパティリスト [b](#b) - [c](#c) - [d](#d) - [e](#e) - [f](#f) - [h](#h) - [i](#i) - [m](#m) - [p](#p) - [r](#r) - [s](#s) - [w](#w) -| プロパティ | 説明 | とりうる値 | -| --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **b** | | | -| [`bottomMargin`](properties_FormSize.md#垂直-マージン) | 垂直マージン値 (ピクセル単位) | 最小値: 0 | -| **c** | | | -| [`colorScheme`](properties_FormProperties.md#カラースキーム) | フォームのカラースキーム | "dark", "light" | -| [`css`](properties_FormProperties.md#css) | フォームが使用する CSSファイル | 文字列、文字列のコレクション、または "path" と "media" プロパティを持つオブジェクトのコレクションとして提供される CSSファイルパス。 | -| **d** | | | -| [`destination`](properties_FormProperties.md#フォームタイプ) | フォームタイプ | "detailScreen", "listScreen", "detailPrinter", "listPrinter" | -| **e** | | | -| [`entryOrder`](formEditor.md#データの入力順) | 入力フォームで **Tab**キーや **改行**キーが使用されたときに、アクティブオブジェクトが選択される順番。 | 4Dフォームオブジェクト名のコレクション | -| [`events`](Events/overview.md) | オブジェクトまたはフォームについて選択されているイベントのリスト | イベント名のコレクション。例: ["onClick","onDataChange"...]. | -| **f** | | | -| [`formSizeAnchor`](./properties_FormSize.md#size-based-on) | フォームサイズを定義するために使用するオブジェクトの名前 (最小長さ: 1) (最小長さ: 1) | 4Dオブジェクトの名前 | -| **h** | | | -| [`height`](properties_FormSize.md#高さ) | フォームの高さ | 最小値: 0 | -| **i** | | | -| [`inheritedForm`](properties_FormProperties.md#継承されたフォーム名) | 継承フォームを指定します | テーブルまたはプロジェクトフォームの名前 (文字列), フォームを定義する .json ファイルへの POSIX パス (文字列), またはフォームを定義するオブジェクト | -| [`inheritedFormTable`](properties_FormProperties.md#継承されたフォームテーブル) | 継承フォームがテーブルに属していれば、そのテーブル | テーブル名またはテーブル番号 | -| **m** | | | -| [`markerBody`](properties_Markers.md#フォーム詳細) | 詳細マーカーの位置 | 最小値: 0 | -| [`markerBreak`](properties_Markers.md#フォームブレーク) | ブレークマーカーの位置 | 最小値: 0 | -| [`markerFooter`](properties_Markers.md#フォームフッター) | フッターマーカーの位置 | 最小値: 0 | -| [`markerHeader`](properties_Markers.md#form-header) | ヘッダーマーカーの位置 | 最小値 (整数): 0; 最小値 (整数配列): 0 | -| [`memorizeGeometry`](properties_FormProperties.md#save-geometry) | フォームウィンドウが閉じられた時に、フォームパラメーターを記憶 | true, false | -| [`menuBar`](properties_Menu.md#連結メニューバー) | フォームと関連づけるメニューバー | 有効なメニューバーの名称 | -| [`method`](properties_Action.md#メソッド) | プロジェクトメソッド名 | 存在するプロジェクトメソッドの名前 | -| **p** | | | -| [`pages`](properties_FormProperties.md#pages) | ページのコレクション (各ページはオブジェクトです) | ページオブジェクト | -| [`pageFormat`](properties_Print.md#設定) | object | 利用可能な印刷プロパティ | -| **r** | | | -| [`rightMargin`](properties_FormSize.md#水平-マージン) | 水平マージン値 (ピクセル単位) | 最小値: 0 | -| **s** | | | -| [`shared`](properties_FormProperties.md#サブフォームとして公開) | フォームがサブフォームとして利用可能かを指定します | true, false | -| **w** | | | -| [`width`](properties_FormSize.md#幅) | フォームの幅 | 最小値: 0 | -| [`windowMaxHeight`](properties_WindowSize.md#maximum-height-minimum-height) | フォームウィンドウの最大高さ | 最小値: 0 | -| [`windowMaxWidth`](properties_WindowSize.md#maximum-width-minimum-width) | フォームウィンドウの最大幅 | 最小値: 0 | -| [`windowMinHeight`](properties_WindowSize.md#maximum-height-minimum-height) | フォームウィンドウの最小高さ | 最小値: 0 | -| [`windowMinWidth`](properties_WindowSize.md#maximum-width-minimum-width) | フォームウィンドウの最小幅 | 最小値: 0 | -| [`windowSizingX`](properties_WindowSize.md#固定幅) | フォームウィンドウの高さ固定 | "fixed", "variable" | -| [`windowSizingY`](properties_WindowSize.md#固定高さ) | フォームウィンドウの幅固定 | "fixed", "variable" | -| [`windowTitle`](properties_FormProperties.md#ウィンドウタイトル) | フォームウィンドウのタイトルを指定します | フォームウィンドウの名前。 | \ No newline at end of file +| プロパティ | 説明 | とりうる値 | +| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **b** | | | +| [`bottomMargin`](properties_FormSize.md#垂直-マージン) | 垂直マージン値 (ピクセル単位) | 最小値: 0 | +| **c** | | | +| [`colorScheme`](properties_FormProperties.md#カラースキーム) | フォームのカラースキーム | "dark", "light" | +| [`css`](properties_FormProperties.md#css) | フォームが使用する CSSファイル | 文字列、文字列のコレクション、または "path" と "media" プロパティを持つオブジェクトのコレクションとして提供される CSSファイルパス。 | +| **d** | | | +| [`destination`](properties_FormProperties.md#フォームタイプ) | フォームタイプ | "detailScreen", "listScreen", "detailPrinter", "listPrinter" | +| **e** | | | +| [`entryOrder`](formEditor.md#データの入力順) | 入力フォームで **Tab**キーや **改行**キーが使用されたときに、アクティブオブジェクトが選択される順番。 | 4Dフォームオブジェクト名のコレクション | +| [`events`](Events/overview.md) | オブジェクトまたはフォームについて選択されているイベントのリスト | イベント名のコレクション。例: ["onClick","onDataChange"...]. | +| **f** | | | +| [`formSizeAnchor`](./properties_FormSize.md#サイズを決めるもの) | フォームサイズを定義するために使用するオブジェクトの名前 (最小長さ: 1) (最小長さ: 1) | 4Dオブジェクトの名前 | +| **h** | | | +| [`height`](properties_FormSize.md#高さ) | フォームの高さ | 最小値: 0 | +| **i** | | | +| [`inheritedForm`](properties_FormProperties.md#継承されたフォーム名) | 継承フォームを指定します | テーブルまたはプロジェクトフォームの名前 (文字列), フォームを定義する .json ファイルへの POSIX パス (文字列), またはフォームを定義するオブジェクト | +| [`inheritedFormTable`](properties_FormProperties.md#継承されたフォームテーブル) | 継承フォームがテーブルに属していれば、そのテーブル | テーブル名またはテーブル番号 | +| **m** | | | +| [`markerBody`](properties_Markers.md#フォーム詳細) | 詳細マーカーの位置 | 最小値: 0 | +| [`markerBreak`](properties_Markers.md#フォームブレーク) | ブレークマーカーの位置 | 最小値: 0 | +| [`markerFooter`](properties_Markers.md#フォームフッター) | フッターマーカーの位置 | 最小値: 0 | +| [`markerHeader`](properties_Markers.md#フォームヘッダー) | ヘッダーマーカーの位置 | 最小値 (整数): 0; 最小値 (整数配列): 0 | +| [`memorizeGeometry`](properties_FormProperties.md#配置を記憶) | フォームウィンドウが閉じられた時に、フォームパラメーターを記憶 | true, false | +| [`menuBar`](properties_Menu.md#連結メニューバー) | フォームと関連づけるメニューバー | 有効なメニューバーの名称 | +| [`method`](properties_Action.md#メソッド) | プロジェクトメソッド名 | 存在するプロジェクトメソッドの名前 | +| **p** | | | +| [`pages`](properties_FormProperties.md#pages) | ページのコレクション (各ページはオブジェクトです) | ページオブジェクト | +| [`pageFormat`](properties_Print.md#設定) | object | 利用可能な印刷プロパティ | +| **r** | | | +| [`rightMargin`](properties_FormSize.md#水平-マージン) | 水平マージン値 (ピクセル単位) | 最小値: 0 | +| **s** | | | +| [`shared`](properties_FormProperties.md#サブフォームとして公開) | フォームがサブフォームとして利用可能かを指定します | true, false | +| **w** | | | +| [`width`](properties_FormSize.md#幅) | フォームの幅 | 最小値: 0 | +| [`windowMaxHeight`](properties_WindowSize.md#最大高さ-最小高さ) | フォームウィンドウの最大高さ | 最小値: 0 | +| [`windowMaxWidth`](properties_WindowSize.md#最大幅-最小幅) | フォームウィンドウの最大幅 | 最小値: 0 | +| [`windowMinHeight`](properties_WindowSize.md#最大高さ-最小高さ) | フォームウィンドウの最小高さ | 最小値: 0 | +| [`windowMinWidth`](properties_WindowSize.md#最大幅-最小幅) | フォームウィンドウの最小幅 | 最小値: 0 | +| [`windowSizingX`](properties_WindowSize.md#固定幅) | フォームウィンドウの高さ固定 | "fixed", "variable" | +| [`windowSizingY`](properties_WindowSize.md#固定高さ) | フォームウィンドウの幅固定 | "fixed", "variable" | +| [`windowTitle`](properties_FormProperties.md#ウィンドウタイトル) | フォームウィンドウのタイトルを指定します | フォームウィンドウの名前。 | \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/buttonGrid_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/buttonGrid_overview.md index 5ec56d8591a0d4..f558d1987fb951 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/buttonGrid_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/buttonGrid_overview.md @@ -25,7 +25,7 @@ title: ボタングリッド ### ページ指定アクション -You can assign the `gotoPage` [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) to a button grid. この標準アクションを設定すると、4D はボタングリッドで選択されたボタンの番号に相当するフォームページを自動的に表示します。 たとえばグリッド上の 10 番目のボタンを選択すると、4D は現在のフォームの 10 ページ目を表示します (存在する場合)。 +ボタングリッドにページ指定用の `gotoPage` [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html)を割り当てることができます。 この標準アクションを設定すると、4D はボタングリッドで選択されたボタンの番号に相当するフォームページを自動的に表示します。 たとえばグリッド上の 10 番目のボタンを選択すると、4D は現在のフォームの 10 ページ目を表示します (存在する場合)。 ## プロパティ一覧 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/button_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/button_overview.md index 800397b8008fc5..140ef2176163a2 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/button_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/button_overview.md @@ -15,7 +15,7 @@ title: ボタン フォーム実行時、標準アクションが設定されたボタンは必要に応じてグレー表示されます。 たとえば、あるテーブルの1番目のレコードが表示されていると、先頭レコード (`firstRecord`) 標準アクションがついたボタンはグレー表示されます。 -If you want a button to perform an action that's not available as a standard action, leave the standard action field empty and write an [object method to specify the button’s action](../FormObjects/properties_Action.md#method). +標準アクションとして提供されていない動作をボタンに実行させたい場合には、標準アクションのフィールドは空欄にしておき、 [ボタンのアクションを指定するオブジェクトメソッドを書きます](../FormObjects/properties_Action.md#メソッド)。 通常は、イベントテーマで `On Clicked` イベントを有効にして、ボタンのクリック時にのみメソッドを実行します。 どのタイプのボタンにもメソッドを割り当てることができます。 ボタンに関連付けられた変数 ([variable](properties_Object.md#変数あるいは式) 属性) は、デザインモードやアプリケーションモードでフォームが初めて開かれるときに自動で **0** に初期化されます。 ボタンをクリックすると、変数の値は **1** になります。 @@ -325,7 +325,7 @@ Windows の場合、サークルは表示されません。 すべてのボタンは次の基本プロパティを共有します: -[Bold](properties_Text.md#bold) - [Border Line Style](properties_BackgroundAndBorder.md#border-line-style) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Button Style](properties_TextAndPicture.md#button-style) - [Class](properties_Object.md#css-class) - [Droppable](properties_Action.md#droppable) - [Focusable](properties_Entry.md#focusable) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Italic](properties_Text.md#italic) - [Image hugs title](properties_TextAndPicture.md#image-hugs-title)(1) - [Left](properties_CoordinatesAndSizing.md#left) - [Not rendered](properties_Display.md#not-rendered) - [Number of States](properties_TextAndPicture.md#number-of-states)(1) - [Object Name](properties_Object.md#object-name) - [Picture pathname](properties_TextAndPicture.md#picture-pathname)(1) - [Right](properties_CoordinatesAndSizing.md#right) - [Shortcut](properties_Entry.md#shortcut) - [Standard action](properties_Action.md#standard-action) - [Title](properties_Object.md#title) - [Title/Picture Position](properties_TextAndPicture.md#titlepicture-position)(1) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) - [With pop-up menu](properties_TextAndPicture.md#with-pop-up-menu)(2) +[タイプ](properties_Object.md#タイプ) - [オブジェクト名](properties_Object.md#オブジェクト名) - [変数あるいは式](properties_Object.md#変数あるいは式) - [タイトル](properties_Object.md#タイトル) - [CSSクラス](properties_Object.md#cssclass) - [ボタンスタイル](properties_TextAndPicture.md#ボタンスタイル) - [ピクチャーパス名](properties_TextAndPicture.md#ピクチャーパス名)(1) - [状態の数](properties_TextAndPicture.md#状態の数)(1) - [タイトル/ピクチャー位置](properties_TextAndPicture.md#タイトルピクチャー位置)(1) - [ポップアップメニューあり](properties_TextAndPicture.md#ポップアップメニューあり)(2) - [タイトルと画像を隣接させる](properties_TextAndPicture.md#タイトルと画像を隣接させる)(1) - [左](properties_CoordinatesAndSizing.md#左) - [上](properties_CoordinatesAndSizing.md#上) - [右](properties_CoordinatesAndSizing.md#右) - [下](properties_CoordinatesAndSizing.md#下) - [幅](properties_CoordinatesAndSizing.md#幅) - [高さ](properties_CoordinatesAndSizing.md#高さ) - [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) - [縦方向サイズ変更](properties_ResizingOptions.md#縦方向サイズ変更) - [フォーカス可](properties_Entry.md#フォーカス可) - [ショートカット](properties_Entry.md#ショートカット) - [表示状態](properties_Display.md#表示状態) - [レンダリングしない](properties_Display.md#レンダリングしない) - [境界線スタイル](properties_BackgroundAndBorder.md#境界線スタイル) - [フォント](properties_Text.md#フォント) - [フォントサイズ](properties_Text.md#フォントサイズ) - [太字](properties_Text.md#太字) - [イタリック](properties_Text.md#イタリック) - [下線](properties_Text.md#下線) - [フォントカラー](properties_Text.md#フォントカラー) - [横揃え](properties_Text.md#横揃え) - [ヘルプTips](properties_Help.md#ヘルプtips) - [標準アクション](properties_Action.md#標準アクション) - [ドロップ有効](properties_Action.md#ドロップ有効) > (1) [ヘルプ](#ヘルプ) スタイルではサポートされていません。
    > (2) [ヘルプ](#ヘルプ)、[フラット](#フラット) および [通常](#通常) スタイルではサポートされていません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/checkbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/checkbox_overview.md index cbef7b8cae8570..6aa74b6c93de37 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/checkbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/checkbox_overview.md @@ -9,7 +9,7 @@ title: チェックボックス チェックボックスは、メソッドまたは [標準アクション](#標準アクションの使用) を使って管理します。 チェックボックスが選択されると、チェックボックスに割り当てられたメソッドが実行されます。 他のボタンと同じように、フォームが初めて開かれると、チェックボックスの変数は 0 に初期化されます。 -チェックボックスは小さな四角形の右側にテキストを表示します。 このテキストはチェックボックスの [タイトル](properties_Object.md#title) プロパティで設定します。 You can enter a title in the form of an XLIFF reference in this area (see [Appendix B: XLIFF architecture](https://doc.4d.com/4Dv20/4D/20.2/Appendix-B-XLIFF-architecture.300-6750166.en.html)). +チェックボックスは小さな四角形の右側にテキストを表示します。 このテキストはチェックボックスの [タイトル](properties_Object.md#title) プロパティで設定します。 タイトルには、XLIFF参照を入れることもできます ([付録 B: XLIFFアーキテクチャー](https://doc.4d.com/4Dv20/4D/20.2/Appendix-B-XLIFF-architecture.300-6750166.ja.html) 参照)。 ## チェックボックスの使用 @@ -387,12 +387,12 @@ Office XP スタイルのチェックボックスの反転表示と背景のカ すべてのチェックボックスは次の基本プロパティを共有します: -[Bold](properties_Text.md#bold) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Button Style](properties_TextAndPicture.md#button-style) - [Class](properties_Object.md#css-class) - [Enterable](properties_Entry.md#enterable) - [Expression Type](properties_Object.md#expression-type) - [Focusable](properties_Entry.md#focusable) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment)(1) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Image hugs title](properties_TextAndPicture.md#image-hugs-title)(2) - [Italic](properties_Text.md#italic) - [Left](properties_CoordinatesAndSizing.md#left) - [Number of States](properties_TextAndPicture.md#number-of-states)(2) - [Object Name](properties_Object.md#object-name) - [Picture pathname](properties_TextAndPicture.md#picture-pathname)(2) - [Right](properties_CoordinatesAndSizing.md#right) - [Save value](properties_Object.md#save-value) - [Shortcut](properties_Entry.md#shortcut) - [Standard action](properties_Action.md#standard-action) - [Title](properties_Object.md#title) - [Title/Picture Position](properties_TextAndPicture.md#titlepicture-position)(2) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) +[タイプ](properties_Object.md#タイプ) - [オブジェクト名](properties_Object.md#オブジェクト名) - [変数あるいは式](properties_Object.md#変数あるいは式) - [式の型](properties_Object.md#式の型) - [タイトル](properties_Object.md#タイトル) - [値を記憶](properties_Object.md#値を記憶) - [CSSクラス](properties_Object.md#cssクラス) - [ボタンスタイル](properties_TextAndPicture.md#ボタンスタイル) - [ピクチャーパス名](properties_TextAndPicture.md#ピクチャーパス名)(2) - [状態の数](properties_TextAndPicture.md#状態の数)(2) - [タイトル/ピクチャー位置](properties_TextAndPicture.md#タイトルピクチャー位置)(2) - [タイトルと画像を隣接させる](properties_TextAndPicture.md#タイトルと画像を隣接させる)(2) - [左](properties_CoordinatesAndSizing.md#左) - [上](properties_CoordinatesAndSizing.md#上) - [右](properties_CoordinatesAndSizing.md#右) - [下](properties_CoordinatesAndSizing.md#下) - [幅](properties_CoordinatesAndSizing.md#幅) - [高さ](properties_CoordinatesAndSizing.md#高さ) - [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) - [縦方向サイズ変更](properties_ResizingOptions.md#vertical-sizing) - [入力可](properties_Entry.md#入力可) - [フォーカス可](properties_Entry.md#フォーカス可) - [ショートカット](properties_Entry.md#ショートカット) - [表示状態](properties_Display.md#表示状態) - [フォント](properties_Text.md#フォント) - [フォントサイズ](properties_Text.md#フォントサイズ) - [太字](properties_Text.md#太字) - [イタリック](properties_Text.md#イタリック) - [下線](properties_Text.md#下線) - [フォントカラー](properties_Text.md#フォントカラー) - [横揃え](properties_Text.md#横揃え)(1) - [ヘルプTips](properties_Help.md#ヘルプtips) - [標準アクション](properties_Action.md#標準アクション) > (1) [通常](#通常) および [フラット](#フラット) スタイルではサポートされていません。
    > (2) [通常](#通常)、[フラット](#フラット)、[開示ボタン](#開示ボタン) および [折りたたみ/展開](#折りたたみ展開) スタイルではサポートされていません。 -Additional specific properties are available, depending on the [button style](#check-box-button-styles): +[ボタンスタイル](#チェックボックスのボタンスタイル) に応じて、次の追加プロパティが使用できます: - カスタム: [背景パス名](properties_TextAndPicture.md#背景パス名) - [アイコンオフセット](properties_TextAndPicture.md#アイコンオフセット) - diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/comboBox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/comboBox_overview.md index 3a49162ecd503f..9cf62c28af85de 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/comboBox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/comboBox_overview.md @@ -3,7 +3,7 @@ id: comboBoxOverview title: コンボボックス --- -A combo box is similar to a [drop-down list](dropdownList_Overview.md), except that it accepts text entered from the keyboard and has additional options. +コンボボックスは [ドロップダウンリスト](dropdownList_Overview.md) と似ていますが、キーボードから入力されたテキストを受けいれる点と、二つの追加オプションがついている点が異なります。 ![](../assets/en/FormObjects/combo_box.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/dropdownList_Overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/dropdownList_Overview.md index 23c01f2c882663..c7ce899bb930f2 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/dropdownList_Overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/dropdownList_Overview.md @@ -28,21 +28,21 @@ macOS においては、ドロップダウンリストは "ポップアップメ > この機能は 4Dプロジェクトでのみ利用可能です。 -ドロップダウンリストのデータソースとして、[コレクション](Concepts/dt_collection.md) を内包した [オブジェクト](Concepts/dt_object.md) を使用できます。 このオブジェクトには、次のプロパティが格納されていなくてはなりません: このオブジェクトには、次のプロパティが格納されていなくてはなりません: +ドロップダウンリストのデータソースとして、[コレクション](Concepts/dt_collection.md) を内包した [オブジェクト](Concepts/dt_object.md) を使用できます。 このオブジェクトには、次のプロパティが格納されていなくてはなりません: -| プロパティ | 型 | 説明 | -| -------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `values` | Collection | 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 サポートされている型:
  • 文字列
  • 数値
  • 日付
  • 時間
  • 空、または未定義の場合、ドロップダウンリストは空になります | -| `index` | number | 選択項目のインデックス (0 と `collection.length-1` の間の値)。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 | -| `currentValue` | Collection要素と同じ | 選択中の項目 (コードにより設定した場合はプレースホルダーとして使用される) | +| プロパティ | 型 | 説明 | +| -------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `values` | Collection | 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 サポートされている型:
  • 文字列
  • 数値
  • 日付
  • 時間
  • 空、または未定義の場合、ドロップダウンリストは空になります | +| `index` | number | 選択項目のインデックス (0 と `collection.length-1` の間の値)。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 | +| `currentValue` | Collection要素と同じ | 選択中の項目 (コードにより設定した場合はプレースホルダーとして使用される) | オブジェクトにその他のプロパティが含まれている場合、それらは無視されます。 ドロップダウンリストに関連付けるオブジェクトを初期化するには、次の方法があります: -- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 +- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 -- オブジェクトとそのプロパティを作成するコードを実行します。 オブジェクトとそのプロパティを作成するコードを実行します。 オブジェクトとそのプロパティを作成するコードを実行します。 たとえば、ドロップダウンリストに紐づいた [変数](properties_Object.md#変数あるいは式) が "myList" であれば、[On Load](Events/onLoad.md) フォームイベントに次のように書けます: +- オブジェクトとそのプロパティを作成するコードを実行します。 たとえば、ドロップダウンリストに紐づいた [変数](properties_Object.md#変数あるいは式) が "myList" であれば、[On Load](Events/onLoad.md) フォームイベントに次のように書けます: ```4d // Form.myDrop はフォームオブジェクトのデータソースです @@ -69,11 +69,11 @@ Form.myDrop.index //3 ### 配列の使用 -[配列](Concepts/arrays.md) とは、メモリー内の値のリストのことで、配列の名前によって参照されます。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 +[配列](Concepts/arrays.md) とは、メモリー内の値のリストのことで、配列の名前によって参照されます。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 ドロップダウンリストに関連付ける配列を初期化するには、次の方法があります: -- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 これらのデフォルト値は、配列へと自動的にロードされます。 オブジェクトに関連付けた変数名を使用して、この配列を参照することができます。 +- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、配列へと自動的にロードされます。 オブジェクトに関連付けた変数名を使用して、この配列を参照することができます。 - オブジェクトが表示される前に、値を配列要素に代入するコードを実行します。 例: @@ -89,7 +89,7 @@ Form.myDrop.index //3 この場合にも 、フォームのオブジェクトに紐付けた [変数](properties_Object.md#変数あるいは式) は `aCities` でなければなりません。 このコードは、前述した代入命令文の代わりに実行できます。 このコードをフォームメソッド内に置き、`On Load` フォームイベント発生時に実行されるようにします。 -- オブジェクトが表示される前に、[`LIST TO ARRAY`](../commands-legacy/list-to-array.md) コマンドを使ってリストの値を配列にロードします。 例: 例: +- オブジェクトが表示される前に、[`LIST TO ARRAY`](../commands-legacy/list-to-array.md) コマンドを使ってリストの値を配列にロードします。 例: ```4d LIST TO ARRAY("Cities";aCities) @@ -153,16 +153,14 @@ Form.myDrop.index //3 ### 標準アクションの使用 -[標準アクション](properties_Action.md#標準アクション) を使って、ドロップダウンリストを自動的に構築することができます。 この機能は、以下のコンテキストでサポートされています: この機能は、以下のコンテキストでサポートされています: この機能は、以下のコンテキストでサポートされています: +[標準アクション](properties_Action.md#標準アクション) を使って、ドロップダウンリストを自動的に構築することができます。 この機能は、以下のコンテキストでサポートされています: - `gotoPage` 標準アクションの使用。 この場合、4D は選択された項目の番号に対応する [フォームのページ](FormEditor/forms.md#フォームのページ) を自動的に表示します。 たとえば、ユーザーが 3番目の項目をクリックすると、4Dはカレントフォームの 3ページ目 (存在する場合) を表示します。 実行時のデフォルトでは、ドロップダウンリストにはページ番号 (1、2...)が表示されます。 -- 項目のサブリストを表示する標準アクションの使用 (例: `backgroundColor`)。 この機能には以下の条件があります: この機能には以下の条件があります: この機能には以下の条件があります: +- 項目のサブリストを表示する標準アクションの使用 (例: `backgroundColor`)。 この機能には以下の条件があります: - スタイル付きテキストエリア ([4D Write Pro エリア](writeProArea_overview.md) または [マルチスタイル](properties_Text.md#マルチスタイル) プロパティ付き [入力](input_overview.md)) が標準アクションのターゲットとしてフォーム内に存在する。 - ドロップダウンリストに [フォーカス可](properties_Entry.md#フォーカス可) 設定されていない。 実行時のドロップダウンリストは、背景色などの値の自動リストを表示します。 この自動リストは、各項目が任意の標準アクションを割り当てられた選択リストを設定することで上書きすることもできます。 - 実行時のドロップダウンリストは、背景色などの値の自動リストを表示します。 この自動リストは、各項目が任意の標準アクションを割り当てられた選択リストを設定することで上書きすることもできます。 - 実行時のドロップダウンリストは、背景色などの値の自動リストを表示します。 この自動リストは、各項目が任意の標準アクションを割り当てられた選択リストを設定することで上書きすることもできます。 > この機能は、階層型のドロップダウンリストでは使用できません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/listbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/listbox_overview.md index 8f8b3e6fd953ed..b56266db5fde92 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/listbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/listbox_overview.md @@ -13,15 +13,15 @@ title: リストボックス ### 基本のユーザー機能 -実行中、リストボックスはリストとしてデータを表示し、入力を受け付けます。 実行中、リストボックスはリストとしてデータを表示し、入力を受け付けます。 セルを編集可能にするには ([その列について入力が許可されていれば](#入力の管理))、セル上で2回クリックします: +実行中、リストボックスはリストとしてデータを表示し、入力を受け付けます。 セルを編集可能にするには ([その列について入力が許可されていれば](#入力の管理))、セル上で2回クリックします: ![](../assets/en/FormObjects/listbox_edit.png) リストボックスのセルには、複数行のテキストを入力・表示できます。 セル内で改行するには、**Ctrl+Return** (Windows) または **Command+Return** (macOS) を押します。 -セルにはブールやピクチャー、日付、時間、数値も表示することができます。 ヘッダーをクリックすると、列の値をソートできます ([標準ソート](ソートの管理))。 すべての列が自動で同期されます。 +セルにはブールやピクチャー、日付、時間、数値も表示することができます。 ヘッダーをクリックすると、列の値をソートできます ([標準ソート](#ソートの管理))。 すべての列が自動で同期されます。 -またそれぞれの列幅を変更できるほか、ユーザーはマウスを使用して [列](properties_ListBox.md#locked-columns-and-static-columns) や [行](properties_Action.md#movable-rows) の順番を (そのアクションが許可されていれば) 入れ替えることもできます。 リストボックスは [階層モード](#階層リストボックス) で使用することもできます。 リストボックスは [階層モード](#階層リストボックス) で使用することもできます。 +またそれぞれの列幅を変更できるほか、ユーザーはマウスを使用して [列](properties_ListBox.md#locked-columns-and-static-columns) や [行](properties_Action.md#movable-rows) の順番を (そのアクションが許可されていれば) 入れ替えることもできます。 リストボックスは [階層モード](#階層リストボックス) で使用することもできます。 ユーザーは標準のショートカットを使用して 1つ以上の行を選択できます。**Shift+クリック** で連続した行を、**Ctrl+クリック** (Windows) や **Command+クリック** (macOS) で非連続行を選択できます。 @@ -47,9 +47,9 @@ title: リストボックス ### リストボックスの型 -リストボックスには複数のタイプがあり、動作やプロパティの点で異なります。 リストボックスには複数のタイプがあり、動作やプロパティの点で異なります。 リストボックスの型は [データソースプロパティ](properties_Object.md#データソース) で定義します: +リストボックスには複数のタイプがあり、動作やプロパティの点で異なります。 リストボックスの型は [データソースプロパティ](properties_Object.md#データソース) で定義します: -- **配列**: 各列に 4D 配列を割り当てます。 **配列**: 各列に 4D 配列を割り当てます。 配列タイプのリストボックスは [階層リストボックス](listbox_overview.md#階層リストボックス) として表示することができます。 +- **配列**: 各列に 4D 配列を割り当てます。 配列タイプのリストボックスは [階層リストボックス](listbox_overview.md#階層リストボックス) として表示することができます。 - **セレクション** (**カレントセレクション** または **命名セレクション**): 各列に式 (たとえばフィールド) を割り当てます。それぞれの行はセレクションのレコードを基に評価されます。 - **コレクションまたはエンティティセレクション**: 各列に式を割り当てます。各行の中身はコレクションの要素ごと、あるいはエンティティセレクションのエンティティごとに評価されます。 @@ -72,8 +72,7 @@ title: リストボックス > 配列タイプのリストボックスは、特別なメカニズムをもつ [階層モード](listbox_overview.md#階層リストボックス) で表示することができます。 配列タイプのリストボックスでは、入力あるいは表示される値は 4Dランゲージで制御します。 列に [選択リスト](properties_DataSource.md#選択リスト) を割り当てて、データ入力を制御することもできます。 -配列タイプのリストボックスでは、入力あるいは表示される値は 4Dランゲージで制御します。 列に [選択リスト](properties_DataSource.md#選択リスト) を割り当てて、データ入力を制御することもできます。 -リストボックスのハイレベルコマンド (`LISTBOX INSERT ROWS` や `LISTBOX DELETE ROWS` 等) や配列操作コマンドを使用して、列の値を管理します。 たとえば、列の内容を初期化するには、以下の命令を使用できます: たとえば、列の内容を初期化するには、以下の命令を使用できます: +リストボックスのハイレベルコマンド (`LISTBOX INSERT ROWS` や `LISTBOX DELETE ROWS` 等) や配列操作コマンドを使用して、列の値を管理します。 たとえば、列の内容を初期化するには、以下の命令を使用できます: ```4d ARRAY TEXT(varCol;size) @@ -85,11 +84,11 @@ ARRAY TEXT(varCol;size) LIST TO ARRAY("ListName";varCol) ``` -> **警告**: 異なる配列サイズの列がリストボックスに含まれる場合、もっとも小さい配列サイズの数だけを表示します。 そのため、各配列の要素数は同じにしなければなりません。 リストボックスの列が一つでも空の場合 (ランゲージにより配列が正しく定義またはサイズ設定されなかったときに発生します)、リストボックスは何も表示しません。 そのため、各配列の要素数は同じにしなければなりません。 リストボックスの列が一つでも空の場合 (ランゲージにより配列が正しく定義またはサイズ設定されなかったときに発生します)、リストボックスは何も表示しません。 +> **警告**: 異なる配列サイズの列がリストボックスに含まれる場合、もっとも小さい配列サイズの数だけを表示します。 そのため、各配列の要素数は同じにしなければなりません。 リストボックスの列が一つでも空の場合 (ランゲージにより配列が正しく定義またはサイズ設定されなかったときに発生します)、リストボックスは何も表示しません。 ### セレクションリストボックス -このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 カラムをプログラムで変更するには、`LISTBOX SET COLUMN FORMULA` および `LISTBOX INSERT COLUMN FORMULA` コマンドを使用します。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 カラムをプログラムで変更するには、`LISTBOX SET COLUMN FORMULA` および `LISTBOX INSERT COLUMN FORMULA` コマンドを使用します。 +このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 カラムをプログラムで変更するには、`LISTBOX SET COLUMN FORMULA` および `LISTBOX INSERT COLUMN FORMULA` コマンドを使用します。 それぞれの行はセレクションのレコードを基に評価されます。セレクションは **カレントセレクション** または **命名セレクション**です。 @@ -198,7 +197,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 ### フォームイベント -| フォームイベント | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | コメント | +| フォームイベント | 返される追加のプロパティ(主なプロパティについては[Form event](../commands/form-event.md) を参照してください) | コメント | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | | On After Keystroke |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | @@ -269,11 +268,13 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 ### 列特有のプロパティ -[Alpha Format](properties_Display.md#alpha-format) - [Alternate Background Color](properties_BackgroundAndBorder.md#alternate-background-color) - [Automatic Row Height](properties_CoordinatesAndSizing.md#automatic-row-height) - [Background Color](properties_BackgroundAndBorder.md#background-color--fill-color) - [Background Color Expression](properties_BackgroundAndBorder.md#background-color-expression) - [Bold](properties_Text.md#bold) - [Choice List](properties_DataSource.md#choice-list) - [Class](properties_Object.md#css-class) - [Data Type (selection and collection list box column)](properties_DataSource.md#data-type-list) - [Date Format](properties_Display.md#date-format) - [Default Values](properties_DataSource.md#default-list-of-values) - [Display Type](properties_Display.md#display-type) - [Enterable](properties_Entry.md#enterable) - [Entry Filter](properties_Entry.md#entry-filter) - [Excluded List](properties_RangeOfValues.md#excluded-list) - [Expression](properties_DataSource.md#expression) - [Expression Type (array list box column)](properties_Object.md#expression-type) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Padding](properties_CoordinatesAndSizing.md#horizontal-padding) - [Italic](properties_Text.md#italic) - [Invisible](properties_Display.md#visibility) - [Maximum Width](properties_CoordinatesAndSizing.md#maximum-width) - [Method](properties_Action.md#method) - [Minimum Width](properties_CoordinatesAndSizing.md#minimum-width) - [Multi-style](properties_Text.md#multi-style) - [Number Format](properties_Display.md#number-format) - [Object Name](properties_Object.md#object-name) - [Picture Format](properties_Display.md#picture-format) - [Resizable](properties_ResizingOptions.md#resizable) - [Required List](properties_RangeOfValues.md#required-list) - [Row Background Color Array](properties_BackgroundAndBorder.md#row-background-color-array) - [Row Font Color Array](properties_Text.md#row-font-color-array) - [Row Style Array](properties_Text.md#row-style-array) - [Save as](properties_DataSource.md#save-as) - [Style Expression](properties_Text.md#style-expression) - [Text when False/Text when True](properties_Display.md#text-when-falsetext-when-true) - [Time Format](properties_Display.md#time-format) - [Truncate with ellipsis](properties_Display.md#truncate-with-ellipsis) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Alignment](properties_Text.md#vertical-alignment) - [Vertical Padding](properties_CoordinatesAndSizing.md#vertical-padding) - [Width](properties_CoordinatesAndSizing.md#width) - [Wordwrap](properties_Display.md#wordwrap) +[オブジェクト名](properties_Object.md#オブジェクト名) - [変数あるいは式](properties_Object.md#変数あるいは式) - [式タイプ (配列リストボックス列)](properties_Object.md#式の型式タイプ) - [CSSクラス](properties_Object.md#cssclass) - [デフォルト値](properties_DataSource.md#デフォルト値) - [選択リスト](properties_DataSource.md#選択リスト) - [式](properties_DataSource.md#式) - [データタイプ (セレクションおよびコレクションリストボックス列)](properties_DataSource.md#データタイプ-\(リスト\)) - [関連付け](properties_DataSource.md#関連付け) - [幅](properties_CoordinatesAndSizing.md#幅) - [自動行高](properties_CoordinatesAndSizing.md#自動行高) - [最小幅](properties_CoordinatesAndSizing.md#最小幅) - [最大幅](properties_CoordinatesAndSizing.md#最大幅) - [横方向パディング](properties_CoordinatesAndSizing.md#横方向パディング) +[縦方向パディング](properties_CoordinatesAndSizing.md#縦方向パディング) +[サイズ変更可](properties_ResizingOptions.md#サイズ変更可) - [入力可](properties_Entry.md#入力可) - [入力フィルター](properties_Entry.md#入力フィルター) - [指定リスト](properties_RangeOfValues.md#指定リスト) - [除外リスト](properties_RangeOfValues.md#除外リスト) - [表示タイプ](properties_Display.md#表示タイプ) - [文字フォーマット](properties_Display.md#文字フォーマット) - [数値フォーマット](properties_Display.md#数値フォーマット) - [テキスト (True時)/テキスト (False時)](properties_Display.md#テキスト-True時-テキスト-False時) - [日付フォーマット](properties_Display.md#日付フォーマット) - [時間フォーマット](properties_Display.md#時間フォーマット) - [ピクチャーフォーマット](properties_Display.md#ピクチャーフォーマット) - [非表示](properties_Display.md#表示状態) - [ワードラップ](properties_Display.md#ワードラップ) - [エリプシスを使用して省略](properties_Display.md#エリプシスを使用して省略) - [背景色](properties_BackgroundAndBorder.md#背景色) - [交互に使用する背景色](properties_BackgroundAndBorder.md#交互に使用する背景色) - [行背景色配列](properties_BackgroundAndBorder.md#行背景色配列) - [背景色式](properties_BackgroundAndBorder.md#背景色式) - [フォント](properties_Text.md#フォント) - [太字](properties_Text.md#太字) - [イタリック](properties_Text.md#イタリック) - [下線](properties_Text.md#下線) - [行スタイル配列](properties_Text.md#行スタイル配列) - [スタイル式](properties_Text.md#スタイル式) - [フォントカラー](properties_Text.md#フォントカラー) - [行フォントカラー配列](properties_Text.md#行フォントカラー配列) - [横揃え](properties_Text.md#横揃え) - [縦揃え](properties_Text.md#縦揃え) - [マルチスタイル](properties_Text.md#マルチスタイル) - [メソッド](properties_Action.md#メソッド) ### フォームイベント -| フォームイベント | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | コメント | +| フォームイベント | 返される追加のプロパティ(主なプロパティについては[Form event](../commands/form-event.md) を参照してください) | コメント | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | | On After Keystroke |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | @@ -384,7 +385,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 リストボックスのセルが入力可能であるには、以下の条件を満たす必要があります: - セルが属する列が [入力可](properties_Entry.md#入力可) に設定されている (でなければ、その列のセルには入力できません)。 -- `On Before Data Entry` イベントで $0 が -1 を返さない。 カーソルがセルに入ると、その列のメソッドで `On Before Data Entry` イベントが生成されます。 このイベントのコンテキストにおいて、$0 に -1 を設定すると、そのセルは入力不可として扱われます。 **Tab** や **Shift+Tab** が押された後にイベントが生成された場合には、フォーカスはそれぞれ次あるいは前のセルに移動します。 $0 が -1 でなければ (デフォルトは 0)、列は入力可であり編集モードに移行します。 このイベントのコンテキストにおいて、$0 に -1 を設定すると、そのセルは入力不可として扱われます。 **Tab** や **Shift+Tab** が押された後にイベントが生成された場合には、フォーカスはそれぞれ次あるいは前のセルに移動します。 $0 が -1 でなければ (デフォルトは 0)、列は入力可であり編集モードに移行します。 +- `On Before Data Entry` イベントで $0 が -1 を返さない。 カーソルがセルに入ると、その列のメソッドで `On Before Data Entry` イベントが生成されます。 このイベントのコンテキストにおいて、$0 に -1 を設定すると、そのセルは入力不可として扱われます。 **Tab** や **Shift+Tab** が押された後にイベントが生成された場合には、フォーカスはそれぞれ次あるいは前のセルに移動します。 $0 が -1 でなければ (デフォルトは 0)、列は入力可であり編集モードに移行します。 2つの配列で構築されるリストボックスを考えてみましょう。 1つは日付でもう 1つはテキストです。 日付配列は入力不可ですが、テキスト配列は日付が過去でない場合に入力可とします。 @@ -439,7 +440,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 選択行の管理は、リストボックスのタイプが配列か、レコードのセレクションか、あるいはコレクション/エンティティセレクションかによって異なります。 -- **セレクションリストボックス**: 選択行は、デフォルトで `$ListboxSetX` と呼ばれる変更可能なセットにより管理されます (X は 0 から始まり、フォーム内のリストボックスの数に応じて一つずつ増加していきます)。 このセットはリストボックスの[プロパティリスト](properties_ListBox.md#ハイライトセット)で定義します。 このセットは 4D が自動で管理します。 ユーザーがリストボックス中で 1つ以上の行を選択すると、セットが即座に更新されます。 他方、リストボックスの選択をプログラムから更新するために、"セット" テーマのコマンドを使用することができます。 このセットはリストボックスの[プロパティリスト](properties_ListBox.md#ハイライトセット)で定義します。 このセットは 4D が自動で管理します。 ユーザーがリストボックス中で 1つ以上の行を選択すると、セットが即座に更新されます。 他方、リストボックスの選択をプログラムから更新するために、"セット" テーマのコマンドを使用することができます。 +- **セレクションリストボックス**: 選択行は、デフォルトで `$ListboxSetX` と呼ばれる変更可能なセットにより管理されます (X は 0 から始まり、フォーム内のリストボックスの数に応じて一つずつ増加していきます)。 このセットはリストボックスの[プロパティリスト](properties_ListBox.md#ハイライトセット)で定義します。 このセットは 4D が自動で管理します。 ユーザーがリストボックス中で 1つ以上の行を選択すると、セットが即座に更新されます。 他方、リストボックスの選択をプログラムから更新するために、"セット" テーマのコマンドを使用することができます。 - **コレクション/エンティティセレクションリストボックス**: 選択項目は、専用のリストボックスプロパティを通して管理されます。 - [カレントの項目](properties_DataSource.md#カレントの項目) は、選択された要素/エンティティを受け取るオブジェクトです。 @@ -466,7 +467,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 ### 選択行の見た目のカスタマイズ -リストボックスの [セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) プロパティにチェックを入れている場合には、他のインターフェースオプションを活用してリストボックスの選択行を可視化する必要があります。 ハイライトが非表示になっていても選択行は引き続き 4D によって管理されています。つまり: ハイライトが非表示になっていても選択行は引き続き 4D によって管理されています。つまり: +リストボックスの [セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) プロパティにチェックを入れている場合には、他のインターフェースオプションを活用してリストボックスの選択行を可視化する必要があります。 ハイライトが非表示になっていても選択行は引き続き 4D によって管理されています。つまり: - 配列タイプのリストボックスの場合、当該リストボックスにリンクしているブール配列変数から選択行を割り出します。 - セレクションタイプのリストボックスの場合、特定行 (レコード) がリストボックスの [ハイライトセット](properties_ListBox.md#ハイライトセット) プロパティで指定しているセットに含まれているかを調べます。 @@ -477,7 +478,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 #### セレクションリストボックス -選択行を特定するには、リストボックスの [ハイライトセット](properties_ListBox.md#ハイライトセット) プロパティで指定されているセットに対象行が含まれているかを調べます: 選択行のアピアランスを定義するには、プロパティリストにて [カラー式またはスタイル式プロパティ](#配列と式の使用) を 1つ以上使います。 選択行のアピアランスを定義するには、プロパティリストにて [カラー式またはスタイル式プロパティ](#配列と式の使用) を 1つ以上使います。 +選択行を特定するには、リストボックスの [ハイライトセット](properties_ListBox.md#ハイライトセット) プロパティで指定されているセットに対象行が含まれているかを調べます: 選択行のアピアランスを定義するには、プロパティリストにて [カラー式またはスタイル式プロパティ](#配列と式の使用) を 1つ以上使います。 次の場合には式が自動的に再評価されることに留意ください: @@ -549,7 +550,7 @@ JSON フォームにおいて、リストボックスに次のハイライトセ $0:=$color ``` -> 階層リストボックスにおいては、[セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) オプションをチェックした場合には、ブレーク行をハイライトすることができません。 同階層のヘッダーの色は個別指定することができないため、任意のブレーク行だけをプログラムでハイライト表示する方法はありません。 同階層のヘッダーの色は個別指定することができないため、任意のブレーク行だけをプログラムでハイライト表示する方法はありません。 +> 階層リストボックスにおいては、[セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) オプションをチェックした場合には、ブレーク行をハイライトすることができません。 同階層のヘッダーの色は個別指定することができないため、任意のブレーク行だけをプログラムでハイライト表示する方法はありません。 ## ソートの管理 @@ -587,7 +588,7 @@ JSON フォームにおいて、リストボックスに次のハイライトセ ![](../assets/en/FormObjects/relationLB.png) -`Form.child` 式に紐づいた、エンティティセレクションタイプのリストボックスを設置します。 `Form.child` 式に紐づいた、エンティティセレクションタイプのリストボックスを設置します。 `On Load` フォームイベントでは、`Form.child:=ds.Child.all()` を実行します。 +`Form.child` 式に紐づいた、エンティティセレクションタイプのリストボックスを設置します。 `On Load` フォームイベントでは、`Form.child:=ds.Child.all()` を実行します。 次の 2つの列を表示します: @@ -654,7 +655,7 @@ End if - 行属性について: 列の属性値を受け継ぎます - 列属性について: リストボックスの属性値を受け継ぎます -このように、高次のレベルの属性値をオブジェクトに継承させたい場合は、定義するコマンドに `lk inherited` 定数 (デフォルト値) を渡すか、対応する行スタイル/カラー配列の要素に直接渡します。 このように、高次のレベルの属性値をオブジェクトに継承させたい場合は、定義するコマンドに `lk inherited` 定数 (デフォルト値) を渡すか、対応する行スタイル/カラー配列の要素に直接渡します。 以下のような、標準のフォントスタイルで行の背景色が交互に変わる配列リストボックスを考えます: +このように、高次のレベルの属性値をオブジェクトに継承させたい場合は、定義するコマンドに `lk inherited` 定数 (デフォルト値) を渡すか、対応する行スタイル/カラー配列の要素に直接渡します。 以下のような、標準のフォントスタイルで行の背景色が交互に変わる配列リストボックスを考えます: ![](../assets/en/FormObjects/listbox_styles3.png) 以下の変更を加えます: @@ -686,23 +687,22 @@ End if ## リストボックスの印刷 -リストボックスの印刷には 2つの印刷モードがあります: フォームオブジェクトのようにリストボックスを印刷する **プレビューモード** と、フォーム内でリストボックスオブジェクトの印刷方法を制御できる **詳細モード** があります。 フォームエディターで、リストボックスオブジェクトに "印刷" アピアランスを適用できる点に留意してください。 フォームエディターで、リストボックスオブジェクトに "印刷" アピアランスを適用できる点に留意してください。 +リストボックスの印刷には 2つの印刷モードがあります: フォームオブジェクトのようにリストボックスを印刷する **プレビューモード** と、フォーム内でリストボックスオブジェクトの印刷方法を制御できる **詳細モード** があります。 フォームエディターで、リストボックスオブジェクトに "印刷" アピアランスを適用できる点に留意してください。 ### プレビューモード -プレビューモードでのリストボックスの印刷は、標準の印刷コマンドや **印刷** メニューを使用して、リストボックスを含むフォームをそのまま出力します。 リストボックスはフォーム上に表示されている通りに印刷されます。 このモードでは、オブジェクトの印刷を細かく制御することはできません。 とくに、表示されている以上の行を印刷することはできません。 リストボックスはフォーム上に表示されている通りに印刷されます。 このモードでは、オブジェクトの印刷を細かく制御することはできません。 とくに、表示されている以上の行を印刷することはできません。 +プレビューモードでのリストボックスの印刷は、標準の印刷コマンドや **印刷** メニューを使用して、リストボックスを含むフォームをそのまま出力します。 リストボックスはフォーム上に表示されている通りに印刷されます。 このモードでは、オブジェクトの印刷を細かく制御することはできません。 とくに、表示されている以上の行を印刷することはできません。 ### 詳細モード -このモードでは、リストボックスの印刷は `Print object` コマンドを使用してプログラムにより実行されます (プロジェクトフォームとテーブルフォームがサポートされています)。 `LISTBOX GET PRINT INFORMATION` コマンドを使用してオブジェクトの印刷を制御できます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用してオブジェクトの印刷を制御できます。 +このモードでは、リストボックスの印刷は `Print object` コマンドを使用してプログラムにより実行されます (プロジェクトフォームとテーブルフォームがサポートされています)。 `LISTBOX GET PRINT INFORMATION` コマンドを使用してオブジェクトの印刷を制御できます。 このモードでは: - オブジェクトの高さよりも印刷する行数が少ない場合、リストボックスオブジェクトの高さは自動で減少させられます ("空白" 行は印刷されません)。 他方、オブジェクトの内容に基づき高さが自動で増大することはありません。 実際に印刷されるオブジェクトのサイズは `LISTBOX GET PRINT INFORMATION` コマンドで取得できます。 - リストボックスオブジェクトは "そのまま" 印刷されます。言い換えれば、ヘッダーやグリッド線の表示、表示/非表示行など、現在の表示設定が考慮されます。 - リストボックスオブジェクトは "そのまま" 印刷されます。言い換えれば、ヘッダーやグリッド線の表示、表示/非表示行など、現在の表示設定が考慮されます。 これらの設定には印刷される最初の行も含みます。印刷を実行する前に `OBJECT SET SCROLL POSITION` を呼び出すと、リストボックスに印刷される最初の行はコマンドで指定した行になります。 -- 自動メカニズムにより、表示可能な行以上の行数を含むリストボックスの印刷が容易になります。連続して `Print object` を呼び出し、呼び出し毎に別の行のまとまりを印刷することができます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用して、印刷がおこなわれている間の状態をチェックできます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用して、印刷がおこなわれている間の状態をチェックできます。 +- 自動メカニズムにより、表示可能な行以上の行数を含むリストボックスの印刷が容易になります。連続して `Print object` を呼び出し、呼び出し毎に別の行のまとまりを印刷することができます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用して、印刷がおこなわれている間の状態をチェックできます。 ## 階層リストボックス @@ -722,7 +722,7 @@ End if #### "階層リストボックス" プロパティによる階層化 -このプロパティを使用してリストボックスの階層表示を設定します。 このプロパティを使用してリストボックスの階層表示を設定します。 JSON フォームにおいては、リストボックス列の [*dataSource* プロパティの値が配列名のコレクションであるとき](properties_Object.md#配列リストボックス) に階層化します。 +このプロパティを使用してリストボックスの階層表示を設定します。 JSON フォームにおいては、リストボックス列の [*dataSource* プロパティの値が配列名のコレクションであるとき](properties_Object.md#配列リストボックス) に階層化します。 *階層リストボックス* プロパティが選択されると、追加プロパティである **Variable 1...10** が利用可能になります。これらには階層の各レベルとして使用するデータソース配列を指定します。これが *dataSource* の値である配列名のコレクションとなります。 入力欄に値が入力されると、新しい入力欄が追加されます。 10個までの変数を指定できます。 これらの変数は先頭列に表示される階層のレベルを設定します。 @@ -750,7 +750,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の - その列の変数が階層を指定するために使用されます。 既に設定されていた変数は置き換えられます。 - (先頭列を除き) 選択された列はリストボックス内に表示されなくなります。 -例: 左から国、地域、都市、人口列が設定されたリストボックスがあります。 例: 左から国、地域、都市、人口列が設定されたリストボックスがあります。 国、地域、都市が (下図の通り) 選択され、コンテキストメニューから **階層を作成** を選択すると、先頭列に3レベルの階層が作成され、二番目と三番目の列は取り除かれます。人口列が二番目になります: +例: 左から国、地域、都市、人口列が設定されたリストボックスがあります。 国、地域、都市が (下図の通り) 選択され、コンテキストメニューから **階層を作成** を選択すると、先頭列に3レベルの階層が作成され、二番目と三番目の列は取り除かれます。人口列が二番目になります: ![](../assets/en/FormObjects/listbox_hierarchy2.png) @@ -841,7 +841,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の > 親が折りたたまれているために行が非表示になっていると、それらは選択から除外されます。 (直接あるいはスクロールによって) 表示されている行のみを選択できます。 言い換えれば、行を選択かつ隠された状態にすることはできません。 -選択と同様に、`LISTBOX GET CELL POSITION` コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、`LISTBOX GET CELL POSITION` は同じ位置 (3;2) を返します。 つまり以下の両方の例題で、`LISTBOX GET CELL POSITION` は同じ位置 (3;2) を返します。 +選択と同様に、`LISTBOX GET CELL POSITION` コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、`LISTBOX GET CELL POSITION` は同じ位置 (3;2) を返します。 *非階層表示:* ![](../assets/en/FormObjects/hierarch9.png) @@ -886,19 +886,19 @@ Variable 2 も常に表示され、入力できます。 これは二番目の `On Expand` や `On Collapse` フォームイベントを使用して階層リストボックスの表示を最適化できます。 -階層リストボックスはその配列の内容から構築されます。 そのためこれらの配列すべてがメモリにロードされる必要があります。 階層リストボックスはその配列の内容から構築されます。そのためこれらの配列すべてがメモリにロードされる必要があります。 大量のデータから (`SELECTION TO ARRAY` コマンドを使用して) 生成される配列をもとに階層リストボックスを構築するのは、表示速度だけでなくメモリ使用量の観点からも困難が伴います。 +階層リストボックスはその配列の内容から構築されます。 そのためこれらの配列すべてがメモリにロードされる必要があります。 大量のデータから (`SELECTION TO ARRAY` コマンドを使用して) 生成される配列をもとに階層リストボックスを構築するのは、表示速度だけでなくメモリ使用量の観点からも困難が伴います。 -`On Expand` と `On Collapse` フォームイベントを使用することで、この制限を回避できます。たとえば、ユーザーのアクションに基づいて階層の一部だけを表示したり、必要に応じて配列をロード/アンロードできます。 これらのイベントのコンテキストでは、`LISTBOX GET CELL POSITION` コマンドは、行を展開/折りたたむためにユーザーがクリックしたセルを返します。 これらのイベントのコンテキストでは、`LISTBOX GET CELL POSITION` コマンドは、行を展開/折りたたむためにユーザーがクリックしたセルを返します。 +`On Expand` と `On Collapse` フォームイベントを使用することで、この制限を回避できます。たとえば、ユーザーのアクションに基づいて階層の一部だけを表示したり、必要に応じて配列をロード/アンロードできます。 これらのイベントのコンテキストでは、`LISTBOX GET CELL POSITION` コマンドは、行を展開/折りたたむためにユーザーがクリックしたセルを返します。 この場合、開発者がコードを使用して配列を空にしたり値を埋めたりしなければなりません。 実装する際注意すべき原則は以下のとおりです: -- リストボックスが表示される際、先頭の配列のみ値を埋めます。 リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: +- リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: ![](../assets/en/FormObjects/hierarch15.png) - ユーザーが展開アイコンをクリックすると `On Expand` イベントが生成されます。 `LISTBOX GET CELL POSITION` コマンドはクリックされたセルを返すので、適切な階層を構築します: 先頭の配列に繰り返しの値を設定し、2番目の配列には `SELECTION TO ARRAY` コマンドから得られる値を設定します。そして`LISTBOX INSERT ROWS` コマンドを使用して必要なだけ行を挿入します。 ![](../assets/en/FormObjects/hierarch16.png) -- ユーザーが折りたたみアイコンをクリックすると `On Collapse` イベントが生成されます。 ユーザーが折りたたみアイコンをクリックすると `On Collapse` イベントが生成されます。 `LISTBOX GET CELL POSITION` コマンドはクリックされたセルを返すので、 `LISTBOX DELETE ROWS` コマンドを使用してリストボックスから必要なだけ行を削除します。 +- ユーザーが折りたたみアイコンをクリックすると `On Collapse` イベントが生成されます。 `LISTBOX GET CELL POSITION` コマンドはクリックされたセルを返すので、 `LISTBOX DELETE ROWS` コマンドを使用してリストボックスから必要なだけ行を削除します。 ## オブジェクト配列の使用 @@ -947,7 +947,7 @@ ARRAY OBJECT(obColumn;0) // カラム配列 - "color": 背景色を定義 - "event": ラベル付ボタンを表示 -4D は "valueType" の値に応じたデフォルトのウィジェットを使用します (つまり、"text" と設定すればテキスト入力ウィジェットが表示され、"boolean" と設定すればチェックボックスが表示されます)。 しかし、オプションを使用することによって表示方法の選択が可能な場合もあります (たとえば、"real" と設定した場合、ドロップダウンメニューとしても表示できます)。 以下の一覧はそれぞれの値の型に対してのデフォルトの表示方法と、他に選択可能な表示方の一覧を表しています: 以下の一覧はそれぞれの値の型に対してのデフォルトの表示方法と、他に選択可能な表示方の一覧を表しています: +4D は "valueType" の値に応じたデフォルトのウィジェットを使用します (つまり、"text" と設定すればテキスト入力ウィジェットが表示され、"boolean" と設定すればチェックボックスが表示されます)。 しかし、オプションを使用することによって表示方法の選択が可能な場合もあります (たとえば、"real" と設定した場合、ドロップダウンメニューとしても表示できます)。 以下の一覧はそれぞれの値の型に対してのデフォルトの表示方法と、他に選択可能な表示方の一覧を表しています: | valueType | デフォルトのウィジェット | 他に選択可能なウィジェット | | --------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------- | diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/subform_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/subform_overview.md index fee4d2023901a9..140dd6f5bccbe0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/subform_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/FormObjects/subform_overview.md @@ -35,13 +35,13 @@ title: サブフォーム ページサブフォームは [詳細フォーム](properties_Subform.md#詳細フォーム) プロパティで指定された入力フォームを使用します。 リストサブフォームと異なり、使用されるフォームは親フォームと同じテーブルに所属していてもかまいません。 また、プロジェクトフォームを使用することもできます。 実行時、ページサブフォームは入力フォームと同じ標準の表示特性を持ちます。 -> 4Dウィジェットは、ページサブフォームに基づいた定義済みの複合オブジェクトです。 They are described in detail in a separate manual, [4D Widgets](https://doc.4d.com/4Dv20/4D/20/4D-Widgets.100-6343453.en.html). +> 4Dウィジェットは、ページサブフォームに基づいた定義済みの複合オブジェクトです。 詳細は専用のドキュメント [4D Widgets (ウィジェット)](https://doc.4d.com/4Dv20/4D/20/4D-Widgets.100-6343453.ja.html) を参照してください。 ### バインドされた変数あるいは式の管理 サブフォームコンテナーオブジェクトには、[変数あるいは式](properties_Object.md#変数あるいは式) をバインドすることができます。 これは、親フォームとサブフォーム間で値を同期するのに便利です。 -By default, 4D creates a variable or expression of [object type](properties_Object.md#expression-type) for a subform container, which allows you to share values in the context of the subform using the `Form` command. しかし、単一の値のみを共有したい場合は、任意のスカラー型 (時間、整数など) の変数や式を使用することもできます。 +デフォルトで、4D はサブフォームコンテナーに [オブジェクト型](properties_Object.md#式の型式タイプ) の変数あるいは式をバインドし、`Form` コマンドを使ってサブフォームのコンテキストで値を共有できるようにします。 しかし、単一の値のみを共有したい場合は、任意のスカラー型 (時間、整数など) の変数や式を使用することもできます。 - バインドするスカラー型の変数あるいは式を定義し、[On Bound Variable Change](../Events/onBoundVariableChange.md) や [On Data Change](../Events/onDataChange.md) フォームイベントが発生したときに、`OBJECT Get subform container value` や `OBJECT SET SUBFORM CONTAINER VALUE` コマンドを呼び出して値を共有します。 この方法は、単一の値を同期させるのに推奨されます。 - または、バインドされた **オブジェクト** 型の変数あるいは式を定義し、`Form` コマンドを使用してサブフォームからそのプロパティにアクセスします。 この方法は、複数の値を同期させるのに推奨されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md index 0dcf4c647c52ed..844d4dbbfae143 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md @@ -5,7 +5,7 @@ title: リリースノート ## 4D 20 R8 -Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8/), the blog post that lists all new features and enhancements in 4D 20 R8. +[**4D 20 R8 の新機能**](https://blog.4d.com/ja-whats-new-in-4d-v20-R8/): 4D 20 R8 の新機能と拡張機能をすべてリストアップしたブログ記事です。 #### ハイライト @@ -23,7 +23,7 @@ Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8 - 以下のコマンドが、引数としてオブジェクトまたはコレクションを受け取れるようになりました: [WP SET ATTRIBUTES](../WritePro/commands/wp-set-attributes.md)、[WP Get attributes](../WritePro/commands/wp-get-attributes.md)、[WP RESET ATTRIBUTES](../WritePro/commands/wp-reset-attributes.md)、[WP Table append row](../WritePro/commands/wp-table-append-row.md)、 [WP Import document](../WritePro/commands/wp-import-document.md)、 [WP EXPORT DOCUMENT](../WritePro/commands/wp-export-document.md)、 [WP Add picture](../WritePro/commands/wp-add-picture.md)、および [WP Insert picture](../WritePro/commands/wp-insert-picture.md) - [WP Insert formula](../WritePro/commands/wp-insert-formula.md)、 [WP Insert document body](../WritePro/commands/wp-insert-document-body.md)、および [WP Insert break](../WritePro/commands/wp-insert-break.md) はレンジを返す関数になりました(頭文字のみ大文字です)。 - ドキュメント属性に関連した新しい式: [This.sectionIndex](../WritePro/managing-formulas.md)、 [This.sectionName](../WritePro/managing-formulas.md) および[This.pageIndex](../WritePro/managing-formulas.md) -- 4D ランゲージ: +- 4Dランゲージ: - 変更されたコマンド: [`FORM EDIT`](../commands/form-edit.md) - [4D.CryptoKey class](../API/CryptoKeyClass.md) の[`.sign()`](../API/CryptoKeyClass.md#sign) および [`.verify()`](../API/CryptoKeyClass.md#verify) 関数は *message* 引数においてBlob をサポートするようになりました。 - [**修正リスト**](https://bugs.4d.fr/fixedbugslist?version=20_R8): 4D 20 R8 で修正されたバグのリストです(日本語版は [こちら](https://4d-jp.github.io/2024/360/release-note-version-20r8/))。 @@ -34,7 +34,7 @@ Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8 ## 4D 20 R7 -Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7/), the blog post that lists all new features and enhancements in 4D 20 R7. +[**4D 20 R7 の新機能**](https://blog.4d.com/ja-whats-new-in-4d-v20-R7/): 4D 20 R7 の新機能と拡張機能をすべてリストアップしたブログ記事です。 #### ハイライト @@ -49,7 +49,7 @@ Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7 - 4Dクライアントアプリケーション用の新しいアプリケーションビルド XMLキー: 接続時にサーバーから送信される証明書について、認証局の 署名 や [ドメイン](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.ja.html) を検証するためのキーが追加されました。 - [埋め込みライセンスなしでスタンドアロンアプリケーションをビルドすること](../Desktop/building.md#licenses) が可能になりました。 -- 4D ランゲージ: +- 4Dランゲージ: - 新コマンド: [Process info](../commands/process-info.md)、 [Session info](../commands/session-info.md)、 [SET WINDOW DOCUMENT ICON](../commands/set-window-document-icon.md) - 変更されたコマンド: [Process activity](../commands/process-activity.md)、 [Process number](../commands/process-number.md) - 4D Write Pro: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md index 7297a333163d04..48505bdca34736 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md @@ -140,7 +140,7 @@ Function GetBestOnes() `City クラス` は API を提供しています: ```4d -// cs.City class +// cs.City クラス Class extends DataClass @@ -267,10 +267,10 @@ End if データモデルクラスを作成・編集する際には次のルールに留意しなくてはなりません: - 4D のテーブル名は、**cs** [クラスストア](Concepts/classes.md#クラスストア) 内において自動的に DataClass クラス名として使用されるため、**cs** 名前空間において衝突があってはなりません。 特に: - - Do not give the same name to a 4D table and to a [user class name](../Concepts/classes.md#class-definition). 衝突が起きた場合には、ユーザークラスのコンストラクターは使用不可となります (コンパイラーにより警告が返されます)。 + - 4D テーブル名と[ユーザークラス名](../Concepts/classes.md#クラス定義)に同じ名前をつけてはいけません。 衝突が起きた場合には、ユーザークラスのコンストラクターは使用不可となります (コンパイラーにより警告が返されます)。 - 4D テーブルに予約語を使用してはいけません (例: "DataClass")。 -- When defining a class, make sure the [`Class extends`](../Concepts/classes.md#class-extends-classname) statement exactly matches the parent class name (remember that they're case sensitive). たとえば、EntitySelection クラスを継承するには `Class extends EntitySelection` と書きます。 +- クラス定義の際、[`Class extends`](../Concepts/classes.md#class-extends-classname) ステートメントに使用する親クラスの名前は完全に合致するものでなくてはいけません (文字の大小が区別されます)。 たとえば、EntitySelection クラスを継承するには `Class extends EntitySelection` と書きます。 - データモデルクラスオブジェクトのインスタンス化に `new()` キーワードは使えません (エラーが返されます)。 上述の ORDA クラステーブルに一覧化されている、通常の [インスタンス化の方法](#アーキテクチャー) を使う必要があります。 @@ -845,7 +845,7 @@ $id:=$remoteDS.Schools.computeIDNumber() // エラー (未知のメンバー機 ```4d // onHTTPGet 関数を宣言する -exposed onHTTPGet Function (params) : result +exposed onHttpGet Function (params) : result ``` :::info @@ -997,7 +997,7 @@ End if ### クラスファイル -An ORDA data model user class is defined by adding, at the [same location as regular class files](../Concepts/classes.md#class-definition) (*i.e.* in the `/Sources/Classes` folder of the project folder), a .4dm file with the name of the class. たとえば、`Utilities` データクラスのエンティティクラスは、`UtilitiesEntity.4dm` ファイルによって定義されます。 +ORDA データモデルユーザークラスは、クラスと同じ名称の .4dm ファイルを [通常のクラスファイルと同じ場所](../Concepts/classes.md#クラス定義) (つまり、Project フォルダー内の `/Sources/Classes` フォルダー) に追加することで定義されます。 たとえば、`Utilities` データクラスのエンティティクラスは、`UtilitiesEntity.4dm` ファイルによって定義されます。 ### クラスの作成 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Project/components.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Project/components.md index 0816015ddc4817..a539a6dde5227f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Project/components.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/Project/components.md @@ -3,7 +3,7 @@ id: components title: コンポーネント --- -4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 +4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 独自の 4Dコンポーネントを [開発](../Extensions/develop-components.md) し、[ビルド](../Desktop/building.md) することもできますし、4Dコミュニティによって共有されているパブリックコンポーネントを GitHubで見つけて ダウンロードすることもできます。 @@ -11,14 +11,14 @@ title: コンポーネント ## インタープリターとコンパイル済みコンポーネント -Components can be interpreted or [compiled](../Desktop/building.md). +コンポーネントは、インタープリターまたは [コンパイル済み](../Desktop/building.md) のものが使えます。 - インタープリターモードで動作する 4Dプロジェクトは、インタープリターまたはコンパイル済みどちらのコンポーネントも使用できます。 -- コンパイルモードで実行される 4Dプロジェクトでは、インタープリターのコンポーネントを使用できません。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 +- コンパイルモードで実行される 4Dプロジェクトでは、インタープリターのコンポーネントを使用できません。 この場合、コンパイル済みコンポーネントのみが利用可能です。 -### Package folder +### パッケージフォルダ -The package folder of a component (*MyComponent.4dbase* folder) can contain: +コンポーネントのパッケージフォルダ(*MyComponent.4dbase* フォルダ) には以下のものを含めることができます: - for **interpreted components**: a standard [Project folder](../Project/architecture.md). The package folder name must be suffixed with **.4dbase** if you want to install it in the [**Components** folder of your project](architecture.md#components). - for **compiled components**: @@ -35,7 +35,7 @@ The "Contents" folder architecture is recommended for components if you want to :::note -このページでは、**4D** と **4D Server** 環境でのコンポーネントの使用方法について説明します。 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: +このページでは、**4D** と **4D Server** 環境でのコンポーネントの使用方法について説明します。 他の環境では、コンポーネントの管理は異なります: - [リモートモードの 4D](../Desktop/clientServer.md) では、サーバーがコンポーネントを読み込み、リモートアプリケーションに送信します。 - 統合されたアプリケーションでは、コンポーネントは [ビルドする際に組み込まれます](../Desktop/building.md#プラグインコンポーネントページ)。 @@ -61,7 +61,7 @@ The "Contents" folder architecture is recommended for components if you want to #### dependencies.json -**dependencies.json** ファイルは、4Dプロジェクトに必要なすべてのコンポーネントを宣言します。 このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: +**dependencies.json** ファイルは、4Dプロジェクトに必要なすべてのコンポーネントを宣言します。 このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: ``` /MyProjectRoot/Project/Sources/dependencies.json @@ -167,7 +167,7 @@ flowchart TB パスは、POSIXシンタックスで表します ([POSIXシンタックス](../Concepts/paths#posix-シンタックス) 参照)。 -相対パスは、[`environment4d.json`](#environment4djson) ファイルを基準とした相対パスです。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 +相対パスは、[`environment4d.json`](#environment4djson) ファイルを基準とした相対パスです。 絶対パスは、ユーザーのマシンにリンクされています。 コンポーネントアーキテクチャーの柔軟性と移植性のため、ほとんどの場合、相対パスを使用することが **推奨** されます (特に、プロジェクトがソース管理ツールにホストされている場合)。 @@ -226,7 +226,7 @@ GitHub に保存されているコンポーネントは [**dependencies.json** When a release is created in GitHub, it is associated to a **tag** and a **version**. The Dependency manager uses these information to handle automatic availability of components. -- **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 [**dependencies.json** ファイル](#dependenciesjson) および [**environment4d.json**](#environment4djson) ファイルでは、プロジェクトで使用するリリースタグを指定することができます。 たとえば: たとえば: たとえば: たとえば: たとえば: たとえば: たとえば: +- **タグ** はリリースを一意に参照するテキストです。 [**dependencies.json** ファイル](#dependenciesjson) および [**environment4d.json**](#environment4djson) ファイルでは、プロジェクトで使用するリリースタグを指定することができます。 たとえば: ```json { @@ -239,7 +239,7 @@ When a release is created in GitHub, it is associated to a **tag** and a **versi } ``` -- リリースは **バージョン** によっても識別されます。 リリースは **バージョン** によっても識別されます。 リリースは **バージョン** によっても識別されます。 The versioning system used is based on the [*Semantic Versioning*](https://regex101.com/r/Ly7O1x/3/) concept, which is the most commonly used. 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: +- リリースは **バージョン** によっても識別されます。 使用されるバージョニングシステムは一般的に使用されている [*セマンティックバージョニング*](https://regex101.com/r/Ly7O1x/3/) コンセプトに基づいています。 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: ```json { @@ -252,7 +252,7 @@ When a release is created in GitHub, it is associated to a **tag** and a **versi } ``` -範囲は、最小値と最大値を示す 2つのセマンティックバージョンと演算子 ('`< | > | >= | <= | =`') で定義します。 `*` はすべてのバージョンのプレースホルダーとして使用できます。 ~ および ^ の接頭辞は、数字で始まるバージョンを定義し、それぞれ次のメジャーバージョンおよびマイナーバージョンまでの範囲を示します。 `*` はすべてのバージョンのプレースホルダーとして使用できます。 ~ および ^ の接頭辞は、数字で始まるバージョンを定義し、それぞれ次のメジャーバージョンおよびマイナーバージョンまでの範囲を示します。 +範囲は、最小値と最大値を示す 2つのセマンティックバージョンと演算子 ('`< | > | >= | <= | =`') で定義します。 `*` はすべてのバージョンのプレースホルダーとして使用できます。 ~ および ^ の接頭辞は、数字で始まるバージョンを定義し、それぞれ次のメジャーバージョンおよびマイナーバージョンまでの範囲を示します。 以下にいくつかの例を示します: @@ -288,7 +288,7 @@ You then need to [provide your connection token](#providing-your-github-access-t #### 依存関係のローカルキャッシュ -参照された GitHubコンポーネントはローカルのキャッシュフォルダーにダウンロードされ、その後環境に読み込まれます。 ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: +参照された GitHubコンポーネントはローカルのキャッシュフォルダーにダウンロードされ、その後環境に読み込まれます。 ローカルキャッシュフォルダーは以下の場所に保存されます: - macOs: `$HOME/Library/Caches//Dependencies` - Windows: `C:\Users\\AppData\Local\\Dependencies` @@ -354,7 +354,7 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ### 依存関係のオリジン -依存関係パネルには、各依存関係のオリジン (由来) にかかわらず、プロジェクトの依存関係すべてがリストされます。 依存関係のオリジンは、名前の下に表示されるタグによって判断することができます: 依存関係のオリジンは、名前の下に表示されるタグによって判断することができます: +依存関係パネルには、各依存関係のオリジン (由来) にかかわらず、プロジェクトの依存関係すべてがリストされます。 依存関係のオリジンは、名前の下に表示されるタグによって判断することができます: ![dependency-origin](../assets/en/Project/dependency-origin.png) @@ -386,11 +386,11 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ### ローカルな依存関係の追加 -ローカルな依存関係を追加するには、パネルのフッターエリアにある **+** ボタンをクリックします。 次のようなダイアログボックスが表示されます: 次のようなダイアログボックスが表示されます: 次のようなダイアログボックスが表示されます: +ローカルな依存関係を追加するには、パネルのフッターエリアにある **+** ボタンをクリックします。 次のようなダイアログボックスが表示されます: ![dependency-add](../assets/en/Project/dependency-add.png) -**ローカル** タブが選択されていることを確認し、**...** ボタンをクリックします。 標準の "ファイルを開く" ダイアログボックスが表示され、追加するコンポーネントを選択できます。 You can select a [**.4DZ**](../Desktop/building.md#build-component) or a [**.4DProject**](architecture.md#applicationname4dproject-file) file. +**ローカル** タブが選択されていることを確認し、**...** ボタンをクリックします。 標準の "ファイルを開く" ダイアログボックスが表示され、追加するコンポーネントを選択できます。 [**.4DZ**](../Desktop/building.md#コンポーネントをビルド) または [**.4DProject**](architecture.md#applicationname4dproject-ファイル) ファイルを選択できます。 選択した項目が有効であれば、その名前と場所がダイアログボックスに表示されます。 @@ -401,7 +401,7 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single プロジェクトに依存関係を追加するには、**追加** をクリックします。 - プロジェクトパッケージフォルダーの隣 (デフォルトの場所) にあるコンポーネントを選択すると、[**dependencies.json**](#dependenciesjson)ファイル内で宣言されます。 -- プロジェクトのパッケージフォルダーの隣にないコンポーネントを選択した場合、そのコンポーネントは [**dependencies.json**](#dependenciesjson) ファイルで宣言され、そのパスも [**environment4d.json**](#environment4djson) ファイルで宣言されます (注記参照)。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 +- プロジェクトのパッケージフォルダーの隣にないコンポーネントを選択した場合、そのコンポーネントは [**dependencies.json**](#dependenciesjson) ファイルで宣言され、そのパスも [**environment4d.json**](#environment4djson) ファイルで宣言されます (注記参照)。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 :::note @@ -409,7 +409,7 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ::: -この依存関係は、[非アクティブな依存関係のリスト](#依存関係のステータス) に **Available after restart** (再起動後に利用可能) というステータスで追加されます。 このコンポーネントはアプリケーションの再起動後にロードされます。 このコンポーネントはアプリケーションの再起動後にロードされます。 +この依存関係は、[非アクティブな依存関係のリスト](#依存関係のステータス) に **Available after restart** (再起動後に利用可能) というステータスで追加されます。 このコンポーネントはアプリケーションの再起動後にロードされます。 ### GitHubの依存関係の追加 @@ -417,11 +417,11 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ![dependency-add-git](../assets/en/Project/dependency-add-git.png) -依存関係の GitHubリポジトリのパスを入力します。 **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: +依存関係の GitHubリポジトリのパスを入力します。 **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: ![dependency-add-git-2](../assets/en/Project/dependency-add-git-2.png) -接続が確立されると、入力エリアの右側に GitHubアイコン ![dependency-gitlogo](../assets/en/Project/dependency-gitlogo.png) が表示されます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 +接続が確立されると、入力エリアの右側に GitHubアイコン ![dependency-gitlogo](../assets/en/Project/dependency-gitlogo.png) が表示されます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 :::note @@ -540,24 +540,24 @@ To provide your GitHub access token, you can either: ![dependency-add-token-2](../assets/en/Project/dependency-add-token-2.png) -パーソナルアクセストークンは 1つしか入力できません。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 +パーソナルアクセストークンは 1つしか入力できません。 入力されたトークンは編集することができます。 The provided token is stored in a **github.json** file in the [active 4D folder](../commands-legacy/get-4d-folder.md#active-4d-folder). ### 依存関係の削除 -依存関係パネルから依存関係を削除するには、対象の依存関係を選択し、パネルの **-** ボタンをクリックするか、コンテキストメニューから **依存関係の削除...** を選択します。 依存関係は複数選択することができ、その場合、操作は選択したすべての依存関係に適用されます。 依存関係は複数選択することができ、その場合、操作は選択したすべての依存関係に適用されます。 +依存関係パネルから依存関係を削除するには、対象の依存関係を選択し、パネルの **-** ボタンをクリックするか、コンテキストメニューから **依存関係の削除...** を選択します。 依存関係は複数選択することができ、その場合、操作は選択したすべての依存関係に適用されます。 :::note -依存関係パネルを使用して削除できるのは、[**dependencies.json**](#dependenciesjson) ファイルで宣言されている依存関係に限られます。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 +依存関係パネルを使用して削除できるのは、[**dependencies.json**](#dependenciesjson) ファイルで宣言されている依存関係に限られます。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 ::: -確認用のダイアログボックスが表示されます。 確認用のダイアログボックスが表示されます。 確認用のダイアログボックスが表示されます。 確認用のダイアログボックスが表示されます。 依存関係が **environment4d.json** ファイルで宣言されている場合、以下のオプションでそれを削除することができます: +確認用のダイアログボックスが表示されます。 依存関係が **environment4d.json** ファイルで宣言されている場合、以下のオプションでそれを削除することができます: ![dependency-remove](../assets/en/Project/remove-comp.png) -ダイアログボックスを確定すると、削除された依存関係の [ステータス](#依存関係のステータス) には "Unloaded after restart" (再起動時にアンロード) フラグが自動的に付きます。 このコンポーネントはアプリケーションの再起動時にアンロードされます。 このコンポーネントはアプリケーションの再起動時にアンロードされます。 +ダイアログボックスを確定すると、削除された依存関係の [ステータス](#依存関係のステータス) には "Unloaded after restart" (再起動時にアンロード) フラグが自動的に付きます。 このコンポーネントはアプリケーションの再起動時にアンロードされます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md index 11d6285153df40..43e4164610c4ab 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md @@ -43,7 +43,7 @@ POST リクエストのボディに関数に渡す引数を含めます: `["mypa :::note -`SingletonClassFunction()` 関数を `GET` で呼び出し可能にするためには、この関数は `onHTTPGet` キーワードで宣言されている必要があります([関数の設定](ClassFunctions#関数の設定) を参照して下さい)。 +The `SingletonClassFunction()` function must have been declared with the `onHTTPGet` keyword to be callable with `GET` (see [Function configuration](ClassFunctions#function-configuration)). ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md index a93094fa52be04..bf98fb587668af 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md @@ -50,7 +50,7 @@ POST リクエストのボディに関数に渡す引数を含めます: `["Agua :::note -`getCity()` 関数は、 `onHTTPGet` キーワードを使用して宣言されている必要があります(以下の[関数の設定](#関数の設定) を参照して下さい)。 +The `getCity()` function must have been declared with the `onHTTPGet` keyword (see [Function configuration](#function-configuration) below). ::: @@ -74,10 +74,10 @@ exposed Function getSomeInfo() : 4D.OutgoingMessage ### `onHTTPGet` -HTTP `GET` リクエストから呼び出すことのできる関数は、[`onHTTPGet` キーワード](../ORDA/ordaClasses.md#onHTTPGet-キーワード) も使用して明確に宣言されていなければなりません。 例: +Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). 例: ```4d -// GET リクエストを許可する +//allowing GET requests exposed onHTTPGet Function getSomeInfo() : 4D.OutgoingMessage ``` diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/WebServer/authentication.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/WebServer/authentication.md index d23859cada3257..77d100dce15f1d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/WebServer/authentication.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/WebServer/authentication.md @@ -23,7 +23,7 @@ Webユーザーに特定のアクセス権を与えるには、ユーザーを ### カスタムの認証 (デフォルト) -このモードでは基本的に、ユーザーを認証する方法は開発者に委ねられています。 4D only evaluates HTTP requests [that require an authentication](#database-method-calls). +このモードでは基本的に、ユーザーを認証する方法は開発者に委ねられています。 4Dは、[認証を必要とする](#データベースメソッドの呼び出し) HTTPリクエストのみを評価します。 この認証モードは最も柔軟性が高く、以下のことが可能です: @@ -38,7 +38,7 @@ ds.webUser.save() "はじめに" の章の [例題](gettingStarted.md#ユーザー認証) も参照ください。 -カスタム認証が提供されていない場合、4D は [`On Web Authentication`](#on-web-authentication) データベースメソッドを呼び出します (あれば)。 In addition to $urll and $content, only the IP addresses of the browser and the server ($IPClient and $IPServer) are provided, the user name and password ($user and $password) are empty. ユーザー認証が成功した場合、このメソッドは $0 に **True** を返さなければなりません。この場合、リクエストされたリソースが提供されます。認証が失敗した場合には、$0 に **False** を返します。 +カスタム認証が提供されていない場合、4D は [`On Web Authentication`](#on-web-authentication) データベースメソッドを呼び出します (あれば)。 $urll と $content に加えて、ブラウザーとサーバーの IPアドレス ($IPClient と$IPServer) のみが提供され、ユーザー名とパスワード ($user と $password) は空です。 ユーザー認証が成功した場合、このメソッドは $0 に **True** を返さなければなりません。この場合、リクエストされたリソースが提供されます。認証が失敗した場合には、$0 に **False** を返します。 > **警告:** `On Web Authentication` データベースメソッドが存在しない場合、接続は自動的に受け入れられます (テストモード)。 @@ -61,7 +61,7 @@ ds.webUser.save() DIGESTモードはより高いセキュリティレベルを提供します。認証情報は復号が困難な一方向ハッシュを使用して処理されます。 -BASICモードと同様に、ユーザーは接続時に自分の名前とパスワードを入力する必要があります。 その後、[`On Web Authentication`](#on-web-authentication) データベースメソッドが呼び出されます。 When the DIGEST mode is activated, the $password parameter (password) is always returned empty. 実際このモードを使用するとき、この情報はネットワークからクリアテキスト (平文) では渡されません。 この場合、接続リクエストは `WEB Validate digest` コマンドを使用して検証しなければなりません。 +BASICモードと同様に、ユーザーは接続時に自分の名前とパスワードを入力する必要があります。 その後、[`On Web Authentication`](#on-web-authentication) データベースメソッドが呼び出されます。 DIGESTモードが有効の時、$password 引数 (パスワード) は常に空の文字列が渡されます。 実際このモードを使用するとき、この情報はネットワークからクリアテキスト (平文) では渡されません。 この場合、接続リクエストは `WEB Validate digest` コマンドを使用して検証しなければなりません。 > これらのパラメーターの変更を反映させるためには、Webサーバーを再起動する必要があります。 @@ -77,14 +77,14 @@ BASICモードと同様に、ユーザーは接続時に自分の名前とパス - Webサーバーが、存在しないリソースを要求する URL を受信した場合 - Webサーバーが `4DACTION/`, `4DCGI/` ... で始まる URL を受信した場合 -- when the web server receives a root access URL and no home page has been set in the Settings or by means of the [`WEB SET HOME PAGE`](../commands-legacy/web-set-home-page.md) command +- Webサーバーがルートアクセス URL を受信したが、ストラクチャー設定または [`WEB SET HOME PAGE`](../commands-legacy/web-set-home-page.md) コマンドでホームページが設定されていないとき - Webサーバーが、セミダイナミックページ内でコードを実行するタグ (`4DSCRIPT`など) を処理した場合。 次の場合には、`On Web Authentication` データベースメソッドは呼び出されません: - Webサーバーが有効な静的ページを要求する URL を受信したとき。 -- when the web server receives a URL beginning with `rest/` and the REST server is launched (in this case, the authentication is handled through the [`ds.authentify` function](../REST/authUsers#force-login-mode) or (deprecated) the `On REST Authentication` database method or Structure settings. -- when the web server receives a URL with a pattern triggering a [custom HTTP Request Handler](http-request-handler.md). +- Webサーバーが `rest/` で始まる URL を受信し、RESTサーバーが起動しているとき (この場合、認証は[`ds.authentify` 関数](../REST/authUsers#強制ログインモード) または `On REST Authentication` データベースメソッド(非推奨)またはストラクチャー設定によって処理されます)。 +- Web サーバーが、[カスタムのHTTP リクエストハンドラー](http-request-handler.md)をトリガーするパターンを持ったURL を受信したとき。 ### シンタックス diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md index 86fffc80a746bf..da692a013e23eb 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md @@ -243,7 +243,7 @@ HTTP リクエストハンドラーコードは、[**共有された**](../Conce :::note -[`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) または [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) キーワードを使用してリクエストハンドラー関数を外部REST 呼び出しへと公開することは**推奨されていません**。 +It is **not recommended** to expose request handler functions to external REST calls using [`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) or [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keywords. ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/assets/en/ViewPro/vpFormEvents.md.backup b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/assets/en/ViewPro/vpFormEvents.md.backup index 502c42e670883a..78e6cb20e1819a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/assets/en/ViewPro/vpFormEvents.md.backup +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/assets/en/ViewPro/vpFormEvents.md.backup @@ -1,10 +1,10 @@ --- id: vpFormEvents -title: 4D View Pro Form Events +title: 4D View Pro フォームイベント --- 4D View Pro エリアのプロパティリスト内では、以下のフォームイベントが利用可能です: ![](vpFormEvents.PNG) -一部のイベントは (すべてのアクティブオブジェクトで利用可能な) 標準のフォームイベントであり、一部は 4D View Pro 専用のフォームイベントです。 一部の4D View Pro フォームイベントは、4D View Pro エリア内でイベントが生成された場合には、`FORM Event` コマンドによって返されるオブジェクト内には追加の情報が提供されます。 The following table shows which events are standard and which are specific 4D View Pro form events: \ No newline at end of file +一部のイベントは (すべてのアクティブオブジェクトで利用可能な) 標準のフォームイベントであり、一部は 4D View Pro 専用のフォームイベントです。 一部の4D View Pro フォームイベントは、4D View Pro エリア内でイベントが生成された場合には、`FORM Event` コマンドによって返されるオブジェクト内には追加の情報が提供されます。 以下の表示には、どのフォームイベントが他のオブジェクトと共通で、どのフォームイベントが 4D View Pro エリアに特有のものであるのかが示されています: \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/listbox-get-cell-coordinates.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/listbox-get-cell-coordinates.md index 0b34b0772f7764..55f661c69e7088 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/listbox-get-cell-coordinates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/listbox-get-cell-coordinates.md @@ -39,7 +39,7 @@ displayed_sidebar: docs リストボックス内の選択されたセルの周りに赤い長方形を描画する場合を考えます: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //赤い長方形を初期化 + OBJECT SET VISIBLE(*;"RedRect";False) //赤い長方形を初期化   //長方形はフォーム内のどこかに既に定義済み  LISTBOX GET CELL POSITION(*;"LB1";$col;$row)  LISTBOX GET CELL COORDINATES(*;"LB1";$col;$row;$x1;$y1;$x2;$y2) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md index 378728a8fb82fa..95ad466c935b90 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ displayed_sidebar: docs リストボックスのオブジェクトメソッドにおいて、以下の様に記述します: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //赤い四角を初期化 + OBJECT SET VISIBLE(*;"RedRect";False) //赤い四角を初期化  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md index 3b2191bdfdaf0f..e84ffb8a2d9a07 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## 説明 -Printing pageは、印刷中のページ番号を返します。このコマンドは、[PRINT SELECTION](print-selection.md "PRINT SELECTION")コマンドまたはデザインモードのプリント...メニューの選択によって印刷する場合にのみ使用することができます。 +Printing pageは、印刷中のページ番号を返します。 ## 例題 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/compile-project.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/compile-project.md index 1a3ad03aae26ec..7603408bc9e02d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/compile-project.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/compile-project.md @@ -39,9 +39,9 @@ displayed_sidebar: docs **注:** このコマンドを使用してバイナリーデータベースをコンパイルすることはできません。 -コンパイラウィンドウとは異なり、このコマンドではコンパイルするコンポーネントを明示的に指定する必要があります。 **Compile project** でプロジェクトをコンパイルする場合、*options* 引数の*components* プロパティを使用してそのコンポーネントを宣言する必要があります。 なお、そのコンポーネントは既にコンパイルされている必要があるという点に注意してください(バイナリーコンポーネントはサポートされます)。 **Compile project** でプロジェクトをコンパイルする場合、*options* 引数の*components* プロパティを使用してそのコンポーネントを宣言する必要があります。 なお、そのコンポーネントは既にコンパイルされている必要があるという点に注意してください(バイナリーコンポーネントはサポートされます)。 +コンパイラウィンドウとは異なり、このコマンドではコンパイルするコンポーネントを明示的に指定する必要があります。 **Compile project** でプロジェクトをコンパイルする場合、*options* 引数の*components* プロパティを使用してそのコンポーネントを宣言する必要があります。 なお、そのコンポーネントは既にコンパイルされている必要があるという点に注意してください(バイナリーコンポーネントはサポートされます)。 -コンパイルされたコードは、*options* 引数の*targets* プロパティでの指定によって、DerivedData または Libraries フォルダに格納されています。 コンパイルされたコードは、*options* 引数の*targets* プロパティでの指定によって、DerivedData または Libraries フォルダに格納されています。 +コンパイルされたコードは、*options* 引数の*targets* プロパティでの指定によって、DerivedData または Libraries フォルダに格納されています。 .4dz ファイルを作成したい場合でも、コンパイルされたプロジェクトを手動でZIP圧縮するか、[ビルドアプリケーション](../Desktop/building.md) 機能を使用する必要があります。 *targets* プロパティに空のコレクションを渡した場合、**Compile project** コマンドはコンパイルせずにシンタックスチェックを実行します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/ds.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/ds.md index 57ca5abd212abd..d37b7daa48f48b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/ds.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/ds.md @@ -19,9 +19,9 @@ displayed_sidebar: docs `ds` コマンドは、カレントの 4Dデータベース、または *localID* で指定したデータベースに合致するデータストアの参照を返します。 -*localID* を省略した (または空の文字列 "" を渡した) 場合には、ローカル4Dデータベース (4D Server でリモートデータベースを開いている場合にはそのデータベース) に合致するデータストアの参照を返します。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 +*localID* を省略した (または空の文字列 "" を渡した) 場合には、ローカル4Dデータベース (4D Server でリモートデータベースを開いている場合にはそのデータベース) に合致するデータストアの参照を返します。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 -開かれているリモートデータストアのローカルIDを *localID* パラメーターに渡すと、その参照を取得できます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 +開かれているリモートデータストアのローカルIDを *localID* パラメーターに渡すと、その参照を取得できます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 > ローカルIDのスコープは、当該データストアを開いたデータベースです。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/form-edit.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/form-edit.md index f1bbbd6a4f7f24..3f85abc61839b6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/form-edit.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/form-edit.md @@ -62,7 +62,7 @@ displayed_sidebar: docs ## 参照 -[Design Object Access Commands](../commands/theme/Design_Object_Access.md) +[デザインオブジェクトアクセスコマンド](../commands/theme/Design_Object_Access.md) ## プロパティ diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md index 04f31b37f32404..097eda5af0b378 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md @@ -37,8 +37,8 @@ displayed_sidebar: docs イベントオブジェクトには、イベントが発生したオブジェクト によっては追加のプロパティが含まれていることがあります。 これは以下のオブジェクトで生成された *eventObj* オブジェクトが対象です: -- List box or list box column objects, see [this section](../FormObjects/listbox_overview.md#additional-properties). -- 4D View Pro areas, see [On VP Ready form event](../Events/onVpReady.md). +- リストボックスまたはリストボックスカラムオブジェクト。詳細は[こちらの章](../FormObjects/listbox_overview.md#追加プロパティ)を参照してください。 +- 4D View Pro エリア。詳細は[On VP Ready フォームイベント](../Events/onVpReady.md) を参照してください。 ***注意:*** カレントのイベントが何もない場合、**FORM Event** はnull オブジェクトを返します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/formula.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/formula.md index 00869ab24a23ed..b67964c3078dca 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/formula.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/formula.md @@ -34,7 +34,7 @@ displayed_sidebar: docs 返されたフォーミュラは以下の方法で呼び出すことが可能です: - [`.call()`](../API/FunctionClass.md#call) あるいは [`.apply()`](../API/FunctionClass.md#apply) 関数 -- object notation syntax (see [formula object](../commands/formula.md-object)). +- オブジェクト記法シンタックス ([Formula オブジェクト](../commands/formula.md-object) 参照) ```4d var $f : 4D.Function @@ -47,7 +47,7 @@ displayed_sidebar: docs $o.myFormula() // 3 を返します ``` -You can pass [parameters](../API/FunctionClass.md#passing-parameters) to the `Formula`, as seen below in [example 4](#example-4). +以下の[例題4](#例題-4)にあるように、`Formula` には[引数](../API/FunctionClass.md#引数を渡す)を渡すことが可能です。 フォーミュラの実行対象となるオブジェクトを指定することができます ([例題5](#例題-5) 参照)。 このオブジェクトのプロパティは、 `This` コマンドでアクセス可能です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md index 7b04b5814b00c9..62887e306c2f26 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md @@ -21,7 +21,7 @@ displayed_sidebar: docs ## 説明 -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** は、*aTable* のフィールドや変数の現在の値を使用して *form* 引数で指定したフォームを印刷します。 通常は、印刷処理を完全に制御する必要のある非常に複雑なレポートを印刷するために使用します。 **Print form** はレコード処理、ブレーク処理、改ページ処理を全く行いません。 これらの処理はすべて開発者が行います。 **Print form** は固定されたサイズの枠のなかにフィ-ルドや変数を印刷します。 +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*.**Print form** コマンドは、*aTable* のフィールドや変数の現在の値を使用して *form* 引数で指定したフォームを印刷します。 通常は、印刷処理を完全に制御する必要のある非常に複雑なレポートを印刷するために使用します。 **Print form** はレコード処理、ブレーク処理、改ページ処理を全く行いません。 これらの処理はすべて開発者が行います。 **Print form** は固定されたサイズの枠のなかにフィ-ルドや変数を印刷します。 *form* 引数には、以下のいづれかを渡すことができます: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md index 15403a48c0b623..d95ccc693a7335 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## 説明 -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` コマンドは第一引数 *name* または *id* に渡した名前またはID を持つプロセスの番号を返します。 プロセスが見つからない場合、`Process number` は0 を返します。 +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` コマンドは第一引数 *name* または *id* に渡した名前またはID を持つプロセスの番号を返します。 プロセスが見つからない場合、`Process number` は0 を返します。 オプションの \* 引数を渡すと、サーバー上で実行中のプロセス番号をリモートの 4D から取得することができます。 この場合、返される値は負の値になります。 このオプションは特に[GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md)、 [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) および [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md) コマンドを使用する場合などに有用です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/session.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/session.md index 87c0e9c4aba544..1f014a7e3bac76 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/session.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/commands/session.md @@ -30,7 +30,7 @@ displayed_sidebar: docs コマンドを呼び出したプロセスによって、カレントユーザーセッションは次のいずれかです: -- a web session (when [scalable sessions are enabled](WebServer/sessions.md#enabling-web-sessions)), +- Web セッション([スケーラブルセッションが有効化されている](WebServer/sessions.md#webセッションの有効化) 場合) - リモートクライアントセッション - ストアドプロシージャセッション - スタンドアロンアプリケーションの*designer* セッション diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md index ede44fe1b1022b..a4c52c218a01d9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/settings/compatibility.md @@ -19,9 +19,9 @@ title: 互換性ページ 標準的なものでなくとも、コードが以前と同じように動くように以前の機能を保ちたい場合もあるかもしれません。その場合、この *チェックを外して* ください。 その一方で、これらの非標準の実装をコード内で使用しておらず、拡張された XPath 機能 ([DOM Find XML element](https://doc.4d.com/4dv19R/help/command/ja/page864.html) コマンドの説明参照) をデータベース内で利用したい場合、この **標準のXPathを使用** オプションが *チェックされている* ことを確認してください。 -- **macOSにて改行コードとしてLFを使用する:** 4D v19 R2 以降 (XMLファイルについては 4D v19 R3 以降) の新規プロジェクトにおいて、4D は macOS でデフォルトの改行コード (EOL) として CR (xml SAX では CRLF) ではなくラインフィード (LF) をテキストファイルに書き込みます。 以前の 4D のバージョンから変換されたデータベースにおいてこの新しい振る舞いを利用したい場合には、このオプションをチェックしてください。 See [`TEXT TO DOCUMENT`](https://doc.4d.com/4dv20/help/command/en/page1237.html), [`Document to text`](https://doc.4d.com/4dv19R/help/command/en/page1236.html), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- **macOSにて改行コードとしてLFを使用する:** 4D v19 R2 以降 (XMLファイルについては 4D v19 R3 以降) の新規プロジェクトにおいて、4D は macOS でデフォルトの改行コード (EOL) として CR (xml SAX では CRLF) ではなくラインフィード (LF) をテキストファイルに書き込みます。 以前の 4D のバージョンから変換されたデータベースにおいてこの新しい振る舞いを利用したい場合には、このオプションをチェックしてください。 See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). -- **Unicodeテキストファイルに書き込んでいる際にデフォルトでBOMを追加しない:** 4D v19 R2 以降 (XMLファイルについては 4D v19 R3 以降)、4D はデフォルトでバイトオーダーマーク (BOM) なしでテキストファイルに書き込みます。 以前のバージョンでは、テキストファイルはデフォルトでBOM 付きで書き込まれていました。 変換されたプロジェクトでこの新しい振る舞いを有効化するには、このオプションを選択します。 See [`TEXT TO DOCUMENT`](https://doc.4d.com/4dv20/help/command/en/page1237.html), [`Document to text`](https://doc.4d.com/4dv20/help/command/en/page1236.html), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- **Unicodeテキストファイルに書き込んでいる際にデフォルトでBOMを追加しない:** 4D v19 R2 以降 (XMLファイルについては 4D v19 R3 以降)、4D はデフォルトでバイトオーダーマーク (BOM) なしでテキストファイルに書き込みます。 以前のバージョンでは、テキストファイルはデフォルトでBOM 付きで書き込まれていました。 変換されたプロジェクトでこの新しい振る舞いを有効化するには、このオプションを選択します。 See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). - **フィールド作成時にデフォルトで"ヌル値を空値にマップ"オプションのチェックを外す:** ORDA の仕様により合致するために、4D v19 R4 以降で作成されたデータベースにおいては、フィールド作成時に **ヌル値を空値にマップ** フィールドプロパティがデフォルトでチェックされなくなります。 このオプションにチェックを入れることで、変換されたデータベースにおいてもこのデフォルトの振る舞いを適用することができます ([ORDA](../ORDA/overview.md) で NULL値がサポートされるようになったため、今後は空値ではなく NULL値の使用が推奨されます)。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/settings/php.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/settings/php.md index 6fff1dae855378..a95c58bb4243ea 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/settings/php.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R8/settings/php.md @@ -7,7 +7,7 @@ title: PHP ページ :::note -これらの設定は、接続されているすべてのマシンとすべてのセッションに対して適用されます。 You can also modify and read them separately for each machine and each session using the [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](https://doc.4d.com/4dv20/help/command/en/page643.html) commands. `SET DATABASE PARAMETER` コマンドで変更された値はカレントセッションにおいて優先されます。 +これらの設定は、接続されているすべてのマシンとすべてのセッションに対して適用されます。 You can also modify and read them separately for each machine and each session using the [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands. `SET DATABASE PARAMETER` コマンドで変更された値はカレントセッションにおいて優先されます。 ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md index c1599afc5d5cca..5a3949ed135330 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/DataStoreClass.md @@ -461,12 +461,12 @@ $hasModifications:=($currentStamp # ds.getGlobalStamp()) リモートデータストアの場合: ```4d - var $remoteDS : cs.DataStore - var $info; $connectTo : Object + var $remoteDS : 4D.DataStoreImplementation +var $info; $connectTo : Object - $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") - $remoteDS:=Open datastore($connectTo;"students") - $info:=$remoteDS.getInfo() +$connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") +$remoteDS:=Open datastore($connectTo;"students") +$info:=$remoteDS.getInfo() //{"type":"4D Server", //"localID":"students", @@ -1123,7 +1123,7 @@ SET DATABASE PARAMETER(4D Server Log Recording;0) ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md index 114f77e9c25d81..b9ad479ce4d779 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md @@ -615,15 +615,14 @@ vCompareResult1 (すべての差異が返されています): -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any -| 引数 | 型 | | 説明 | -| ---- | ------- | :-------------------------: | ------------------------------------------------------------------------ | -| mode | Integer | -> | `dk key as string`: プライマリーキーの型にかかわらず、プライマリーキーを文字列として返します | -| 戻り値 | Text | <- | エンティティのテキスト型プライマリーキーの値 | -| 戻り値 | Integer | <- | エンティティの数値型プライマリーキーの値 | +| 引数 | 型 | | 説明 | +| ---- | ------- | :-------------------------: | --------------------------------------------------------------------------- | +| mode | Integer | -> | `dk key as string`: プライマリーキーの型にかかわらず、プライマリーキーを文字列として返します | +| 戻り値 | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1641,11 +1640,11 @@ employeeObject:=employeeSelected.toObject("directReports.*") #### 説明 `.touched()` 関数は、 -エンティティがメモリに読み込まれてから、あるいは保存されてから、エンティティ属性が変更されたかどうかをテストします。 +エンティティがメモリに読み込まれてから、あるいは保存されてから、少なくとも1つのエンティティ属性が変更されていた場合にはTrue を返します。 この関数を使用することで、エンティティを保存する必要があるかどうかを確認することができます。 -属性が更新あるいは計算されていた場合、関数は true を返し、それ以外は false を返します。 この関数を使用することで、エンティティを保存する必要があるかどうかを確認することができます。 +これは属性の[`kind`](DataClassClass.md#返されるオブジェクト) が"storage" あるいは "relatedEntity" である属性のみに適用されます。 -この関数は、( [`.new( )`](DataClassClass.md#new) で作成された) 新規エンティティに対しては常に false を返します。 ただし、エンティティの属性を計算する関数を使用した場合には、`.touched()` 関数は true を返します。 たとえば、プライマリーキーを計算するために [`.getKey()`](#getkey) を呼び出した場合、`.touched()` メソッドは true を返します。 +[`.new()`](DataClassClass.md#new) を使用して新規に作成したばかりの新しいエンティティについては、この関数はFalse を返します。 しかしながら、このコンテキストにおいて[`autoFilled` プロパティ](./DataClassClass.md#返されるオブジェクト) がTrue である属性にアクセスすると、`.touched()` 関数はTrue を返します。 例えば、新しいエンティティに対して`$id:=ds.Employee.ID` を実行すると (ID 属性に "自動インクリメント" プロパティが設定されていると仮定)、`.touched()` は True を返します。 #### 例題 @@ -1689,7 +1688,7 @@ employeeObject:=employeeSelected.toObject("directReports.*") `.touchedAttributes()` 関数は、メモリに読み込み後に変更されたエンティティの属性名を返します。 -この関数は、種類 ([kind](DataClassClass.md#attributename)) が `storage` あるいは `relatedEntity` である属性に適用されます。 +これは属性の[`kind`](DataClassClass.md#返されるオブジェクト) が"storage" あるいは "relatedEntity" である属性のみに適用されます。 リレート先のエンティティそのものが更新されていた場合 (外部キーの変更)、リレートエンティティの名称とそのプライマリーキー名が返されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md index 90e537d66138e0..f526476c8c7568 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md @@ -590,7 +590,7 @@ $fhandle:=$f.open("read") `.setAppInfo()` 関数は、 *info* に渡したプロパティをアプリケーションファイルの情報として書き込みます。 -この関数は存在している、以下のサポートされているファイル形式のファイルに対して使用されなければなりません: **.plist** (全プラットフォーム)、**.exe**/**.dll** (Windows)、あるいは **macOS 実行ファイル**。 ファイルがディスク上に存在しない、または、サポートされているファイルでない場合、この関数は何もしません (エラーは生成されません)。 +この関数は存在している、以下のサポートされているファイル形式のファイルに対して使用されなければなりません: **.plist** (全プラットフォーム)、**.exe**/**.dll** (Windows)、あるいは **macOS 実行ファイル**。 If used with another file type or with *.exe*\*/**.dll** files that do not already exist on disk, the function does nothing (no error is generated). **.plist ファイル用の*info* オブジェクト (全プラットフォーム)** @@ -600,9 +600,11 @@ $fhandle:=$f.open("read") ::: -*info* オブジェクトに設定された各プロパティは .plist ファイルにキーとして書き込まれます。 あらゆるキーの名称が受け入れられます。 値の型は可能な限り維持されます。 +もし .plist ファイルがディスク上に既に存在する場合、それは更新されます。 そうでない場合には、作成されます。 -*info* に設定されたキーが .plist ファイル内ですでに定義されている場合は、その値が更新され、元の型が維持されます。 .plist ファイルに既存のそのほかのキーはそのまま維持されます。 +*info* オブジェクト引数内に設定されたそれぞれの有効なプロパティは、 .plist ファイル内にキーとして書き込まれます。 あらゆるキーの名称が受け入れられます。 値の型は可能な限り維持されます。 + +*info* 引数内に設定されたキーが.plist ファイル内に既に定義されていた場合には、元の型を保ったまま値が更新されます。 .plist ファイルに既存のそのほかのキーはそのまま維持されます。 :::note @@ -610,9 +612,9 @@ $fhandle:=$f.open("read") ::: -**.exe または .dll ファイル用の *info* パラメーター(Windowsのみ)** +**.exe または .dll ファイル用の*info* オブジェクト(Windows のみ)** -*info* オブジェクトに設定された各プロパティは .exe または .dll ファイルのバージョンリソースに書き込まれます。 以下のプロパティが使用できます (それ以外のプロパティは無視されます): +*info* オブジェクト引数内に設定されているそれぞれの有効なプロパティは、.exe あるいは .dll ファイルのバージョンリソースに書き込まれます。 以下のプロパティが使用できます (それ以外のプロパティは無視されます): | プロパティ | 型 | 説明 | | ---------------- | ---- | -------------------------------------------------------------------- | @@ -626,15 +628,15 @@ $fhandle:=$f.open("read") | OriginalFilename | Text | | | WinIcon | Text | .icoファイルの Posixパス。 このプロパティは、4D が生成した実行ファイルにのみ適用されます。 | -`WinIcon` を除くすべてのプロパティにおいて、値として null または空テキストを渡すと、空の文字列がプロパティに書き込まれます。 テキストでない型の値を渡した場合には、文字列に変換されます。 +`WinIcon` を除き全てのプロパティにおいて、値としてnull または空の文字列を渡した場合、プロパティには空の文字列が書き込まれます。 テキストでない型の値を渡した場合には、文字列に変換されます。 -`WinIcon` プロパティにおいては、アイコンファイルが存在しないか、フォーマットが正しくない場合、エラーが発生します。 +`WinIcon` プロパティにおいては、ファイルが存在しない、または不正なフォーマットだった場合にはエラーが生成されます。 **macOS 実行ファイル用の *info* パラメーター(macOSのみ)** -*info* オブジェクトは、[`getAppInfo()`](#getappinfo) から返されるフォーマットのオブジェクトのコレクションである、`archs` という単一のプロパティのみを持つ構造でなければなりません。 各オブジェクトは少なくとも`type` および `uuid` プロパティを格納していなければなりません(`name` は使用されません)。 +*info* オブジェクトは単一の`archs` という名前のプロパティを持ち、そのコレクションの中に[`getAppInfo()`](#getappinfo) から返されるフォーマットのオブジェクトを格納していなければなりません。 それぞれのオブジェクトには、少なくとも`type` および `uuid` プロパティが格納されている必要があります(`name` は使用されません)。 -つまり、*info*.archs コレクション内のすべてのオブジェクトは、以下のプロパティを持っている必要があります: +*info*.archs コレクション内のそれぞれのオブジェクトは、以下のプロパティを格納していなければなりません: | プロパティ | 型 | 説明 | | ----- | ------ | -------------------- | @@ -644,22 +646,22 @@ $fhandle:=$f.open("read") #### 例題 1 ```4d - // info.plist ファイルのキーをいくつか設定します (すべてのプラットフォーム) + // info.plist ファイル内のキーを一部設定する(全プラットフォーム用) var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") $info:=New object -$info.Copyright:="Copyright 4D 2023" // テキスト -$info.ProductVersion:=12 // 整数 -$info.ShipmentDate:="2023-04-22T06:00:00Z" // タイムスタンプ -$info.CFBundleIconFile:="myApp.icns" // macOS 用 +$info.Copyright:="Copyright 4D 2023" //テキスト +$info.ProductVersion:=12 //整数 +$info.ShipmentDate:="2023-04-22T06:00:00Z" //タイムスタンプ +$info.CFBundleIconFile:="myApp.icns" //macOS用 $infoPlistFile.setAppInfo($info) ``` #### 例題 2 ```4d - // .exe ファイルの著作権、バージョン、およびアイコン情報を設定します (Windows) + // .exe ファイルに対して著作権、バージョン、およびアイコンを設定する(Windows用) var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file; fk platform path) @@ -674,18 +676,18 @@ $exeFile.setAppInfo($info) #### 例題 3 ```4d -// アプリケーションのUUIDを再生成する(macOS) +// アプリケーションのUUIDを再生成する (macOS) -// myApp のUUIDを読み出す +// myApp UUIDを読み出す var $app:=File("/Applications/myApp.app/Contents/MacOS/myApp") var $info:=$app.getAppInfo() -// すべてのアーキテクチャー用にUUIDを再生成 +// 全てのアーキテクチャー用にUUIDを再生成する For each ($i; $info.archs) $i.uuid:=Generate UUID End for each -// アプリを新しいUUIDに更新する +// 新しいUUID でアプリを更新する $app.setAppInfo($info) ``` @@ -758,7 +760,7 @@ $app.setAppInfo($info) `.setText()` 関数は、*text* に渡されたテキストをファイルの新しいコンテンツとして書き込みます。 -`File` オブジェクトで参照されているファイルがディスク上に存在しない場合、このメソッドがそのファイルを作成します。 ディスク上にファイルが存在する場合、ファイルが開かれている場合を除き、以前のコンテンツは消去されます。 ファイルが開かれている場合はコンテンツはロックされ、エラーが生成されます。 +`File` オブジェクトで参照されているファイルがディスク上に存在しない場合、この関数がそのファイルを作成します。 ディスク上にファイルが存在する場合、ファイルが開かれている場合を除き、以前のコンテンツは消去されます。 ファイルが開かれている場合はコンテンツはロックされ、エラーが生成されます。 *text* には、ファイルに書き込むテキストを渡します。 テキストリテラル ("my text" など) のほか、4Dテキストフィールドや変数も渡せます。 @@ -771,7 +773,7 @@ $app.setAppInfo($info) 文字セットにバイトオーダーマーク (BOM) が存在し、かつその文字セットに "-no-bom" 接尾辞 (例: "UTF-8-no-bom") が含まれていない場合、4D は BOM をファイルに挿入します。 文字セットを指定しない場合、 4D はデフォルトで "UTF-8" の文字セットを BOMなしで使用します。 -*breakMode* には、ファイルを保存する前に改行文字に対しておこなう処理を指定する倍長整数を渡します。 **System Documents** テーマ内にある、以下の定数を使用することができます: +*breakMode* には、ファイルを保存する前に改行文字に対して行う処理を指定する整数を渡します。 **System Documents** テーマ内にある、以下の定数を使用することができます: | 定数 | 値 | 説明 | | ----------------------------- | - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -783,7 +785,7 @@ $app.setAppInfo($info) *breakMode* 引数を渡さなかった場合はデフォルトで、改行はネイティブモード (1) で処理されます。 -> **互換性に関する注記:** EOL (改行コード) および BOM の管理については、互換性オプションが利用可能です。 詳細はdoc.4d.com 上の[互換性ページ](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.ja.html) を参照してください。 +> **互換性に関する注記:** EOL (改行コード) および BOM の管理については、互換性オプションが利用可能です。 詳細については、doc.4d.com 上の[互換性ページ](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.ja.html)を参照してください。 #### 例題 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md index 40ccb99e15291a..cfa809758cfc4c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/OutgoingMessageClass.md @@ -5,7 +5,7 @@ title: OutgoingMessage `4D.OutgoingMessage` クラスを使うと、アプリケーションの関数が[REST リクエスト](../REST/REST_requests.md) に応答して返すメッセージを作成することができます。 レスポンスが`4D.OutgoingMessage` 型であった場合、REST サーバーはオブジェクトを返すのではなく、`OutgoingMessage` クラスのオブジェクトインスタンスを返します。 -通常、このクラスは、カスタムの[HTTP リクエストハンドラー関数](../WebServer/http-request-handler.md#関数の設定) またはHTTP GET リクエストを管理するようにデザインされた、[`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) キーワードで宣言された関数内で使用することができます。 このようなリクエストは、例えば、ファイルのダウンロード、画像の生成、ダウンロードなどの機能を実装するためや、ブラウザを介して任意のコンテンツタイプを受信するために使用されます。 +Typically, this class can be used in custom [HTTP request handler functions](../WebServer/http-request-handler.md#function-configuration) or in functions declared with the [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keyword and designed to handle HTTP GET requests. このようなリクエストは、例えば、ファイルのダウンロード、画像の生成、ダウンロードなどの機能を実装するためや、ブラウザを介して任意のコンテンツタイプを受信するために使用されます。 このクラスのインスタンスは4D Server 上にビルドされ、[4D REST サーバー](../REST/gettingStarted.md) によってのみブラウザに送信することができます。 このクラスを使用することで、HTTP 以外のテクノロジー(例: モバイルなど)を使用することができます。 このクラスを使用することで、HTTP 以外のテクノロジー(例: モバイルなど)を使用することができます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md index 884515b001f100..6ed2095e2263d5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md @@ -568,7 +568,7 @@ The HTTPリクエストログファ プロジェクトの設定ファイルに定義されているデフォルトの設定、または `WEB SET OPTION` コマンドで定義された設定 (ホストデータベースのみ) を使用して、Webサーバーは開始されます。 しかし、*settings* 引数を渡せば、Webサーバーセッションにおいてカスタマイズされた設定を定義することができます。 -[Web Server オブジェクト](../commands/web-server.md-object) の設定は、読み取り専用プロパティ ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)) を除いて、すべてカスタマイズ可能です。 +[Web Server オブジェクト](../commands/web-server.md-object) の設定は、読み取り専用プロパティ ([.isRunning](#isrunning), [.name](#name)、 [.openSSLVersion](#opensslversion)、 [.perfectForwardSecrecy](#perfectforwardsecrecy)、および [.sessionCookieName](#sessioncookiename)) を除いて、すべてカスタマイズ可能です。 カスタマイズされた設定は [`.stop()`](#stop) が呼び出されたときにリセットされます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Admin/dataExplorer.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Admin/dataExplorer.md index c207a3a4ba13d3..9fb7b3e7aef01c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Admin/dataExplorer.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Admin/dataExplorer.md @@ -75,7 +75,7 @@ title: データエクスプローラー ![alt-text](../assets/en/Admin/dataExplorer3.png) - 中央部には、**検索エリア** と **データグリッド** (選択されたデータクラスのエンティティのリスト) があります。 グリッドの各列は、データストアの属性を表します。 - - デフォルトでは、すべてのエンティティが表示されます。 検索エリアを使用して、表示されるエンティティをフィルターできます。 Two query modes are available: [Query on attributes](#query-on-attributes) (selected by default), and the [Advanced query with expression](#advanced-queries-with-expression). 対応するボタンをクリックして、クエリモードを選択します (**X** ボタンは、クエリエリアをリセットして、フィルターを停止します): + - デフォルトでは、すべてのエンティティが表示されます。 検索エリアを使用して、表示されるエンティティをフィルターできます。 クエリには2つのクエリモードがあります: [属性に基づくクエリ](#属性に基づくクエリ) (デフォルト)、および [式による高度なクエリ](#式による高度なクエリ) です。 対応するボタンをクリックして、クエリモードを選択します (**X** ボタンは、クエリエリアをリセットして、フィルターを停止します): ![alt-text](../assets/en/Admin/dataExplorer4b.png) - 選択されたデータクラスの名前は、データグリッドの上にタブとして追加されます。 これらのタブを使って、選択されたデータクラスを切り替えることができます。 参照されているデータクラスを削除するには、データクラス名の右に表示される "削除" アイコンをクリックします。 - 左側の属性のチェックを外すことで、表示されている列数を減らせます。 また、ドラッグ&ドロップでデータグリッドの列の位置を入れ替えることができます。 列のヘッダーをクリックすると、値に応じて [エンティティを並べ替える](#エンティティの並べ替え) ことができます (可能な場合)。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Admin/webAdmin.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Admin/webAdmin.md index 3f870ef0200f3c..81090d6fc2c115 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Admin/webAdmin.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Admin/webAdmin.md @@ -63,7 +63,7 @@ Web管理の設定ダイアログボックスを開くには、**ファイル #### WebAdmin サーバーをスタートアップ時に起動 -Check this option if you want the `WebAdmin` web server to be automatically launched when the 4D or 4D Server application starts ([see above](#launch-at-startup)). デフォルトでは、このオプションはチェックされていません。 +4D または 4D Server アプリケーションの起動時に `WebAdmin` Webサーバーを自動的に開始させるには、このオプションをチェックします ([前述参照](#自動スタートアップ))。 デフォルトでは、このオプションはチェックされていません。 #### ローカルホストでHTTP接続を受け入れる diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md index ae6a92c1e91a00..8fcc364640966d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md @@ -360,8 +360,8 @@ Class constructor ($name : Text ; $age : Integer) ``` ```4d -// In a project method -// You can instantiate an object +// プロジェクトメソッド内において +// クラスをインスタンス化することができます var $o : cs.MyClass $o:=cs.MyClass.new("John";42) // $o = {"name":"John";"age":42} @@ -511,7 +511,7 @@ $o.age:="Smith" // シンタックスチェックでエラー 両方の関数が定義されている場合、計算プロパティは **read-write** となります。 両方の関数が定義されている場合、計算プロパティは **read-write** となります。 `Function get` のみが定義されている場合、計算プロパティは**read-only** です。 この場合、コードがプロパティを変更しようとするとエラーが返されます。 `Function set` のみが定義されている場合、4D はプロパティの読み取り時に *undefined* を返します。 この場合、コードがプロパティを変更しようとするとエラーが返されます。 `Function set` のみが定義されている場合、4D はプロパティの読み取り時に *undefined* を返します。 -If the functions are declared in a [shared class](#shared-classes), you can use the `shared` keyword with them so that they could be called without [`Use...End use` structure](shared.md#useend-use). 詳細については、後述の [共有関数](#共有関数) の項目を参照ください。 +関数が[共有クラス](#共有クラス)で宣言されている場合、`shared` キーワードを使用することで、[`Use...End use` 構文](shared.md#useend-use)なしで呼び出せるようにすることができます。 詳細については、後述の [共有関数](#共有関数) の項目を参照ください。 計算プロパティの型は、*ゲッター* の `$return` の型宣言によって定義されます。 [有効なプロパティタイプ](dt_object.md) であれば、いずれも使用可能です。 [有効なプロパティタイプ](dt_object.md) であれば、いずれも使用可能です。 @@ -753,7 +753,7 @@ shared Function Bar($value : Integer) :::note - セッションシングルトンは、自動的に共有シングルトンとなります(クラスコンストラクターにおいて`shared` キーワードを使用する必要はありません)。 -- シングルトンの共有関数は、[`onHTTPGet` キーワード](../ORDA/ordaClasses.md#onhttpget-keyword) をサポートします。 +- シングルトンの共有関数は[`onHTTPGet` キーワード](../ORDA/ordaClasses.md#onhttpget-キーワード) をサポートします。 ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/data-types.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/data-types.md index f4626a7c3de781..72e19ff3c95192 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/data-types.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/data-types.md @@ -7,25 +7,25 @@ title: データタイプの概要 この2つはおおよそ同じものですが、データベースレベルで提供されているいくつかのデータタイプはランゲージにおいては直接利用可能ではなく、自動的に適宜変換されます。 同様に、いくつかのデータタイプはランゲージでしか利用できません。 各場所で利用可能なデータタイプと、ランゲージでの宣言の仕方の一覧です: -| データタイプ | データベース | ランゲージ | [`var` declaration](variables.md) | [`ARRAY` 宣言](arrays.md) | -| ----------------------------------------------------- | -------------------------- | -------- | --------------------------------- | ----------------------- | -| [文字列](dt_string.md) | ◯ | テキストに変換 | - | - | -| [テキスト](Concepts/dt_string.md) | ◯ | ◯ | `Text` | `ARRAY TEXT` | -| [日付](Concepts/dt_date.md) | ◯ | ◯ | `Date` | `ARRAY DATE` | -| [時間](Concepts/dt_time.md) | ◯ | ◯ | `Time` | `ARRAY TIME` | -| [ブール](Concepts/dt_boolean.md) | ◯ | ◯ | `Boolean` | `ARRAY BOOLEAN` | -| [整数](Concepts/dt_number.md) | ◯ | 倍長整数 に変換 | `Integer` | `ARRAY INTEGER` | -| [倍長整数](Concepts/dt_number.md) | ◯ | ◯ | `Integer` | `ARRAY LONGINT` | -| [64ビット整数](Concepts/dt_number.md) | ◯ (SQL) | 実数に変換 | - | - | -| [実数](Concepts/dt_number.md) | ◯ | ◯ | `Real` | `ARRAY REAL` | -| [未定義](Concepts/dt_null_undefined.md) | - | ◯ | - | - | -| [Null](Concepts/dt_null_undefined.md) | - | ◯ | - | - | -| [ポインター](Concepts/dt_pointer.md) | - | ◯ | `Pointer` | `ARRAY POINTER` | -| [ピクチャー](Concepts/dt_picture.md) | ◯ | ◯ | `Picture` | `ARRAY PICTURE` | -| [BLOB](Concepts/dt_blob.md) | ◯ | ◯ | `Blob`, `4D.Blob` | `ARRAY BLOB` | -| [オブジェクト](Concepts/dt_object.md) | ◯ | ◯ | `Object` | `ARRAY OBJECT` | -| [コレクション](Concepts/dt_collection.md) | - | ◯ | `Collection` | | -| [バリアント](Concepts/dt_variant.md)(2) | - | ◯ | `Variant` | | +| データタイプ | データベース | ランゲージ | [`var` 宣言](variables.md) | [`ARRAY` 宣言](arrays.md) | +| ----------------------------------------------------- | -------------------------- | -------- | ------------------------ | ----------------------- | +| [文字列](dt_string.md) | ◯ | テキストに変換 | - | - | +| [テキスト](Concepts/dt_string.md) | ◯ | ◯ | `Text` | `ARRAY TEXT` | +| [日付](Concepts/dt_date.md) | ◯ | ◯ | `Date` | `ARRAY DATE` | +| [時間](Concepts/dt_time.md) | ◯ | ◯ | `Time` | `ARRAY TIME` | +| [ブール](Concepts/dt_boolean.md) | ◯ | ◯ | `Boolean` | `ARRAY BOOLEAN` | +| [整数](Concepts/dt_number.md) | ◯ | 倍長整数 に変換 | `Integer` | `ARRAY INTEGER` | +| [倍長整数](Concepts/dt_number.md) | ◯ | ◯ | `Integer` | `ARRAY LONGINT` | +| [64ビット整数](Concepts/dt_number.md) | ◯ (SQL) | 実数に変換 | - | - | +| [実数](Concepts/dt_number.md) | ◯ | ◯ | `Real` | `ARRAY REAL` | +| [未定義](Concepts/dt_null_undefined.md) | - | ◯ | - | - | +| [Null](Concepts/dt_null_undefined.md) | - | ◯ | - | - | +| [ポインター](Concepts/dt_pointer.md) | - | ◯ | `Pointer` | `ARRAY POINTER` | +| [ピクチャー](Concepts/dt_picture.md) | ◯ | ◯ | `Picture` | `ARRAY PICTURE` | +| [BLOB](Concepts/dt_blob.md) | ◯ | ◯ | `Blob`, `4D.Blob` | `ARRAY BLOB` | +| [オブジェクト](Concepts/dt_object.md) | ◯ | ◯ | `Object` | `ARRAY OBJECT` | +| [コレクション](Concepts/dt_collection.md) | - | ◯ | `Collection` | | +| [バリアント](Concepts/dt_variant.md)(2) | - | ◯ | `Variant` | | (1) ORDA では、オブジェクト (エンティティ) を介してデータベースフィールドを扱うため、オブジェクトにおいて利用可能なデータタイプのみがサポートされます。 詳細については [オブジェクト](Concepts/dt_object.md) のデータタイプの説明を参照ください。 @@ -33,10 +33,10 @@ title: データタイプの概要 ## コマンド -You can always know the type of a field or variable using the following commands: +以下のコマンドを使用することで、フィールドや変数の型を調べることができます: -- [`Type`](../commands-legacy/type.md) for fields and scalar variables -- [`Value type`](../commands-legacy/value-type.md) for expressions +- フィールドやスカラー変数に対しては、[`Type`](../commands-legacy/type.md) コマンド +- 式対しては、[`Value type`](../commands-legacy/value-type.md) コマンド ## デフォルト値 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_blob.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_blob.md index 3e18aaafce171a..2199e92d2abc32 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_blob.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_blob.md @@ -34,8 +34,8 @@ BLOB に演算子を適用することはできません。 ## 変数がスカラーBLOB と `4D.Blob` のどちらを格納しているかの確認 -Use the [Value type](../commands-legacy/value-type.md) command to determine if a value is of type Blob or Object. -To check that an object is a blob object (`4D.Blob`), use [OB instance of](../commands-legacy/ob-instance-of.md): +値がBLOB なのかオブジェクトなのかを判断するためには、[Value type](../commands-legacy/value-type.md) コマンドを使用します。 +オブジェクトがBlob オブジェクト(`4D.Blob`) であるかどうかをチェックするためには、[OB instance of](../commands-legacy/ob-instance-of.md) コマンドを使用します: ```4d var $myBlob: Blob diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_null_undefined.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_null_undefined.md index c3e17cc4d233af..e1469b590d82be 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_null_undefined.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_null_undefined.md @@ -25,7 +25,7 @@ Null は **null** の値のみをとることのできる特殊なデータタ 未定義の式を読み込んだ、または割り当てようとしたときに 4D は通常、エラーを生成します。 ただし以下の場合には生成されません: -- Assigning an undefined value to variables (except arrays) has the same effect as calling [`CLEAR VARIABLE`](../commands-legacy/clear-variable.md) with them: +- 未定義の値を(配列を除く)変数に代入することは、変数に対して[`CLEAR VARIABLE`](../commands-legacy/clear-variable.md) を呼び出すのと同じ効果があります: ```4d var $o : Object diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_object.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_object.md index 0fc0c893753e0c..e1685d4748ad30 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_object.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_object.md @@ -18,7 +18,7 @@ title: Object - ピクチャー(2) - collection -(1) **非ストリームオブジェクト** である [エンティティ](ORDA/dsMapping.md#エンティティ) や [エンティティセレクション](ORDA/dsMapping.md#エンティティセレクション) などの ORDAオブジェクト、[FileHandle](../API/FileHandleClass.md)、[Webサーバー](../API/WebServerClass.md)... は **オブジェクトフィールド** には保存できません。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 +(1) **非ストリームオブジェクト** である [エンティティ](ORDA/dsMapping.md#エンティティ) や [エンティティセレクション](ORDA/dsMapping.md#エンティティセレクション) などの ORDAオブジェクト、[FileHandle](../API/FileHandleClass.md)、[Webサーバー](../API/WebServerClass.md)... は **オブジェクトフィールド** には保存できません。 保存しようとするとエラーが返されます。しかし、メモリ内の **オブジェクト変数** に保存することは可能です。 (2) デバッガー内でテキストとして表示したり、JSON へと書き出されたりした場合、ピクチャー型のオブジェクトプロパティは "[object Picture]" と表されます。 @@ -42,18 +42,18 @@ title: Object オブジェクトのインスタンス化は、以下のいずれかの方法でおこなうことができます: -- using the [`New object`](../commands-legacy/new-object.md) command, +- [`New object`](../commands-legacy/new-object.md) コマンドを使用する。 - `{}` 演算子を使用する。 :::info -Several 4D commands and functions return objects, for example [`Database measures`](../commands-legacy/database-measures.md) or [`File`](../commands/file.md). この場合、オブジェクトを明示的にインスタンス化する必要はなく、4Dランゲージが代わりにおこなってくれます。 +いくつかの 4Dコマンドや関数はオブジェクトを返します。たとえば、[`Database measures`](../commands-legacy/database-measures.md) や [`File`](../commands/file.md) などです。 この場合、オブジェクトを明示的にインスタンス化する必要はなく、4Dランゲージが代わりにおこなってくれます。 ::: ### `New object` コマンド -The [`New object`](../commands-legacy/new-object.md) command creates a new empty or prefilled object and returns its reference. +[`New object`](../commands-legacy/new-object.md) コマンドは、空の、あるいは値の入った新規コレクションを作成し、その参照を返します。 例: @@ -69,7 +69,7 @@ The [`New object`](../commands-legacy/new-object.md) command creates a new empty `{}` 演算子を使って、**オブジェクトリテラル** を作成することができます。 オブジェクトリテラルとは、オブジェクトのプロパティ名とその値のペアが 0組以上含まれたセミコロン区切りのリストを中括弧 `{}` で囲んだものです。 オブジェクトリテラルのシンタックスは、空の、またはプロパティが格納されたオブジェクトを作成します。 -プロパティの値は式とみなされるため、プロパティ値に `{}` を使ってサブオブジェクトを作成することができます。 また、**コレクションリテラル** を作成し、参照することもできます。 また、**コレクションリテラル** を作成し、参照することもできます。 また、**コレクションリテラル** を作成し、参照することもできます。 +プロパティの値は式とみなされるため、プロパティ値に `{}` を使ってサブオブジェクトを作成することができます。 また、**コレクションリテラル** を作成し、参照することもできます。 例: @@ -110,8 +110,8 @@ $col:=$o.col[5] // 6 二種類のオブジェクトを作成することができます: -- regular (non-shared) objects, using the [`New object`](../commands-legacy/new-object.md) command or object literal syntax (`{}`). 通常のオブジェクトは特別なアクセスコントロールをせずに編集可能ですが、プロセス間で共有することはできません。 -- shared objects, using the [`New shared object`](../commands-legacy/new-shared-object.md) command. 共有オブジェクトはプロセス間 (プリエンティブ・スレッド含む) で共有可能なオブジェクトです。 共有オブジェクトへのアクセスは `Use...End use` 構造によって管理されています。 +- [`New object`](../commands-legacy/new-object.md) コマンド、またはオブジェクトリテラルのシンタックス (`{}`) を使用して作成する通常 (非共有) コレクション。 通常のオブジェクトは特別なアクセスコントロールをせずに編集可能ですが、プロセス間で共有することはできません。 +- [`New shared object`](../commands-legacy/new-shared-object.md) コマンドを使用して作成する共有コレクション。 共有オブジェクトはプロセス間 (プリエンティブ・スレッド含む) で共有可能なオブジェクトです。 共有オブジェクトへのアクセスは `Use...End use` 構造によって管理されています。 詳細な情報については、[共有オブジェクトと共有コレクション](shared.md) を参照ください。 ## プロパティ @@ -150,8 +150,6 @@ $col:=$o.col[5] // 6 - **オブジェクト** 自身 (変数、フィールド、オブジェクトプロパティ、オブジェクト配列、コレクション要素などに保存されているもの)。 例: - 例: - 例: ```4d $age:=$myObjVar.employee.age // 変数 @@ -172,8 +170,6 @@ $col:=$o.col[5] // 6 - オブジェクトを返す **プロジェクトメソッド** または **関数**。 例: - 例: - 例: ```4d // MyMethod1 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_picture.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_picture.md index 4a540cab346d92..a315a7042fb0b6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_picture.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_picture.md @@ -16,36 +16,30 @@ WIC および ImageIO はピクチャー内のメタデータの書き込みを 4D は多様な [ピクチャーフォーマット](FormEditor/pictures.md#native-formats-supported) をネイティブにサポートします: .jpeg, .png, .svg 等。 -多くの [4D ピクチャー管理コマンド](https://doc.4d.com/4Dv18/4D/18/Pictures.201-4504337.ja.html) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -多くの [4D ピクチャー管理コマンド](https://doc.4d.com/4Dv18/4D/18/Pictures.201-4504337.ja.html) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドからピクチャー Codec IDとして返されます。 これは以下の形式で返されます: これは以下の形式で返されます: これは以下の形式で返されます: これは以下の形式で返されます: +4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドからピクチャー Codec IDとして返されます。 これは以下の形式で返されます: - 拡張子 (例: “.gif”) - MIME タイプ (例: “image/jpeg”) それぞれのピクチャーフォーマットに対して返される形式は、当該 Codec が OS レベルで記録されている方法に基づきます。 エンコーディング (書き込み) 用コーデックにはライセンスが必要な場合があるため、利用できるコーデックの一覧は、読み込み用と書き込み用で異なる可能性があることに注意してください。 -Most of the [4D picture management commands](../commands/theme/Pictures.md) can receive a Codec ID as a parameter. したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -多くの [4D ピクチャー管理コマンド](https://doc.4d.com/4Dv18/4D/18/Pictures.201-4504337.ja.html) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 -4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドからピクチャー Codec IDとして返されます。 これは以下の形式で返されます: +多くの [4D ピクチャー管理コマンド](../commands/theme/Pictures.md) は Codec ID を引数として受けとることができます。 したがって、`PICTURE CODEC LIST` から返されるシステムIDを使用しなければなりません。 +4D が認識するピクチャーフォーマットは `PICTURE CODEC LIST` コマンドによって返されます。 ## ピクチャー演算子 -| 演算 | シンタックス | 戻り値 | 動作 | -| -------- | ------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | -| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | -| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) Pict1 の前面に Pict2 を重ねます (Pict2 が前面) COMBINE PICTURES(pict3;pict1;Superimposition;pict2) と同じ結果になります。 Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | -| 包括的論理和 | Pict1 | Pict2 | Picture | \| 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 ピクチャーのフィールド・変数・式に格納されるデータは、任意の Windows または Macintosh の画像です。 これらの画像には、ペーストボード上に置いたり、4Dコマンドやプラグインコマンド (`READ PICTURE FILE` など) を使用してディスクから読み出すことのできる画像を含みます。 | -| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | -| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | -| リサイズ | Picture \* Number | Picture | 割合によってピクチャーをサイズ変更します。 | -| 水平スケール | Picture \*+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | -| 垂直スケール | Picture \*| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | -| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください | +| 演算 | シンタックス | 戻り値 | 動作 | +| -------- | ------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------- | +| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | +| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | +| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | +| 包括的論理和 | Pict1 | Pict2 | Picture | \| 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 `$equal:=Equal pictures(Pict1;Pict2;Pict3)` と同じ結果になります。 | +| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | +| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | +| リサイズ | Picture \* Number | Picture | 割合によってピクチャーをサイズ変更します。 | +| 水平スケール | Picture \*+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | +| 垂直スケール | Picture \*| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | +| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照ください | **注 :** diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/error-handling.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/error-handling.md index 5bc0ead614294d..b12539f60f8020 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/error-handling.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/error-handling.md @@ -17,13 +17,13 @@ title: エラー処理 :::tip グッドプラクティス -サーバー上で実行されるコードのため、4D Server にはグローバルなエラー処理メソッドを実装しておくことが強く推奨されます。 サーバー上で実行されるコードのため、4D Server にはグローバルなエラー処理メソッドを実装しておくことが強く推奨されます。 4D Server が [ヘッドレス](../Admin/cli.md) で実行されていない場合 (つまり、[管理画面](../ServerWindow/overview.md) 付きで起動されている場合)、このメソッドによって、予期せぬダイアログがサーバーマシン上に表示されることを防ぎます。 ヘッドレスモードでは、エラーは解析のため [4DDebugLog ファイル](../Debugging/debugLogFiles.md#4ddebuglogtxt-standard) に記録されます。 ヘッドレスモードでは、エラーは解析のため [4DDebugLog ファイル](../Debugging/debugLogFiles.md#4ddebuglogtxt-standard) に記録されます。 +サーバー上で実行されるコードのため、4D Server にはグローバルなエラー処理メソッドを実装しておくことが強く推奨されます。 4D Server が [ヘッドレス](../Admin/cli.md) で実行されていない場合 (つまり、[管理画面](../ServerWindow/overview.md) 付きで起動されている場合)、このメソッドによって、予期せぬダイアログがサーバーマシン上に表示されることを防ぎます。 ヘッドレスモードでは、エラーは解析のため [4DDebugLog ファイル](../Debugging/debugLogFiles.md#4ddebuglogtxt-standard) に記録されます。 ::: ## エラー/ステータス -`entity.save()` や `transporter.send()` など、おおくの 4D クラス関数は *status* オブジェクトを返します。 ランタイムにおいて "想定される"、プログラムの実行を停止させないエラー (無効なパスワード、ロックされたエンティティなど) がこのオブジェクトに格納されます。 これらのエラーへの対応は、通常のコードによっておこなうことができます。 ランタイムにおいて "想定される"、プログラムの実行を停止させないエラー (無効なパスワード、ロックされたエンティティなど) がこのオブジェクトに格納されます。 これらのエラーへの対応は、通常のコードによっておこなうことができます。 +`entity.save()` や `transporter.send()` など、おおくの 4D クラス関数は *status* オブジェクトを返します。 ランタイムにおいて "想定される"、プログラムの実行を停止させないエラー (無効なパスワード、ロックされたエンティティなど) がこのオブジェクトに格納されます。 これらのエラーへの対応は、通常のコードによっておこなうことができます。 ディスク書き込みエラーやネットワークの問題などのイレギュラーな中断は "想定されない" エラーです。 これらのエラーは例外を発生させ、エラー処理メソッドや `Try()` キーワードを介して対応する必要があります。 @@ -33,7 +33,7 @@ title: エラー処理 インストールされたエラーハンドラーは、4Dアプリケーションまたはそのコンポーネントでエラーが発生した場合、インタープリターモードまたはコンパイル済モードで自動的に呼び出されます。 実行コンテキストに応じて、異なるエラーハンドラーを呼び出すこともできます (後述参照)。 -To *install* an error-handling project method, you just need to call the [`ON ERR CALL`](../commands-legacy/on-err-call.md) command with the project method name and (optionnally) scope as parameters. 例: +エラー処理用のプロジェクトメソッドを *実装* するには、[`ON ERR CALL`](../commands-legacy/on-err-call.md) コマンドをコールし、当該プロジェクトメソッド名と (任意で) スコープを引数として渡します。 例: ```4d ON ERR CALL("IO_Errors";ek local) // ローカルなエラー処理メソッドを実装します @@ -45,7 +45,7 @@ ON ERR CALL("IO_Errors";ek local) // ローカルなエラー処理メソッド ON ERR CALL("";ek local) // ローカルプロセスにおいてエラーの検知を中止します ``` -[`Method called on error`](../commands-legacy/method-called-on-error.md) コマンドを使用すると、カレントプロセスにおいて`ON ERR CALL` で実装されたメソッドの名前を知ることができます。 このコマンドは汎用的なコードでとくに有用です。エラー処理メソッドを一時的に変更し、後で復元することができます: このコマンドは汎用的なコードでとくに有用です。エラー処理メソッドを一時的に変更し、後で復元することができます: +[`Method called on error`](../commands-legacy/method-called-on-error.md) コマンドを使用すると、カレントプロセスにおいて`ON ERR CALL` で実装されたメソッドの名前を知ることができます。 このコマンドは汎用的なコードでとくに有用です。エラー処理メソッドを一時的に変更し、後で復元することができます: ```4d $methCurrent:=Method called on error(ek local) @@ -209,7 +209,7 @@ End if ## Try...Catch...End try -The `Try...Catch...End try` structure allows you to test a block code in its actual execution context (including, in particular, local variable values) and to intercept errors it throws so that the 4D error dialog box is not displayed. +`Try...Catch...End try` 文は、実際の実行コンテキスト (特にローカル変数の値を含む) でコードブロックをテストし、スローされるエラーをキャッチすることで、4D のエラーダイアログボックスが表示されないようにできます。 `Try(expression)` キーワードが単一の行の式を評価するのとは異なり、`Try...Catch...End try` 文は、単純なものから複雑なものまで、任意のコードブロックを評価することができます。エラー処理メソッドは必要としない点は同じです。 また、`Catch` ブロックは、任意の方法でエラーを処理するために使用できます。 @@ -229,7 +229,7 @@ End try - エラーがスローされなかった場合には、対応する `End try` キーワードの後へとコード実行が継続されます。 `Catch` と `End try` キーワード間のコードは実行されません。 - コードブロックの実行が *非遅延エラー* をスローした場合、実行フローは停止し、対応する `Catch` コードブロックを実行します。 -- If the code block calls a method that throws a *deferred error*, the execution flow jumps directly to the corresponding `Catch` code block. +- コードブロックが *非遅延エラー* をスローするメソッドを呼び出した場合、実行フローは対応する `Catch` コードブロックへと直接ジャンプします。 - 遅延エラーが `Try` ブロックから直接スローされた場合、実行フローは `Try` ブロックの終わりまで継続し、対応する `Catch` ブロックは実行しません。 :::note @@ -244,7 +244,7 @@ End try ::: -In the `Catch` code block, you can handle the error(s) using standard error handling commands. [`Last errors`](../commands-legacy/last-errors.md) 関数は最後のエラーに関するコレクションを格納しています。 このコードブロック内で[エラー処理メソッドを宣言する](#エラー処理メソッドの実装) こともできます。この場合エラー発生時にはそれが呼び出されます(宣言しない場合には、4Dエラーダイアログが表示されます)。 +`Catch` コードブロックでは、標準のエラー処理コマンドを使用してエラーを処理できます。 [`Last errors`](../commands-legacy/last-errors.md) 関数は最後のエラーに関するコレクションを格納しています。 このコードブロック内で[エラー処理メソッドを宣言する](#エラー処理メソッドの実装) こともできます。この場合エラー発生時にはそれが呼び出されます(宣言しない場合には、4Dエラーダイアログが表示されます)。 :::note diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/identifiers.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/identifiers.md index c6c3d1594b1369..05d692a0b0c435 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/identifiers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/identifiers.md @@ -17,7 +17,7 @@ title: 識別子の命名規則 クラス名は、ドット記法のための標準的な [プロパティ名の命名規則](Concepts/dt_object.md#オブジェクトプロパティ識別子) に準拠している必要があります。 -> Giving the same name to a class and a [database table](#tables-and-fields) is not recommended, in order to prevent any conflict. +> 同じ名前をクラスと[データベーステーブル](#tables-and-fields) につけることは、あらゆるコンフリクトを避けるため推奨されていません。 ## 関数 @@ -29,7 +29,7 @@ title: 識別子の命名規則 プロパティ名 (オブジェクト *属性* とも呼びます) は255文字以内の文字列で指定します。 -オブジェクトプロパティは、スカラー値・ORDA要素・クラス関数・他のオブジェクト等を参照できます。 Whatever their nature, object property names must follow the following rules **if you want to use the [dot notation](./dt_object.md#properties)**: +オブジェクトプロパティは、スカラー値・ORDA要素・クラス関数・他のオブジェクト等を参照できます。 参照先に関わらず、**[ドット記法](dt_object.md#プロパティ) を使用するには** オブジェクトプロパティ名は次の命名規則に従う必要があります: - 1文字目は、文字、アンダースコア(_)、あるいはドル記号 ($) でなければなりません。 - その後の文字には、文字・数字・アンダースコア(_)・ドル記号 ($) が使用できます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/methods.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/methods.md index a29b622c432419..50976a03d0e16e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/methods.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/methods.md @@ -201,12 +201,12 @@ $o:=$f.message // $o にはフォーミュラオブジェクトが返されま プロジェクトメソッドを実行するには、リストからメソッドを選択し、**実行** をクリックします。 デバッグモードでメソッドを実行するには **デバッグ** をクリックします。 デバッガーに関する詳細は、[デバッガー](../Debugging/basics.md) の章を参照ください。 -**新規プロセス** チェックボックスを選択すると、選択したメソッドは新規に作成されたプロセス内で実行されます。 大量の印刷など時間のかかる処理をメソッドがおこなう場合でもこのオプションを使用すれば、レコードの追加、グラフの作成などの処理をアプリケーションプロセスで継続できます。 For more information about processes, refer to [Processes](../Develop/processes.md). +**新規プロセス** チェックボックスを選択すると、選択したメソッドは新規に作成されたプロセス内で実行されます。 大量の印刷など時間のかかる処理をメソッドがおこなう場合でもこのオプションを使用すれば、レコードの追加、グラフの作成などの処理をアプリケーションプロセスで継続できます。 プロセスに関するより詳細な情報については、[プロセス](../Develop/processes.md) を参照してください。 **4D Serverに関する注記**: - クライアントではなくサーバー上でメソッドを実行したい場合、実行モードメニューで **4D Server** を選択します。 この場合 *ストアドプロシージャー* と呼ばれるプロセスが新規にサーバー上で作成され、メソッドが実行されます。 このオプションを使用して、ネットワークトラフィックを減らしたり、4D Serverの動作を最適化したりできます (特にディスクに格納されたデータにアクセスする場合など)。 すべてのタイプのメソッドをサーバー上や他のクライアント上で実行できますが、ユーザーインターフェースを変更するものは例外です。 この場合、ストアドプロシージャーは効果がありません。 -- 他のクライアントマシン上でメソッドを実行するよう選択することもできます。 Other client workstations will not appear in the menu, unless they have been previously "registered" (for more information, refer to the description of the [REGISTER CLIENT](../commands-legacy/register-client.md). +- 他のクライアントマシン上でメソッドを実行するよう選択することもできます。 他のクライアントマシンは、事前に登録されていなければメニューに表示されません (詳細な情報については [REGISTER CLIENT](../commands-legacy/register-client.md) の説明を参照ください)。 デフォルトでは、**ローカル** オプションが選択されています。 4D シングルユーザーの場合、このオプションしか選択できません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/operators.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/operators.md index 78fa1ba3cbe1d3..6797c5d2ea76b5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/operators.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/operators.md @@ -282,7 +282,7 @@ $name:=$person.maidenName || $person.name `条件 ? truthy時の式 : falsy時の式` -> Since the [token syntax](https://doc.4d.com/4Dv20/4D/20.6/Using-tokens-in-formulas.300-7487422.en.html) uses colons, we recommend inserting a space after the colon `:` or enclosing tokens using parentheses to avoid any conflicts. +> [トークンシンタックス](https://doc.4d.com/4Dv20/4D/20.6/Using-tokens-in-formulas.300-7487422.ja.html#2675202) にはコロンが使われているため、競合を避けるには、コロン `:` の後にスペースを入れる、または、トークンは括弧でくくることが推奨されます。 ### 例題 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/parameters.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/parameters.md index eeef12a2185acb..58f77339c81024 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/parameters.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/parameters.md @@ -133,7 +133,7 @@ Function myTransform ($x : Integer) -> $x : Integer ### サポートされているデータ型 -With named parameters, you can use the same data types as those which are [supported by the `var` keyword](variables.md), including class objects. 例: +名前付き引数の場合、[`var` キーワードでサポートされている](variables.md) データ型 (クラスオブジェクト含む) を使用できます。 例: ```4d Function saveToFile($entity : cs.ShapesEntity; $file : 4D.File) @@ -190,7 +190,7 @@ Function getValue -> $v : Integer ## 引数の間接参照 (${N}) -4Dメソッドおよび関数は、可変長の引数を受け取ることができます。 You can address those parameters with a `For...End for` loop, the [`Count parameters`](../commands-legacy/count-parameters.md) command and the **parameter indirection syntax**. メソッド内で、間接参照は `${N}` のように表示します。ここの `N` は数値式です。 +4Dメソッドおよび関数は、可変長の引数を受け取ることができます。 `For...End for` ループや [`Count parameters`](../commands-legacy/count-parameters.md) コマンド、**引数の間接参照シンタックス** を使って、これらの引数を扱うことができます。 メソッド内で、間接参照は `${N}` のように表示します。ここの `N` は数値式です。 ### 可変長引数の使い方 @@ -214,7 +214,7 @@ Function getValue -> $v : Integer Result:=MySum("000";1;2;200) // "203" ``` -0、1、またはそれ以上のパラメーターを宣言してある場合でも、任意の数の引数を渡すことができます。 呼び出されたコード内では、`${N}` シンタックスを使って引数を利用でき、可変長引数の型はデフォルトで [バリアント](dt_variant.md) です ([可変長引数の記法](#可変長引数の宣言) を使ってこれらを宣言できます)。 You just need to make sure parameters exist, thanks to the [`Count parameters`](../commands-legacy/count-parameters.md) command. 例: +0、1、またはそれ以上のパラメーターを宣言してある場合でも、任意の数の引数を渡すことができます。 呼び出されたコード内では、`${N}` シンタックスを使って引数を利用でき、可変長引数の型はデフォルトで [バリアント](dt_variant.md) です ([可変長引数の記法](#可変長引数の宣言) を使ってこれらを宣言できます)。 [`Count parameters`](../commands-legacy/count-parameters.md) コマンドを使用して、パラメーターが存在することをあらかじめ確認しておく必要があります。 例: ```4d // foo メソッド @@ -319,7 +319,7 @@ method1(42) // 型間違い。 期待されるのはテキスト - [コンパイル済みプロジェクト](interpreted.md) では、可能な限りコンパイル時にエラーが生成されます。 それ以外の場合は、メソッドの呼び出し時にエラーが生成されます。 - インタープリタープロジェクトでは: - - if the parameter was declared using the named syntax (`#DECLARE` or `Function`), an error is generated when the method is called. + - 名前付きシンタックス (`#DECLARE` または `Function`) を使用して引数が宣言されている場合は、メソッドの呼び出し時にエラーが発生します。 - 旧式の (`C_XXX`) シンタックスを使用して宣言されている場合、エラーは発生せず、呼び出されたメソッドは期待される型の空の値を受け取ります。 ## オブジェクトプロパティを名前付き引数として使用する diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/shared.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/shared.md index e14141cb7ca618..1c8cd6c24ccf20 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/shared.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/shared.md @@ -111,11 +111,11 @@ End Use ### 自動的な Use...End use 呼び出し -The following features automatically trigger an internal **Use/End use**, making an explicit call to the structure unnecessary when it is executed: +以下の機能は、内部的な **Use/End use** を自動でトリガーするため、この構文を実行時に明示的に呼び出す必要はありません: -- [collection functions](../API/CollectionClass.md) that modify shared collections, -- [`ARRAY TO COLLECTION`](../commands-legacy/array-to-collection.md) command, -- [`OB REMOVE`](../commands-legacy/ob-remove.md) command, +- 共有コレクションを変更する[コレクション関数](../API/CollectionClass.md) +- [`ARRAY TO COLLECTION`](../commands-legacy/array-to-collection.md) コマンド +- [`OB REMOVE`](../commands-legacy/ob-remove.md) コマンド - [共有クラス](classes.md#共有クラス) 内で定義された [共有関数](classes.md#共有関数) ## 例題 1 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/variables.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/variables.md index 3718e9bc5cbeb5..bf38f56c24bd72 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/variables.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Concepts/variables.md @@ -149,7 +149,7 @@ var $a:=$class.test 4D は最も一般的なタイプを推論しようとします。 たとえば、変数が整数値で初期化される場合、整数型ではなく実数型が使用されます (例: `var $a:=10 //実数型が推論されます`)。 このような場合や、クラスのインスタンス化など複雑な型を持つ変数を初期化する場合は、明示的に型を指定することが推奨されます。 -ほとんどの場合、変数の型は自動的に決まります。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 ほとんどの場合、変数の型は自動的に決まります。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 +ほとんどの場合、変数の型は自動的に決まります。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 例外は、プロセス変数やインタープロセス変数に値を代入した場合で、その場合は警告メッセージが表示されます。 :::note @@ -176,7 +176,7 @@ MyNumber:=3 > [データ型の宣言](#変数の宣言) をせずに変数を作成することは通常推奨されません。 -もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 [Products]Size というフィールドに *MyNumber* 変数の値を代入するには、代入演算子の右側に MyNumber を書きます: +もちろん、変数からデータを取り出すことができなければ、便利とはいえません。 再度代入演算子を使用します。 [Products]Size というフィールドに *MyNumber* 変数の値を代入するには、代入演算子の右側に MyNumber を書きます: ```4d [Products]Size:=MyNumber @@ -186,7 +186,7 @@ MyNumber:=3 ## ローカル、プロセス、およびインタープロセス変数 -**ローカル**、**プロセス**、および **インタープロセス** という、3種類の変数の変数を作成することができます。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 +**ローカル**、**プロセス**、および **インタープロセス** という、3種類の変数の変数を作成することができます。 これらの変数の違いは使用できるスコープにあります。また、それらを使用することのできるオブジェクトも異なります。 ### ローカル変数 @@ -223,7 +223,7 @@ MyNumber:=3 インタープリターモードでは、変数は動的にメモリ上に作成・消去されます。 これに対してコンパイルモードでは、作成したすべてのプロセス (ユーザープロセス) で同じプロセス変数定義が共有されますが、変数のインスタンスはプロセス毎に異なるものとなります。 たとえば、プロセスP_1 とプロセスP_2 の両方においてプロセス変数 myVar が存在していても、それらはそれぞれ別のインスタンスです。 -`GET PROCESS VARIABLE` や `SET PROCESS VARIABLE` を使用して、あるプロセスから他のプロセスのプロセス変数の値を取得したり、設定したりできます。 これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: +`GET PROCESS VARIABLE` や `SET PROCESS VARIABLE` を使用して、あるプロセスから他のプロセスのプロセス変数の値を取得したり、設定したりできます。 これらのコマンドの利用は、以下のような状況に限定することが、良いプログラミングの作法です: - コード内の特定の箇所におけるプロセス間通信 - プロセス間のドラッグ&ドロップ処理 @@ -247,21 +247,21 @@ MyNumber:=3 ## システム変数 -4Dランゲージが管理する複数の **システム変数** を使うことで、さまざまな動作の実行をコントロールできます。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 - -システム変数は [4Dコマンド](../commands/command-index.md) によって使用されます。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 - -| システム変数名 | 型 | 説明 | -| ------------------------------------------------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `OK` | Integer | 通常、コマンドがダイアログボックスを表示して、ユーザーが **OK** ボタンをクリックすると 1 に、**キャンセル** ボタンをクリックした場合は 0 に設定されます。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 | -| `Document` | Text | Contains the "long name" (full path+name) of the last file opened or created using commands such as [Open document](../commands-legacy/open-document.md) or [SELECT LOG FILE](../commands/select-log-file.md). | -| `FldDelimit`, `RecDelimit` | Text | テキストを読み込んだり書き出したりする際に、フィールドの区切りとして (デフォルトは **タブ** (9))、あるいはレコードの区切り文字として (デフォルトは **キャリッジリターン** (13)) 使用する文字コードが格納されています。 区切り文字を変更する場合は、システム変数の値を変更します。 区切り文字を変更する場合は、システム変数の値を変更します。 区切り文字を変更する場合は、システム変数の値を変更します。 | -| `Error`, `Error method`, `Error line`, `Error formula` | Text, Longint | Used in an error-catching method installed by the [`ON ERR CALL`](../commands-legacy/on-err-call.md) command. [メソッド内でのエラー処理](../Concepts/error-handling.md#メソッド内でのエラー処理)参照。 | -| `MouseDown` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. マウスボタンが押されたときに 1 が、それ以外の場合は 0 に設定されます。 | -| `MouseX`, `MouseY` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command.
  • `MouseDown=1` イベントの時、`MouseX` と `MouseY` にはクリックされた場所の水平 / 垂直座標がそれぞれ代入されます。 両方の値ともピクセル単位で表わされ、ウィンドウのローカルな座標システムを使用します。 [`ON EVENT CALL`](https://doc.4d.com/4dv20/help/command/ja/page190.html) コマンドでインストールされたメソッド内で使用されます。
  • `MouseDown=1` イベントの時、`MouseX` と `MouseY` にはクリックされた場所の水平 / 垂直座標がそれぞれ代入されます。 両方の値ともピクセル単位で表わされ、ウィンドウのローカルな座標システムを使用します。
  • ピクチャーフィールドや変数の場合は、[`On Clicked`](../Events/onClicked.md) や [`On Double Clicked`](../Events/onDoubleClicked.md)、および [`On Mouse Up`](../Events/onMouseUp.md) フォームイベント内で、クリックのローカル座標が `MouseX` と `MouseY` に返されます。 また、[`On Mouse Enter`](../Events/onMouseEnter.md) および [`On Mouse Move`](../Events/onMouseMove.md) フォームイベントでもマウスカーソルのローカル座標が返されます。 詳細については、[ピクチャー上のマウス座標](../FormEditor/pictures.md#ピクチャー上のマウス座標) を参照ください。
  • また、[`On Mouse Enter`](../Events/onMouseEnter.md) および [`On Mouse Move`](../Events/onMouseMove.md) フォームイベントでもマウスカーソルのローカル座標が返されます。 詳細については、[ピクチャー上のマウス座標](../FormEditor/pictures.md#ピクチャー上のマウス座標) を参照ください。 | -| `KeyCode` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. 押されたキーの文字コードが代入されます。 [`ON EVENT CALL`](https://doc.4d.com/4dv20/help/command/ja/page190.html) コマンドでインストールされたメソッド内で使用されます。 押されたキーの文字コードが代入されます。 押されたキーがファンクションキーの場合、`KeyCode` には特殊コードがセットされます。 | -| `Modifiers` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. キーボードのモディファイアキーの値を格納します (Ctrl/Command、Alt/Option、Shift、Caps Lock)。 | -| `MouseProc` | Integer | Used in a method installed by the [`ON EVENT CALL`](../commands-legacy/on-event-call.md) command. 最後のイベントが発生したプロセス番号を格納します。 | +4Dランゲージが管理する複数の **システム変数** を使うことで、さまざまな動作の実行をコントロールできます。 その他の変数と同様に、システム変数は値を確認したり使用したりすることができます。 システム変数はすべて [プロセス変数](#プロセス変数) です。 + +システム変数は [4Dコマンド](../commands/command-index.md) によって使用されます。 コマンドがシステム変数に影響を与えるかどうかを確認するには、コマンドの説明の "システム変数およびセット" の項目を参照ください。 + +| システム変数名 | 型 | 説明 | +| ------------------------------------------------------ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `OK` | Integer | 通常、コマンドがダイアログボックスを表示して、ユーザーが **OK** ボタンをクリックすると 1 に、**キャンセル** ボタンをクリックした場合は 0 に設定されます。 一部のコマンドは、処理が成功すると `OK` システム変数の値を変更します。 | +| `Document` | Text | [Open document](../commands-legacy/open-document.md) や [SELECT LOG FILE](../commands/select-log-file.md) などのコマンドを使用して最後に開かれた、または作成されたファイルの「長い名前」(完全パス名)が格納されています。 | +| `FldDelimit`, `RecDelimit` | Text | テキストを読み込んだり書き出したりする際に、フィールドの区切りとして (デフォルトは **タブ** (9))、あるいはレコードの区切り文字として (デフォルトは **キャリッジリターン** (13)) 使用する文字コードが格納されています。 区切り文字を変更する場合は、システム変数の値を変更します。 | +| `Error`, `Error method`, `Error line`, `Error formula` | Text, Longint | [`ON ERR CALL`](../commands-legacy/on-err-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 [メソッド内でのエラー処理](../Concepts/error-handling.md#メソッド内でのエラー処理)参照。 | +| `MouseDown` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 マウスボタンが押されたときに 1 が、それ以外の場合は 0 に設定されます。 | +| `MouseX`, `MouseY` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。
  • `MouseDown=1` イベントの時、`MouseX` と `MouseY` にはクリックされた場所の水平 / 垂直座標がそれぞれ代入されます。 両方の値ともピクセル単位で表わされ、ウィンドウのローカルな座標システムを使用します。
  • ピクチャーフィールドや変数の場合は、[`On Clicked`](../Events/onClicked.md) や [`On Double Clicked`](../Events/onDoubleClicked.md)、および [`On Mouse Up`](../Events/onMouseUp.md) フォームイベント内で、クリックのローカル座標が `MouseX` と `MouseY` に返されます。 また、[`On Mouse Enter`](../Events/onMouseEnter.md) および [`On Mouse Move`](../Events/onMouseMove.md) フォームイベントでもマウスカーソルのローカル座標が返されます。 詳細については、[ピクチャー上のマウス座標](../FormEditor/pictures.md#ピクチャー上のマウス座標) を参照ください。
  • | +| `KeyCode` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 押されたキーの文字コードが代入されます。 押されたキーがファンクションキーの場合、`KeyCode` には特殊コードがセットされます。 | +| `Modifiers` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 キーボードのモディファイアキーの値を格納します (Ctrl/Command、Alt/Option、Shift、Caps Lock)。 | +| `MouseProc` | Integer | [`ON EVENT CALL`](../commands-legacy/on-event-call.md) コマンドによって実装されるエラー処理メソッド内で使用されます。 最後のイベントが発生したプロセス番号を格納します。 | :::note diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Develop/preemptive.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Develop/preemptive.md index e80e02f43c9084..c73bb7bdcf48a8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Develop/preemptive.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Develop/preemptive.md @@ -268,12 +268,12 @@ DocRef 参照番号 (開かれたドキュメントの参照番号。次のコ 特定のコードを検証対象から除外するには、コメント形式の専用ディレクティブ `%T-` および `%T+` でそのコードを挟みます。 `//%T-` は以降のコードを検証から除外し、`//%T+` は以降のコードに対する検証を有効に戻します: ```4d - //%T- to disable thread safety checking - - // Place the code containing commands to be excluded from thread safety checking here - $w:=Open window(10;10;100;100) //for example - - //%T+ to enable thread safety checking again for the rest of the method + // %T- 検証を無効にします + + // スレッドセーフ検証から除外するコード + $w:=Open window(10;10;100;100) // 例 + + // %T+ 検証を有効に戻します ``` 無効化および有効化用のディレクティブでコードを挟んだ場合、そのコードがスレッドセーフかどうかについては、開発者が熟知している必要があります。 プリエンプティブなスレッドでスレッドセーフでないコードが実行された場合には、ランタイムエラーが発生します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Develop/processes.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Develop/processes.md index 66e8ebcadca936..ac3b6aedc96cb8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Develop/processes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Develop/processes.md @@ -18,9 +18,9 @@ title: プロセスとワーカー 新規プロセスを作成するにはいくつかの方法があります: - デザインモードにおいて、"メソッド実行" ダイアログボックスで **新規プロセス** チェックボックスをチェックした後、メソッドを実行する。 メソッド実行ダイアログボックスで選択したメソッドが (そのプロセスをコントロールする) プロセスメソッドとなります。 -- Use the [`New process`](../commands-legacy/new-process.md) command. `New process` コマンドの引数として渡されたメソッドがプロセスメソッドです。 -- Use the [`Execute on server`](../commands-legacy/execute-on-server.md) command in order to create a stored procedure on the server. コマンドの引数として渡されたメソッドがプロセスメソッドです。 -- Use the [`CALL WORKER`](../commands-legacy/call-worker.md) command. ワーカープロセスが既に存在していない場合、新たに作成されます。 +- [`New process`](../commands-legacy/new-process.md) コマンドを使用する。 `New process` コマンドの引数として渡されたメソッドがプロセスメソッドです。 +- サーバー上ですトアドプロシージャーを作成するためには、[`Execute on server`](../commands-legacy/execute-on-server.md) コマンドを使用します。 コマンドの引数として渡されたメソッドがプロセスメソッドです。 +- [`CALL WORKER`](../commands-legacy/call-worker.md) コマンドを使用する。 ワーカープロセスが既に存在していない場合、新たに作成されます。 :::note @@ -33,7 +33,7 @@ title: プロセスとワーカー - プロセスメソッドの実行が完了したとき。 - ユーザーがアプリケーションを終了したとき。 - メソッドからプロセスを中止するか、またはデバッガーまたはランタイムエクスプローラーで **アボート** ボタンを使用した場合。 -- If you call the [`KILL WORKER`](../commands-legacy/kill-worker.md) command (to delete a worker process only). +- [`KILL WORKER`](../commands-legacy/kill-worker.md) コマンドを呼び出した場合(ただしこれで削除できるのはワーカープロセスのみです)。 プロセスは別のプロセスを作成することができます。 プロセスは階層構造にはなっていません。どのプロセスから作成されようと、すべてのプロセスは同等です。 いったん、“親” プロセスが “子” プロセスを作成すると、親プロセスの実行状況に関係なく、子プロセスは処理を続行します。 @@ -94,11 +94,11 @@ title: プロセスとワーカー ワーカープロセスとは、簡単かつ強力なプロセス間通信の方法です。 この機能は非同期のメッセージシステムに基づいており、プロセスやフォームを呼び出して、呼び出し先のコンテキストにおいて任意のメソッドを指定パラメーターとともに実行させることができます。 -A worker can be "hired" by any process (using the [`CALL WORKER`](../commands-legacy/call-worker.md) command) to execute project methods with parameters in their own context, thus allowing access to shared information. +あらゆるプロセスは [`CALL WORKER`](../commands-legacy/call-worker.md) コマンドを使用することでワーカープロセスを "雇用" することができ、ワーカーのコンテキストにおいて任意のプロジェクトメソッドを指定のパラメーターで実行させることができます。つまり、呼び出し元のプロセスとワーカーの間で情報の共有が可能です。 :::info -In Desktop applications, a project method can also be executed with parameters in the context of any form using the [`CALL FORM`](../commands-legacy/call-form.md) command. +デスクトップアプリケーションにおいては、[`CALL FORM`](../commands-legacy/call-form.md) コマンドを使うことで、あらゆるフォームのコンテキストにおいて任意のプロジェクトメソッドを指定のパラメーターで実行させることができます。 ::: @@ -136,7 +136,7 @@ In Desktop applications, a project method can also be executed with parameters i ワーカープロセスは、ストアドプロシージャーを使って 4D Server 上に作成することもできます。たとえば、`CALL WORKER` コマンドを実行するメソッドを `Execute on server` コマンドから実行できます。 -A worker process is closed by a call to the [`KILL WORKER`](../commands-legacy/kill-worker.md) command, which empties the worker's message box and asks the associated process to stop processing messages and to terminate its current execution as soon as the current task is finished. +ワーカープロセスを閉じるには [`KILL WORKER`](../commands-legacy/kill-worker.md) コマンドをコールします。これによってワーカーのメッセージボックスが空にされ、関連プロセスはメッセージの処理を停止し、現在のタスク完了後に実行を終了します。 ワーカープロセスを新規生成する際に指定したメソッドがワーカーの初期メソッドになります。 次回以降の呼び出しで *method* パラメーターに空の文字列を受け渡した場合、`CALL WORKER` はこの初期メソッドの実行をワーカーに依頼します。 @@ -144,7 +144,7 @@ A worker process is closed by a call to the [`KILL WORKER`](../commands-legacy/k ### ワーカープロセスの識別 -All worker processes, except the main process, have the process type `Worker process` (5) returned by the [`Process info`](../commands/process-info.md) command. +全てのワーカープロセス(メインプロセスを除く)は、[`Process info`](../commands/process-info.md) コマンドからは `Worker process` (5) が返されるプロセスタイプを持ちます。 [専用アイコン](../ServerWindow/processes#プロセスタイプ) からもワーカープロセスを識別することができます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onAfterEdit.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onAfterEdit.md index ef39a1f859af9f..e37db10b0ae5a5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onAfterEdit.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onAfterEdit.md @@ -20,7 +20,7 @@ title: On After Edit - ユーザーがおこなったキーボードからの入力。この場合、`On After Edit` イベントは [`On Before Keystroke`](onBeforeKeystroke.md) と [`On After Keystroke`](onAfterKeystroke.md) イベントの後に生成されます。 - ユーザーアクションをシミュレートするランゲージコマンドによる変更 (例: `POST KEY`)。 -Within the `On After Edit` event, text data being entered is returned by the [`Get edited text`](../commands-legacy/get-edited-text.md) command. +`On After Edit` イベント内において、入力テキストは [`Get edited text`](../commands-legacy/get-edited-text.md) コマンドによって返されます。 ### 4D View Pro diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onAlternativeClick.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onAlternativeClick.md index e0c3f028c727e4..7a4bce3805eec3 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onAlternativeClick.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onAlternativeClick.md @@ -15,7 +15,7 @@ title: On Alternative Click 4D では `On Alternative Click` イベントを使用してこの動作を管理できます。 このイベントは、ユーザーが矢印をクリックすると、マウスボタンが押されてすぐに生成されます: -- ポップアップメニューが **分離** されている場合、このイベントはボタン中で矢印のあるエリアがクリックされた場合のみ生成されます。 Note that the [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) assigned to the button (if any) is not executed in this case. +- ポップアップメニューが **分離** されている場合、このイベントはボタン中で矢印のあるエリアがクリックされた場合のみ生成されます。 ボタンに適用されている [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html) があったとしても、この場合には実行されないことに留意してください。 - ポップアップメニューが **リンク** されている場合、このイベントはボタン上どこをクリックしても生成されます。 このタイプのボタンでは [`On Long Click`](onLongClick.md) イベントが生成されないことに注意してください。 ![](../assets/en/Events/clickevents.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onBoundVariableChange.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onBoundVariableChange.md index b34d0c31f7d875..fb5e81ad0c83c0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onBoundVariableChange.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onBoundVariableChange.md @@ -11,4 +11,4 @@ title: On Bound Variable Change このイベントは、親フォーム中のサブフォームにバインドされた変数の値が更新され (同じ値が代入された場合でも) 、かつサブフォームがカレントフォームページまたはページ0 に属している場合に、[サブフォーム](FormObjects/subform_overview.md) のフォームメソッドのコンテキストで生成されます。 -For more information, refer to the [Managing the bound variable](FormObjects/subform_overview.md#using-the-bound-variable-or-expression) section. \ No newline at end of file +詳細については、[バインドされた変数の管理](FormObjects/subform_overview.md#バインドされた変数あるいは式の管理) を参照してください。 \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onDoubleClicked.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onDoubleClicked.md index c9b6b4509e0983..3157c1b270b713 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onDoubleClicked.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onDoubleClicked.md @@ -3,9 +3,9 @@ id: onDoubleClicked title: On Double Clicked --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ | -| 13 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) | オブジェクト上でダブルクリックされた | +| コード | 呼び出し元 | 定義 | +| --- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| 13 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#list-box-columns) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) | オブジェクト上でダブルクリックされた | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onDragOver.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onDragOver.md index 1b65990c332bd1..4cd0137a1c567d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onDragOver.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onDragOver.md @@ -3,9 +3,9 @@ id: onDragOver title: On Drag Over --- -| コード | 呼び出し元 | 定義 | -| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | -| 21 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | データがオブジェクト上にドロップされる可能性がある | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | +| 21 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | データがオブジェクト上にドロップされる可能性がある | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onGettingFocus.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onGettingFocus.md index 808ece282ff4b3..47070577489ef0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onGettingFocus.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onGettingFocus.md @@ -3,9 +3,9 @@ id: onGettingFocus title: On Getting focus --- -| コード | 呼び出し元 | 定義 | -| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | -| 15 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Web area](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを得た | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | +| 15 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを得た | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onHeader.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onHeader.md index 7cb683e8c5952e..559ced0ed2d0ce 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onHeader.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onHeader.md @@ -3,9 +3,9 @@ id: onHeader title: On Header --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | -| 5 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form (list form only) - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームのヘッダーエリアが印刷あるいは表示されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | +| 5 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム (リストフォームのみ) - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームのヘッダーエリアが印刷あるいは表示されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onLoad.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onLoad.md index 69633c47c4dd14..659b64c4eb1740 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onLoad.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onLoad.md @@ -3,9 +3,9 @@ id: onLoad title: On Load --- -| コード | 呼び出し元 | 定義 | -| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | -| 1 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Tab control](FormObjects/tabControl.md) - [Web Area](FormObjects/webArea_overview.md) | フォームが表示または印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | +| 1 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [タブコントロール](FormObjects/tabControl.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームが表示または印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onLosingFocus.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onLosingFocus.md index 3a75849eeb06d3..e3681f3834f58a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onLosingFocus.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onLosingFocus.md @@ -3,9 +3,9 @@ id: onLosingFocus title: On Losing focus --- -| コード | 呼び出し元 | 定義 | -| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | -| 14 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Web area](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを失った | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | +| 14 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームオブジェクトがフォーカスを失った | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseEnter.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseEnter.md index a7a662b9144837..abbbb7aeda8137 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseEnter.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseEnter.md @@ -3,9 +3,9 @@ id: onMouseEnter title: On Mouse Enter --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | -| 35 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア内に入った | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | +| 35 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア内に入った | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseLeave.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseLeave.md index 4a974b20c52eeb..816d5f0618fc4d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseLeave.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseLeave.md @@ -3,9 +3,9 @@ id: onMouseLeave title: On Mouse Leave --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| 36 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリアから出た | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | +| 36 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリアから出た | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseMove.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseMove.md index a3beda16304790..5bb9b8efb3c0ca 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseMove.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onMouseMove.md @@ -3,9 +3,9 @@ id: onMouseMove title: On Mouse Move --- -| コード | 呼び出し元 | 定義 | -| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| 37 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア上で (最低1ピクセル) 動いたか、変更キー (Shift, Alt/Option, Shift Lock) が押された | +| コード | 呼び出し元 | 定義 | +| --- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| 37 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | マウスカーソルがオブジェクトの描画エリア上で (最低1ピクセル) 動いたか、変更キー (Shift, Alt/Option, Shift Lock) が押された | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPlugInArea.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPlugInArea.md index 6680a66413b90c..9ccd5755cdf297 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPlugInArea.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPlugInArea.md @@ -3,9 +3,9 @@ id: onPlugInArea title: On Plug in Area --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------- | ------------------------------- | -| 19 | Form - [Plug-in Area](FormObjects/pluginArea_overview.md) | 外部オブジェクトのオブジェクトメソッドの実行がリクエストされた | +| コード | 呼び出し元 | 定義 | +| --- | ----------------------------------------------------- | ------------------------------- | +| 19 | フォーム - [プラグインエリア](FormObjects/pluginArea_overview.md) | 外部オブジェクトのオブジェクトメソッドの実行がリクエストされた | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingBreak.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingBreak.md index c803c051442494..82e0b81206926e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingBreak.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingBreak.md @@ -3,9 +3,9 @@ id: onPrintingBreak title: On Printing Break --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | -| 6 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームのブレークエリアのひとつが印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | +| 6 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームのブレークエリアのひとつが印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingDetail.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingDetail.md index 0858d5f54afed1..7f88434dddbd71 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingDetail.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingDetail.md @@ -3,9 +3,9 @@ id: onPrintingDetail title: On Printing Detail --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | -| 23 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームの詳細エリアが印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | +| 23 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームの詳細エリアが印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingFooter.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingFooter.md index fc0db65cfa3427..f19b187211df55 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingFooter.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onPrintingFooter.md @@ -3,9 +3,9 @@ id: onPrintingFooter title: On Printing Footer --- -| コード | 呼び出し元 | 定義 | -| --- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | -| 7 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Tab control](FormObjects/tabControl.md) | フォームのフッターエリアが印刷されようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | +| 7 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [タブコントロール](FormObjects/tabControl.md) | フォームのフッターエリアが印刷されようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onUnload.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onUnload.md index 5682190896cabb..22a9c09649ba42 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onUnload.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onUnload.md @@ -3,9 +3,9 @@ id: onUnload title: On Unload --- -| コード | 呼び出し元 | 定義 | -| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| 24 | [4D View Pro Area](FormObjects/viewProArea_overview.md) - [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Tab control](FormObjects/tabControl.md) - [Web Area](FormObjects/webArea_overview.md) | フォームを閉じて解放しようとしている | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| 24 | [4D View Pro エリア](FormObjects/viewProArea_overview.md) - [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [タブコントロール](FormObjects/tabControl.md) - [Web エリア](FormObjects/webArea_overview.md) | フォームを閉じて解放しようとしている | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onValidate.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onValidate.md index 43a285196e13e9..b1882e31f48305 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onValidate.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Events/onValidate.md @@ -3,9 +3,9 @@ id: onValidate title: On Validate --- -| コード | 呼び出し元 | 定義 | -| --- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | -| 3 | [4D Write Pro area](FormObjects/writeProArea_overview.md) - [Button](FormObjects/button_overview.md) - [Button Grid](FormObjects/buttonGrid_overview.md) - [Check Box](FormObjects/checkbox_overview.md) - [Combo Box](FormObjects/comboBox_overview.md) - [Dropdown list](FormObjects/dropdownList_Overview.md) - Form - [Hierarchical List](FormObjects/list_overview.md) - [Input](FormObjects/input_overview.md) - [List Box](FormObjects/listbox_overview.md) - [List Box Column](FormObjects/listbox_overview.md#list-box-columns) - [Picture Button](FormObjects/pictureButton_overview.md) - [Picture Pop up menu](FormObjects/picturePopupMenu_overview.md) - [Plug-in Area](FormObjects/pluginArea_overview.md) - [Progress Indicators](FormObjects/progressIndicator.md) - [Radio Button](FormObjects/radio_overview.md) - [Ruler](FormObjects/ruler.md) - [Spinner](FormObjects/spinner.md) - [Splitter](FormObjects/splitters.md) - [Stepper](FormObjects/stepper.md) - [Subform](FormObjects/subform_overview.md) - [Tab control](FormObjects/tabControl.md) | レコードのデータ入力が受け入れられた | +| コード | 呼び出し元 | 定義 | +| --- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | +| 3 | [4D Write Pro エリア](FormObjects/writeProArea_overview.md) - [ボタン](FormObjects/button_overview.md) - [ボタングリッド](FormObjects/buttonGrid_overview.md) - [チェックボックス](FormObjects/checkbox_overview.md) - [コンボボックス](FormObjects/comboBox_overview.md) -[ドロップダウンリスト](FormObjects/dropdownList_Overview.md) - フォーム - [階層リスト](FormObjects/list_overview.md) - [入力](FormObjects/input_overview.md) - [リストボックス](FormObjects/listbox_overview.md) - [リストボックス列](FormObjects/listbox_overview.md#リストボックス列) - [ピクチャーボタン](FormObjects/pictureButton_overview.md) - [ピクチャーポップアップメニュー](FormObjects/picturePopupMenu_overview.md) - [プラグインエリア](FormObjects/pluginArea_overview.md) - [進捗インジケーター](FormObjects/progressIndicator.md) - [ラジオボタン](FormObjects/radio_overview.md) - [ルーラー](FormObjects/ruler.md) - [スピナー](FormObjects/spinner.md) - [スプリッター](FormObjects/splitters.md) - [ステッパー](FormObjects/stepper.md) - [サブフォーム](FormObjects/subform_overview.md) - [タブコントロール](FormObjects/tabControl.md) | レコードのデータ入力が受け入れられた | ## 説明 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Extensions/develop-components.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Extensions/develop-components.md index 9eb79e70cd247b..4b501f9df5dda5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Extensions/develop-components.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Extensions/develop-components.md @@ -11,13 +11,13 @@ title: コンポーネントの開発 - **マトリクスプロジェクト**: コンポーネント開発に使用する4D プロジェクト。 マトリクスプロジェクトは特別な属性を持たない標準のプロジェクトです。 マトリクスプロジェクトはひとつのコンポーネントを構成します。 - **ホストプロジェクト**: コンポーネントがインストールされ、それを使用するアプリケーションプロジェクト。 -- **Component**: Matrix project that can be compiled and [built](Desktop/building.md#build-component), [installed in the host application](../Project/components.md) and whose contents are used in the host application. +- **コンポーネント**: [ホストアプリケーションにインストール](../Project/components.md) され、同アプリケーションによって使用されるマトリクスプロジェクトのこと。マトリクスプロジェクトはコンパイルし、[ビルド](Desktop/building.md#コンポーネントをビルド) することができます。 ## 基本 4D コンポーネントの作成とインストールは直接 4D を使用しておこないます: -- To use a component, you simply need to [install it in your application](../Project/components.md). +- コンポーネントを使用するには、[アプリケーションにインストール](../Project/components.md) するだけです。 - 言い換えれば、マトリクスプロジェクト自体も1 つ以上のコンポーネントを使用できます。 しかしコンポーネントが "サブコンポーネント" を使用することはできません。 - コンポーネントは次の 4D の要素を呼び出すことができます: クラス、関数、プロジェクトメソッド、プロジェクトフォーム、メニューバー、選択リストなど。 反面、コンポーネントが呼び出せないものは、データベースメソッドとトリガーです。 - コンポーネント内でデータストアや標準のテーブル、データファイルを使用することはできません。 しかし、外部データベースのメカニズムを使用すればテーブルやフィールドを作成し、そこにデータを格納したり読み出したりすることができます。 外部データベースは、メインの 4D データベースとは独立して存在し、SQLコマンドでアクセスします。 @@ -27,13 +27,13 @@ title: コンポーネントの開発 [使用できないコマンド](#使用できないコマンド) を除き、コンポーネントではすべての 4D ランゲージコマンドが使用できます。 -When commands are called from a component, they are executed in the context of the component, except for the [`EXECUTE FORMULA`](../commands-legacy/execute-formula.md) or [`EXECUTE METHOD`](../commands-legacy/execute-method.md) command that use the context of the method specified by the command. また、ユーザー&グループテーマの読み出しコマンドはコンポーネントで使用することができますが、読み出されるのはホストプロジェクトのユーザー&グループ情報であることに注意してください (コンポーネントに固有のユーザー&グループはありません)。 +コマンドがコンポーネントから呼ばれると、コマンドはコンポーネントのコンテキストで実行されます。 ただし[`EXECUTE FORMULA`](../commands-legacy/execute-formula.md) と [`EXECUTE METHOD`](../commands-legacy/execute-method.md) コマンドは除きます。これらはコマンドで指定されたメソッドのコンテキストを使用します。 また、ユーザー&グループテーマの読み出しコマンドはコンポーネントで使用することができますが、読み出されるのはホストプロジェクトのユーザー&グループ情報であることに注意してください (コンポーネントに固有のユーザー&グループはありません)。 -The [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands are an exception: their scope is global to the application. これらのコマンドがコンポーネントから呼び出されると、結果はホストプロジェクトに適用されます。 +[`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) および [`Get database parameter`](../commands-legacy/get-database-parameter.md) コマンドは例外となります: これらのコマンドのスコープはグローバルです。 これらのコマンドがコンポーネントから呼び出されると、結果はホストプロジェクトに適用されます。 さらに、`Structure file` と `Get 4D folder` コマンドは、コンポーネントで使用するための設定ができるようになっています。 -The [`COMPONENT LIST`](../commands-legacy/component-list.md) command can be used to obtain the list of components that are loaded by the host project. +[`COMPONENT LIST`](../commands-legacy/component-list.md) コマンドを使用して、ホストプロジェクトにロードされたコンポーネントのリストを取得できます。 ### 使用できないコマンド @@ -76,7 +76,7 @@ The [`COMPONENT LIST`](../commands-legacy/component-list.md) command can be used ![](../assets/en/Concepts/pict516563.en.png) -Once the project methods of the host projects are available to the components, you can execute a host method from inside a component using the [`EXECUTE FORMULA`](../commands-legacy/execute-formula.md) or [`EXECUTE METHOD`](../commands-legacy/execute-method.md) command. 例: +ホストプロジェクトのプロジェクトメソッドがコンポーネントから利用可能になっていれば、[`EXECUTE FORMULA`](../commands-legacy/execute-formula.md) または [`EXECUTE METHOD`](../commands-legacy/execute-method.md) コマンドを使用して、コンポーネント側からホストのメソッドを実行することができます。 例: ```4d // ホストメソッド @@ -141,21 +141,21 @@ $rect:=cs.eGeometry._Rectangle.new(10;20) > 非表示のクラス内の、非表示でない関数は、そのクラスを [継承](../Concepts/classes.md#継承) するクラスでコード補完を使用すると提案されます。 たとえば、あるコンポーネントに `_Person` クラスを継承した `Teacher` クラスがある場合、`Teacher` のコード補完では `_Person` の非表示でない関数が提案されます。 -## Editing components from the host +## ホストからコンポーネントを編集する -To facilitate component tuning in the actual context of host projects, you can directly modify and save the code of a loaded component from an interpreted host project. The component code is editable when the following conditions are met: +ホストプロジェクトの実際のコンテキストからコンポーネントをチューニングするのを容易にするために、ロードしたコンポーネントをインタープリターモードのホストプロジェクトから直接編集してそのコードを保存することが可能です。 コンポーネントのコードは、以下の条件を満たしている場合に編集可能です: -- the component has been [loaded in interpreted mode](../Project/components.md#interpreted-and-compiled-components), -- the component is not loaded from the [local cache of the Dependency manager](../Project/components.md#local-cache-for-dependencies), i.e. it is not [downloaded from GitHub](../Project/components.md#adding-a-github-dependency). +- コンポーネントが [インタープリタモードでロードされている](../Project/components.md#インタープリターとコンパイル済みコンポーネント)こと +- コンポーネントが[依存関係マネージャーのローカルキャッシュ](../Project/components.md#local-cache-for-dependencies) からロードされていないこと、つまり[GitHub からダウンロードされた](../Project/components.md#githubの依存関係の追加) ものではないこと。 -In this case, you can open, edit, and save your component code in the Code editor on the host project, so that modifications are immediately taken into account. +この場合、ホストプロジェクトのコードエディター内でコンポーネントのコードを開き、編集して、保存することができ、その変更は直ちに反映されます。 -In the Explorer, a specific icon indicates that the component code is editable:
    +エクスプローラーでは、コンポーネントのコードが編集可能であることを表す特定のアイコンが表示されます:
    ![](../assets/en/Develop/editable-component.png) :::warning -Only [exposed classes](#sharing-of-classes) and [shared methods](#sharing-of-project-methods) of your component can be edited. +編集できるのは、コンポーネントの[公開された関数](#クラスの共有) と [共有されたメソッド](#プロジェクトメソッドの共有)だけです。 ::: @@ -375,28 +375,28 @@ SAVE RECORD($tablepointer->) ## Info.plist -Components can have an `Info.plist` file at their [root folder](../Project/architecture.md) to provide extra information readable by the system (macOS only) and the [Dependency manager](../Project/components.md#loading-components). +コンポーネントは、その[root フォルダ](../Project/architecture.md) にシステム(macOS のみ)と[依存関係マネージャ](../Project/components.md#コンポーネントのロード)が読み取り可能な追加の情報を提供する、 `Info.plist` ファイルを持っています。 :::note -This file is not mandatory but is required to build [notarizeable and stapleable](../Desktop/building.md#about-notarization) components for macOS. It is thus automatically created at the [build step](../Desktop/building.md#build-component) if it does not already exist. Note that some keys can be set using a buildApp XML key (see [Build component](../Desktop/building.md#build-component)). +このファイルは必須ではありませんが、macOS 用の[公証可能でステープル可能な](../Desktop/building.md#ノータリゼーション-公証-について) コンポーネントをビルドするためには必要です。 そのため、これがまだ存在しない場合にはに[ビルド時に](../Desktop/building.md#build-component)自動的に作成されます。 一部のキーはbuildApp XML キーを使用して設定可能である点に留意してください([コンポーネントのビルド](../Desktop/building.md#コンポーネントをビルド) を参照してください)。 ::: -Keys supported in component `Info.plist` files are mostly [Apple bundle keys](https://developer.apple.com/documentation/bundleresources/information-property-list) which are ignored on Windows. However, they are used by the [Dependency manager](../Project/components.md#loading-components) on all platforms. +コンポーネントの`Info.plist` ファイル内でサポートされているキーは、大部分は[Apple bundle キー](https://developer.apple.com/documentation/bundleresources/information-property-list) であり、Windows 上では無視されます。 しかしながら、これらは全てのプラットフォームにおいて[依存関係マネージャ](../Project/components.md#コンポーネントの読み込み) によって使用されます。 -The folling keys can be defined: +定義可能なキーは以下の通りです: -| key | description | -| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| CFBundleName | Component name (internal) | -| CFBundleDisplayName | Component name to display | -| NSHumanReadableCopyright | Copyright to display | -| CFBundleVersion | Version of the component | -| CFBundleShortVersionString | Version of the component to display | -| com.4d.minSupportedVersion | Minimum supported 4D version, used by the Dependency manager for [component versions following 4D](../Project/components.md#naming-conventions-for-4d-version-tags) | +| key | description | +| ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| CFBundleName | コンポーネント名(内部) | +| CFBundleDisplayName | 表示するコンポーネント名 | +| NSHumanReadableCopyright | 表示する著作権 | +| CFBundleVersion | コンポーネントのバージョン | +| CFBundleShortVersionString | 表示するコンポーネントのバージョン | +| com.4d.minSupportedVersion | サポートされる最低限の4D のバージョン。これは依存関係マネージャの[4D のバージョンに従うコンポーネント](../Project/components.md#4Dバージョンタグの命名規則)において使用されます。 | -Here is an example of `Info.plist` file: +以下は、`Info.plist` ファイルの一例です: ```xml @@ -418,7 +418,7 @@ Here is an example of `Info.plist` file: ``` -On macOS, information is available from the finder: +macOS 上では、Finder からこの情報を見ることができます: ![](../assets/en/Develop/infoplist-component.png) @@ -435,6 +435,6 @@ On macOS, information is available from the finder: - 共有のプロジェクトメソッド、クラス、および関数は、ホストプロジェクトのメソッドから呼び出し可能です。共有のプロジェクトメソッドは、エクスプローラーのメソッドページにも表示されます。 しかし、その内容はプレビューエリアにもデバッガーにも表示されません。 - マトリクスプロジェクトの他のプロジェクトメソッドは一切表示されません。 -## Sharing your components on GitHub +## GitHub上でコンポーネントを共有する 開発したコンポーネントを [GitHub](https://github.com/topics/4d-component) で公開し、4D開発者のコミュニティをサポートすることをお勧めします。 正しく参照されるためには、**`4d-component`** トピックをご利用ください。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Extensions/overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Extensions/overview.md index 80376df22de912..cadcbc1ad2715c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Extensions/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Extensions/overview.md @@ -9,16 +9,16 @@ title: 拡張機能 4D にはビルトインの 4Dコンポーネントがあらかじめ組み込まれており、エクスプローラーのメソッドページにて、**コンポーネントメソッド** テーマ内で確認することができます。 これらのコンポーネントはすべて、[4D github リポジトリ](https://github.com/4d) にもあります。 -| コンポーネント | 説明 | 主な機能 | -| -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| [4D AiIKit](https://github.com/4d/4D-AIKit) | Set of classes to connect to third-party OpenAI APIs | `OpenAIChat`, `OpenAIImage`... | -| [4D Labels](https://github.com/4d/4D-Labels) | ラベルテンプレートを作成するための内部コンポーネント | | -| [4D NetKit](https://developer.4d.com/4D-NetKit) | Set of web service tools to connect to third-party APIs | `OAuth2Provider` class, `New OAuth2 provider`, `OAuth2ProviderObject.getToken()` | -| [4D Progress](https://github.com/4d/4D-Progress) | 1つ以上の進捗バーを同じウィンドウで開く | `Progress New`, `Progress SET ON STOP METHOD`, `Progress SET PROGRESS`, ... | -| [4D SVG](https://github.com/4d/4D-SVG) | 一般的な svgグラフィックオブジェクトの作成・操作 | `SVGTool_Display_viewer`, 複数の `SVG_` メソッド | -| [4D ViewPro](ViewPro/getting-started.md) | フォームに追加できる表計算機能 | [4D View Pro ドキュメンテーション](ViewPro/getting-started.md) 参照。 | -| [4D Widgets](https://github.com/4d/4D-Widgets) | DatePicker, TimePicker, SearchPicker 4Dウィジェットの管理 | `DatePicker calendar`, `DateEntry area`, `TimeEntry`, `SearchPicker SET HELP TEXT`, ... | -| [4D WritePro Interface](https://github.com/4d/4D-WritePro-Interface) | Manage [4D Write Pro palettes](https://doc.4d.com/4Dv20R9/4D/20-R9/Entry-areas.300-7543821.en.html and [table wizard](../WritePro/writeprointerface.md#table-wizard) | `WP PictureSettings`, `WP ShowTabPages`, `WP SwitchToolbar`, `WP UpdateWidget` | +| コンポーネント | 説明 | 主な機能 | +| -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| [4D AiIKit](https://github.com/4d/4D-AIKit) | サードパーティのOpenAI API に接続するためのクラス群 | `OpenAIChat`, `OpenAIImage`... | +| [4D Labels](https://github.com/4d/4D-Labels) | ラベルテンプレートを作成するための内部コンポーネント | | +| [4D NetKit](https://developer.4d.com/4D-NetKit) | サードパーティAPI に接続するためのWeb サービスツール群 | `OAuth2Provider` class, `New OAuth2 provider`, `OAuth2ProviderObject.getToken()` | +| [4D Progress](https://github.com/4d/4D-Progress) | 1つ以上の進捗バーを同じウィンドウで開く | `Progress New`, `Progress SET ON STOP METHOD`, `Progress SET PROGRESS`, ... | +| [4D SVG](https://github.com/4d/4D-SVG) | 一般的な svgグラフィックオブジェクトの作成・操作 | `SVGTool_Display_viewer`, 複数の `SVG_` メソッド | +| [4D ViewPro](ViewPro/getting-started.md) | フォームに追加できる表計算機能 | [4D View Pro ドキュメンテーション](ViewPro/getting-started.md) 参照。 | +| [4D Widgets](https://github.com/4d/4D-Widgets) | DatePicker, TimePicker, SearchPicker 4Dウィジェットの管理 | `DatePicker calendar`, `DateEntry area`, `TimeEntry`, `SearchPicker SET HELP TEXT`, ... | +| [4D WritePro Interface](https://github.com/4d/4D-WritePro-Interface) | [4D Write Pro](https://doc.4d.com/4Dv20R9/4D/20-R9/Entry-areas.300-7543821.ja.html) パレットと [表ウィザード](../WritePro/writeprointerface.md#表ウィザード) の管理 | `WP PictureSettings`, `WP ShowTabPages`, `WP SwitchToolbar`, `WP UpdateWidget` | ## サードパーティーコンポーネント diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/formEditor.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/formEditor.md index 56585c9dd68488..2ba1526ec6f6b1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/formEditor.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/formEditor.md @@ -15,14 +15,14 @@ title: フォームエディター フォームのカレントページの大部分のインタフェース要素は、表示したり非表示にしたりすることができます。 - **継承されたフォーム**: 継承されたフォームオブジェクト ([継承されたフォーム](forms.md#継承フォーム) が存在する場合) -- **ページ0**: [ページ0](forms.md#フォームのページ) のオブジェクト。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 -- **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 +- **ページ0**: [ページ0](forms.md#フォームのページ) のオブジェクト。 このオプションで、フォームのカレントページのオブジェクトとページ0 のオブジェクトを区別することができます。 +- **用紙**: 印刷ページの用紙境界を示す灰色の線。 この要素は、[印刷用](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 - **ルーラー**: フォームエディターウィンドウのルーラー。 - **マーカー**: フォームのエリアを識別する出力コントロールラインとマーカー。 この要素は、[リストフォーム](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 - **マーカーラベル**: マーカーラベル。 これは出力コントロールラインが表示されている場合のみ有効です。 この要素は、[リストフォーム](properties_FormProperties.md#フォームタイプ) タイプのフォームでのみデフォルトで表示できます。 - **境界**: フォームの境界。 このオプションが選択されていると、アプリケーションモードで表示されるとおりに、フォームがフォームエディターに表示されます。 これによりアプリケーションモードに移動しなくてもフォームを調整しやすくなります。 -> [**サイズを決めるもの**](properties_FormSize.md#サイズを決めるもの)、[**水平マージン**](properties_FormSize.md#水平マージン) そして [**垂直マージン**](properties_FormSize.md#垂直マージン) フォームプロパティ設定はフォーム境界に影響します。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 +> [**サイズを決めるもの**](properties_FormSize.md#サイズを決めるもの)、[**水平マージン**](properties_FormSize.md#水平マージン) そして [**垂直マージン**](properties_FormSize.md#垂直マージン) フォームプロパティ設定はフォーム境界に影響します。 これらの設定を使用すると、フォーム上のオブジェクトに基づいて境界を設定できます。 フォームの境界を決定する位置にオブジェクトを配置したり、サイズを変更したりすると、境界も変更されます。 #### デフォルト表示 @@ -106,7 +106,7 @@ title: フォームエディター プロパティリストを使用して、フォームおよびオブジェクトプロパティを表示・変更できます。 エディター上でオブジェクト選択していればそのプロパティが、オブジェクトを選択していない場合はフォームのプロパティがプロパティリストに表示されます。 -プロパティリストを表示/非表示にするには、**フォーム** メニュー、またはフォームエディターのコンテキストメニューから **プロパティリスト** を選択します。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 +プロパティリストを表示/非表示にするには、**フォーム** メニュー、またはフォームエディターのコンテキストメニューから **プロパティリスト** を選択します。 さらに、フォームの空のエリアをダブルクリックすることでも表示させることができます。 #### ショートカット @@ -126,7 +126,7 @@ title: フォームエディター フォームにオブジェクトを追加する方法は複数あります: -- By drawing the object directly in the form after selecting its type in the object bar (see [Using the object bar](#object-bar)) +- オブジェクトバーでオブジェクトタイプを選択し、フォームエディター上で直接それを描画する ([オブジェクトバーを使用する](#オブジェクトバー) 参照)。 - オブジェクトバーからオブジェクトをドラッグ&ドロップする。 - 定義済み [オブジェクトライブラリ](objectLibrary.md) から選択したオブジェクトをドラッグ&ドロップあるいはコピー/ペーストする。 - 他のフォームからオブジェクトをドラッグ&ドロップする。 @@ -150,7 +150,7 @@ title: フォームエディター

    マウスカーソルをフォームエリアに移動すると、カーソルは標準の矢印の形をしたポインターに変わります

    。 -2. 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 選択したいオブジェクトをクリックします。 サイズ変更ハンドルが表示され、オブジェクトが選択されたことを表わします。

    ![](../assets/en/FormEditor/selectResize.png)

    +2. 選択したいオブジェクトをクリックします。 サイズ変更ハンドルが表示され、オブジェクトが選択されたことを表わします。

    ![](../assets/en/FormEditor/selectResize.png)

    プロパティリストを使用してオブジェクトを選択するには: @@ -232,7 +232,7 @@ title: フォームエディター グループ化を解除すると、再び個々にオブジェクトを扱えるようになります。 -グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 しかし、グループに属するオブジェクトを、グループ化を解除せずに選択することは可能です。 これには、オブジェクトを **Ctrl+クリック** (Windows) または **Command+クリック** (macOS) します (グループはあらかじめ選択されている必要があります)。 +グループ化されたアクティブオブジェクトのプロパティやメソッドにアクセスするには、グループ化を解除しなければなりません。 しかし、グループに属するオブジェクトを、グループ化を解除せずに選択することは可能です。 これには、オブジェクトを **Ctrl+クリック** (Windows) または **Command+クリック** (macOS) します (グループはあらかじめ選択されている必要があります)。 グループ化はフォームエディター上でのみ意味を持ちます。 フォームの実行中は、グループ化されたすべてのオブジェクトが、グループ化されていないのと同じに動作します。 @@ -241,8 +241,9 @@ title: フォームエディター オブジェクトをグループ化するには: 1. グループ化したいオブジェクトを選択します。 -2. オブジェクトメニューから **グループ化** を選択します。 オブジェクトメニューから **グループ化** を選択します。 オブジェクトメニューから **グループ化** を選択します。
    または
    フォームエディターのツールバーでグループ化ボタンをクリックします。

    ![](../assets/en/FormEditor/group.png)

    - 4D は、新たにグループ化されたオブジェクトの境界をハンドルで表わします。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 +2. オブジェクトメニューから **グループ化** を選択します。 または + フォームエディターのツールバーでグループ化ボタンをクリックします。

    ![](../assets/en/FormEditor/group.png)

    + 4D は、新たにグループ化されたオブジェクトの境界をハンドルで表わします。 グループ内の各オブジェクトの境界にはハンドルが表示されません。 これ以降、グループ化されたオブジェクトを編集すると、グループを構成する全オブジェクトが変更されます。 オブジェクトのグループ化を解除するには: @@ -314,22 +315,22 @@ title: フォームエディター 1. 3つ以上のオブジェクトを選択し、希望する均等配置ツールをクリックします。 -2. 適用したい均等配置に対応する整列ツールをツールバー上で選択します。

    ![](../assets/en/FormEditor/distributionTool.png)

    または

    **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから均等揃えメニューコマンドを選択します。

    4D は各オブジェクトを均等に配置します。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 +2. 適用したい均等配置に対応する整列ツールをツールバー上で選択します。

    ![](../assets/en/FormEditor/distributionTool.png)

    または

    **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから均等揃えメニューコマンドを選択します。

    4D は各オブジェクトを均等に配置します。 各オブジェクトの中心までの間隔、および隣接する 2つのオブジェクトの間隔のうち最も広い間隔が基準として用いられます。 "整列と均等配置" ダイアログボックスを用いてオブジェクトを均等に配置するには: 1. 均等配置したいオブジェクトを選択します。 -2. **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから **整列...** コマンドを選択します。 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: 次のダイアログボックスが表示されます: [](../assets/en/FormEditor/alignmentAssistant.png) +2. **オブジェクト** メニュー、またはエディターのコンテキストメニューの **整列** サブメニューから **整列...** コマンドを選択します。 次のダイアログボックスが表示されます: [](../assets/en/FormEditor/alignmentAssistant.png) 3. "左/右整列" や "上/下整列" エリアで、標準の均等配置アイコンをクリックします: ![](../assets/en/FormEditor/horizontalDistribution.png)

    (標準の横均等揃えアイコン)

    見本エリアには、選択結果が表示されます。 -4. 標準の均等配置を実行するには、**プレビュー** または *適用* をクリックします。

    この場合、4D は標準の均等配置を実行し、オブジェクトは等間隔で配置されます。

    または:

    特定の均等配置を実行するには、**均等配置** オプションを選択します (たとえば各オブジェクトの右辺までの距離をもとにしてオブジェクトを均等に配置したい場合)。 このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    +4. 標準の均等配置を実行するには、**プレビュー** または *適用* をクリックします。

    この場合、4D は標準の均等配置を実行し、オブジェクトは等間隔で配置されます。

    または:

    特定の均等配置を実行するには、**均等配置** オプションを選択します (たとえば各オブジェクトの右辺までの距離をもとにしてオブジェクトを均等に配置したい場合)。 このオプションはスイッチのように機能します。 均等配置チェックボックスが選択されていると、このオプションの下にあるアイコンは異なる動作をおこないます:

    - 左/右整列の場合、各アイコンは次の均等配置に対応します: 選択オブジェクトの左辺、中央 (横)、 右辺で均等に揃えます。 - 上/下整列の場合、各アイコンは次の均等配置に対応します: 選択オブジェクトの上辺、中央 (縦)、 下辺で均等に揃えます。 -**プレビュー** ボタンをクリックすると、この設定による結果をプレビューすることができます。 この表示はフォームエディター上で実行されますが、ダイアログボックスは前面に表示されたままです。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 +**プレビュー** ボタンをクリックすると、この設定による結果をプレビューすることができます。 この表示はフォームエディター上で実行されますが、ダイアログボックスは前面に表示されたままです。 この後、変更の **キャンセル** または **適用** をおこなうことができます。 > 整列アシスタントを使用すると、1回の操作でオブジェクトの整列や均等配置をおこなえます。 オブジェクトを均等配置する方法についての詳細は、[オブジェクトの均等配置](#オブジェクトの均等配置) を参照ください。 @@ -353,7 +354,7 @@ title: フォームエディター ### データの入力順 -データ入力順とは、入力フォームで **Tab**キーや **改行**キーを押したときに、フィールドやサブフォーム、その他のアクティブオブジェクトが選択される順番のことです。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 +データ入力順とは、入力フォームで **Tab** キーや **改行**キーを押したときに、フィールドやサブフォーム、その他のアクティブオブジェクトが選択される順番のことです。 **Shift+Tab** や **Shift+改行**キーを押すことで、フォーム内を逆方向 (逆の入力順) に移動することもできます。 > 入力順は、`FORM SET ENTRY ORDER` および `FORM GET ENTRY ORDER` コマンドを使用することでランタイムで変更することができます。 @@ -389,7 +390,7 @@ JSONフォームの入力順序の設定は、[`entryOrder`](properties_JSONref. 4. 入力順の設定が終了したら、ツールバーの他のツールをクリックするか、**フォーム** メニューから **入力順** を選択します。 4Dは、フォームエディターの通常操作に戻ります。 -> フォームのカレントページの入力順だけが表示されます。 フォームのカレントページの入力順だけが表示されます。 フォームのカレントページの入力順だけが表示されます。 フォームのカレントページの入力順だけが表示されます。 フォームのページ0 や継承フォームに入力可オブジェクトが含まれている場合、デフォルトの入力順は次のようになります: 継承フォームのページ0 のオブジェクト→ 継承フォームのページ1 のオブジェクト→ 開かれているフォームのページ0 のオブジェクト→ 開かれているフォームのカレントページのオブジェクト。 +> フォームのカレントページの入力順だけが表示されます。 フォームのページ0 や継承フォームに入力可オブジェクトが含まれている場合、デフォルトの入力順は次のようになります: 継承フォームのページ0 のオブジェクト→ 継承フォームのページ1 のオブジェクト→ 開かれているフォームのページ0 のオブジェクト→ 開かれているフォームのカレントページのオブジェクト。 #### データ入力グループを使用する @@ -457,7 +458,7 @@ stroke: #800080; ![](../assets/en/FormEditor/cssPpropList.png) -スタイルシートで定義された属性値は、JSONフォームの記述でオーバーライドすることができます (ただし、CSS に `!important` 宣言が含まれている場合は除きます。 後述参照)。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 +スタイルシートで定義された属性値は、JSONフォームの記述でオーバーライドすることができます (ただし、CSS に `!important` 宣言が含まれている場合は除きます。 後述参照)。 この場合、プロパティリストでは、JSONフォームの値が **太字** で表示されます。 **Ctrl+クリック** (Windows) または **Command+クリック** (macOs) のショートカットで、値をスタイルシートの定義に戻すことができます。 > [カレントビュー](#ビューを使い始める前に) は太字で表示されます。 @@ -471,7 +472,7 @@ stroke: #800080; ## リストボックスビルダー -**リストボックスビルダー** を使用して、エンティティセレクション型リストボックスを素早く作成することができます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 +**リストボックスビルダー** を使用して、エンティティセレクション型リストボックスを素早く作成することができます。 作成したリストボックスは、すぐに使用することも、フォームエディターで編集することもできます。 リストボックスビルダーでは、いくつかの簡単な操作で、エンティティセレクション型リストボックスの作成と入力ができます。 @@ -517,7 +518,7 @@ stroke: #800080; ## フィールドを挿入 -**フィールドを挿入** ボタンは、テーブルフォームにおいて、親テーブルの全フィールド (オブジェクト型と BLOB型を除く) をインターフェース標準に従ってラベル付きで挿入します。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 +**フィールドを挿入** ボタンは、テーブルフォームにおいて、親テーブルの全フィールド (オブジェクト型と BLOB型を除く) をインターフェース標準に従ってラベル付きで挿入します。 このウィザードは、基本的な入力フォームやリストフォームを作成するためのショートカットです。 **フィールドを挿入** ボタンは、テーブルフォームでのみ利用可能です。 @@ -582,7 +583,7 @@ stroke: #800080; ビューパレットを表示するには、次の 3つの方法があります: -- **ツールバー**: フォームエディターのツールバーにあるビューボタンをクリックする。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 +- **ツールバー**: フォームエディターのツールバーにあるビューボタンをクリックする。 (1つ以上のオブジェクトがデフォルトビュー以外のビューに属している場合、このアイコンは塗り潰し表示されます)。 | デフォルトビューのみ | 追加のビューあり | | :-----------------------------------------------------: | :---------------------------------------------------: | diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/forms.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/forms.md index 8255c6c22f4857..5ced8fbcb3e9a5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/forms.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/forms.md @@ -10,7 +10,7 @@ title: Forms また、以下の機能により、フォームは他のフォームを含むことができます: - [サブフォームオブジェクト](FormObjects/subform_overview.md) -- [inherited forms](./properties_FormProperties.md#inherited-form-name) +- [継承されたフォーム](./properties_FormProperties.md#継承するフォーム名) ## フォームを作成する @@ -18,7 +18,7 @@ title: Forms - **4D Developer インターフェース:** **ファイル** メニューまたは **エクスプローラ** ウィンドウから新規フォームを作成できます。 - **フォームエディター**: フォームの編集は **[フォームエディター](FormEditor/formEditor.md)** を使っておこないます。 -- **JSON code:** Create and design your forms using JSON and save the form files at the [appropriate location](Project/architecture#sources). 例: +- **JSON コード:** JSON を使ってフォームを作成・設計し、フォーム ファイルを [適切な場所](Project/architecture.md#sources) に保存します。 例: ``` { @@ -87,7 +87,7 @@ title: Forms - もっとも重要な情報を最初のページに配置し、他の情報を後ろのページに配置する。 - トピックごとに、専用ページにまとめる。 -- Reduce or eliminate scrolling during data entry by setting the [entry order](formEditor.md#data-entry-order). +- [入力順](formEditor.md#データの入力順)を設定して、データ入力中のスクロール動作を少なくしたり、または不要にする。 - フォーム要素の周りの空間を広げ、洗練された画面をデザインする。 複数ページは入力フォームとして使用する場合にのみ役立ちます。 印刷出力には向きません。 マルチページフォームを印刷すると、最初のページしか印刷されません。 @@ -111,7 +111,7 @@ title: Forms 3. 開かれたフォームの 0ページ 4. 開かれたフォームのカレントページ -This order determines the default [entry order](formEditor.md#data-entry-order) of objects in the form. +この順番はフォーム内でのオブジェクトのデフォルトの[入力順](formEditor.md#データ入力順) を決定します。 > 継承フォームの 0ページと 1ページだけが他のフォームに表示可能です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/macros.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/macros.md index e7e02ab5966960..2957ab4f5948ec 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/macros.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/macros.md @@ -76,7 +76,7 @@ Function onInvoke($editor : Object)->$result : Object ![](../assets/en/FormEditor/macroSelect.png) -This menu is built upon the `formMacros.json` [macro definition file(s)](#location-of-macro-file). マクロメニュー項目は ABC順に表示されます。 +このメニューは `formMacros.json` [マクロ定義ファイル](#マクロファイルの場所) をもとに作成されています。 マクロメニュー項目は ABC順に表示されます。 このメニューは、フォームエディター内で右クリックにより開くことができます。 選択オブジェクトがある状態や、フォームオブジェクトの上でマクロを呼び出した場合は、それらのオブジェクト名がマクロの [`onInvoke`](#oninvoke) 関数の `$editor.currentSelection` や `$editor.target` パラメーターに受け渡されます。 @@ -140,7 +140,7 @@ JSONファイルの説明です: プロジェクトおよびコンポーネントにおいてインスタンス化するマクロは、それぞれ [4Dクラス](Concepts/classes.md) として宣言する必要があります。 -The class name must match the name defined using the [class](#declaring-macros) attribute of the `formMacros.json` file. +クラスの名称は、`formMacros.json` ファイルで [class](#マクロの宣言) 属性に定義した名前と同一でなくてはなりません。 マクロは、アプリケーションの起動時にインスタンス化されます。 そのため、関数の追加やパラメーターの編集など、マクロクラスの構造や その [コンストラクター](#class-constructor) になんらかの変更を加えた場合には、それらを反映するにはアプリケーションを再起動する必要があります。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/objectLibrary.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/objectLibrary.md index 93e76ce9e184ae..6f1a309ce8305e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/objectLibrary.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/objectLibrary.md @@ -31,7 +31,7 @@ title: オブジェクトライブラリ 設定済みオブジェクトライブラリは変更できません。 デフォルトオブジェクトを編集したり、設定済みオブジェクトやフォームのライブラリを独自に作るには、カスタムオブジェクトライブラリを作成します (後述参照)。 -All objects proposed in the standard object library are described on [this section](../FormEditor/objectLibrary.md). +標準のオブジェクトライブラリにて提供されているオブジェクトについては[このセクション](../FormEditor/objectLibrary.md) で詳しく説明されています。 ## カスタムオブジェクトライブラリの作成と使用 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/pictures.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/pictures.md index ceec8a6608e990..d7a5c33495fc8d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/pictures.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/pictures.md @@ -57,10 +57,10 @@ title: ピクチャー 高解像度が自動的に優先されますが、スクリーンやピクチャーの dpi *(\*)*、およびピクチャー形式によって、動作に違いが生じることがあります: -| 演算 | 動作 | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| ドロップ、ペースト | ピクチャーの設定:
    • **72dpi または 96dpi** - ピクチャーは "[中央合わせ]"(FormObjects/properties_Picture.md#中央合わせ--トランケート-中央合わせしない) 表示され、ピクチャーを表示しているオブジェクトは同じピクセル数です。
    • **その他の dpi** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示され、ピクチャーを表示しているオブジェクトのピクセル数は (ピクチャーのピクセル数 / ピクチャーの dpi) \* (スクリーンの dpi) です。
    • **dpi なし** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示されます。
    | -| [Automatic Size](https://doc.4d.com/4Dv20/4D/20.2/Setting-object-display-properties.300-6750143.en.html#148057) (Form Editor context menu) | If the picture's display format is:
    • **[Scaled](FormObjects/properties_Picture.md#scaled-to-fit)** - The object containing the picture is resized according to (picture's number of pixels \* screen dpi) / (picture's dpi)
    • **Not scaled** - The object containing the picture has the same number of pixels as the picture.
    | +| 演算 | 動作 | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| ドロップ、ペースト | ピクチャーの設定:
    • **72dpi または 96dpi** - ピクチャーは "[中央合わせ]"(FormObjects/properties_Picture.md#中央合わせ--トランケート-中央合わせしない) 表示され、ピクチャーを表示しているオブジェクトは同じピクセル数です。
    • **その他の dpi** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示され、ピクチャーを表示しているオブジェクトのピクセル数は (ピクチャーのピクセル数 / ピクチャーの dpi) \* (スクリーンの dpi) です。
    • **dpi なし** - ピクチャーは "[スケーリング](FormObjects/properties_Picture.md#スケーリング)" 表示されます。
    | +| [自動サイズ](https://doc.4d.com/4Dv20/4D/20.2/Setting-object-display-properties.300-6750143.ja.html#148057) (フォームエディターのコンテキストメニュー) | ピクチャーの表示が:
    • **[スケーリング]](FormObjects/properties_Picture.md#スケーリング)** - ピクチャーを表示しているオブジェクトのピクセル数は (ピクチャーのピクセル数 / ピクチャーの dpi) \* (スクリーンの dpi) にリサイズされます。
    • **スケーリング以外** - ピクチャーを表示しているオブジェクトは、ピクチャーと同じピクセル数です。
    | *(\*) 通常は macOS = 72dpi, Windows = 96dpi* @@ -73,7 +73,7 @@ title: ピクチャー - ダークモードピクチャーは、標準 (ライトスキーム) バージョンと同じ名前で、"_dark "という接尾辞が付きます。 - ダークモードピクチャーは、標準バージョンの隣に保存します。 -At runtime, 4D will automatically load the light or dark image according to the [current form color scheme](../FormEditor/properties_FormProperties.md#color-scheme). +ランタイム時に、4D は [現在のフォームのカラースキーム](../FormEditor/properties_FormProperties.md#カラースキーム) に応じて、ライト用またはダーク用のピクチャーを自動的にロードします。 ![](../assets/en/FormEditor/darkicon.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_Action.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_Action.md index 7e3b591d167a86..0e3140ceb1c68a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_Action.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_Action.md @@ -5,7 +5,7 @@ title: 動作 ## メソッド -フォームに関連づけられたメソッドへの参照。 フォームメソッドを使用してデータとオブジェクトを管理することができます。ただし、これら目的には、オブジェクトメソッドを使用する方が通常は簡単であり、より効果的です。 See [methods](../Concepts/methods.md). +フォームに関連づけられたメソッドへの参照。 フォームメソッドを使用してデータとオブジェクトを管理することができます。ただし、これら目的には、オブジェクトメソッドを使用する方が通常は簡単であり、より効果的です。 詳細は[メソッド](../Concepts/methods.md) を参照してください。 メソッドが関連づけられているフォームに関わるイベントが発生した場合、4D は自動的にフォームメソッドを呼び出します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_FormProperties.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_FormProperties.md index 988880498a759f..43fe0659bea9aa 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_FormProperties.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_FormProperties.md @@ -9,7 +9,7 @@ title: フォームプロパティ > 配色プロパティは、macOS でのみ適用されます。 -このプロパティは、フォームのカラースキームを定義します。 このプロパティは、フォームのカラースキームを定義します。 このプロパティが設定されていない場合のデフォルトでは、カラースキームの値は **継承済み** です (フォームは [アプリケーションレベル](../commands-legacy/set-application-color-scheme.md) で定義されたカラースキームを使用します)。 これは、フォームに対して以下の 2つのオプションのいずれかに変更することができます: これは、フォームに対して以下の 2つのオプションのいずれかに変更することができます: +このプロパティは、フォームのカラースキームを定義します。 このプロパティが設定されていない場合のデフォルトでは、カラースキームの値は **継承済み** です (フォームは [アプリケーションレベル](../commands-legacy/set-application-color-scheme.md) で定義されたカラースキームを使用します)。 これは、フォームに対して以下の 2つのオプションのいずれかに変更することができます: - dark - 暗い背景に明るいテキスト - light - 明るい背景に暗いテキスト @@ -52,7 +52,7 @@ title: フォームプロパティ - またコードエディター内での[自動補完機能](../code-editor/write-class-method.md#autocomplete-functions) を利用することもできます。 -- フォームが実行されると、4D は自動的にユーザークラスのオブジェクトをフォームに対してインスタンス化し、これは[`Form`](../commands/form.md) オブジェクトによって返されます。 Your code can directly access class functions defined in the user class through the `Form` command (e.g. `Form.message()`) without having to pass a *formData* object as parameter to the [`DIALOG`](../commands/dialog.md), [`Print form`](../commands/print-form.md), [`FORM LOAD`](../commands/form-load.md), and [`PRINT SELECTION`](../commands-legacy/print-selection.md) commands. +- フォームが実行されると、4D は自動的にユーザークラスのオブジェクトをフォームに対してインスタンス化し、これは[`Form`](../commands/form.md) オブジェクトによって返されます。 これにより、[`DIALOG`](../commands/dialog.md)、[`Print form`](../commands/print-form.md)、[`FORM LOAD`](../commands/form-load.md) あるいは [`PRINT SELECTION`](../commands-legacy/print-selection.md) といったコマンドに*formData* オブジェクトを渡さなくても、コードから`Form` コマンドを通してユーザークラスで定義されたクラス関数へと直接アクセスすることができます(例:`Form.message()`) 。 :::note @@ -74,7 +74,7 @@ title: フォームプロパティ #### JSON 文法 -フォーム名は、form.4Dform ファイルを格納するフォルダーの名前で定義されます。 See [project architecture](Project/architecture#sources) for more information. +フォーム名は、form.4Dform ファイルを格納するフォルダーの名前で定義されます。 詳しくは [プロジェクトのアーキテクチャー](Project/architecture.md#sources) を参照ください。 --- @@ -176,7 +176,7 @@ title: フォームプロパティ - カレントページ - それぞれのフォームオブジェクトの配置・大きさ・表示状態 (リストボックス列のサイズと表示状態も含む)。 -> このオプションは、`OBJECT DUPLICATE` コマンドを使用して作成されたオブジェクトに対しては無効です。 このコマンドを使用したときに使用環境を復元させるには、デベロッパーがオブジェクトの作成・定義・配置の手順を再現しなければなりません。 このコマンドを使用したときに使用環境を復元させるには、デベロッパーがオブジェクトの作成・定義・配置の手順を再現しなければなりません。 +> このオプションは、`OBJECT DUPLICATE` コマンドを使用して作成されたオブジェクトに対しては無効です。 このコマンドを使用したときに使用環境を復元させるには、デベロッパーがオブジェクトの作成・定義・配置の手順を再現しなければなりません。 このオプションが選択されているとき、一部のオブジェクトに置いては [値を記憶](FormObjects/properties_Object.md#値を記憶) のオプションが選択可能になります。 @@ -200,7 +200,7 @@ title: フォームプロパティ - Resourcesフォルダーに保存された、標準の XLIFF参照 - テーブル/フィールドラベル: 適用できるシンタックスは `` または `` です。 -- 変数またはフィールド: 適用できるシンタックスは `\` または `\<[TableName]FieldName>`。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 +- 変数またはフィールド: 適用できるシンタックスは `\` または `\<[TableName]FieldName>`。 フィールドや変数の現在の値がウィンドウタイトルとして表示されます。 > ウィンドウタイトルの最大文字数は 31 です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_JSONref.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_JSONref.md index 0ef8b525325939..d09abd2875c5e1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_JSONref.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormEditor/properties_JSONref.md @@ -9,46 +9,46 @@ title: フォーム JSON プロパティリスト [b](#b) - [c](#c) - [d](#d) - [e](#e) - [f](#f) - [h](#h) - [i](#i) - [m](#m) - [p](#p) - [r](#r) - [s](#s) - [w](#w) -| プロパティ | 説明 | とりうる値 | -| --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **b** | | | -| [`bottomMargin`](properties_FormSize.md#垂直-マージン) | 垂直マージン値 (ピクセル単位) | 最小値: 0 | -| **c** | | | -| [`colorScheme`](properties_FormProperties.md#カラースキーム) | フォームのカラースキーム | "dark", "light" | -| [`css`](properties_FormProperties.md#css) | フォームが使用する CSSファイル | 文字列、文字列のコレクション、または "path" と "media" プロパティを持つオブジェクトのコレクションとして提供される CSSファイルパス。 | -| **d** | | | -| [`destination`](properties_FormProperties.md#フォームタイプ) | フォームタイプ | "detailScreen", "listScreen", "detailPrinter", "listPrinter" | -| **e** | | | -| [`entryOrder`](formEditor.md#データの入力順) | 入力フォームで **Tab**キーや **改行**キーが使用されたときに、アクティブオブジェクトが選択される順番。 | 4Dフォームオブジェクト名のコレクション | -| [`events`](Events/overview.md) | オブジェクトまたはフォームについて選択されているイベントのリスト | イベント名のコレクション。例: ["onClick","onDataChange"...]. | -| **f** | | | -| [`formSizeAnchor`](./properties_FormSize.md#size-based-on) | フォームサイズを定義するために使用するオブジェクトの名前 (最小長さ: 1) (最小長さ: 1) | 4Dオブジェクトの名前 | -| **h** | | | -| [`height`](properties_FormSize.md#高さ) | フォームの高さ | 最小値: 0 | -| **i** | | | -| [`inheritedForm`](properties_FormProperties.md#継承されたフォーム名) | 継承フォームを指定します | テーブルまたはプロジェクトフォームの名前 (文字列), フォームを定義する .json ファイルへの POSIX パス (文字列), またはフォームを定義するオブジェクト | -| [`inheritedFormTable`](properties_FormProperties.md#継承されたフォームテーブル) | 継承フォームがテーブルに属していれば、そのテーブル | テーブル名またはテーブル番号 | -| **m** | | | -| [`markerBody`](properties_Markers.md#フォーム詳細) | 詳細マーカーの位置 | 最小値: 0 | -| [`markerBreak`](properties_Markers.md#フォームブレーク) | ブレークマーカーの位置 | 最小値: 0 | -| [`markerFooter`](properties_Markers.md#フォームフッター) | フッターマーカーの位置 | 最小値: 0 | -| [`markerHeader`](properties_Markers.md#form-header) | ヘッダーマーカーの位置 | 最小値 (整数): 0; 最小値 (整数配列): 0 | -| [`memorizeGeometry`](properties_FormProperties.md#save-geometry) | フォームウィンドウが閉じられた時に、フォームパラメーターを記憶 | true, false | -| [`menuBar`](properties_Menu.md#連結メニューバー) | フォームと関連づけるメニューバー | 有効なメニューバーの名称 | -| [`method`](properties_Action.md#メソッド) | プロジェクトメソッド名 | 存在するプロジェクトメソッドの名前 | -| **p** | | | -| [`pages`](properties_FormProperties.md#pages) | ページのコレクション (各ページはオブジェクトです) | ページオブジェクト | -| [`pageFormat`](properties_Print.md#設定) | object | 利用可能な印刷プロパティ | -| **r** | | | -| [`rightMargin`](properties_FormSize.md#水平-マージン) | 水平マージン値 (ピクセル単位) | 最小値: 0 | -| **s** | | | -| [`shared`](properties_FormProperties.md#サブフォームとして公開) | フォームがサブフォームとして利用可能かを指定します | true, false | -| **w** | | | -| [`width`](properties_FormSize.md#幅) | フォームの幅 | 最小値: 0 | -| [`windowMaxHeight`](properties_WindowSize.md#maximum-height-minimum-height) | フォームウィンドウの最大高さ | 最小値: 0 | -| [`windowMaxWidth`](properties_WindowSize.md#maximum-width-minimum-width) | フォームウィンドウの最大幅 | 最小値: 0 | -| [`windowMinHeight`](properties_WindowSize.md#maximum-height-minimum-height) | フォームウィンドウの最小高さ | 最小値: 0 | -| [`windowMinWidth`](properties_WindowSize.md#maximum-width-minimum-width) | フォームウィンドウの最小幅 | 最小値: 0 | -| [`windowSizingX`](properties_WindowSize.md#固定幅) | フォームウィンドウの高さ固定 | "fixed", "variable" | -| [`windowSizingY`](properties_WindowSize.md#固定高さ) | フォームウィンドウの幅固定 | "fixed", "variable" | -| [`windowTitle`](properties_FormProperties.md#ウィンドウタイトル) | フォームウィンドウのタイトルを指定します | フォームウィンドウの名前。 | \ No newline at end of file +| プロパティ | 説明 | とりうる値 | +| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **b** | | | +| [`bottomMargin`](properties_FormSize.md#垂直-マージン) | 垂直マージン値 (ピクセル単位) | 最小値: 0 | +| **c** | | | +| [`colorScheme`](properties_FormProperties.md#カラースキーム) | フォームのカラースキーム | "dark", "light" | +| [`css`](properties_FormProperties.md#css) | フォームが使用する CSSファイル | 文字列、文字列のコレクション、または "path" と "media" プロパティを持つオブジェクトのコレクションとして提供される CSSファイルパス。 | +| **d** | | | +| [`destination`](properties_FormProperties.md#フォームタイプ) | フォームタイプ | "detailScreen", "listScreen", "detailPrinter", "listPrinter" | +| **e** | | | +| [`entryOrder`](formEditor.md#データの入力順) | 入力フォームで **Tab**キーや **改行**キーが使用されたときに、アクティブオブジェクトが選択される順番。 | 4Dフォームオブジェクト名のコレクション | +| [`events`](Events/overview.md) | オブジェクトまたはフォームについて選択されているイベントのリスト | イベント名のコレクション。例: ["onClick","onDataChange"...]. | +| **f** | | | +| [`formSizeAnchor`](./properties_FormSize.md#サイズを決めるもの) | フォームサイズを定義するために使用するオブジェクトの名前 (最小長さ: 1) (最小長さ: 1) | 4Dオブジェクトの名前 | +| **h** | | | +| [`height`](properties_FormSize.md#高さ) | フォームの高さ | 最小値: 0 | +| **i** | | | +| [`inheritedForm`](properties_FormProperties.md#継承されたフォーム名) | 継承フォームを指定します | テーブルまたはプロジェクトフォームの名前 (文字列), フォームを定義する .json ファイルへの POSIX パス (文字列), またはフォームを定義するオブジェクト | +| [`inheritedFormTable`](properties_FormProperties.md#継承されたフォームテーブル) | 継承フォームがテーブルに属していれば、そのテーブル | テーブル名またはテーブル番号 | +| **m** | | | +| [`markerBody`](properties_Markers.md#フォーム詳細) | 詳細マーカーの位置 | 最小値: 0 | +| [`markerBreak`](properties_Markers.md#フォームブレーク) | ブレークマーカーの位置 | 最小値: 0 | +| [`markerFooter`](properties_Markers.md#フォームフッター) | フッターマーカーの位置 | 最小値: 0 | +| [`markerHeader`](properties_Markers.md#フォームヘッダー) | ヘッダーマーカーの位置 | 最小値 (整数): 0; 最小値 (整数配列): 0 | +| [`memorizeGeometry`](properties_FormProperties.md#配置を記憶) | フォームウィンドウが閉じられた時に、フォームパラメーターを記憶 | true, false | +| [`menuBar`](properties_Menu.md#連結メニューバー) | フォームと関連づけるメニューバー | 有効なメニューバーの名称 | +| [`method`](properties_Action.md#メソッド) | プロジェクトメソッド名 | 存在するプロジェクトメソッドの名前 | +| **p** | | | +| [`pages`](properties_FormProperties.md#pages) | ページのコレクション (各ページはオブジェクトです) | ページオブジェクト | +| [`pageFormat`](properties_Print.md#設定) | object | 利用可能な印刷プロパティ | +| **r** | | | +| [`rightMargin`](properties_FormSize.md#水平-マージン) | 水平マージン値 (ピクセル単位) | 最小値: 0 | +| **s** | | | +| [`shared`](properties_FormProperties.md#サブフォームとして公開) | フォームがサブフォームとして利用可能かを指定します | true, false | +| **w** | | | +| [`width`](properties_FormSize.md#幅) | フォームの幅 | 最小値: 0 | +| [`windowMaxHeight`](properties_WindowSize.md#最大高さ-最小高さ) | フォームウィンドウの最大高さ | 最小値: 0 | +| [`windowMaxWidth`](properties_WindowSize.md#最大幅-最小幅) | フォームウィンドウの最大幅 | 最小値: 0 | +| [`windowMinHeight`](properties_WindowSize.md#最大高さ-最小高さ) | フォームウィンドウの最小高さ | 最小値: 0 | +| [`windowMinWidth`](properties_WindowSize.md#最大幅-最小幅) | フォームウィンドウの最小幅 | 最小値: 0 | +| [`windowSizingX`](properties_WindowSize.md#固定幅) | フォームウィンドウの高さ固定 | "fixed", "variable" | +| [`windowSizingY`](properties_WindowSize.md#固定高さ) | フォームウィンドウの幅固定 | "fixed", "variable" | +| [`windowTitle`](properties_FormProperties.md#ウィンドウタイトル) | フォームウィンドウのタイトルを指定します | フォームウィンドウの名前。 | \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/buttonGrid_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/buttonGrid_overview.md index 5ec56d8591a0d4..f558d1987fb951 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/buttonGrid_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/buttonGrid_overview.md @@ -25,7 +25,7 @@ title: ボタングリッド ### ページ指定アクション -You can assign the `gotoPage` [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) to a button grid. この標準アクションを設定すると、4D はボタングリッドで選択されたボタンの番号に相当するフォームページを自動的に表示します。 たとえばグリッド上の 10 番目のボタンを選択すると、4D は現在のフォームの 10 ページ目を表示します (存在する場合)。 +ボタングリッドにページ指定用の `gotoPage` [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html)を割り当てることができます。 この標準アクションを設定すると、4D はボタングリッドで選択されたボタンの番号に相当するフォームページを自動的に表示します。 たとえばグリッド上の 10 番目のボタンを選択すると、4D は現在のフォームの 10 ページ目を表示します (存在する場合)。 ## プロパティ一覧 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/button_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/button_overview.md index 99d1b0d83dd370..893915d7bb1fbf 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/button_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/button_overview.md @@ -15,7 +15,7 @@ title: ボタン フォーム実行時、標準アクションが設定されたボタンは必要に応じてグレー表示されます。 たとえば、あるテーブルの1番目のレコードが表示されていると、先頭レコード (`firstRecord`) 標準アクションがついたボタンはグレー表示されます。 -If you want a button to perform an action that's not available as a standard action, leave the standard action field empty and write an [object method to specify the button’s action](../FormObjects/properties_Action.md#method). +標準アクションとして提供されていない動作をボタンに実行させたい場合には、標準アクションのフィールドは空欄にしておき、 [ボタンのアクションを指定するオブジェクトメソッドを書きます](../FormObjects/properties_Action.md#メソッド)。 通常は、イベントテーマで `On Clicked` イベントを有効にして、ボタンのクリック時にのみメソッドを実行します。 どのタイプのボタンにもメソッドを割り当てることができます。 ボタンに関連付けられた変数 ([variable](properties_Object.md#変数あるいは式) 属性) は、デザインモードやアプリケーションモードでフォームが初めて開かれるときに自動で **0** に初期化されます。 ボタンをクリックすると、変数の値は **1** になります。 @@ -325,7 +325,7 @@ Windows の場合、サークルは表示されません。 すべてのボタンは次の基本プロパティを共有します: -[Bold](properties_Text.md#bold) - [Border Line Style](properties_BackgroundAndBorder.md#border-line-style) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Button Style](properties_TextAndPicture.md#button-style) - [Class](properties_Object.md#css-class) - [Droppable](properties_Action.md#droppable) - [Focusable](properties_Entry.md#focusable) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Italic](properties_Text.md#italic) - [Image hugs title](properties_TextAndPicture.md#image-hugs-title)(1) - [Left](properties_CoordinatesAndSizing.md#left) - [Not rendered](properties_Display.md#not-rendered) - [Number of States](properties_TextAndPicture.md#number-of-states)(1) - [Object Name](properties_Object.md#object-name) - [Picture pathname](properties_TextAndPicture.md#picture-pathname)(1) - [Right](properties_CoordinatesAndSizing.md#right) - [Shortcut](properties_Entry.md#shortcut) - [Standard action](properties_Action.md#standard-action) - [Title](properties_Object.md#title) - [Title/Picture Position](properties_TextAndPicture.md#titlepicture-position)(1) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) - [With pop-up menu](properties_TextAndPicture.md#with-pop-up-menu)(2) +[タイプ](properties_Object.md#タイプ) - [オブジェクト名](properties_Object.md#オブジェクト名) - [変数あるいは式](properties_Object.md#変数あるいは式) - [タイトル](properties_Object.md#タイトル) - [CSSクラス](properties_Object.md#cssclass) - [ボタンスタイル](properties_TextAndPicture.md#ボタンスタイル) - [ピクチャーパス名](properties_TextAndPicture.md#ピクチャーパス名)(1) - [状態の数](properties_TextAndPicture.md#状態の数)(1) - [タイトル/ピクチャー位置](properties_TextAndPicture.md#タイトルピクチャー位置)(1) - [ポップアップメニューあり](properties_TextAndPicture.md#ポップアップメニューあり)(2) - [タイトルと画像を隣接させる](properties_TextAndPicture.md#タイトルと画像を隣接させる)(1) - [左](properties_CoordinatesAndSizing.md#左) - [上](properties_CoordinatesAndSizing.md#上) - [右](properties_CoordinatesAndSizing.md#右) - [下](properties_CoordinatesAndSizing.md#下) - [幅](properties_CoordinatesAndSizing.md#幅) - [高さ](properties_CoordinatesAndSizing.md#高さ) - [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) - [縦方向サイズ変更](properties_ResizingOptions.md#縦方向サイズ変更) - [フォーカス可](properties_Entry.md#フォーカス可) - [ショートカット](properties_Entry.md#ショートカット) - [表示状態](properties_Display.md#表示状態) - [レンダリングしない](properties_Display.md#レンダリングしない) - [境界線スタイル](properties_BackgroundAndBorder.md#境界線スタイル) - [フォント](properties_Text.md#フォント) - [フォントサイズ](properties_Text.md#フォントサイズ) - [太字](properties_Text.md#太字) - [イタリック](properties_Text.md#イタリック) - [下線](properties_Text.md#下線) - [フォントカラー](properties_Text.md#フォントカラー) - [横揃え](properties_Text.md#横揃え) - [ヘルプTips](properties_Help.md#ヘルプtips) - [標準アクション](properties_Action.md#標準アクション) - [ドロップ有効](properties_Action.md#ドロップ有効) > (1) Not supported by the [Help](#help) style.
    > (2) Not supported by the [Help](#help), [Flat](#flat) and [Regular](#regular) styles. diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/checkbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/checkbox_overview.md index 004eb2474d9cc8..3c0f6b0017642a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/checkbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/checkbox_overview.md @@ -9,7 +9,7 @@ title: チェックボックス チェックボックスは、メソッドまたは [標準アクション](#標準アクションの使用) を使って管理します。 チェックボックスが選択されると、チェックボックスに割り当てられたメソッドが実行されます。 他のボタンと同じように、フォームが初めて開かれると、チェックボックスの変数は 0 に初期化されます。 -チェックボックスは小さな四角形の右側にテキストを表示します。 このテキストはチェックボックスの [タイトル](properties_Object.md#title) プロパティで設定します。 You can enter a title in the form of an XLIFF reference in this area (see [Appendix B: XLIFF architecture](https://doc.4d.com/4Dv20/4D/20.2/Appendix-B-XLIFF-architecture.300-6750166.en.html)). +チェックボックスは小さな四角形の右側にテキストを表示します。 このテキストはチェックボックスの [タイトル](properties_Object.md#title) プロパティで設定します。 タイトルには、XLIFF参照を入れることもできます ([付録 B: XLIFFアーキテクチャー](https://doc.4d.com/4Dv20/4D/20.2/Appendix-B-XLIFF-architecture.300-6750166.ja.html) 参照)。 ## チェックボックスの使用 @@ -387,12 +387,12 @@ Office XP スタイルのチェックボックスの反転表示と背景のカ すべてのチェックボックスは次の基本プロパティを共有します: -[Bold](properties_Text.md#bold) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Button Style](properties_TextAndPicture.md#button-style) - [Class](properties_Object.md#css-class) - [Enterable](properties_Entry.md#enterable) - [Expression Type](properties_Object.md#expression-type) - [Focusable](properties_Entry.md#focusable) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment)(1) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Image hugs title](properties_TextAndPicture.md#image-hugs-title)(2) - [Italic](properties_Text.md#italic) - [Left](properties_CoordinatesAndSizing.md#left) - [Number of States](properties_TextAndPicture.md#number-of-states)(2) - [Object Name](properties_Object.md#object-name) - [Picture pathname](properties_TextAndPicture.md#picture-pathname)(2) - [Right](properties_CoordinatesAndSizing.md#right) - [Save value](properties_Object.md#save-value) - [Shortcut](properties_Entry.md#shortcut) - [Standard action](properties_Action.md#standard-action) - [Title](properties_Object.md#title) - [Title/Picture Position](properties_TextAndPicture.md#titlepicture-position)(2) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) +[タイプ](properties_Object.md#タイプ) - [オブジェクト名](properties_Object.md#オブジェクト名) - [変数あるいは式](properties_Object.md#変数あるいは式) - [式の型](properties_Object.md#式の型) - [タイトル](properties_Object.md#タイトル) - [値を記憶](properties_Object.md#値を記憶) - [CSSクラス](properties_Object.md#cssクラス) - [ボタンスタイル](properties_TextAndPicture.md#ボタンスタイル) - [ピクチャーパス名](properties_TextAndPicture.md#ピクチャーパス名)(2) - [状態の数](properties_TextAndPicture.md#状態の数)(2) - [タイトル/ピクチャー位置](properties_TextAndPicture.md#タイトルピクチャー位置)(2) - [タイトルと画像を隣接させる](properties_TextAndPicture.md#タイトルと画像を隣接させる)(2) - [左](properties_CoordinatesAndSizing.md#左) - [上](properties_CoordinatesAndSizing.md#上) - [右](properties_CoordinatesAndSizing.md#右) - [下](properties_CoordinatesAndSizing.md#下) - [幅](properties_CoordinatesAndSizing.md#幅) - [高さ](properties_CoordinatesAndSizing.md#高さ) - [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) - [縦方向サイズ変更](properties_ResizingOptions.md#vertical-sizing) - [入力可](properties_Entry.md#入力可) - [フォーカス可](properties_Entry.md#フォーカス可) - [ショートカット](properties_Entry.md#ショートカット) - [表示状態](properties_Display.md#表示状態) - [フォント](properties_Text.md#フォント) - [フォントサイズ](properties_Text.md#フォントサイズ) - [太字](properties_Text.md#太字) - [イタリック](properties_Text.md#イタリック) - [下線](properties_Text.md#下線) - [フォントカラー](properties_Text.md#フォントカラー) - [横揃え](properties_Text.md#横揃え)(1) - [ヘルプTips](properties_Help.md#ヘルプtips) - [標準アクション](properties_Action.md#標準アクション) > (1) Not supported by the [Regular](#regular) and [Flat](#flat) styles.
    > (2) Not supported by the [Regular](#regular), [Flat](#flat), [Disclosure](#disclosure) and [Collapse/Expand](#collapseexpand) styles. -Additional specific properties are available, depending on the [button style](#check-box-button-styles): +[ボタンスタイル](#チェックボックスのボタンスタイル) に応じて、次の追加プロパティが使用できます: - カスタム: [背景パス名](properties_TextAndPicture.md#背景パス名) - [アイコンオフセット](properties_TextAndPicture.md#アイコンオフセット) - diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/comboBox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/comboBox_overview.md index 3a49162ecd503f..9cf62c28af85de 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/comboBox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/comboBox_overview.md @@ -3,7 +3,7 @@ id: comboBoxOverview title: コンボボックス --- -A combo box is similar to a [drop-down list](dropdownList_Overview.md), except that it accepts text entered from the keyboard and has additional options. +コンボボックスは [ドロップダウンリスト](dropdownList_Overview.md) と似ていますが、キーボードから入力されたテキストを受けいれる点と、二つの追加オプションがついている点が異なります。 ![](../assets/en/FormObjects/combo_box.png) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/dropdownList_Overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/dropdownList_Overview.md index 37aaae4f864db6..3f8c0cd8e25e01 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/dropdownList_Overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/dropdownList_Overview.md @@ -28,21 +28,21 @@ macOS においては、ドロップダウンリストは "ポップアップメ > この機能は 4Dプロジェクトでのみ利用可能です。 -ドロップダウンリストのデータソースとして、[コレクション](Concepts/dt_collection.md) を内包した [オブジェクト](Concepts/dt_object.md) を使用できます。 このオブジェクトには、次のプロパティが格納されていなくてはなりません: このオブジェクトには、次のプロパティが格納されていなくてはなりません: +ドロップダウンリストのデータソースとして、[コレクション](Concepts/dt_collection.md) を内包した [オブジェクト](Concepts/dt_object.md) を使用できます。 このオブジェクトには、次のプロパティが格納されていなくてはなりません: -| プロパティ | 型 | 説明 | -| -------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `values` | Collection | 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 サポートされている型:
  • 文字列
  • 数値
  • 日付
  • 時間
  • 空、または未定義の場合、ドロップダウンリストは空になります | -| `index` | number | 選択項目のインデックス (0 と `collection.length-1` の間の値)。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 | -| `currentValue` | Collection要素と同じ | 選択中の項目 (コードにより設定した場合はプレースホルダーとして使用される) | +| プロパティ | 型 | 説明 | +| -------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `values` | Collection | 必須 - スカラー値のコレクション。 すべての同じ型の値でなくてはなりません。 サポートされている型:
  • 文字列
  • 数値
  • 日付
  • 時間
  • 空、または未定義の場合、ドロップダウンリストは空になります | +| `index` | number | 選択項目のインデックス (0 と `collection.length-1` の間の値)。 -1 に設定すると、プレースホルダー文字列として currentValue が表示されます。 | +| `currentValue` | Collection要素と同じ | 選択中の項目 (コードにより設定した場合はプレースホルダーとして使用される) | オブジェクトにその他のプロパティが含まれている場合、それらは無視されます。 ドロップダウンリストに関連付けるオブジェクトを初期化するには、次の方法があります: -- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 +- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 -- オブジェクトとそのプロパティを作成するコードを実行します。 オブジェクトとそのプロパティを作成するコードを実行します。 オブジェクトとそのプロパティを作成するコードを実行します。 たとえば、ドロップダウンリストに紐づいた [変数](properties_Object.md#変数あるいは式) が "myList" であれば、[On Load](Events/onLoad.md) フォームイベントに次のように書けます: +- オブジェクトとそのプロパティを作成するコードを実行します。 たとえば、ドロップダウンリストに紐づいた [変数](properties_Object.md#変数あるいは式) が "myList" であれば、[On Load](Events/onLoad.md) フォームイベントに次のように書けます: ```4d // Form.myDrop はフォームオブジェクトのデータソースです @@ -69,11 +69,11 @@ Form.myDrop.index //3 ### 配列の使用 -[配列](Concepts/arrays.md) とは、メモリー内の値のリストのことで、配列の名前によって参照されます。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 +[配列](Concepts/arrays.md) とは、メモリー内の値のリストのことで、配列の名前によって参照されます。 ドロップダウンリストをクリックすると、その配列を値のリストとして表示します。 ドロップダウンリストに関連付ける配列を初期化するには、次の方法があります: -- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、オブジェクトへと自動的にロードされます。 これらのデフォルト値は、配列へと自動的にロードされます。 オブジェクトに関連付けた変数名を使用して、この配列を参照することができます。 +- プロパティリストの [データソース](properties_DataSource.md) テーマにおいて、選択リストの項目で `\` を選び、デフォルト値のリストを入力します。 これらのデフォルト値は、配列へと自動的にロードされます。 オブジェクトに関連付けた変数名を使用して、この配列を参照することができます。 - オブジェクトが表示される前に、値を配列要素に代入するコードを実行します。 例: @@ -89,7 +89,7 @@ Form.myDrop.index //3 この場合にも 、フォームのオブジェクトに紐付けた [変数](properties_Object.md#変数あるいは式) は `aCities` でなければなりません。 このコードは、前述した代入命令文の代わりに実行できます。 このコードをフォームメソッド内に置き、`On Load` フォームイベント発生時に実行されるようにします。 -- オブジェクトが表示される前に、[`LIST TO ARRAY`](../commands-legacy/list-to-array.md) コマンドを使ってリストの値を配列にロードします。 例: 例: +- オブジェクトが表示される前に、[`LIST TO ARRAY`](../commands-legacy/list-to-array.md) コマンドを使ってリストの値を配列にロードします。 例: ```4d LIST TO ARRAY("Cities";aCities) @@ -149,20 +149,18 @@ Form.myDrop.index //3 階層型選択リストをドロップダウンリストオブジェクトに割り当てるには、プロパティリストの [選択リスト](properties_DataSource.md#choice-list) 欄を使います。 -階層型ドロップダウンリストの管理には、4Dランゲージの **階層リスト** コマンドを使用します。 All commands that support the `(*; "name")` syntax can be used with hierarchical drop-down lists, e.g. [`List item parent`](../commands-legacy/list-item-parent.md). +階層型ドロップダウンリストの管理には、4Dランゲージの **階層リスト** コマンドを使用します。 `(*; "name")` シンタックスをサポートするコマンドであれば全て、階層型ドロップダウンリストに使用できます (例: [`List item parent`](../commands-legacy/list-item-parent.md))。 ### 標準アクションの使用 -[標準アクション](properties_Action.md#標準アクション) を使って、ドロップダウンリストを自動的に構築することができます。 この機能は、以下のコンテキストでサポートされています: この機能は、以下のコンテキストでサポートされています: この機能は、以下のコンテキストでサポートされています: +[標準アクション](properties_Action.md#標準アクション) を使って、ドロップダウンリストを自動的に構築することができます。 この機能は、以下のコンテキストでサポートされています: - `gotoPage` 標準アクションの使用。 この場合、4D は選択された項目の番号に対応する [フォームのページ](FormEditor/forms.md#フォームのページ) を自動的に表示します。 たとえば、ユーザーが 3番目の項目をクリックすると、4Dはカレントフォームの 3ページ目 (存在する場合) を表示します。 実行時のデフォルトでは、ドロップダウンリストにはページ番号 (1、2...)が表示されます。 -- 項目のサブリストを表示する標準アクションの使用 (例: `backgroundColor`)。 この機能には以下の条件があります: この機能には以下の条件があります: この機能には以下の条件があります: +- 項目のサブリストを表示する標準アクションの使用 (例: `backgroundColor`)。 この機能には以下の条件があります: - スタイル付きテキストエリア ([4D Write Pro エリア](writeProArea_overview.md) または [マルチスタイル](properties_Text.md#マルチスタイル) プロパティ付き [入力](input_overview.md)) が標準アクションのターゲットとしてフォーム内に存在する。 - ドロップダウンリストに [フォーカス可](properties_Entry.md#フォーカス可) 設定されていない。 実行時のドロップダウンリストは、背景色などの値の自動リストを表示します。 この自動リストは、各項目が任意の標準アクションを割り当てられた選択リストを設定することで上書きすることもできます。 - 実行時のドロップダウンリストは、背景色などの値の自動リストを表示します。 この自動リストは、各項目が任意の標準アクションを割り当てられた選択リストを設定することで上書きすることもできます。 - 実行時のドロップダウンリストは、背景色などの値の自動リストを表示します。 この自動リストは、各項目が任意の標準アクションを割り当てられた選択リストを設定することで上書きすることもできます。 > この機能は、階層型のドロップダウンリストでは使用できません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/listbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/listbox_overview.md index e150b058a27c57..1c59c624ef4c50 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/listbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/listbox_overview.md @@ -13,15 +13,15 @@ title: リストボックス ### 基本のユーザー機能 -実行中、リストボックスはリストとしてデータを表示し、入力を受け付けます。 実行中、リストボックスはリストとしてデータを表示し、入力を受け付けます。 セルを編集可能にするには ([その列について入力が許可されていれば](#入力の管理))、セル上で2回クリックします: +実行中、リストボックスはリストとしてデータを表示し、入力を受け付けます。 セルを編集可能にするには ([その列について入力が許可されていれば](#入力の管理))、セル上で2回クリックします: ![](../assets/en/FormObjects/listbox_edit.png) リストボックスのセルには、複数行のテキストを入力・表示できます。 セル内で改行するには、**Ctrl+Return** (Windows) または **Command+Return** (macOS) を押します。 -セルにはブールやピクチャー、日付、時間、数値も表示することができます。 ヘッダーをクリックすると、列の値をソートできます ([標準ソート](ソートの管理))。 すべての列が自動で同期されます。 +セルにはブールやピクチャー、日付、時間、数値も表示することができます。 ヘッダーをクリックすると、列の値をソートできます ([標準ソート](#ソートの管理))。 すべての列が自動で同期されます。 -またそれぞれの列幅を変更できるほか、ユーザーはマウスを使用して [列](properties_ListBox.md#locked-columns-and-static-columns) や [行](properties_Action.md#movable-rows) の順番を (そのアクションが許可されていれば) 入れ替えることもできます。 リストボックスは [階層モード](#階層リストボックス) で使用することもできます。 リストボックスは [階層モード](#階層リストボックス) で使用することもできます。 +またそれぞれの列幅を変更できるほか、ユーザーはマウスを使用して [列](properties_ListBox.md#locked-columns-and-static-columns) や [行](properties_Action.md#movable-rows) の順番を (そのアクションが許可されていれば) 入れ替えることもできます。 リストボックスは [階層モード](#階層リストボックス) で使用することもできます。 ユーザーは標準のショートカットを使用して 1つ以上の行を選択できます。**Shift+クリック** で連続した行を、**Ctrl+クリック** (Windows) や **Command+クリック** (macOS) で非連続行を選択できます。 @@ -47,9 +47,9 @@ title: リストボックス ### リストボックスの型 -リストボックスには複数のタイプがあり、動作やプロパティの点で異なります。 リストボックスには複数のタイプがあり、動作やプロパティの点で異なります。 リストボックスの型は [データソースプロパティ](properties_Object.md#データソース) で定義します: +リストボックスには複数のタイプがあり、動作やプロパティの点で異なります。 リストボックスの型は [データソースプロパティ](properties_Object.md#データソース) で定義します: -- **配列**: 各列に 4D 配列を割り当てます。 **配列**: 各列に 4D 配列を割り当てます。 配列タイプのリストボックスは [階層リストボックス](listbox_overview.md#階層リストボックス) として表示することができます。 +- **配列**: 各列に 4D 配列を割り当てます。 配列タイプのリストボックスは [階層リストボックス](listbox_overview.md#階層リストボックス) として表示することができます。 - **セレクション** (**カレントセレクション** または **命名セレクション**): 各列に式 (たとえばフィールド) を割り当てます。それぞれの行はセレクションのレコードを基に評価されます。 - **コレクションまたはエンティティセレクション**: 各列に式を割り当てます。各行の中身はコレクションの要素ごと、あるいはエンティティセレクションのエンティティごとに評価されます。 @@ -59,7 +59,7 @@ title: リストボックス リストボックスオブジェクトはプロパティによってあらかじめ設定可能なほか、プログラムにより動的に管理することもできます。 -4D ランゲージにはリストボックス関連のコマンドをまとめた "リストボックス" テーマが専用に設けられていますが、"オブジェクトプロパティ" コマンドや `EDIT ITEM`、`Displayed line number` コマンドなど、ほかのテーマのコマンドも利用することができます。 Refer to the [List Box Commands Summary](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) page of the *4D Language reference* for more information. +4D ランゲージにはリストボックス関連のコマンドをまとめた "リストボックス" テーマが専用に設けられていますが、"オブジェクトプロパティ" コマンドや `EDIT ITEM`、`Displayed line number` コマンドなど、ほかのテーマのコマンドも利用することができます。 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 ## リストボックスオブジェクト @@ -72,8 +72,7 @@ title: リストボックス > 配列タイプのリストボックスは、特別なメカニズムをもつ [階層モード](listbox_overview.md#階層リストボックス) で表示することができます。 配列タイプのリストボックスでは、入力あるいは表示される値は 4Dランゲージで制御します。 列に [選択リスト](properties_DataSource.md#選択リスト) を割り当てて、データ入力を制御することもできます。 -配列タイプのリストボックスでは、入力あるいは表示される値は 4Dランゲージで制御します。 列に [選択リスト](properties_DataSource.md#選択リスト) を割り当てて、データ入力を制御することもできます。 -リストボックスのハイレベルコマンド (`LISTBOX INSERT ROWS` や `LISTBOX DELETE ROWS` 等) や配列操作コマンドを使用して、列の値を管理します。 たとえば、列の内容を初期化するには、以下の命令を使用できます: たとえば、列の内容を初期化するには、以下の命令を使用できます: +リストボックスのハイレベルコマンド (`LISTBOX INSERT ROWS` や `LISTBOX DELETE ROWS` 等) や配列操作コマンドを使用して、列の値を管理します。 たとえば、列の内容を初期化するには、以下の命令を使用できます: ```4d ARRAY TEXT(varCol;size) @@ -85,11 +84,11 @@ ARRAY TEXT(varCol;size) LIST TO ARRAY("ListName";varCol) ``` -> **警告**: 異なる配列サイズの列がリストボックスに含まれる場合、もっとも小さい配列サイズの数だけを表示します。 そのため、各配列の要素数は同じにしなければなりません。 リストボックスの列が一つでも空の場合 (ランゲージにより配列が正しく定義またはサイズ設定されなかったときに発生します)、リストボックスは何も表示しません。 そのため、各配列の要素数は同じにしなければなりません。 リストボックスの列が一つでも空の場合 (ランゲージにより配列が正しく定義またはサイズ設定されなかったときに発生します)、リストボックスは何も表示しません。 +> **警告**: 異なる配列サイズの列がリストボックスに含まれる場合、もっとも小さい配列サイズの数だけを表示します。 そのため、各配列の要素数は同じにしなければなりません。 リストボックスの列が一つでも空の場合 (ランゲージにより配列が正しく定義またはサイズ設定されなかったときに発生します)、リストボックスは何も表示しません。 ### セレクションリストボックス -このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 カラムをプログラムで変更するには、`LISTBOX SET COLUMN FORMULA` および `LISTBOX INSERT COLUMN FORMULA` コマンドを使用します。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 カラムをプログラムで変更するには、`LISTBOX SET COLUMN FORMULA` および `LISTBOX INSERT COLUMN FORMULA` コマンドを使用します。 +このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 カラムをプログラムで変更するには、`LISTBOX SET COLUMN FORMULA` および `LISTBOX INSERT COLUMN FORMULA` コマンドを使用します。 それぞれの行はセレクションのレコードを基に評価されます。セレクションは **カレントセレクション** または **命名セレクション**です。 @@ -198,7 +197,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 ### フォームイベント -| フォームイベント | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | コメント | +| フォームイベント | 返される追加のプロパティ(主なプロパティについては[Form event](../commands/form-event.md) を参照してください) | コメント | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | | On After Keystroke |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | @@ -269,11 +268,13 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 ### 列特有のプロパティ -[Alpha Format](properties_Display.md#alpha-format) - [Alternate Background Color](properties_BackgroundAndBorder.md#alternate-background-color) - [Automatic Row Height](properties_CoordinatesAndSizing.md#automatic-row-height) - [Background Color](properties_BackgroundAndBorder.md#background-color--fill-color) - [Background Color Expression](properties_BackgroundAndBorder.md#background-color-expression) - [Bold](properties_Text.md#bold) - [Choice List](properties_DataSource.md#choice-list) - [Class](properties_Object.md#css-class) - [Data Type (selection and collection list box column)](properties_DataSource.md#data-type-list) - [Date Format](properties_Display.md#date-format) - [Default Values](properties_DataSource.md#default-list-of-values) - [Display Type](properties_Display.md#display-type) - [Enterable](properties_Entry.md#enterable) - [Entry Filter](properties_Entry.md#entry-filter) - [Excluded List](properties_RangeOfValues.md#excluded-list) - [Expression](properties_DataSource.md#expression) - [Expression Type (array list box column)](properties_Object.md#expression-type) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Padding](properties_CoordinatesAndSizing.md#horizontal-padding) - [Italic](properties_Text.md#italic) - [Invisible](properties_Display.md#visibility) - [Maximum Width](properties_CoordinatesAndSizing.md#maximum-width) - [Method](properties_Action.md#method) - [Minimum Width](properties_CoordinatesAndSizing.md#minimum-width) - [Multi-style](properties_Text.md#multi-style) - [Number Format](properties_Display.md#number-format) - [Object Name](properties_Object.md#object-name) - [Picture Format](properties_Display.md#picture-format) - [Resizable](properties_ResizingOptions.md#resizable) - [Required List](properties_RangeOfValues.md#required-list) - [Row Background Color Array](properties_BackgroundAndBorder.md#row-background-color-array) - [Row Font Color Array](properties_Text.md#row-font-color-array) - [Row Style Array](properties_Text.md#row-style-array) - [Save as](properties_DataSource.md#save-as) - [Style Expression](properties_Text.md#style-expression) - [Text when False/Text when True](properties_Display.md#text-when-falsetext-when-true) - [Time Format](properties_Display.md#time-format) - [Truncate with ellipsis](properties_Display.md#truncate-with-ellipsis) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Alignment](properties_Text.md#vertical-alignment) - [Vertical Padding](properties_CoordinatesAndSizing.md#vertical-padding) - [Width](properties_CoordinatesAndSizing.md#width) - [Wordwrap](properties_Display.md#wordwrap) +[オブジェクト名](properties_Object.md#オブジェクト名) - [変数あるいは式](properties_Object.md#変数あるいは式) - [式タイプ (配列リストボックス列)](properties_Object.md#式の型式タイプ) - [CSSクラス](properties_Object.md#cssclass) - [デフォルト値](properties_DataSource.md#デフォルト値) - [選択リスト](properties_DataSource.md#選択リスト) - [式](properties_DataSource.md#式) - [データタイプ (セレクションおよびコレクションリストボックス列)](properties_DataSource.md#データタイプ-\(リスト\)) - [関連付け](properties_DataSource.md#関連付け) - [幅](properties_CoordinatesAndSizing.md#幅) - [自動行高](properties_CoordinatesAndSizing.md#自動行高) - [最小幅](properties_CoordinatesAndSizing.md#最小幅) - [最大幅](properties_CoordinatesAndSizing.md#最大幅) - [横方向パディング](properties_CoordinatesAndSizing.md#横方向パディング) +[縦方向パディング](properties_CoordinatesAndSizing.md#縦方向パディング) +[サイズ変更可](properties_ResizingOptions.md#サイズ変更可) - [入力可](properties_Entry.md#入力可) - [入力フィルター](properties_Entry.md#入力フィルター) - [指定リスト](properties_RangeOfValues.md#指定リスト) - [除外リスト](properties_RangeOfValues.md#除外リスト) - [表示タイプ](properties_Display.md#表示タイプ) - [文字フォーマット](properties_Display.md#文字フォーマット) - [数値フォーマット](properties_Display.md#数値フォーマット) - [テキスト (True時)/テキスト (False時)](properties_Display.md#テキスト-True時-テキスト-False時) - [日付フォーマット](properties_Display.md#日付フォーマット) - [時間フォーマット](properties_Display.md#時間フォーマット) - [ピクチャーフォーマット](properties_Display.md#ピクチャーフォーマット) - [非表示](properties_Display.md#表示状態) - [ワードラップ](properties_Display.md#ワードラップ) - [エリプシスを使用して省略](properties_Display.md#エリプシスを使用して省略) - [背景色](properties_BackgroundAndBorder.md#背景色) - [交互に使用する背景色](properties_BackgroundAndBorder.md#交互に使用する背景色) - [行背景色配列](properties_BackgroundAndBorder.md#行背景色配列) - [背景色式](properties_BackgroundAndBorder.md#背景色式) - [フォント](properties_Text.md#フォント) - [太字](properties_Text.md#太字) - [イタリック](properties_Text.md#イタリック) - [下線](properties_Text.md#下線) - [行スタイル配列](properties_Text.md#行スタイル配列) - [スタイル式](properties_Text.md#スタイル式) - [フォントカラー](properties_Text.md#フォントカラー) - [行フォントカラー配列](properties_Text.md#行フォントカラー配列) - [横揃え](properties_Text.md#横揃え) - [縦揃え](properties_Text.md#縦揃え) - [マルチスタイル](properties_Text.md#マルチスタイル) - [メソッド](properties_Action.md#メソッド) ### フォームイベント -| フォームイベント | Additional Properties Returned (see [Form event](../commands/form-event.md) for main properties) | コメント | +| フォームイベント | 返される追加のプロパティ(主なプロパティについては[Form event](../commands/form-event.md) を参照してください) | コメント | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | | On After Keystroke |
  • [column](#追加プロパティ)
  • [columnName](#追加プロパティ)
  • [row](#追加プロパティ)
  • | | @@ -384,7 +385,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 リストボックスのセルが入力可能であるには、以下の条件を満たす必要があります: - セルが属する列が [入力可](properties_Entry.md#入力可) に設定されている (でなければ、その列のセルには入力できません)。 -- `On Before Data Entry` イベントで $0 が -1 を返さない。 カーソルがセルに入ると、その列のメソッドで `On Before Data Entry` イベントが生成されます。 このイベントのコンテキストにおいて、$0 に -1 を設定すると、そのセルは入力不可として扱われます。 **Tab** や **Shift+Tab** が押された後にイベントが生成された場合には、フォーカスはそれぞれ次あるいは前のセルに移動します。 $0 が -1 でなければ (デフォルトは 0)、列は入力可であり編集モードに移行します。 このイベントのコンテキストにおいて、$0 に -1 を設定すると、そのセルは入力不可として扱われます。 **Tab** や **Shift+Tab** が押された後にイベントが生成された場合には、フォーカスはそれぞれ次あるいは前のセルに移動します。 $0 が -1 でなければ (デフォルトは 0)、列は入力可であり編集モードに移行します。 +- `On Before Data Entry` イベントで $0 が -1 を返さない。 カーソルがセルに入ると、その列のメソッドで `On Before Data Entry` イベントが生成されます。 このイベントのコンテキストにおいて、$0 に -1 を設定すると、そのセルは入力不可として扱われます。 **Tab** や **Shift+Tab** が押された後にイベントが生成された場合には、フォーカスはそれぞれ次あるいは前のセルに移動します。 $0 が -1 でなければ (デフォルトは 0)、列は入力可であり編集モードに移行します。 2つの配列で構築されるリストボックスを考えてみましょう。 1つは日付でもう 1つはテキストです。 日付配列は入力不可ですが、テキスト配列は日付が過去でない場合に入力可とします。 @@ -439,7 +440,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 選択行の管理は、リストボックスのタイプが配列か、レコードのセレクションか、あるいはコレクション/エンティティセレクションかによって異なります。 -- **セレクションリストボックス**: 選択行は、デフォルトで `$ListboxSetX` と呼ばれる変更可能なセットにより管理されます (X は 0 から始まり、フォーム内のリストボックスの数に応じて一つずつ増加していきます)。 このセットはリストボックスの[プロパティリスト](properties_ListBox.md#ハイライトセット)で定義します。 このセットは 4D が自動で管理します。 ユーザーがリストボックス中で 1つ以上の行を選択すると、セットが即座に更新されます。 他方、リストボックスの選択をプログラムから更新するために、"セット" テーマのコマンドを使用することができます。 このセットはリストボックスの[プロパティリスト](properties_ListBox.md#ハイライトセット)で定義します。 このセットは 4D が自動で管理します。 ユーザーがリストボックス中で 1つ以上の行を選択すると、セットが即座に更新されます。 他方、リストボックスの選択をプログラムから更新するために、"セット" テーマのコマンドを使用することができます。 +- **セレクションリストボックス**: 選択行は、デフォルトで `$ListboxSetX` と呼ばれる変更可能なセットにより管理されます (X は 0 から始まり、フォーム内のリストボックスの数に応じて一つずつ増加していきます)。 このセットはリストボックスの[プロパティリスト](properties_ListBox.md#ハイライトセット)で定義します。 このセットは 4D が自動で管理します。 ユーザーがリストボックス中で 1つ以上の行を選択すると、セットが即座に更新されます。 他方、リストボックスの選択をプログラムから更新するために、"セット" テーマのコマンドを使用することができます。 - **コレクション/エンティティセレクションリストボックス**: 選択項目は、専用のリストボックスプロパティを通して管理されます。 - [カレントの項目](properties_DataSource.md#カレントの項目) は、選択された要素/エンティティを受け取るオブジェクトです。 @@ -466,7 +467,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 ### 選択行の見た目のカスタマイズ -リストボックスの [セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) プロパティにチェックを入れている場合には、他のインターフェースオプションを活用してリストボックスの選択行を可視化する必要があります。 ハイライトが非表示になっていても選択行は引き続き 4D によって管理されています。つまり: ハイライトが非表示になっていても選択行は引き続き 4D によって管理されています。つまり: +リストボックスの [セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) プロパティにチェックを入れている場合には、他のインターフェースオプションを活用してリストボックスの選択行を可視化する必要があります。 ハイライトが非表示になっていても選択行は引き続き 4D によって管理されています。つまり: - 配列タイプのリストボックスの場合、当該リストボックスにリンクしているブール配列変数から選択行を割り出します。 - セレクションタイプのリストボックスの場合、特定行 (レコード) がリストボックスの [ハイライトセット](properties_ListBox.md#ハイライトセット) プロパティで指定しているセットに含まれているかを調べます。 @@ -477,7 +478,7 @@ myCol:=myCol.push("new value") // リストボックスに new value を表示 #### セレクションリストボックス -選択行を特定するには、リストボックスの [ハイライトセット](properties_ListBox.md#ハイライトセット) プロパティで指定されているセットに対象行が含まれているかを調べます: 選択行のアピアランスを定義するには、プロパティリストにて [カラー式またはスタイル式プロパティ](#配列と式の使用) を 1つ以上使います。 選択行のアピアランスを定義するには、プロパティリストにて [カラー式またはスタイル式プロパティ](#配列と式の使用) を 1つ以上使います。 +選択行を特定するには、リストボックスの [ハイライトセット](properties_ListBox.md#ハイライトセット) プロパティで指定されているセットに対象行が含まれているかを調べます: 選択行のアピアランスを定義するには、プロパティリストにて [カラー式またはスタイル式プロパティ](#配列と式の使用) を 1つ以上使います。 次の場合には式が自動的に再評価されることに留意ください: @@ -549,7 +550,7 @@ JSON フォームにおいて、リストボックスに次のハイライトセ $0:=$color ``` -> 階層リストボックスにおいては、[セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) オプションをチェックした場合には、ブレーク行をハイライトすることができません。 同階層のヘッダーの色は個別指定することができないため、任意のブレーク行だけをプログラムでハイライト表示する方法はありません。 同階層のヘッダーの色は個別指定することができないため、任意のブレーク行だけをプログラムでハイライト表示する方法はありません。 +> 階層リストボックスにおいては、[セレクションハイライトを非表示](properties_Appearance.md#セレクションハイライトを非表示) オプションをチェックした場合には、ブレーク行をハイライトすることができません。 同階層のヘッダーの色は個別指定することができないため、任意のブレーク行だけをプログラムでハイライト表示する方法はありません。 ## ソートの管理 @@ -574,11 +575,11 @@ JSON フォームにおいて、リストボックスに次のハイライトセ ### カスタムソート -The developer can set up custom sorts, for example using the [`LISTBOX SORT COLUMNS`](../commands-legacy/listbox-sort-columns.md) command and/or combining the [`On Header Click`](../Events/onHeaderClick) and [`On After Sort`](../Events/onAfterSort) form events and relevant 4D commands. +デベロッパーは、例えば[`LISTBOX SORT COLUMNS`](../commands-legacy/listbox-sort-columns.md) コマンドを使用したり、あるいは[`On Header Click`](../Events/onHeaderClick) および [`On After Sort`](../Events/onAfterSort) フォームイベントと関連する4D コマンドを組み合わせることにより、カスタムのソートを設定することができます。 カスタムソートを以下のことが可能です: -- carry out multi-level sorts on several columns, thanks to the [`LISTBOX SORT COLUMNS`](../commands-legacy/listbox-sort-columns.md) command, +- [`LISTBOX SORT COLUMNS`](../commands-legacy/listbox-sort-columns.md) コマンドを使うことで、複数のカラムに対してマルチレベルソートを実行する。 - [`collection.orderByMethod()`](../API/CollectionClass.md#orderbymethod) や [`entitySelection.orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) などの関数を使って、複雑な条件のソートをおこなう #### 例題 @@ -587,7 +588,7 @@ The developer can set up custom sorts, for example using the [`LISTBOX SORT COLU ![](../assets/en/FormObjects/relationLB.png) -`Form.child` 式に紐づいた、エンティティセレクションタイプのリストボックスを設置します。 `Form.child` 式に紐づいた、エンティティセレクションタイプのリストボックスを設置します。 `On Load` フォームイベントでは、`Form.child:=ds.Child.all()` を実行します。 +`Form.child` 式に紐づいた、エンティティセレクションタイプのリストボックスを設置します。 `On Load` フォームイベントでは、`Form.child:=ds.Child.all()` を実行します。 次の 2つの列を表示します: @@ -622,7 +623,7 @@ End if 変数の値を設定して (たとえば Header2:=2)、ソートを表す矢印の表示を強制することができます。 しかし、列のソート順は変更されません、これを処理するのは開発者の役割です。 -> The [`OBJECT SET FORMAT`](../commands-legacy/object-set-format.md) command offers specific support for icons in list box headers, which can be useful when you want to work with a customized sort icon. +> The [`OBJECT SET FORMAT`](../commands-legacy/object-set-format.md) コマンドは、カスタマイズされた並べ替えアイコンをサポートする機能をリストボックスヘッダー用に提供しています。 ## スタイルとカラー、表示の管理 @@ -654,7 +655,7 @@ End if - 行属性について: 列の属性値を受け継ぎます - 列属性について: リストボックスの属性値を受け継ぎます -このように、高次のレベルの属性値をオブジェクトに継承させたい場合は、定義するコマンドに `lk inherited` 定数 (デフォルト値) を渡すか、対応する行スタイル/カラー配列の要素に直接渡します。 このように、高次のレベルの属性値をオブジェクトに継承させたい場合は、定義するコマンドに `lk inherited` 定数 (デフォルト値) を渡すか、対応する行スタイル/カラー配列の要素に直接渡します。 以下のような、標準のフォントスタイルで行の背景色が交互に変わる配列リストボックスを考えます: +このように、高次のレベルの属性値をオブジェクトに継承させたい場合は、定義するコマンドに `lk inherited` 定数 (デフォルト値) を渡すか、対応する行スタイル/カラー配列の要素に直接渡します。 以下のような、標準のフォントスタイルで行の背景色が交互に変わる配列リストボックスを考えます: ![](../assets/en/FormObjects/listbox_styles3.png) 以下の変更を加えます: @@ -686,23 +687,22 @@ End if ## リストボックスの印刷 -リストボックスの印刷には 2つの印刷モードがあります: フォームオブジェクトのようにリストボックスを印刷する **プレビューモード** と、フォーム内でリストボックスオブジェクトの印刷方法を制御できる **詳細モード** があります。 フォームエディターで、リストボックスオブジェクトに "印刷" アピアランスを適用できる点に留意してください。 フォームエディターで、リストボックスオブジェクトに "印刷" アピアランスを適用できる点に留意してください。 +リストボックスの印刷には 2つの印刷モードがあります: フォームオブジェクトのようにリストボックスを印刷する **プレビューモード** と、フォーム内でリストボックスオブジェクトの印刷方法を制御できる **詳細モード** があります。 フォームエディターで、リストボックスオブジェクトに "印刷" アピアランスを適用できる点に留意してください。 ### プレビューモード -プレビューモードでのリストボックスの印刷は、標準の印刷コマンドや **印刷** メニューを使用して、リストボックスを含むフォームをそのまま出力します。 リストボックスはフォーム上に表示されている通りに印刷されます。 このモードでは、オブジェクトの印刷を細かく制御することはできません。 とくに、表示されている以上の行を印刷することはできません。 リストボックスはフォーム上に表示されている通りに印刷されます。 このモードでは、オブジェクトの印刷を細かく制御することはできません。 とくに、表示されている以上の行を印刷することはできません。 +プレビューモードでのリストボックスの印刷は、標準の印刷コマンドや **印刷** メニューを使用して、リストボックスを含むフォームをそのまま出力します。 リストボックスはフォーム上に表示されている通りに印刷されます。 このモードでは、オブジェクトの印刷を細かく制御することはできません。 とくに、表示されている以上の行を印刷することはできません。 ### 詳細モード -このモードでは、リストボックスの印刷は `Print object` コマンドを使用してプログラムにより実行されます (プロジェクトフォームとテーブルフォームがサポートされています)。 `LISTBOX GET PRINT INFORMATION` コマンドを使用してオブジェクトの印刷を制御できます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用してオブジェクトの印刷を制御できます。 +このモードでは、リストボックスの印刷は `Print object` コマンドを使用してプログラムにより実行されます (プロジェクトフォームとテーブルフォームがサポートされています)。 `LISTBOX GET PRINT INFORMATION` コマンドを使用してオブジェクトの印刷を制御できます。 このモードでは: - オブジェクトの高さよりも印刷する行数が少ない場合、リストボックスオブジェクトの高さは自動で減少させられます ("空白" 行は印刷されません)。 他方、オブジェクトの内容に基づき高さが自動で増大することはありません。 実際に印刷されるオブジェクトのサイズは `LISTBOX GET PRINT INFORMATION` コマンドで取得できます。 - リストボックスオブジェクトは "そのまま" 印刷されます。言い換えれば、ヘッダーやグリッド線の表示、表示/非表示行など、現在の表示設定が考慮されます。 - リストボックスオブジェクトは "そのまま" 印刷されます。言い換えれば、ヘッダーやグリッド線の表示、表示/非表示行など、現在の表示設定が考慮されます。 これらの設定には印刷される最初の行も含みます。印刷を実行する前に `OBJECT SET SCROLL POSITION` を呼び出すと、リストボックスに印刷される最初の行はコマンドで指定した行になります。 -- 自動メカニズムにより、表示可能な行以上の行数を含むリストボックスの印刷が容易になります。連続して `Print object` を呼び出し、呼び出し毎に別の行のまとまりを印刷することができます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用して、印刷がおこなわれている間の状態をチェックできます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用して、印刷がおこなわれている間の状態をチェックできます。 +- 自動メカニズムにより、表示可能な行以上の行数を含むリストボックスの印刷が容易になります。連続して `Print object` を呼び出し、呼び出し毎に別の行のまとまりを印刷することができます。 `LISTBOX GET PRINT INFORMATION` コマンドを使用して、印刷がおこなわれている間の状態をチェックできます。 ## 階層リストボックス @@ -718,11 +718,11 @@ End if - フォームエディターのプロパティリストを使用して階層要素を手作業で設定する (または JSON フォームを編集する)。 - フォームエディターのリストボックス管理メニューを使用して階層を生成する。 -- Use the [LISTBOX SET HIERARCHY](../commands-legacy/listbox-set-hierarchy.md) and [LISTBOX GET HIERARCHY](../commands-legacy/listbox-get-hierarchy.md) commands, described in the *4D Language Reference* manual. +- *4D ランゲージリファレンス* マニュアルにある、[LISTBOX SET HIERARCHY](../commands-legacy/listbox-set-hierarchy.md) および [LISTBOX GET HIERARCHY](../commands-legacy/listbox-get-hierarchy.md) コマンドを使用する。 #### "階層リストボックス" プロパティによる階層化 -このプロパティを使用してリストボックスの階層表示を設定します。 このプロパティを使用してリストボックスの階層表示を設定します。 JSON フォームにおいては、リストボックス列の [*dataSource* プロパティの値が配列名のコレクションであるとき](properties_Object.md#配列リストボックス) に階層化します。 +このプロパティを使用してリストボックスの階層表示を設定します。 JSON フォームにおいては、リストボックス列の [*dataSource* プロパティの値が配列名のコレクションであるとき](properties_Object.md#配列リストボックス) に階層化します。 *階層リストボックス* プロパティが選択されると、追加プロパティである **Variable 1...10** が利用可能になります。これらには階層の各レベルとして使用するデータソース配列を指定します。これが *dataSource* の値である配列名のコレクションとなります。 入力欄に値が入力されると、新しい入力欄が追加されます。 10個までの変数を指定できます。 これらの変数は先頭列に表示される階層のレベルを設定します。 @@ -750,7 +750,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の - その列の変数が階層を指定するために使用されます。 既に設定されていた変数は置き換えられます。 - (先頭列を除き) 選択された列はリストボックス内に表示されなくなります。 -例: 左から国、地域、都市、人口列が設定されたリストボックスがあります。 例: 左から国、地域、都市、人口列が設定されたリストボックスがあります。 国、地域、都市が (下図の通り) 選択され、コンテキストメニューから **階層を作成** を選択すると、先頭列に3レベルの階層が作成され、二番目と三番目の列は取り除かれます。人口列が二番目になります: +例: 左から国、地域、都市、人口列が設定されたリストボックスがあります。 国、地域、都市が (下図の通り) 選択され、コンテキストメニューから **階層を作成** を選択すると、先頭列に3レベルの階層が作成され、二番目と三番目の列は取り除かれます。人口列が二番目になります: ![](../assets/en/FormObjects/listbox_hierarchy2.png) @@ -841,7 +841,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の > 親が折りたたまれているために行が非表示になっていると、それらは選択から除外されます。 (直接あるいはスクロールによって) 表示されている行のみを選択できます。 言い換えれば、行を選択かつ隠された状態にすることはできません。 -選択と同様に、`LISTBOX GET CELL POSITION` コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、`LISTBOX GET CELL POSITION` は同じ位置 (3;2) を返します。 つまり以下の両方の例題で、`LISTBOX GET CELL POSITION` は同じ位置 (3;2) を返します。 +選択と同様に、`LISTBOX GET CELL POSITION` コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、`LISTBOX GET CELL POSITION` は同じ位置 (3;2) を返します。 *非階層表示:* ![](../assets/en/FormObjects/hierarch9.png) @@ -886,19 +886,19 @@ Variable 2 も常に表示され、入力できます。 これは二番目の `On Expand` や `On Collapse` フォームイベントを使用して階層リストボックスの表示を最適化できます。 -階層リストボックスはその配列の内容から構築されます。 そのためこれらの配列すべてがメモリにロードされる必要があります。 階層リストボックスはその配列の内容から構築されます。そのためこれらの配列すべてがメモリにロードされる必要があります。 大量のデータから (`SELECTION TO ARRAY` コマンドを使用して) 生成される配列をもとに階層リストボックスを構築するのは、表示速度だけでなくメモリ使用量の観点からも困難が伴います。 +階層リストボックスはその配列の内容から構築されます。 そのためこれらの配列すべてがメモリにロードされる必要があります。 大量のデータから (`SELECTION TO ARRAY` コマンドを使用して) 生成される配列をもとに階層リストボックスを構築するのは、表示速度だけでなくメモリ使用量の観点からも困難が伴います。 -`On Expand` と `On Collapse` フォームイベントを使用することで、この制限を回避できます。たとえば、ユーザーのアクションに基づいて階層の一部だけを表示したり、必要に応じて配列をロード/アンロードできます。 これらのイベントのコンテキストでは、`LISTBOX GET CELL POSITION` コマンドは、行を展開/折りたたむためにユーザーがクリックしたセルを返します。 これらのイベントのコンテキストでは、`LISTBOX GET CELL POSITION` コマンドは、行を展開/折りたたむためにユーザーがクリックしたセルを返します。 +`On Expand` と `On Collapse` フォームイベントを使用することで、この制限を回避できます。たとえば、ユーザーのアクションに基づいて階層の一部だけを表示したり、必要に応じて配列をロード/アンロードできます。 これらのイベントのコンテキストでは、`LISTBOX GET CELL POSITION` コマンドは、行を展開/折りたたむためにユーザーがクリックしたセルを返します。 この場合、開発者がコードを使用して配列を空にしたり値を埋めたりしなければなりません。 実装する際注意すべき原則は以下のとおりです: -- リストボックスが表示される際、先頭の配列のみ値を埋めます。 リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: +- リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: ![](../assets/en/FormObjects/hierarch15.png) - ユーザーが展開アイコンをクリックすると `On Expand` イベントが生成されます。 `LISTBOX GET CELL POSITION` コマンドはクリックされたセルを返すので、適切な階層を構築します: 先頭の配列に繰り返しの値を設定し、2番目の配列には `SELECTION TO ARRAY` コマンドから得られる値を設定します。そして`LISTBOX INSERT ROWS` コマンドを使用して必要なだけ行を挿入します。 ![](../assets/en/FormObjects/hierarch16.png) -- ユーザーが折りたたみアイコンをクリックすると `On Collapse` イベントが生成されます。 ユーザーが折りたたみアイコンをクリックすると `On Collapse` イベントが生成されます。 `LISTBOX GET CELL POSITION` コマンドはクリックされたセルを返すので、 `LISTBOX DELETE ROWS` コマンドを使用してリストボックスから必要なだけ行を削除します。 +- ユーザーが折りたたみアイコンをクリックすると `On Collapse` イベントが生成されます。 `LISTBOX GET CELL POSITION` コマンドはクリックされたセルを返すので、 `LISTBOX DELETE ROWS` コマンドを使用してリストボックスから必要なだけ行を削除します。 ## オブジェクト配列の使用 @@ -910,7 +910,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の ### オブジェクト配列カラムの設定 -To assign an object array to a list box column, you just need to set the object array name in either the Property list ("Variable Name" field), or using the [LISTBOX INSERT COLUMN](../commands-legacy/listbox-insert-column.md) command, like with any array-based column. プロパティリスト内では、カラムにおいて "式タイプ" にオブジェクトを選択できます: +オブジェクト配列をリストボックスのカラムに割り当てるには、プロパティリスト (の "変数名" 欄) にオブジェクト配列名を設定するか、配列型のカラムのように [LISTBOX INSERT COLUMN](../commands-legacy/listbox-insert-column.md) コマンドを使用します。 プロパティリスト内では、カラムにおいて "式タイプ" にオブジェクトを選択できます: ![](../assets/en/FormObjects/listbox_column_objectArray_config.png) @@ -947,7 +947,7 @@ ARRAY OBJECT(obColumn;0) // カラム配列 - "color": 背景色を定義 - "event": ラベル付ボタンを表示 -4D は "valueType" の値に応じたデフォルトのウィジェットを使用します (つまり、"text" と設定すればテキスト入力ウィジェットが表示され、"boolean" と設定すればチェックボックスが表示されます)。 しかし、オプションを使用することによって表示方法の選択が可能な場合もあります (たとえば、"real" と設定した場合、ドロップダウンメニューとしても表示できます)。 以下の一覧はそれぞれの値の型に対してのデフォルトの表示方法と、他に選択可能な表示方の一覧を表しています: 以下の一覧はそれぞれの値の型に対してのデフォルトの表示方法と、他に選択可能な表示方の一覧を表しています: +4D は "valueType" の値に応じたデフォルトのウィジェットを使用します (つまり、"text" と設定すればテキスト入力ウィジェットが表示され、"boolean" と設定すればチェックボックスが表示されます)。 しかし、オプションを使用することによって表示方法の選択が可能な場合もあります (たとえば、"real" と設定した場合、ドロップダウンメニューとしても表示できます)。 以下の一覧はそれぞれの値の型に対してのデフォルトの表示方法と、他に選択可能な表示方の一覧を表しています: | valueType | デフォルトのウィジェット | 他に選択可能なウィジェット | | --------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------- | @@ -1184,7 +1184,7 @@ behavior 属性は、値の通常の表示とは異なる表示方法を提供 特定の値を使用することで、セルの値に関連した単位を追加することができます (*例*: "10 cm", "20 pixels" 等)。 単位リストを定義するためには、以下の属性のどれか一つを使用します: 単位リストを定義するためには、以下の属性のどれか一つを使用します: - "unitsList": 利用可能な単位 (例: "cm"、"inches"、"km"、"miles"、他) を定義するのに使用する x 要素を格納した配列。 オブジェクト内で単位を定義するためには、この属性を使用します。 -- "unitsListReference": 利用可能な単位を含んだ 4Dリストへの参照。 Use this attribute to define units with a 4D list created with the [`New list`](../commands-legacy/new-list.md) command. +- "unitsListReference": 利用可能な単位を含んだ 4Dリストへの参照。 [`New list`](../commands-legacy/new-list.md) コマンドで作成された 4D リストで単位を定義するためには、この属性を使用します。 - "unitsListName": 利用可能な単位を含んだデザインモードで作成された 4Dリスト名。 ツールボックスで作成された 4Dリストで単位を定義するためには、この属性を使用します。 単位リストが定義された方法に関わらず、以下の属性を関連付けることができます: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/subform_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/subform_overview.md index fee4d2023901a9..140dd6f5bccbe0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/subform_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/FormObjects/subform_overview.md @@ -35,13 +35,13 @@ title: サブフォーム ページサブフォームは [詳細フォーム](properties_Subform.md#詳細フォーム) プロパティで指定された入力フォームを使用します。 リストサブフォームと異なり、使用されるフォームは親フォームと同じテーブルに所属していてもかまいません。 また、プロジェクトフォームを使用することもできます。 実行時、ページサブフォームは入力フォームと同じ標準の表示特性を持ちます。 -> 4Dウィジェットは、ページサブフォームに基づいた定義済みの複合オブジェクトです。 They are described in detail in a separate manual, [4D Widgets](https://doc.4d.com/4Dv20/4D/20/4D-Widgets.100-6343453.en.html). +> 4Dウィジェットは、ページサブフォームに基づいた定義済みの複合オブジェクトです。 詳細は専用のドキュメント [4D Widgets (ウィジェット)](https://doc.4d.com/4Dv20/4D/20/4D-Widgets.100-6343453.ja.html) を参照してください。 ### バインドされた変数あるいは式の管理 サブフォームコンテナーオブジェクトには、[変数あるいは式](properties_Object.md#変数あるいは式) をバインドすることができます。 これは、親フォームとサブフォーム間で値を同期するのに便利です。 -By default, 4D creates a variable or expression of [object type](properties_Object.md#expression-type) for a subform container, which allows you to share values in the context of the subform using the `Form` command. しかし、単一の値のみを共有したい場合は、任意のスカラー型 (時間、整数など) の変数や式を使用することもできます。 +デフォルトで、4D はサブフォームコンテナーに [オブジェクト型](properties_Object.md#式の型式タイプ) の変数あるいは式をバインドし、`Form` コマンドを使ってサブフォームのコンテキストで値を共有できるようにします。 しかし、単一の値のみを共有したい場合は、任意のスカラー型 (時間、整数など) の変数や式を使用することもできます。 - バインドするスカラー型の変数あるいは式を定義し、[On Bound Variable Change](../Events/onBoundVariableChange.md) や [On Data Change](../Events/onDataChange.md) フォームイベントが発生したときに、`OBJECT Get subform container value` や `OBJECT SET SUBFORM CONTAINER VALUE` コマンドを呼び出して値を共有します。 この方法は、単一の値を同期させるのに推奨されます。 - または、バインドされた **オブジェクト** 型の変数あるいは式を定義し、`Form` コマンドを使用してサブフォームからそのプロパティにアクセスします。 この方法は、複数の値を同期させるのに推奨されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md index e439453c5b60e9..cbb72c7e7c88ae 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md @@ -20,11 +20,11 @@ title: リリースノート - 新しい[4D AIKit コンポーネント](../aikit/overview.md) を使用することでサードパーティAI のAPI とやり取りをすることが可能になります。 - 以下のVP コマンドのコールバックは、4D カスタム関数がその計算を全て終えるのを待つようになりました: [VP IMPORT DOCUMENT](../ViewPro/commands/vp-import-document.md), [VP IMPORT FORM BLOB](../ViewPro/commands/vp-import-from-blob.md)、[VP IMPORT FROM OBJECT](../ViewPro/commands/vp-import-from-object.md)、および [VP FLUSH COMMANDS](../ViewPro/commands/vp-flush-commands.md) - Google およびMicrosoft 365 カレンダーを管理するための新しい[4D Netkit](https://developer.4d.com/4D-NetKit/) 機能。OAuth 2.0 認証のためのホストWeb サーバーを使用する機能。 -- [**Fixed bug list**](https://bugs.4d.fr/fixedbugslist?version=20_R9): list of all bugs that have been fixed in 4D 20 R9. +- [**修正リスト**](https://bugs.4d.fr/fixedbugslist?version=20_R9): 4D 20 R9 で修正されたバグのリストです(日本語版は [こちら](https://4d-jp.github.io/2025/99/release-note-version-20r9//))。 ## 4D 20 R8 -Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8/), the blog post that lists all new features and enhancements in 4D 20 R8. +[**4D 20 R8 の新機能**](https://blog.4d.com/ja-whats-new-in-4d-v20-R8/): 4D 20 R8 の新機能と拡張機能をすべてリストアップしたブログ記事です。 #### ハイライト @@ -42,7 +42,7 @@ Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8 - 以下のコマンドが、引数としてオブジェクトまたはコレクションを受け取れるようになりました: [WP SET ATTRIBUTES](../WritePro/commands/wp-set-attributes.md)、[WP Get attributes](../WritePro/commands/wp-get-attributes.md)、[WP RESET ATTRIBUTES](../WritePro/commands/wp-reset-attributes.md)、[WP Table append row](../WritePro/commands/wp-table-append-row.md)、 [WP Import document](../WritePro/commands/wp-import-document.md)、 [WP EXPORT DOCUMENT](../WritePro/commands/wp-export-document.md)、 [WP Add picture](../WritePro/commands/wp-add-picture.md)、および [WP Insert picture](../WritePro/commands/wp-insert-picture.md) - [WP Insert formula](../WritePro/commands/wp-insert-formula.md)、 [WP Insert document body](../WritePro/commands/wp-insert-document-body.md)、および [WP Insert break](../WritePro/commands/wp-insert-break.md) はレンジを返す関数になりました(頭文字のみ大文字です)。 - ドキュメント属性に関連した新しい式: [This.sectionIndex](../WritePro/managing-formulas.md)、 [This.sectionName](../WritePro/managing-formulas.md) および[This.pageIndex](../WritePro/managing-formulas.md) -- 4D ランゲージ: +- 4Dランゲージ: - 変更されたコマンド: [`FORM EDIT`](../commands/form-edit.md) - [4D.CryptoKey class](../API/CryptoKeyClass.md) の[`.sign()`](../API/CryptoKeyClass.md#sign) および [`.verify()`](../API/CryptoKeyClass.md#verify) 関数は *message* 引数においてBlob をサポートするようになりました。 - [**修正リスト**](https://bugs.4d.fr/fixedbugslist?version=20_R8): 4D 20 R8 で修正されたバグのリストです(日本語版は [こちら](https://4d-jp.github.io/2024/360/release-note-version-20r8/))。 @@ -54,7 +54,7 @@ Read [**What’s new in 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d-20-R8 ## 4D 20 R7 -Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7/), the blog post that lists all new features and enhancements in 4D 20 R7. +[**4D 20 R7 の新機能**](https://blog.4d.com/ja-whats-new-in-4d-v20-R7/): 4D 20 R7 の新機能と拡張機能をすべてリストアップしたブログ記事です。 #### ハイライト @@ -69,7 +69,7 @@ Read [**What’s new in 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7 - 4Dクライアントアプリケーション用の新しいアプリケーションビルド XMLキー: 接続時にサーバーから送信される証明書について、認証局の 署名 や [ドメイン](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.ja.html) を検証するためのキーが追加されました。 - [埋め込みライセンスなしでスタンドアロンアプリケーションをビルドすること](../Desktop/building.md#licenses) が可能になりました。 -- 4D ランゲージ: +- 4Dランゲージ: - 新コマンド: [Process info](../commands/process-info.md)、 [Session info](../commands/session-info.md)、 [SET WINDOW DOCUMENT ICON](../commands/set-window-document-icon.md) - 変更されたコマンド: [Process activity](../commands/process-activity.md)、 [Process number](../commands/process-number.md) - 4D Write Pro: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md index 7297a333163d04..48505bdca34736 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md @@ -140,7 +140,7 @@ Function GetBestOnes() `City クラス` は API を提供しています: ```4d -// cs.City class +// cs.City クラス Class extends DataClass @@ -267,10 +267,10 @@ End if データモデルクラスを作成・編集する際には次のルールに留意しなくてはなりません: - 4D のテーブル名は、**cs** [クラスストア](Concepts/classes.md#クラスストア) 内において自動的に DataClass クラス名として使用されるため、**cs** 名前空間において衝突があってはなりません。 特に: - - Do not give the same name to a 4D table and to a [user class name](../Concepts/classes.md#class-definition). 衝突が起きた場合には、ユーザークラスのコンストラクターは使用不可となります (コンパイラーにより警告が返されます)。 + - 4D テーブル名と[ユーザークラス名](../Concepts/classes.md#クラス定義)に同じ名前をつけてはいけません。 衝突が起きた場合には、ユーザークラスのコンストラクターは使用不可となります (コンパイラーにより警告が返されます)。 - 4D テーブルに予約語を使用してはいけません (例: "DataClass")。 -- When defining a class, make sure the [`Class extends`](../Concepts/classes.md#class-extends-classname) statement exactly matches the parent class name (remember that they're case sensitive). たとえば、EntitySelection クラスを継承するには `Class extends EntitySelection` と書きます。 +- クラス定義の際、[`Class extends`](../Concepts/classes.md#class-extends-classname) ステートメントに使用する親クラスの名前は完全に合致するものでなくてはいけません (文字の大小が区別されます)。 たとえば、EntitySelection クラスを継承するには `Class extends EntitySelection` と書きます。 - データモデルクラスオブジェクトのインスタンス化に `new()` キーワードは使えません (エラーが返されます)。 上述の ORDA クラステーブルに一覧化されている、通常の [インスタンス化の方法](#アーキテクチャー) を使う必要があります。 @@ -845,7 +845,7 @@ $id:=$remoteDS.Schools.computeIDNumber() // エラー (未知のメンバー機 ```4d // onHTTPGet 関数を宣言する -exposed onHTTPGet Function (params) : result +exposed onHttpGet Function (params) : result ``` :::info @@ -997,7 +997,7 @@ End if ### クラスファイル -An ORDA data model user class is defined by adding, at the [same location as regular class files](../Concepts/classes.md#class-definition) (*i.e.* in the `/Sources/Classes` folder of the project folder), a .4dm file with the name of the class. たとえば、`Utilities` データクラスのエンティティクラスは、`UtilitiesEntity.4dm` ファイルによって定義されます。 +ORDA データモデルユーザークラスは、クラスと同じ名称の .4dm ファイルを [通常のクラスファイルと同じ場所](../Concepts/classes.md#クラス定義) (つまり、Project フォルダー内の `/Sources/Classes` フォルダー) に追加することで定義されます。 たとえば、`Utilities` データクラスのエンティティクラスは、`UtilitiesEntity.4dm` ファイルによって定義されます。 ### クラスの作成 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Project/components.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Project/components.md index 676c4d9e6d8d01..9d7740747405e8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Project/components.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/Project/components.md @@ -3,7 +3,7 @@ id: components title: コンポーネント --- -4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 +4D のコンポーネントとは、プロジェクトに追加可能な、1つ以上の機能を持つ 4Dコードや 4Dフォームの一式です。 たとえば、[4D SVG](https://github.com/4d/4D-SVG)コンポーネント は、SVGファイルの表示するための高度なコマンドと統合されたレンダリングエンジンを追加します。 独自の 4Dコンポーネントを [開発](../Extensions/develop-components.md) し、[ビルド](../Desktop/building.md) することもできますし、4Dコミュニティによって共有されているパブリックコンポーネントを GitHubで見つけて ダウンロードすることもできます。 @@ -11,14 +11,14 @@ title: コンポーネント ## インタープリターとコンパイル済みコンポーネント -Components can be interpreted or [compiled](../Desktop/building.md). +コンポーネントは、インタープリターまたは [コンパイル済み](../Desktop/building.md) のものが使えます。 - インタープリターモードで動作する 4Dプロジェクトは、インタープリターまたはコンパイル済みどちらのコンポーネントも使用できます。 -- コンパイルモードで実行される 4Dプロジェクトでは、インタープリターのコンポーネントを使用できません。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 この場合、コンパイル済みコンポーネントのみが利用可能です。 +- コンパイルモードで実行される 4Dプロジェクトでは、インタープリターのコンポーネントを使用できません。 この場合、コンパイル済みコンポーネントのみが利用可能です。 -### Package folder +### パッケージフォルダ -The package folder of a component (*MyComponent.4dbase* folder) can contain: +コンポーネントのパッケージフォルダ(*MyComponent.4dbase* フォルダ) には以下のものを含めることができます: - for **interpreted components**: a standard [Project folder](../Project/architecture.md). The package folder name must be suffixed with **.4dbase** if you want to install it in the [**Components** folder of your project](architecture.md#components). - for **compiled components**: @@ -35,7 +35,7 @@ The "Contents" folder architecture is recommended for components if you want to :::note -このページでは、**4D** と **4D Server** 環境でのコンポーネントの使用方法について説明します。 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: 他の環境では、コンポーネントの管理は異なります: +このページでは、**4D** と **4D Server** 環境でのコンポーネントの使用方法について説明します。 他の環境では、コンポーネントの管理は異なります: - [リモートモードの 4D](../Desktop/clientServer.md) では、サーバーがコンポーネントを読み込み、リモートアプリケーションに送信します。 - 統合されたアプリケーションでは、コンポーネントは [ビルドする際に組み込まれます](../Desktop/building.md#プラグインコンポーネントページ)。 @@ -61,7 +61,7 @@ The "Contents" folder architecture is recommended for components if you want to #### dependencies.json -**dependencies.json** ファイルは、4Dプロジェクトに必要なすべてのコンポーネントを宣言します。 このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: +**dependencies.json** ファイルは、4Dプロジェクトに必要なすべてのコンポーネントを宣言します。 このファイルは、4Dプロジェクトフォルダーの **Sources** フォルダーに置く必要があります。例: ``` /MyProjectRoot/Project/Sources/dependencies.json @@ -167,7 +167,7 @@ flowchart TB パスは、POSIXシンタックスで表します ([POSIXシンタックス](../Concepts/paths#posix-シンタックス) 参照)。 -相対パスは、[`environment4d.json`](#environment4djson) ファイルを基準とした相対パスです。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 絶対パスは、ユーザーのマシンにリンクされています。 +相対パスは、[`environment4d.json`](#environment4djson) ファイルを基準とした相対パスです。 絶対パスは、ユーザーのマシンにリンクされています。 コンポーネントアーキテクチャーの柔軟性と移植性のため、ほとんどの場合、相対パスを使用することが **推奨** されます (特に、プロジェクトがソース管理ツールにホストされている場合)。 @@ -232,7 +232,7 @@ If you select the [**Follow 4D Version**](#defining-a-github-dependency-version- ::: -- **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 **タグ** はリリースを一意に参照するテキストです。 [**dependencies.json** ファイル](#dependenciesjson) および [**environment4d.json**](#environment4djson) ファイルでは、プロジェクトで使用するリリースタグを指定することができます。 たとえば: たとえば: たとえば: たとえば: たとえば: たとえば: たとえば: +- **タグ** はリリースを一意に参照するテキストです。 [**dependencies.json** ファイル](#dependenciesjson) および [**environment4d.json**](#environment4djson) ファイルでは、プロジェクトで使用するリリースタグを指定することができます。 たとえば: ```json { @@ -245,7 +245,7 @@ If you select the [**Follow 4D Version**](#defining-a-github-dependency-version- } ``` -- リリースは **バージョン** によっても識別されます。 リリースは **バージョン** によっても識別されます。 リリースは **バージョン** によっても識別されます。 The versioning system used is based on the [*Semantic Versioning*](https://regex101.com/r/Ly7O1x/3/) concept, which is the most commonly used. 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: +- リリースは **バージョン** によっても識別されます。 使用されるバージョニングシステムは一般的に使用されている [*セマンティックバージョニング*](https://regex101.com/r/Ly7O1x/3/) コンセプトに基づいています。 各バージョン番号は次のように識別されます: `majorNumber.minorNumber.pathNumber`。 タグと同様に、プロジェクトで使用したいコンポーネントのバージョンを指定することができます。例: ```json { @@ -258,7 +258,7 @@ If you select the [**Follow 4D Version**](#defining-a-github-dependency-version- } ``` -範囲は、最小値と最大値を示す 2つのセマンティックバージョンと演算子 ('`< | > | >= | <= | =`') で定義します。 `*` はすべてのバージョンのプレースホルダーとして使用できます。 ~ および ^ の接頭辞は、数字で始まるバージョンを定義し、それぞれ次のメジャーバージョンおよびマイナーバージョンまでの範囲を示します。 `*` はすべてのバージョンのプレースホルダーとして使用できます。 ~ および ^ の接頭辞は、数字で始まるバージョンを定義し、それぞれ次のメジャーバージョンおよびマイナーバージョンまでの範囲を示します。 +範囲は、最小値と最大値を示す 2つのセマンティックバージョンと演算子 ('`< | > | >= | <= | =`') で定義します。 `*` はすべてのバージョンのプレースホルダーとして使用できます。 ~ および ^ の接頭辞は、数字で始まるバージョンを定義し、それぞれ次のメジャーバージョンおよびマイナーバージョンまでの範囲を示します。 以下にいくつかの例を示します: @@ -308,7 +308,7 @@ You then need to [provide your connection token](#providing-your-github-access-t #### 依存関係のローカルキャッシュ -参照された GitHubコンポーネントはローカルのキャッシュフォルダーにダウンロードされ、その後環境に読み込まれます。 ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: ローカルキャッシュフォルダーは以下の場所に保存されます: +参照された GitHubコンポーネントはローカルのキャッシュフォルダーにダウンロードされ、その後環境に読み込まれます。 ローカルキャッシュフォルダーは以下の場所に保存されます: - macOs: `$HOME/Library/Caches//Dependencies` - Windows: `C:\Users\\AppData\Local\\Dependencies` @@ -374,7 +374,7 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ### 依存関係のオリジン -依存関係パネルには、各依存関係のオリジン (由来) にかかわらず、プロジェクトの依存関係すべてがリストされます。 依存関係のオリジンは、名前の下に表示されるタグによって判断することができます: 依存関係のオリジンは、名前の下に表示されるタグによって判断することができます: +依存関係パネルには、各依存関係のオリジン (由来) にかかわらず、プロジェクトの依存関係すべてがリストされます。 依存関係のオリジンは、名前の下に表示されるタグによって判断することができます: ![dependency-origin](../assets/en/Project/dependency-origin.png) @@ -406,11 +406,11 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ### ローカルな依存関係の追加 -ローカルな依存関係を追加するには、パネルのフッターエリアにある **+** ボタンをクリックします。 次のようなダイアログボックスが表示されます: 次のようなダイアログボックスが表示されます: 次のようなダイアログボックスが表示されます: +ローカルな依存関係を追加するには、パネルのフッターエリアにある **+** ボタンをクリックします。 次のようなダイアログボックスが表示されます: ![dependency-add](../assets/en/Project/dependency-add.png) -**ローカル** タブが選択されていることを確認し、**...** ボタンをクリックします。 標準の "ファイルを開く" ダイアログボックスが表示され、追加するコンポーネントを選択できます。 You can select a [**.4DZ**](../Desktop/building.md#build-component) or a [**.4DProject**](architecture.md#applicationname4dproject-file) file. +**ローカル** タブが選択されていることを確認し、**...** ボタンをクリックします。 標準の "ファイルを開く" ダイアログボックスが表示され、追加するコンポーネントを選択できます。 [**.4DZ**](../Desktop/building.md#コンポーネントをビルド) または [**.4DProject**](architecture.md#applicationname4dproject-ファイル) ファイルを選択できます。 選択した項目が有効であれば、その名前と場所がダイアログボックスに表示されます。 @@ -421,7 +421,7 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single プロジェクトに依存関係を追加するには、**追加** をクリックします。 - プロジェクトパッケージフォルダーの隣 (デフォルトの場所) にあるコンポーネントを選択すると、[**dependencies.json**](#dependenciesjson)ファイル内で宣言されます。 -- プロジェクトのパッケージフォルダーの隣にないコンポーネントを選択した場合、そのコンポーネントは [**dependencies.json**](#dependenciesjson) ファイルで宣言され、そのパスも [**environment4d.json**](#environment4djson) ファイルで宣言されます (注記参照)。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 +- プロジェクトのパッケージフォルダーの隣にないコンポーネントを選択した場合、そのコンポーネントは [**dependencies.json**](#dependenciesjson) ファイルで宣言され、そのパスも [**environment4d.json**](#environment4djson) ファイルで宣言されます (注記参照)。 依存関係パネルでは、[相対パスまたは絶対パス](#相対パス-vs-絶対パス) のどちらを保存するか尋ねられます。 :::note @@ -429,7 +429,7 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ::: -この依存関係は、[非アクティブな依存関係のリスト](#依存関係のステータス) に **Available after restart** (再起動後に利用可能) というステータスで追加されます。 このコンポーネントはアプリケーションの再起動後にロードされます。 このコンポーネントはアプリケーションの再起動後にロードされます。 +この依存関係は、[非アクティブな依存関係のリスト](#依存関係のステータス) に **Available after restart** (再起動後に利用可能) というステータスで追加されます。 このコンポーネントはアプリケーションの再起動後にロードされます。 ### GitHubの依存関係の追加 @@ -437,11 +437,11 @@ The Dependencies panel interface allows you to manage dependencies (on 4D single ![dependency-add-git](../assets/en/Project/dependency-add-git.png) -依存関係の GitHubリポジトリのパスを入力します。 **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: +依存関係の GitHubリポジトリのパスを入力します。 **リポジトリURL** または **GitHubアカウント名/リポジトリ名 の文字列** が使えます。例: ![dependency-add-git-2](../assets/en/Project/dependency-add-git-2.png) -接続が確立されると、入力エリアの右側に GitHubアイコン ![dependency-gitlogo](../assets/en/Project/dependency-gitlogo.png) が表示されます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 +接続が確立されると、入力エリアの右側に GitHubアイコン ![dependency-gitlogo](../assets/en/Project/dependency-gitlogo.png) が表示されます。 このアイコンをクリックすると、既定のブラウザーでリポジトリを開くことができます。 :::note @@ -561,24 +561,24 @@ To provide your GitHub access token, you can either: ![dependency-add-token-2](../assets/en/Project/dependency-add-token-2.png) -パーソナルアクセストークンは 1つしか入力できません。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 入力されたトークンは編集することができます。 +パーソナルアクセストークンは 1つしか入力できません。 入力されたトークンは編集することができます。 The provided token is stored in a **github.json** file in the [active 4D folder](../commands-legacy/get-4d-folder.md#active-4d-folder). ### 依存関係の削除 -依存関係パネルから依存関係を削除するには、対象の依存関係を選択し、パネルの **-** ボタンをクリックするか、コンテキストメニューから **依存関係の削除...** を選択します。 依存関係は複数選択することができ、その場合、操作は選択したすべての依存関係に適用されます。 依存関係は複数選択することができ、その場合、操作は選択したすべての依存関係に適用されます。 +依存関係パネルから依存関係を削除するには、対象の依存関係を選択し、パネルの **-** ボタンをクリックするか、コンテキストメニューから **依存関係の削除...** を選択します。 依存関係は複数選択することができ、その場合、操作は選択したすべての依存関係に適用されます。 :::note -依存関係パネルを使用して削除できるのは、[**dependencies.json**](#dependenciesjson) ファイルで宣言されている依存関係に限られます。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 +依存関係パネルを使用して削除できるのは、[**dependencies.json**](#dependenciesjson) ファイルで宣言されている依存関係に限られます。 選択した依存関係を削除できない場合、**-** ボタンは無効化され、**依存関係の削除...** メニュー項目は非表示になります。 ::: -確認用のダイアログボックスが表示されます。 確認用のダイアログボックスが表示されます。 確認用のダイアログボックスが表示されます。 確認用のダイアログボックスが表示されます。 依存関係が **environment4d.json** ファイルで宣言されている場合、以下のオプションでそれを削除することができます: +確認用のダイアログボックスが表示されます。 依存関係が **environment4d.json** ファイルで宣言されている場合、以下のオプションでそれを削除することができます: ![dependency-remove](../assets/en/Project/remove-comp.png) -ダイアログボックスを確定すると、削除された依存関係の [ステータス](#依存関係のステータス) には "Unloaded after restart" (再起動時にアンロード) フラグが自動的に付きます。 このコンポーネントはアプリケーションの再起動時にアンロードされます。 このコンポーネントはアプリケーションの再起動時にアンロードされます。 +ダイアログボックスを確定すると、削除された依存関係の [ステータス](#依存関係のステータス) には "Unloaded after restart" (再起動時にアンロード) フラグが自動的に付きます。 このコンポーネントはアプリケーションの再起動時にアンロードされます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md index 11d6285153df40..43e4164610c4ab 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md @@ -43,7 +43,7 @@ POST リクエストのボディに関数に渡す引数を含めます: `["mypa :::note -`SingletonClassFunction()` 関数を `GET` で呼び出し可能にするためには、この関数は `onHTTPGet` キーワードで宣言されている必要があります([関数の設定](ClassFunctions#関数の設定) を参照して下さい)。 +The `SingletonClassFunction()` function must have been declared with the `onHTTPGet` keyword to be callable with `GET` (see [Function configuration](ClassFunctions#function-configuration)). ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md index a93094fa52be04..bf98fb587668af 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md @@ -50,7 +50,7 @@ POST リクエストのボディに関数に渡す引数を含めます: `["Agua :::note -`getCity()` 関数は、 `onHTTPGet` キーワードを使用して宣言されている必要があります(以下の[関数の設定](#関数の設定) を参照して下さい)。 +The `getCity()` function must have been declared with the `onHTTPGet` keyword (see [Function configuration](#function-configuration) below). ::: @@ -74,10 +74,10 @@ exposed Function getSomeInfo() : 4D.OutgoingMessage ### `onHTTPGet` -HTTP `GET` リクエストから呼び出すことのできる関数は、[`onHTTPGet` キーワード](../ORDA/ordaClasses.md#onHTTPGet-キーワード) も使用して明確に宣言されていなければなりません。 例: +Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). 例: ```4d -// GET リクエストを許可する +//allowing GET requests exposed onHTTPGet Function getSomeInfo() : 4D.OutgoingMessage ``` diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/WebServer/authentication.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/WebServer/authentication.md index d23859cada3257..77d100dce15f1d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/WebServer/authentication.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/WebServer/authentication.md @@ -23,7 +23,7 @@ Webユーザーに特定のアクセス権を与えるには、ユーザーを ### カスタムの認証 (デフォルト) -このモードでは基本的に、ユーザーを認証する方法は開発者に委ねられています。 4D only evaluates HTTP requests [that require an authentication](#database-method-calls). +このモードでは基本的に、ユーザーを認証する方法は開発者に委ねられています。 4Dは、[認証を必要とする](#データベースメソッドの呼び出し) HTTPリクエストのみを評価します。 この認証モードは最も柔軟性が高く、以下のことが可能です: @@ -38,7 +38,7 @@ ds.webUser.save() "はじめに" の章の [例題](gettingStarted.md#ユーザー認証) も参照ください。 -カスタム認証が提供されていない場合、4D は [`On Web Authentication`](#on-web-authentication) データベースメソッドを呼び出します (あれば)。 In addition to $urll and $content, only the IP addresses of the browser and the server ($IPClient and $IPServer) are provided, the user name and password ($user and $password) are empty. ユーザー認証が成功した場合、このメソッドは $0 に **True** を返さなければなりません。この場合、リクエストされたリソースが提供されます。認証が失敗した場合には、$0 に **False** を返します。 +カスタム認証が提供されていない場合、4D は [`On Web Authentication`](#on-web-authentication) データベースメソッドを呼び出します (あれば)。 $urll と $content に加えて、ブラウザーとサーバーの IPアドレス ($IPClient と$IPServer) のみが提供され、ユーザー名とパスワード ($user と $password) は空です。 ユーザー認証が成功した場合、このメソッドは $0 に **True** を返さなければなりません。この場合、リクエストされたリソースが提供されます。認証が失敗した場合には、$0 に **False** を返します。 > **警告:** `On Web Authentication` データベースメソッドが存在しない場合、接続は自動的に受け入れられます (テストモード)。 @@ -61,7 +61,7 @@ ds.webUser.save() DIGESTモードはより高いセキュリティレベルを提供します。認証情報は復号が困難な一方向ハッシュを使用して処理されます。 -BASICモードと同様に、ユーザーは接続時に自分の名前とパスワードを入力する必要があります。 その後、[`On Web Authentication`](#on-web-authentication) データベースメソッドが呼び出されます。 When the DIGEST mode is activated, the $password parameter (password) is always returned empty. 実際このモードを使用するとき、この情報はネットワークからクリアテキスト (平文) では渡されません。 この場合、接続リクエストは `WEB Validate digest` コマンドを使用して検証しなければなりません。 +BASICモードと同様に、ユーザーは接続時に自分の名前とパスワードを入力する必要があります。 その後、[`On Web Authentication`](#on-web-authentication) データベースメソッドが呼び出されます。 DIGESTモードが有効の時、$password 引数 (パスワード) は常に空の文字列が渡されます。 実際このモードを使用するとき、この情報はネットワークからクリアテキスト (平文) では渡されません。 この場合、接続リクエストは `WEB Validate digest` コマンドを使用して検証しなければなりません。 > これらのパラメーターの変更を反映させるためには、Webサーバーを再起動する必要があります。 @@ -77,14 +77,14 @@ BASICモードと同様に、ユーザーは接続時に自分の名前とパス - Webサーバーが、存在しないリソースを要求する URL を受信した場合 - Webサーバーが `4DACTION/`, `4DCGI/` ... で始まる URL を受信した場合 -- when the web server receives a root access URL and no home page has been set in the Settings or by means of the [`WEB SET HOME PAGE`](../commands-legacy/web-set-home-page.md) command +- Webサーバーがルートアクセス URL を受信したが、ストラクチャー設定または [`WEB SET HOME PAGE`](../commands-legacy/web-set-home-page.md) コマンドでホームページが設定されていないとき - Webサーバーが、セミダイナミックページ内でコードを実行するタグ (`4DSCRIPT`など) を処理した場合。 次の場合には、`On Web Authentication` データベースメソッドは呼び出されません: - Webサーバーが有効な静的ページを要求する URL を受信したとき。 -- when the web server receives a URL beginning with `rest/` and the REST server is launched (in this case, the authentication is handled through the [`ds.authentify` function](../REST/authUsers#force-login-mode) or (deprecated) the `On REST Authentication` database method or Structure settings. -- when the web server receives a URL with a pattern triggering a [custom HTTP Request Handler](http-request-handler.md). +- Webサーバーが `rest/` で始まる URL を受信し、RESTサーバーが起動しているとき (この場合、認証は[`ds.authentify` 関数](../REST/authUsers#強制ログインモード) または `On REST Authentication` データベースメソッド(非推奨)またはストラクチャー設定によって処理されます)。 +- Web サーバーが、[カスタムのHTTP リクエストハンドラー](http-request-handler.md)をトリガーするパターンを持ったURL を受信したとき。 ### シンタックス diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md index 86fffc80a746bf..da692a013e23eb 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md @@ -243,7 +243,7 @@ HTTP リクエストハンドラーコードは、[**共有された**](../Conce :::note -[`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) または [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) キーワードを使用してリクエストハンドラー関数を外部REST 呼び出しへと公開することは**推奨されていません**。 +It is **not recommended** to expose request handler functions to external REST calls using [`exposed`](../ORDA/ordaClasses.md#exposed-vs-non-exposed-functions) or [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword) keywords. ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIParameters.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIParameters.md index d189b7f82a91f7..bbeb245d6f0c19 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIParameters.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIParameters.md @@ -22,22 +22,22 @@ title: OpenAIParameters ### ネットワークプロパティ -| プロパティ | 型 | 説明 | -| -------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `timeout` | Real | Overrides the client-level default timeout for the request, in seconds. Default is 0. | -| `httpAgent` | HTTPAgent | Overrides the client-level default HTTP agent for the request. | -| `maxRetries` | Integer | The maximum number of retries for the request. (Only if code not asynchrone ie. no function provided) | -| `extraHeaders` | Object | Extra headers to send with the request. | +| プロパティ | 型 | 説明 | +| -------------- | --------- | --------------------------------------------------------------------------- | +| `timeout` | Real | クライアントレベルのリクエストのデフォルトのタイムアウトをオーバーライドします(秒単位)。 デフォルトは0です。 | +| `httpAgent` | HTTPAgent | クライアントレベルのリクエストのデフォルトのHTTP エージェントをオーバーライドします。 | +| `maxRetries` | Integer | リクエストのリトライの最大回数。 (コードが非同期でない場合、つまり関数が提供されていない場合のみ) | +| `extraHeaders` | Object | リクエストに付随して送信する追加のヘッダー。 | -### OpenAPI properties +### OpenAPIプロパティ -| プロパティ | 型 | 説明 | -| ------ | ---- | ----------------------------------------------------------------------------------------------------------- | -| `user` | Text | A unique identifier representing the end-user, which helps OpenAI monitor and detect abuse. | +| プロパティ | 型 | 説明 | +| ------ | ---- | -------------------------------------------------- | +| `user` | Text | エンドユーザーを表す固有の識別子。これはOpenAI が不正利用をモニターし検知するのに役立ちます。 | ## 継承クラス -Several classes inherit from `OpenAIParameters` to extend its functionality for specific use cases. Below are some of the classes that extend `OpenAIParameters`: +特定の用途のためにこのクラスの機能を拡張するために、いくつかのクラスが`OpenAIParameters` クラスを継承します。 `OpenAIParameters` 以下はクラスを拡張するクラスの一部です: - [OpenAIChatCompletionsParameters](OpenAIChatCompletionsParameters.md) - [OpenAIChatCompletionsMessagesParameters](OpenAIChatCompletionsMessagesParameters.md) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIResult.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIResult.md index 32904817f6c78e..0b164f438f4cb3 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIResult.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIResult.md @@ -5,7 +5,7 @@ title: OpenAIResult # OpenAIResult -The `OpenAIResult` class is designed to handle the response from HTTP requests and provides functions to evaluate the success of the request, retrieve body content, and collect any errors that may have occurred during processing. +`OpenAIResult` クラスはHTTP リクエストからのレスポンスを管理するために設計されており、リクエストの成否の評価、本文コンテンツの取得、そして処理中に起きたかもしれないあらゆるエラーの収集などの機能を提供します。 ## プロパティ @@ -15,42 +15,42 @@ The `OpenAIResult` class is designed to handle the response from HTTP requests a ## 計算プロパティ -| プロパティ | 型 | 説明 | -| ------------ | ---------- | --------------------------------------------------------------------------------------------------------------------------- | -| `success` | Boolean | A Boolean indicating whether the HTTP request was successful. | -| `errors` | Collection | Returns a collection of errors. These could be network errors or errors returned by OpenAI. | -| `terminated` | Boolean | HTTP リクエストが終了したかどうかを示すブール値。 | -| `headers` | Object | Returns the response headers as an object. | -| `rateLimit` | Object | Returns rate limit information from the response headers. | -| `効果` | Object | Returns usage information from the response body if any. | +| プロパティ | 型 | 説明 | +| ------------ | ---------- | ---------------------------------------------------------------- | +| `success` | Boolean | HTTP リクエストが成功したかどうかを示すブール値。 | +| `errors` | Collection | エラーのコレクションを返します。 これのエラーはネットワークエラーまたはOpenAI から返されたエラーである可能性があります。 | +| `terminated` | Boolean | HTTP リクエストが終了したかどうかを示すブール値。 | +| `headers` | Object | レスポンスのヘッダーをオブジェクトとして返します。 | +| `rateLimit` | Object | レスポンスヘッダーからのレート制限情報を返します。 | +| `usage` | Object | レスポンス本文からの使用状況を返します(あれば)。 | ### rateLimit -The `rateLimit` property returns an object containing rate limit information from the response headers. -This information includes the limits, remaining requests, and reset times for both requests and tokens. +`rateLimit` プロパティはレスポンスヘッダーからのレート制限情報を格納しているオブジェクトを返します。 +この情報には上限、残りのリクエスト、そしてリクエストとトークン両方のリセットまでの時間が含まれます。 -For more details on rate limits and the specific headers used, refer to [the OpenAI Rate Limits Documentation](https://platform.openai.com/docs/guides/rate-limits#rate-limits-in-headers). +レート制限と使用される特定のヘッダーの詳細な情報については、[OpenAI のレート制限についてのドキュメンテーション](https://platform.openai.com/docs/guides/rate-limits#rate-limits-in-headers) を参照してください。 -The structure of the `rateLimit` object is as follows: +`rateLimit` オブジェクトの構造は以下のようになっています: -| フィールド | 型 | 説明 | -| ------------------- | ------- | ------------------------------------------------ | -| `limit.request` | Integer | Number of allowed requests. | -| `limit.tokens` | Integer | Number of allowed tokens. | -| `remaining.request` | Integer | Number of remaining requests. | -| `remaining.tokens` | Integer | Number of remaining tokens. | -| `reset.request` | 文字列 | Time until request limit resets. | -| `reset.tokens` | 文字列 | Time until token limit resets. | +| フィールド | 型 | 説明 | +| ------------------- | ------- | ---------------------- | +| `limit.request` | Integer | 許可されたリクエスト数。 | +| `limit.tokens` | Integer | 許可されたトークン数。 | +| `remaining.request` | Integer | 残りのリクエスト数。 | +| `remaining.tokens` | Integer | 残りのトークン数。 | +| `reset.request` | 文字列 | リクエストの制限がリセットされるまでの時間。 | +| `reset.tokens` | 文字列 | トークンの制限がリセットされるまでの時間。 | ## 関数 ### `throw()` -Throws the first error in the `errors` collection. This function is useful for propagating errors up the call stack. +`errors` コレクション内の最初のエラーをスローします。 この関数は呼び出しスタック内のエラーを辿っていくのに有用です。 ## 継承クラス -Several classes inherit from `OpenAIResult` to extend its functionality for specific use cases. Below are some of the classes that extend `OpenAIResult`: +特定の用途のためにこのクラスの機能を拡張するために、いくつかのクラスが`OpenAIResult` クラスを継承します。 `OpenAIResult` 以下はクラスを拡張するクラスの一部です: - [OpenAIChatCompletionsResult](OpenAIChatCompletionsResult.md) - [OpenAIChatCompletionsStreamResult](OpenAIChatCompletionsStreamResult.md) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIVision.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIVision.md index 2709b0ee06ce08..5b3cc196a9c5bc 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIVision.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIVision.md @@ -5,7 +5,7 @@ title: OpenAIVision # OpenAIVision -Helper for vision stuff. +視覚関連のヘルパー。 ## 関数 @@ -13,10 +13,10 @@ Helper for vision stuff. \**create*(*imageURL* : Text) : OpenAIVisionHelper -| 引数 | 型 | 説明 | -| ---------- | ------------------------------------------- | ---------------------------------------------------------- | -| *imageURL* | Text | The URL of the image to analyze. | -| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | A helper instance for analyzing the image. | +| 引数 | 型 | 説明 | +| ---------- | ------------------------------------------- | --------------------- | +| *imageURL* | Text | 解析したい画像のURL。 | +| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | 画像を解析するためのヘルパーインスタンス。 | #### 使用例 @@ -29,10 +29,10 @@ var $result:=$helper.prompt("Could you describe it?") \**fromFile*(*imageFile* : 4D.File) : OpenAIVisionHelper -| 引数 | 型 | 説明 | -| ----------- | ------------------------------------------- | ---------------------------------------------------------- | -| *imageFile* | 4D.File | The image file to analyze. | -| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | A helper instance for analyzing the image. | +| 引数 | 型 | 説明 | +| ----------- | ------------------------------------------- | --------------------- | +| *imageFile* | 4D.File | 解析したい画像ファイル。 | +| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | 画像を解析するためのヘルパーインスタンス。 | #### 使用例 @@ -45,10 +45,10 @@ var $result:=$helper.prompt("Could you describe it?") \**fromPicture*(*image* : Picture) : OpenAIVisionHelper -| 引数 | 型 | 説明 | -| ------- | ------------------------------------------- | ---------------------------------------------------------- | -| *ピクチャー* | Picture | The image to analyze. | -| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | A helper instance for analyzing the image. | +| 引数 | 型 | 説明 | +| ------- | ------------------------------------------- | --------------------- | +| *image* | Picture | 解析したい画像。 | +| 戻り値 | [OpenAIVisionHelper](OpenAIVisionHelper.md) | 画像を解析するためのヘルパーインスタンス。 | #### 使用例 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIVisionHelper.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIVisionHelper.md index 3b53f2d4131c5f..b86029b0c883a8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIVisionHelper.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/aikit/Classes/OpenAIVisionHelper.md @@ -11,13 +11,13 @@ title: OpenAIVisionHelper **prompt**(*prompt*: Test; *parameters* : OpenAIChatCompletionsParameters) -| 引数 | 型 | 説明 | -| ------------ | --------------------------------------------------------------------- | -------------------------------------------------------------------- | -| *prompt* | Text | The text prompt to send to the OpenAI chat API. | -| *parameters* | [OpenAIChatCompletionsParameters](OpenAIChatCompletionsParameters.md) | Optional parameters for the chat completion request. | -| 戻り値 | [OpenAIChatCompletionsResult](OpenAIChatCompletionsResult.md) | The result of the vision. | +| 引数 | 型 | 説明 | +| ------------ | --------------------------------------------------------------------- | ------------------------------ | +| *prompt* | Text | OpenAI チャットAPI に送信するテキストプロンプト。 | +| *parameters* | [OpenAIChatCompletionsParameters](OpenAIChatCompletionsParameters.md) | チャット補完リクエスト用の任意のパラメーター。 | +| 戻り値 | [OpenAIChatCompletionsResult](OpenAIChatCompletionsResult.md) | ビジョンの結果。 | -Sends a prompt to the OpenAI chat API along with an associated image URL, and optionally accepts parameters for the chat completion. +OpenAI API にプロンプトとそれに付随した画像URL を送信します。またオプションとしてチャット補完用のパラメーターも受付ます。 #### 使用例 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/assets/en/ViewPro/vpFormEvents.md.backup b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/assets/en/ViewPro/vpFormEvents.md.backup index 502c42e670883a..78e6cb20e1819a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/assets/en/ViewPro/vpFormEvents.md.backup +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/assets/en/ViewPro/vpFormEvents.md.backup @@ -1,10 +1,10 @@ --- id: vpFormEvents -title: 4D View Pro Form Events +title: 4D View Pro フォームイベント --- 4D View Pro エリアのプロパティリスト内では、以下のフォームイベントが利用可能です: ![](vpFormEvents.PNG) -一部のイベントは (すべてのアクティブオブジェクトで利用可能な) 標準のフォームイベントであり、一部は 4D View Pro 専用のフォームイベントです。 一部の4D View Pro フォームイベントは、4D View Pro エリア内でイベントが生成された場合には、`FORM Event` コマンドによって返されるオブジェクト内には追加の情報が提供されます。 The following table shows which events are standard and which are specific 4D View Pro form events: \ No newline at end of file +一部のイベントは (すべてのアクティブオブジェクトで利用可能な) 標準のフォームイベントであり、一部は 4D View Pro 専用のフォームイベントです。 一部の4D View Pro フォームイベントは、4D View Pro エリア内でイベントが生成された場合には、`FORM Event` コマンドによって返されるオブジェクト内には追加の情報が提供されます。 以下の表示には、どのフォームイベントが他のオブジェクトと共通で、どのフォームイベントが 4D View Pro エリアに特有のものであるのかが示されています: \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/listbox-get-cell-coordinates.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/listbox-get-cell-coordinates.md index 0b34b0772f7764..55f661c69e7088 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/listbox-get-cell-coordinates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/listbox-get-cell-coordinates.md @@ -39,7 +39,7 @@ displayed_sidebar: docs リストボックス内の選択されたセルの周りに赤い長方形を描画する場合を考えます: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //赤い長方形を初期化 + OBJECT SET VISIBLE(*;"RedRect";False) //赤い長方形を初期化   //長方形はフォーム内のどこかに既に定義済み  LISTBOX GET CELL POSITION(*;"LB1";$col;$row)  LISTBOX GET CELL COORDINATES(*;"LB1";$col;$row;$x1;$y1;$x2;$y2) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md index 378728a8fb82fa..95ad466c935b90 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ displayed_sidebar: docs リストボックスのオブジェクトメソッドにおいて、以下の様に記述します: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //赤い四角を初期化 + OBJECT SET VISIBLE(*;"RedRect";False) //赤い四角を初期化  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md index 3b2191bdfdaf0f..e84ffb8a2d9a07 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## 説明 -Printing pageは、印刷中のページ番号を返します。このコマンドは、[PRINT SELECTION](print-selection.md "PRINT SELECTION")コマンドまたはデザインモードのプリント...メニューの選択によって印刷する場合にのみ使用することができます。 +Printing pageは、印刷中のページ番号を返します。 ## 例題 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md index 6e97eebc9dd2e4..538b1092a5b9cd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md @@ -9,42 +9,42 @@ displayed_sidebar: docs -| 引数 | 型 | | 説明 | -| ----- | ------- | --------------------------- | ---------------------------- | -| コマンド | Integer | → | コマンド番号 | -| info | Integer | ← | Command property to evaluate | -| theme | Text | ← | Language theme of command | -| 戻り値 | Text | ← | Localized command name | +| 引数 | 型 | | 説明 | +| ----- | ------- | --------------------------- | -------------- | +| コマンド | Integer | → | コマンド番号 | +| info | Integer | ← | 評価するコマンドのプロパティ | +| theme | Text | ← | コマンドのランゲージテーマ | +| 戻り値 | Text | ← | ローカライズされたコマンド名 |
    履歴 -| リリース | 内容 | -| ----- | ------------------------------ | -| 20 R9 | Support of deprecated property | +| リリース | 内容 | +| ----- | --------------------- | +| 20 R9 | deprecated プロパティのサポート |
    ## 説明 -The **Command name** command returns the name as well as (optionally) the properties of the command whose command number you pass in *command*.The number of each command is indicated in the Explorer as well as in the Properties area of this documentation. +**Command name** コマンドは、*command* 引数にコマンド番号を渡したコマンドの名前と、オプションとしてそのコマンドのプロパティを返します。各コマンドの番号はエクスプローラー内に記載してある他、このドキュメンテーションのプロパティエリアにも記載があります。 -**Compatibility note:** A command name may vary from one 4D version to the next (commands renamed), this command was used in previous versions to designate a command directly by means of its number, especially in non-tokenized portions of code. This need has diminished over time as 4D continues to evolve because, for non-tokenized statements (formulas), 4D now provides a token syntax. This syntax allows you to avoid potential problems due to variations in command names as well as other elements such as tables, while still being able to type these names in a legible manner (for more information, refer to the *Using tokens in formulas* section). Note also that the \*[Use regional system settings\* option of the Preferences](../Preferences/methods.md#4d-programming-language-use-regional-system-settings) allows you to continue using the French language in a French version of 4D. +**互換性に関する注意:** コマンド名はある4D のバージョンと他のバージョンでは異なる(コマンドが改名された)可能性があり、このコマンドは以前のバージョンでは特にトークナイズドされていない部分のコードにおいて、コマンドをその番号で指定するのに使用されていました。 この用途の必要性は、時とともに4D が進化するにつれて減ってきています。それはトークナイズドされていない宣言(フォーミュラ)に対しては、4D は現在はトークンシンタックスを提供しているからです。 このシンタックスを使用すると、コマンド名の変遷や、あるいはテーブル名などの他の要素が変わったことによって引き起こされる潜在的な問題を避けつつ、読みやすい方法でこれらの名前を入力することができるようになります(詳細な情報については、 *フォーミュラ内でトークンを使用* の章を参照して下さい)。 また、[環境設定内の*リージョンシステム設定を使用* オプション](../Preferences/methods.md#4d-programming-language-use-regional-system-settings) を使用すると、フランス語版の4D において引き続きフランス語のコマンド名を使用することが可能となります。 -Two optional parameters are available: +二つのオプションの引数を渡すことができます: -- *info*: properties of the command. The returned value is a *bit field*, where the following bits are meaningful: - - First bit (bit 0): set to 1 if the command is [**thread-safe**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (i.e., compatible with execution in a preemptive process) and 0 if it is **thread-unsafe**. Only thread-safe commands can be used in [preemptive processes](../Develop/preemptive.md). - - Second bit (bit 1): set to 1 if the command is **deprecated**, and 0 if it is not. A deprecated command will continue to work normally as long as it is supported, but should be replaced whenever possible and must no longer be used in new code. Deprecated commands in your code generate warnings in the [live checker and the compiler](../code-editor/write-class-method.md#warnings-and-errors). +- *info*: コマンドのプロパティを指定します。 返される値は *ビットフィールド* で、以下のビットが意味を持ちます: + - 最初のビット(bit 0): コマンドが[**スレッドセーフである**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code)(つまりプリエンプティブプロセスでの実行に互換性がある)場合には1 に設定され、コマンドが**スレッドセーフでない**場合には0 に設定されます。 [プリエンプティブプロセス](../Develop/preemptive.md) 内ではスレッドセーフなコマンドのみが使用可能です。 + - 二つ目のビット(bit 1): コマンドが**廃止予定** の場合には1 に設定され、そうでない場合には0 に設定されます。 廃止予定のコマンドはサポートされている限りにおいては通常通り機能し続けますが、可能であれば置き換えるべきであり、今後書く新しいコード内においては使用するべきではありません。 コード内における廃止予定のコマンドは[ライブチェッカーおよびコンパイラ](../code-editor/write-class-method.md#警告とエラー) において警告を生成します。 -*theme*: name of the 4D language theme for the command. +*theme*: コマンドの4D ランゲージテーマの名前。 -The **Command name** command sets the *OK* variable to 1 if *command* corresponds to an existing command number, and to 0 otherwise. Note, however, that some existing commands have been disabled, in which case **Command name** returns an empty string (see last example). +**Command name** コマンドは、*command* で指定したコマンドが既存のコマンド番号と対応する場合には*OK* 変数を1に設定し、それ以外の場合には0に設定します。 しかしながら、既存のコマンドの一部には無効化されてしまったコマンドもあり、そういったコマンドの場合には**Command name** は空の文字列を返すという点に注意が必要です(最後の例題を参照して下さい)。 ## 例題 1 -The following code allows you to load all valid 4D commands in an array: +以下のコードを使用すると、全ての有効な4Dコマンドを配列内に読み込むことができます: ```4d  var $Lon_id : Integer @@ -55,18 +55,18 @@ The following code allows you to load all valid 4D commands in an array:  Repeat     $Lon_id:=$Lon_id+1     $Txt_command:=Command name($Lon_id) -    If(OK=1) //command number exists -       If(Length($Txt_command)>0) //command is not disabled +    If(OK=1) // コマンド番号が存在する +       If(Length($Txt_command)>0) // コマンドが無効化されていない           APPEND TO ARRAY($tTxt_commands;$Txt_command)           APPEND TO ARRAY($tLon_Command_IDs;$Lon_id)        End if     End if - Until(OK=0) //end of existing commands + Until(OK=0) // 既存のコマンドの終了 ``` ## 例題 2 -In a form, you want a drop-down list populated with the basic summary report commands. In the object method for that drop-down list, you write: +フォームで、一般的なサマリーレポートコマンドのドロップダウンリストを作成します。 ドロップダウンリストのオブジェクトメソッドに、次のように記述します: ```4d  Case of @@ -80,13 +80,13 @@ In a form, you want a drop-down list populated with the basic summary report com  End case ``` -In the English version of 4D, the drop-down list will read: Sum, Average, Min, and Max. In the French version\*, the drop-down list will read: Somme, Moyenne, Min, and Max. +4Dの日本語版ではドロップダウンリストに、Sum、Average、Min、Maxが表示されます。 フランス語版\*では、ドロップダウンリストには、Somme、Moyenne、Min、Maxが表示されます。 -\*with a 4D application configured to use the French programming language (see compatibility note) +\*フランス語のプログラミング言語を使用するよう設定されている4Dアプリケーション(互換性に関する注意を参照して下さい) ## 例題 3 -You want to create a method that returns **True** if the command, whose number is passed as parameter, is thread-safe, and **False** otherwise. +番号を引数として渡したコマンドがスレッドセーフである場合には**True** を、そうでない場合には**False** を返す様なメソッドを作成したい場合を考えます。 ```4d   //Is_Thread_Safe project method @@ -94,23 +94,23 @@ You want to create a method that returns **True** if the command, whose number i  var $threadsafe : Integer  var $name; $theme : Text  $name:=Command name($command;$threadsafe;$theme) - If($threadsafe ?? 0) //if the first bit is set to 1 + If($threadsafe ?? 0) // 最初のビットが1に設定されている     return True  Else     return False  End if ``` -Then, for the "SAVE RECORD" command (53) for example, you can write: +これを使い、例えば"SAVE RECORD"コマンド(53番)に対して、以下のように書く事ができます: ```4d  $isSafe:=Is_Thread_Safe(53) -  // returns True +  // True を返す ``` ## 例題 4 -You want to return a collection of all deprecated commands in your version of 4D. +使用中のバージョンの4D 内で、廃止予定のコマンドを全てコレクションに入れて返したい場合を考えます。 ```4d var $info; $Lon_id : Integer @@ -120,18 +120,18 @@ var $deprecated : Collection Repeat $Lon_id:=$Lon_id+1 $Txt_command:=Command name($Lon_id;$info) - If($info ?? 1) //the second bit is set to 1 - //then the command is deprecated + If($info ?? 1) // 二つ目のビットが1である + // 1であればコマンドは廃止予定である $deprecated.push($Txt_command) End if -Until(OK=0) //end of existing commands +Until(OK=0) // 既存のコマンドの終了 ``` ## 参照 [EXECUTE FORMULA](../commands-legacy/execute-formula.md)\ -[Preemptive Processes](../Develop/preemptive.md) +[プリエンプティブプロセス](../Develop/preemptive.md) ## プロパティ diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md index 47068609a1f7a0..e0a05e172157ac 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/compile-project.md @@ -38,9 +38,9 @@ displayed_sidebar: docs **注:** このコマンドを使用してバイナリーデータベースをコンパイルすることはできません。 -コンパイラウィンドウとは異なり、このコマンドではコンパイルするコンポーネントを明示的に指定する必要があります。 **Compile project** でプロジェクトをコンパイルする場合、*options* 引数の*components* プロパティを使用してそのコンポーネントを宣言する必要があります。 なお、そのコンポーネントは既にコンパイルされている必要があるという点に注意してください(バイナリーコンポーネントはサポートされます)。 **Compile project** でプロジェクトをコンパイルする場合、*options* 引数の*components* プロパティを使用してそのコンポーネントを宣言する必要があります。 なお、そのコンポーネントは既にコンパイルされている必要があるという点に注意してください(バイナリーコンポーネントはサポートされます)。 +コンパイラウィンドウとは異なり、このコマンドではコンパイルするコンポーネントを明示的に指定する必要があります。 **Compile project** でプロジェクトをコンパイルする場合、*options* 引数の*components* プロパティを使用してそのコンポーネントを宣言する必要があります。 なお、そのコンポーネントは既にコンパイルされている必要があるという点に注意してください(バイナリーコンポーネントはサポートされます)。 -コンパイルされたコードは、*options* 引数の*targets* プロパティでの指定によって、DerivedData または Libraries フォルダに格納されています。 コンパイルされたコードは、*options* 引数の*targets* プロパティでの指定によって、DerivedData または Libraries フォルダに格納されています。 +コンパイルされたコードは、*options* 引数の*targets* プロパティでの指定によって、DerivedData または Libraries フォルダに格納されています。 .4dz ファイルを作成したい場合でも、コンパイルされたプロジェクトを手動でZIP圧縮するか、[ビルドアプリケーション](../Desktop/building.md) 機能を使用する必要があります。 *targets* プロパティに空のコレクションを渡した場合、**Compile project** コマンドはコンパイルせずにシンタックスチェックを実行します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/ds.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/ds.md index 57ca5abd212abd..d37b7daa48f48b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/ds.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/ds.md @@ -19,9 +19,9 @@ displayed_sidebar: docs `ds` コマンドは、カレントの 4Dデータベース、または *localID* で指定したデータベースに合致するデータストアの参照を返します。 -*localID* を省略した (または空の文字列 "" を渡した) 場合には、ローカル4Dデータベース (4D Server でリモートデータベースを開いている場合にはそのデータベース) に合致するデータストアの参照を返します。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 +*localID* を省略した (または空の文字列 "" を渡した) 場合には、ローカル4Dデータベース (4D Server でリモートデータベースを開いている場合にはそのデータベース) に合致するデータストアの参照を返します。 データストアは自動的に開かれ、`ds` を介して直接利用することができます。 -開かれているリモートデータストアのローカルIDを *localID* パラメーターに渡すと、その参照を取得できます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 +開かれているリモートデータストアのローカルIDを *localID* パラメーターに渡すと、その参照を取得できます。 このデータストアは、あらかじめカレントデータベース (ホストまたはコンポーネント) によって [`Open datastore`](open-datastore.md) コマンドで開かれている必要があります。 このコマンドを使用したときにローカルIDが定義されます。 > ローカルIDのスコープは、当該データストアを開いたデータベースです。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/form-edit.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/form-edit.md index 508b4e52350641..c2ba7b22676e60 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/form-edit.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/form-edit.md @@ -62,7 +62,7 @@ displayed_sidebar: docs ## 参照 -[Design Object Access Commands](../commands/theme/Design_Object_Access.md) +[デザインオブジェクトアクセスコマンド](../commands/theme/Design_Object_Access.md) ## プロパティ diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/form-event.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/form-event.md index d1a0a672cc482e..e92524d0ba8f15 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/form-event.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/form-event.md @@ -37,8 +37,8 @@ displayed_sidebar: docs イベントオブジェクトには、イベントが発生したオブジェクト によっては追加のプロパティが含まれていることがあります。 これは以下のオブジェクトで生成された *eventObj* オブジェクトが対象です: -- List box or list box column objects, see [this section](../FormObjects/listbox_overview.md#additional-properties). -- 4D View Pro areas, see [On VP Ready form event](../Events/onVpReady.md). +- リストボックスまたはリストボックスカラムオブジェクト。詳細は[こちらの章](../FormObjects/listbox_overview.md#追加プロパティ)を参照してください。 +- 4D View Pro エリア。詳細は[On VP Ready フォームイベント](../Events/onVpReady.md) を参照してください。 ***注意:*** カレントのイベントが何もない場合、**FORM Event** はnull オブジェクトを返します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/formula.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/formula.md index 00869ab24a23ed..b67964c3078dca 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/formula.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/formula.md @@ -34,7 +34,7 @@ displayed_sidebar: docs 返されたフォーミュラは以下の方法で呼び出すことが可能です: - [`.call()`](../API/FunctionClass.md#call) あるいは [`.apply()`](../API/FunctionClass.md#apply) 関数 -- object notation syntax (see [formula object](../commands/formula.md-object)). +- オブジェクト記法シンタックス ([Formula オブジェクト](../commands/formula.md-object) 参照) ```4d var $f : 4D.Function @@ -47,7 +47,7 @@ displayed_sidebar: docs $o.myFormula() // 3 を返します ``` -You can pass [parameters](../API/FunctionClass.md#passing-parameters) to the `Formula`, as seen below in [example 4](#example-4). +以下の[例題4](#例題-4)にあるように、`Formula` には[引数](../API/FunctionClass.md#引数を渡す)を渡すことが可能です。 フォーミュラの実行対象となるオブジェクトを指定することができます ([例題5](#例題-5) 参照)。 このオブジェクトのプロパティは、 `This` コマンドでアクセス可能です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md index 709ada981cb2d6..f80d1bd1b2f9c9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md @@ -21,7 +21,7 @@ displayed_sidebar: docs ## 説明 -**Print form** は、*aTable* のフィールドや変数の現在の値を使用して *form* 引数で指定したフォームを印刷します。 通常は、印刷処理を完全に制御する必要のある非常に複雑なレポートを印刷するために使用します。 **Print form** はレコード処理、ブレーク処理、改ページ処理を全く行いません。 これらの処理はすべて開発者が行います。 **Print form** は固定されたサイズの枠のなかにフィ-ルドや変数を印刷します。 +**Print form** コマンドは、*aTable* のフィールドや変数の現在の値を使用して *form* 引数で指定したフォームを印刷します。 通常は、印刷処理を完全に制御する必要のある非常に複雑なレポートを印刷するために使用します。 **Print form** はレコード処理、ブレーク処理、改ページ処理を全く行いません。 これらの処理はすべて開発者が行います。 **Print form** は固定されたサイズの枠のなかにフィ-ルドや変数を印刷します。 *form* 引数には、以下のいづれかを渡すことができます: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md index 71cd91f01111b9..49e6afac902dda 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## 説明 -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter。 プロセスが見つからない場合、`Process number` は0 を返します。 +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter。 プロセスが見つからない場合、`Process number` は0 を返します。 オプションの \* 引数を渡すと、サーバー上で実行中のプロセス番号をリモートの 4D から取得することができます。 この場合、返される値は負の値になります。 このオプションは特に[GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md)、 [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) および [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md) コマンドを使用する場合などに有用です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md index d5096dbed9da50..571f76e64cc58a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md @@ -21,7 +21,7 @@ displayed_sidebar: docs *logFile* 引数には、作成したいログファイルの名前または完全パス名を渡します。 名前だけを渡した場合、ファイルはデータベースのストラクチャーファイルと同階層にあるデータベースの"Logs" フォルダ内に作成されます。 -*logFile* に空の文字列を渡した場合、**SELECT LOG FILE** はファイルを保存ダイアログボックスを表示し、作成するログファイルの名前と場所をユーザーが選択できるようにします。 If the file is created correctly, the OK variable is set to 1. そうでない場合、例えばユーザーがキャンセルをクリックしたりログファイルが作成できなかったような場合OK 変数は 0 に設定されます。 +*logFile* に空の文字列を渡した場合、**SELECT LOG FILE** はファイルを保存ダイアログボックスを表示し、作成するログファイルの名前と場所をユーザーが選択できるようにします。 ファイルが正常に作成されれば、OK 変数は 1 に設定されます。 そうでない場合、例えばユーザーがキャンセルをクリックしたりログファイルが作成できなかったような場合OK 変数は 0 に設定されます。 **注意:** 新しいログファイルはコマンドの実行直後に生成されるのではなく、次回バックアップ(引数はデータファイル内に保存され、データベースが閉じられたとしてもその引数を考慮します)、または [New log file](new-log-file.md) コマンドを呼び出した後に生成されます。 [BACKUP](../commands-legacy/backup.md) コマンドを呼び出すことで、ログファイルの作成をトリガーすることができます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/session.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/session.md index 87c0e9c4aba544..1f014a7e3bac76 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/session.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/session.md @@ -30,7 +30,7 @@ displayed_sidebar: docs コマンドを呼び出したプロセスによって、カレントユーザーセッションは次のいずれかです: -- a web session (when [scalable sessions are enabled](WebServer/sessions.md#enabling-web-sessions)), +- Web セッション([スケーラブルセッションが有効化されている](WebServer/sessions.md#webセッションの有効化) 場合) - リモートクライアントセッション - ストアドプロシージャセッション - スタンドアロンアプリケーションの*designer* セッション diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md index e43c7d5ac33229..9c343b6c4e8419 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md @@ -17,7 +17,7 @@ displayed_sidebar: docs ## 説明 -The **SET ALLOWED METHODS** command designates the project methods that can be entered via the application. +**SET ALLOWED METHODS** コマンドはアプリケーション経由で入力可能なプロジェクトメソッドを指定します。 4Dには、以下のコンテキストからの呼び出し可能なプロジェクトメソッドをフィルターするセキュリティ機構が含まれています: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md index 2ee898b13a09d6..cb267b8a2181f4 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md @@ -65,7 +65,7 @@ title: DataClass | path | Text | リレーションに基づく [エイリアス属性](../ORDA/ordaClasses.md#エイリアス属性-1) のパス。 | | readOnly | Boolean | 読み取り専用属性の場合に trueです。 たとえば、[`set` 関数](../ORDA/ordaClasses.md#function-set-attributename) を持たない計算属性は読み取り専用です。 | | relatedDataClass | Text | 属性にリレートされているデータクラスの名称。 `.kind` = "relatedEntity" または "relatedEntities" の場合にのみ返されます。 | -| type | Text | 属性の概念的な値タイプ。汎用的なプログラミングに有用です。 これは属性の種類 (`kind`) によります。 とりうる値:
  • `.kind` = "storage" の場合: "blob", "bool", "date", "image", "number", "object", または "string"。 "number" is returned for any numeric types including duration; "string" is returned for uuid, alpha and text attribute types; "blob" attributes are [blob objects](../Concepts/dt_blob.md#blob-types).
  • `.kind` = "relatedEntity" の場合: リレートされたデータクラス名
  • `.kind` = "relatedEntities" の場合: リレートされたデータクラス名 + "Selection" 接尾辞
  • `.kind` = "calculated" または "alias" の場合: 結果の値に応じて、上に同じ
  • | +| type | Text | 属性の概念的な値タイプ。汎用的なプログラミングに有用です。 これは属性の種類 (`kind`) によります。 とりうる値:
  • `.kind` = "storage" の場合: "blob", "bool", "date", "image", "number", "object", または "string"。 時間を含め、数値型の場合は "number" が返されます; UUID、文字列、テキスト型属性の場合は "string" が返されます; [BLOBオブジェクト](../Concepts/dt_blob.md#blob-types) の場合は "blob" が返されます。
  • `.kind` = "relatedEntity" の場合: リレートされたデータクラス名
  • `.kind` = "relatedEntities" の場合: リレートされたデータクラス名 + "Selection" 接尾辞
  • `.kind` = "calculated" または "alias" の場合: 結果の値に応じて、上に同じ
  • | | unique | Boolean | 属性値が重複不可の場合に true です。 `.kind` が "relatedEntity" または "relatedEntities" の場合には、このプロパティは返されません。 | :::tip @@ -156,9 +156,9 @@ var $firstnameAtt;$employerAtt;$employeesAtt : Object 任意の *settings* パラメーターには、追加オプションを格納したオブジェクトを渡すことができます。 以下のプロパティがサポートされています: -| プロパティ | 型 | 説明 | -| ------- | ---- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| context | Text | エンティティセレクションに適用されている最適化コンテキストのラベル。 エンティティセレクションを扱うコードはこのコンテキストを使うことで最適化の恩恵を受けます。 This feature is [designed for ORDA client/server processing](../ORDA/remoteDatastores.md#clientserver-optimization). | +| プロパティ | 型 | 説明 | +| ------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| context | Text | エンティティセレクションに適用されている最適化コンテキストのラベル。 エンティティセレクションを扱うコードはこのコンテキストを使うことで最適化の恩恵を受けます。 [ORDA クライアントサーバー通信](../ORDA/remoteDatastores.md#クライアントサーバーの最適化)で使用することができます。 | > データクラス内の総エンティティ数を知るには、`ds.myClass.all().length` 式よりも最適化された [`getCount()`](#getcount) 関数を使用することが推奨されます。 @@ -285,9 +285,9 @@ $ds.Persons.clearRemoteCache() 任意の *settings* パラメーターには、追加オプションを格納したオブジェクトを渡すことができます。 以下のプロパティがサポートされています: -| プロパティ | 型 | 説明 | -| ------- | ---- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| context | Text | エンティティセレクションに適用されている最適化コンテキストのラベル。 エンティティセレクションを扱うコードはこのコンテキストを使うことで最適化の恩恵を受けます。 This feature is [designed for ORDA client/server processing](../ORDA/remoteDatastores.md#clientserver-optimization). | +| プロパティ | 型 | 説明 | +| ------- | ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| context | Text | エンティティセレクションに適用されている最適化コンテキストのラベル。 エンティティセレクションを扱うコードはこのコンテキストを使うことで最適化の恩恵を受けます。 [ORDA クライアントサーバー通信](../ORDA/remoteDatastores.md#クライアントサーバーの最適化)で使用することができます。 | #### 例題 1 @@ -460,13 +460,13 @@ $ds.Persons.clearRemoteCache() 任意の *settings* パラメーターには、追加オプションを格納したオブジェクトを渡すことができます。 以下のプロパティがサポートされています: -| プロパティ | 型 | 説明 | -| ------- | ---- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| context | Text | エンティティに適用されている自動の最適化コンテキストのラベル。 エンティティを読み込む以降のコードは、このコンテキストを使うことで最適化の恩恵を受けます。 This feature is [designed for ORDA client/server processing](../ORDA/remoteDatastores.md#clientserver-optimization). | +| プロパティ | 型 | 説明 | +| ------- | ---- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| context | Text | エンティティに適用されている自動の最適化コンテキストのラベル。 エンティティを読み込む以降のコードは、このコンテキストを使うことで最適化の恩恵を受けます。 [ORDA クライアントサーバー通信](../ORDA/remoteDatastores.md#クライアントサーバーの最適化)で使用することができます。 | :::info -When you call the `.get()` function **without** *settings* parameter, a request for attribute values is directly sent to the server (the [ORDA cache](../ORDA/remoteDatastores.md#orda-cache) is not used). 一方、*settings* パラメーターを介して `context` を渡す形で `.get()` 関数を呼び出すと、コンテキストに対応する ORDAキャッシュから属性値が取得されます。 この場合、[`reload()`](EntityClass.md#reload) を呼び出して、最新のデータがサーバーから取得されていることを確認することをお勧めします。 +*settings* パラメーターを**使わずに** `.get()` 関数を使用した場合には、属性値を求めるリクエストが直接サーバーに送信されます([ORDAキャッシュ](../ORDA/remoteDatastores.md#ORDAキャッシュ)は使われません)。 一方、*settings* パラメーターを介して `context` を渡す形で `.get()` 関数を呼び出すと、コンテキストに対応する ORDAキャッシュから属性値が取得されます。 この場合、[`reload()`](EntityClass.md#reload) を呼び出して、最新のデータがサーバーから取得されていることを確認することをお勧めします。 ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/DataStoreClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/DataStoreClass.md index 134567d8101020..102a419b4a5017 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/DataStoreClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/DataStoreClass.md @@ -138,7 +138,7 @@ $foreignStudents:=Open datastore($connectTo;"foreign") *localID* 引数は、リモートデータストア上で開かれるセッションのローカルエイリアスです。 *localID* 引数の ID がすでにアプリケーションに存在している場合、その ID が使用されています。 そうでない場合、データストアオブジェクトが使用されたときに *localID* のセッションが新規に作成されます。 -Objects available in the `4D.DataStoreImplementation` are mapped from the target database with respect to the [ORDA general rules](ORDA/dsMapping.md#general-rules). +`4D.DataStoreImplementation` のオブジェクトは[変換のルール](ORDA/dsMapping.md#general-rules)に従い、リモートデータストアからマッピングされます。 一旦セッションが開かれると、以下の 2行の宣言は同等のものとなり、同じデータストアオブジェクトへの参照を返します: @@ -491,7 +491,7 @@ ds.unlock() // コピー操作をおこなったので、データストアの > コンテキストの作成に関する詳細については、[クライアント/サーバーの最適化](../ORDA/remoteDatastores.md#クライアントサーバーの最適化) を参照ください。 -Each object in the returned collection has the properties listed in the [`.getRemoteContextInfo()`](#getremotecontextinfo) section. +返されるコレクション内の各オブジェクトは、 [`.getRemoteContextInfo()`](#getremotecontextinfo) に列挙されているプロパティをそれぞれ持ちます。 #### 例題 @@ -798,7 +798,7 @@ ORDAリクエストログのフォーマットの詳細は、[**ORDAクライア `.makeSelectionsAlterable()` 関数は、 カレントアプリケーションのデータストアにおいて、すべての新規エンティティセレクションをデフォルトで追加可能に設定します ([リモートデータストア](ORDA/remoteDatastores.md) を含む)。 これはたとえば `On Startup` データベースメソッドなどで、一度だけ使用することが想定されています。 -When this function is not called, new entity selections can be shareable, depending on the nature of their "parent", or [how they are created](ORDA/entities.md#shareable-or-alterable-entity-selections). +この関数が呼ばれなかった場合、新規エンティティセレクションが共有可能かどうかは、共有可能エンティティセレクションを"元"にしたのか、あるいは[どんな関数を呼び出して作成したのか](ORDA/entities.md#共有可能追加可能なエンティティセレクション)で決まります。 > この関数は、`OB Copy` または [`.copy()`](./EntitySelectionClass.md#copy) に `ck shared` オプションを明示的に使用して作成されたエンティティセレクションには適用されません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/EntityClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/EntityClass.md index 05233f0fae9772..411c6fd6c3498d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/EntityClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/EntityClass.md @@ -600,15 +600,14 @@ vCompareResult1 (すべての差異が返されています): -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | 引数 | 型 | | 説明 | | ---- | ------- |:--:| -------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: プライマリーキーの型にかかわらず、プライマリーキーを文字列として返します | -| 戻り値 | Text | <- | エンティティのテキスト型プライマリーキーの値 | -| 戻り値 | Integer | <- | エンティティの数値型プライマリーキーの値 | +| 戻り値 | any | <- | Value of the primary key of the entity (Integer or Text) | diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/FileClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/FileClass.md index 84f23ac9db2273..df62f3af62eb63 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/FileClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/FileClass.md @@ -606,12 +606,12 @@ $fhandle:=$f.open("read") `.setAppInfo()` 関数は、 *info* に渡したプロパティを **.exe** や **.dll**、**.plist** ファイルの情報として書き込みます。 -この関数は、既存の .exe、.dll、あるいは .plist ファイルと使う必要があります。 ファイルがディスク上に存在しない、または、有効な .exe や .dll、.plist ファイルでない場合、この関数は何もしません (エラーは生成されません)。 - -> この関数は xml形式の .plist ファイル (テキスト) のみをサポートしています。 バイナリ形式の .plist ファイルを対象に使用した場合、エラーが返されます。 **.exe または .dll ファイル用の *info* オブジェクト** +関数に渡されるファイルは、ディスク上に存在する有効な .exe または .dll ファイルでなければなりません。そうでない場合、この関数は何もしません (エラーは生成されません)。 + + > .exe および .dll ファイル情報の書き込みは Windows上でのみ可能です。 *info* オブジェクトに設定された各プロパティは .exe または .dll ファイルのバージョンリソースに書き込まれます。 以下のプロパティが使用できます (それ以外のプロパティは無視されます): @@ -634,6 +634,8 @@ $fhandle:=$f.open("read") **.plist ファイル用の *info* オブジェクト** +> この関数は xml形式の .plist ファイル (テキスト) のみをサポートしています。 バイナリ形式の .plist ファイルを対象に使用した場合、エラーが返されます。 + *info* オブジェクトに設定された各プロパティは .plist ファイルにキーとして書き込まれます。 あらゆるキーの名称が受け入れられます。 値の型は可能な限り維持されます。 *info* に設定されたキーが .plist ファイル内ですでに定義されている場合は、その値が更新され、元の型が維持されます。 .plist ファイルに既存のそのほかのキーはそのまま維持されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/POP3TransporterClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/POP3TransporterClass.md index d83354196ec048..8987680a6d8f89 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/POP3TransporterClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/POP3TransporterClass.md @@ -59,15 +59,15 @@ POP3 Transporter オブジェクトは [POP3 New transporter](#pop3-new-transpor *server* 引数として、以下のプロパティを持つオブジェクトを渡します: -| *server* | デフォルト値 (省略時) | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | +| *server* | デフォルト値 (省略時) | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | | [](#acceptunsecureconnection)    | false | -| .**accessTokenOAuth2**: Text
    .**accessTokenOAuth2**: Object
    OAuth2 認証の資格情報を表すテキスト文字列またはトークンオブジェクト。 `authenticationMode` が OAUTH2 の場合のみ使用されます。 `accessTokenOAuth2` が使用されているが `authenticationMode` が省略されていた場合、OAuth2 プロトコルが使用されます (サーバーで許可されていれば)。 Not returned in *[POP3 transporter](#pop3-transporter-object)* object. | なし | +| .**accessTokenOAuth2**: Text
    .**accessTokenOAuth2**: Object
    OAuth2 認証の資格情報を表すテキスト文字列またはトークンオブジェクト。 `authenticationMode` が OAUTH2 の場合のみ使用されます。 `accessTokenOAuth2` が使用されているが `authenticationMode` が省略されていた場合、OAuth2 プロトコルが使用されます (サーバーで許可されていれば)。 *[POP3 トランスポーターオブジェクト](#pop3-transporter-オブジェクト)* からは返されません | なし | | [](#authenticationmode)    | サーバーがサポートするもっともセキュアな認証モードが使用されます | | [](#connectiontimeout)    | 30 | | [](#host)    | *必須* | | [](#logfile)    | なし | -| **.password** : Text
    サーバーとの認証のためのユーザーパスワード。 Not returned in *[POP3 transporter](#pop3-transporter-object)* object. | なし | +| **.password** : Text
    サーバーとの認証のためのユーザーパスワード。 *[POP3 トランスポーターオブジェクト](#pop3-transporter-オブジェクト)* からは返されません | なし | | [](#port)    | 995 | | [](#user)    | なし | diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md index 4676c4cb932dad..7ecb564411a96e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md @@ -684,7 +684,7 @@ CORS についての詳細は、Wikipedia の[Cross-origin resource sharing](htt プロジェクトの設定ファイルに定義されているデフォルトの設定、または `WEB SET OPTION` コマンドで定義された設定 (ホストデータベースのみ) を使用して、Webサーバーは開始されます。 しかし、*settings* 引数を渡せば、Webサーバーセッションにおいてカスタマイズされた設定を定義することができます。 -[Web Server オブジェクト](#webサーバーオブジェクト) の設定は、読み取り専用プロパティ ([.isRunning](#isrunning)、[.name](#name)、[.openSSLVersion](#opensslversion)、[.perfectForwardSecrecy](#perfectforwardsecrecy)、[.sessionCookieName](#sessioncookiename)) を除いて、すべてカスタマイズ可能です。 +[Webサーバーオブジェクト](#webサーバーオブジェクト)の設定すべては、読み取り専用プロパティ([.isRunning](#isrunning)、[.name](#name)、[.openSSLVersion](#opensslversion)、[.perfectForwardSecrecy](#perfectforwardsecrecy)、[.sessionCookieName](#sessioncookiename))を除き、カスタマイズすることができます。 カスタマイズされた設定は [`.stop()`](#stop) が呼び出されたときにリセットされます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/classes.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/classes.md index f5f8f38f1d1eda..e83c2bc7aa3ce0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/classes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/classes.md @@ -332,8 +332,8 @@ Class constructor ($name : Text ; $age : Integer) ``` ```4d -// In a project method -// You can instantiate an object +// プロジェクトメソッド内において +// クラスをインスタンス化することができます var $o : cs.MyClass $o:=cs.MyClass.new("John";42) // $o = {"name":"John";"age":42} diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/dt_picture.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/dt_picture.md index 41cbec7d2b31d8..9fe3bf343ead45 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/dt_picture.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/dt_picture.md @@ -29,18 +29,18 @@ WIC および ImageIO はピクチャー内のメタデータの書き込みを ## ピクチャー演算子 -| 演算 | シンタックス | 戻り値 | 動作 | -| -------- | ---------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | -| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | -| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | -| 包括的論理和 | Pict1 | Pict2 | Picture | | 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 二つのピクチャーサイズに違いがある場合、Pict1 | Pict2 は空のピクチャーを生成します。 | -| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | -| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | -| リサイズ | Picture * Number | Picture | 割合によってピクチャーをサイズ変更します。 | -| 水平スケール | Picture *+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | -| 垂直スケール | Picture *| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | -| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照ください `GET PICTURE KEYWORDS` を参照してください。 | +| 演算 | シンタックス | 戻り値 | 動作 | +| -------- | ---------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| 水平連結 | Pict1 + Pict2 | Picture | Pict1 の右側に Pict2 を追加します | +| 垂直連結 | Pict1 / Pict2 | Picture | Pict1 の下側に Pict2 を追加します | +| 排他的論理和 | Pict1 & Pict2 | Picture | Pict1 の前面に Pict2 を重ねます (Pict2 が前面) Pict1 の前面に Pict2 を重ねます (Pict2 が前面) `COMBINE PICTURES(pict3;pict1;Superimposition;pict2)` と同じ結果になります。 | +| 包括的論理和 | Pict1 | Pict2 | Picture | | 演算子を使用するためには、Pict1 と Pict2 が完全に同一のサイズでなければなりません。 二つのピクチャーサイズに違いがある場合、Pict1 | Pict2 は空のピクチャーを生成します。 | +| 水平移動 | Picture + Number | Picture | 指定ピクセル分、ピクチャーを横に移動します。 | +| 垂直移動 | Picture / Number | Picture | 指定ピクセル分、ピクチャーを縦に移動します。 | +| リサイズ | Picture * Number | Picture | 割合によってピクチャーをサイズ変更します。 | +| 水平スケール | Picture *+ Number | Picture | 割合によってピクチャー幅をサイズ変更します。 | +| 垂直スケール | Picture *| Number | Picture | 割合によってピクチャー高さをサイズ変更します。 | +| キーワードを含む | Picture % String | Boolean | 文字列が、ピクチャー式に格納されたピクチャーに関連付けられている場合に true を返します。 `GET PICTURE KEYWORDS` を参照してください。 | **注:** diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/identifiers.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/identifiers.md index 83fb11263e6ac5..afd7c910f023be 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/identifiers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/identifiers.md @@ -29,7 +29,7 @@ title: 識別子の命名規則 プロパティ名 (オブジェクト *属性* とも呼びます) は255文字以内の文字列で指定します。 -オブジェクトプロパティは、スカラー値・ORDA要素・クラス関数・他のオブジェクト等を参照できます。 Whatever their nature, object property names must follow the following rules **if you want to use the [dot notation](./dt_object.md#properties)**: +オブジェクトプロパティは、スカラー値・ORDA要素・クラス関数・他のオブジェクト等を参照できます。 参照先に関わらず、**[ドット記法](./dt_object.md#プロパティ) を使用するには** オブジェクトプロパティ名は次の命名規則に従う必要があります: - 1文字目は、文字、アンダースコア(_)、あるいはドル記号 ($) でなければなりません。 - その後の文字には、文字・数字・アンダースコア(_)・ドル記号 ($) が使用できます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/parameters.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/parameters.md index 5dfb6b5ceb018e..81c51bfa8fbed9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/parameters.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Concepts/parameters.md @@ -350,7 +350,7 @@ method1(42) // 型間違い。 期待されるのはテキスト - [コンパイル済みプロジェクト](interpreted.md) では、可能な限りコンパイル時にエラーが生成されます。 それ以外の場合は、メソッドの呼び出し時にエラーが生成されます。 - インタープリタープロジェクトでは: - + if the parameter was declared using the [standard named syntax](#declaring-parameters) (`#DECLARE` or `Function`), an error is generated when the method is called. + + [名前付きシンタックス](#名前付き引数) (`#DECLARE` または `Function`) を使用して引数が宣言されている場合は、メソッドの呼び出し時にエラーが発生します。 + `C_XXX` を使用して宣言されている場合、エラーは発生せず、呼び出されたメソッドは期待される型の空の値を受け取ります。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Debugging/debugLogFiles.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Debugging/debugLogFiles.md index 2c227160ef2c92..aaeafd34743e8e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Debugging/debugLogFiles.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Debugging/debugLogFiles.md @@ -467,7 +467,7 @@ SET DATABASE PARAMETER(4D Server log recording;0) 環境に応じて、ログ設定ファイルを有効化する方法はいくつかあります: - **インターフェース付きの 4D Server**: メンテナンスページを開き、[ログ設定ファイルを読み込む](ServerWindow/maintenance.md#ログ設定ファイルを読み込む) ボタンをクリックしてファイルを選択します。 この場合、設定ファイルには任意の名前を使用することができます。 ファイルは、サーバー上で即座に有効化されます。 -- **an interpreted or compiled project**: the file must be named `logConfig.json` and copied in the [Settings folder](../Project/architecture.md#settings-user) of the project (located at the same level as the [`Project` folder](../Project/architecture.md#project-folder)). このファイルは、プロジェクトの起動時に有効化されます (クライアント/サーバーのサーバーのみ)。 +- **インタープリターまたはコンパイル済のプロジェクト**: `logConfig.json` ファイルをプロジェクトの [Settings フォルダー](../Project/architecture.md#settings-ユーザー) ([`Project` フォルダー](../Project/architecture.md#project-フォルダー)と同じ階層)に配置します。 このファイルは、プロジェクトの起動時に有効化されます (クライアント/サーバーのサーバーのみ)。 - **ビルドしたアプリケーション**: ファイルは `logConfig.json` という名称で次のフォルダーに置く必要があります: * Windows: `Users\[userName]\AppData\Roaming\[application]` * macOS: `/Users/[userName]/Library/ApplicationSupport/[application]` diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Desktop/building.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Desktop/building.md index 943238fcc81c8b..6f2016d637cdc5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Desktop/building.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Desktop/building.md @@ -163,7 +163,7 @@ Each build application parameter is stored as an XML key in the application proj * *Windows* * MyProject.exe - 実行可能ファイル、そして MyProject.rsr (アプリケーションリソースファイル) * 4D Extensions および Resources フォルダー、さまざまなライブラリ (DLL)、 Native Components フォルダー、SASL Plugins フォルダーなど、アプリケーション実行に必要なファイル - * Databaseフォルダー: Resources フォルダーと MyProject.4DZ ファイルが格納されています。 これらはプロジェクトのコンパイル済みストラクチャーおよびプロジェクトの Resources フォルダーです。 **Note**: This folder also contains the *Default Data* folder, if it has been defined (see [Data file management in final applications](#management-of-data-files). + * Databaseフォルダー: Resources フォルダーと MyProject.4DZ ファイルが格納されています。 これらはプロジェクトのコンパイル済みストラクチャーおよびプロジェクトの Resources フォルダーです。 **注記**: もし*Default Data* フォルダーが設定されていれば、ここに格納されます ([データファイルの管理](#データファイルの管理)を参照してください)。 * (オプション) データベースに含まれるコンポーネントやプラグインが配置された Components フォルダーおよび Plugins フォルダー。 この点に関する詳細は [プラグイン&コンポーネントページ](#プラグイン&コンポーネントページ) を参照してください。 * (オプション) Licenses フォルダー - アプリケーションに統合されたライセンス番号の XML ファイルが(あれば)含まれます。 この点に関する詳細は [ライセンス&証明書ページ](#ライセンス&証明書ページ) を参照してください。 * 4D Volume Desktop フォルダーに追加されたその他の項目 (あれば) ([4D Volume Desktop フォルダーのカスタマイズ](#4d-volume-desktop-フォルダーのカスタマイズ) 参照) @@ -199,11 +199,11 @@ Each build application parameter is stored as an XML key in the application proj スタンドアロンアプリケーションには運用ライセンスが必要となります。 これは開発者によってビルドの段階で埋め込むか、以下の表で説明されているように、初回起動時にエンドユーザーによって入力される必要があります: -| 運用ライセンス | 説明 | 入力する場所 | -| ---------------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------ | -| *4D OEM Desktop* | 埋め込まれたカスタムのライセンス。詳細は 4D 営業部にお取り合わせ下さい。 | アプリケーションビルドダイアログの[ライセンスページ](#ライセンス) | -| *4D Unlimited Desktop* | **販売終了** - 埋め込まれたカスタムのライセンス | アプリケーションビルドダイアログの[ライセンスページ](#ライセンス) | -| *4D Desktop* | ユーザーごとのライセンスで、スタンドアロンの4D アプリケーションを使用するのに必要です。 | [First activation](../Admin/licenses.md#first-activation) dialog box on the user's machine | +| 運用ライセンス | 説明 | 入力する場所 | +| ---------------------- | --------------------------------------------- | --------------------------------------------------------------------------- | +| *4D OEM Desktop* | 埋め込まれたカスタムのライセンス。詳細は 4D 営業部にお取り合わせ下さい。 | アプリケーションビルドダイアログの[ライセンスページ](#ライセンス) | +| *4D Unlimited Desktop* | **販売終了** - 埋め込まれたカスタムのライセンス | アプリケーションビルドダイアログの[ライセンスページ](#ライセンス) | +| *4D Desktop* | ユーザーごとのライセンスで、スタンドアロンの4D アプリケーションを使用するのに必要です。 | ユーザーのコンピューターで表示される[初回のアクティベーション](../Admin/licenses.md#初回のアクティベーション) ダイアログ画面 | @@ -250,11 +250,11 @@ Each build application parameter is stored as an XML key in the application proj **注記**: ここでは、以下の用語を使用します: -| 名称 | 定義 | -| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| プロジェクトのディレクトリファイル | [directory.json](../Users/handling_users_groups.md#directoryjson-file) file located in the [Settings folder](../Project/architecture.md#settings-user) of the project | -| アプリケーションのディレクトリファイル | [directory.json](../Users/handling_users_groups.md#directoryjson-file) file located in the [Settings folder](../Project/architecture.md#settings-user) of the built 4D Server | -| データのディレクトリファイル | [directory.json](../Users/handling_users_groups.md#directoryjson-file) file in the [Data > Settings folder](../Project/architecture.md#settings-user-data) | +| 名称 | 定義 | +| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| プロジェクトのディレクトリファイル | プロジェクトの[ Settings フォルダー](../Project/architecture.md#settings-ユーザー)内の[directory.json](../Users/handling_users_groups.md#directoryjson-ファイル) ファイル | +| アプリケーションのディレクトリファイル | ビルドアプリケーションの[ Settings フォルダー](../Project/architecture.md#settings-ユーザー)内の[directory.json](../Users/handling_users_groups.md#directoryjson-ファイル) ファイル | +| データのディレクトリファイル | [ユーザーデータ > Settings フォルダー](../Project/architecture.md#settings-ユーザーデータ)内の[directory.json](../Users/handling_users_groups.md#directoryjson-ファイル) ファイル | このオプションをチェックすると、ビルド時にプロジェクトのディレクトリファイルがアプリケーションのディレクトリファイルとしてコピーされます。 @@ -565,7 +565,7 @@ Apple からデベロッパー認証を取得するためには、キーチェ Gatekeeper とは macOS のセキュリティ機能で、インターネットからダウンロードしてきたアプリケーションの実行を管理するものです。 もしダウンロードしたアプリケーションが Apple Store からダウンロードしたものではない、または署名されていない場合には実行が拒否されます。 -> On Apple Silicon machines, 4D components need to be actually signed. 署名されていないコンポーネントの場合、アプリケーション起動時にエラー ("lib4d-arm64.dylib を開けません...") +> Apple Silicon マシンでは, コンポーネントもきちんと署名されている必要があります。 署名されていないコンポーネントの場合、アプリケーション起動時にエラー ("lib4d-arm64.dylib を開けません...") アプリケーションビルダーの **アプリケーションに署名** 機能によって、このセキュリティオプションと互換性のあるアプリケーションやコンポーネントをデフォルトで生成することができます。 @@ -573,7 +573,7 @@ Gatekeeper とは macOS のセキュリティ機能で、インターネット macOS 10.14.5 (Mojave) および 10.15 (Catalina) において、アプリケーションのノータリゼーション (公証) が Apple より強く推奨されています。公証を得ていないアプリケーションをインターネットからダウンロードした場合、デフォルトでブロックされます。 -The 4D [built-in signing features](#macos-signing-certificate) have been adapted to meet all of Apple's requirements to allow using the Apple notary service. 公証自体はデベロッパーによっておこなわなくてはいけないもので、4D とは直接関係ありません。なお、Xcode のインストールが必須である点に注意してください。 公証についての詳細は [4D ブログ記事 (英語)](https://blog.4d.com/how-to-notarize-your-merged-4d-application/) や関連の [テクニカルノート (日本語)](https://4d-jp.github.io/tech_notes/20-02-25-notarization/) を参照ください。 +4Dに組み込まれている[署名機能全般](#macos-署名に使用する証明書)は、Apple が提供する公証サービスの利用条件に適合するよう作られています。 公証自体はデベロッパーによっておこなわなくてはいけないもので、4D とは直接関係ありません。なお、Xcode のインストールが必須である点に注意してください。 公証についての詳細は [4D ブログ記事 (英語)](https://blog.4d.com/how-to-notarize-your-merged-4d-application/) や関連の [テクニカルノート (日本語)](https://4d-jp.github.io/tech_notes/20-02-25-notarization/) を参照ください。 公証についての詳細は、[Apple のデベロッパー Web サイト](https://developer.apple.com/documentation/xcode/notarizing_your_app_before_distribution/customizing_the_notarization_workflow) を参照ください。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/comboBox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/comboBox_overview.md index e64d468df42ece..3bebd3821fe469 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/comboBox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/comboBox_overview.md @@ -57,4 +57,4 @@ title: コンボボックス > [指定リスト](properties_RangeOfValues.md#指定リスト) は、コンボボックスに割り当てることができません。 ユーザーインターフェースにおいて、オブジェクト内にいくつかの指定された値を表示したいときには、[ドロップダウンリスト](dropdownList_Overview.md) のオブジェクトを使用して下さい。 ## プロパティ一覧 -[Alpha Format](properties_Display.md#alpha-format) - [Bold](properties_Text.md#bold) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Choice List](properties_DataSource.md#choice-list) - [Class](properties_Object.md#css-class) - [Date Format](properties_Display.md#date-format) - [Expression Type](properties_Object.md#expression-type) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Help Tip](properties_Help.md#help-tip) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Italic](properties_Text.md#italic) - [Left](properties_CoordinatesAndSizing.md#left) - [Object Name](properties_Object.md#object-name) - [Right](properties_CoordinatesAndSizing.md#right) - [Time Format](properties_Display.md#time-format) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) \ No newline at end of file +[文字フォ-マット](properties_Display.md#文字フォマット) - [太字](properties_Text.md#太字) - [下](properties_CoordinatesAndSizing.md#下) - [選択リスト](properties_DataSource.md#選択リスト) - [cssクラス](properties_Object.md#cssクラス) - [日付フォーマット](properties_Display.md#日付フォーマット) - [式の型式タイプ](properties_Object.md#式の型式タイプ) - [フォント](properties_Text.md#フォント) - [フォントカラー](properties_Text.md#フォントカラー) - [フォントサイズ](properties_Text.md#フォントサイズ) - [高さ](properties_CoordinatesAndSizing.md#高さ) - [ヘルプtips](properties_Help.md#ヘルプtips) - [横揃え](properties_Text.md#横揃え) - [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) - [イタリック](properties_Text.md#イタリック) - [左](properties_CoordinatesAndSizing.md#左) - [オブジェクト名](properties_Object.md#オブジェクト名) - [右](properties_CoordinatesAndSizing.md#右) - [時間フォーマット](properties_Display.md#時間フォーマット) - [上](properties_CoordinatesAndSizing.md#上) - [型](properties_Object.md#型) - [下線](properties_Text.md#下線) - [変数あるいは式](properties_Object.md#変数あるいは式) - [縦方向サイズ変更](properties_ResizingOptions.md#縦方向サイズ変更) - [表示状態](properties_Display.md#表示状態) - [幅](properties_CoordinatesAndSizing.md#幅) \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/properties_TextAndPicture.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/properties_TextAndPicture.md index ec35e01750ca0f..de732afda49614 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/properties_TextAndPicture.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/properties_TextAndPicture.md @@ -181,7 +181,7 @@ title: テキスト、ピクチャー ## タイトルと画像を隣接させる -This property allows you to define whether the title and the picture of the button should be visually adjoined or separated, according to the [Title/Picture position](#titlepicture-position) and [Horizontal Alignment](properties_Text.md#horizontal-alignment) properties. +このプロパティにより、ボタンのタイトルおよびタイトルピクチャーを隣接して表示させるか、それとも[タイトル/ピクチャー位置](#タイトルピクチャー位置)と[横方向マージン](properties_Text.md#横方向マージン)プロパティで指定されたとおりに離れて表示させるかを指定することができます。 ボタン内に、タイトルのみ (関連ピクチャーなし)、またはピクチャーのみ (タイトルなし) が含まれている場合、このプロパティは効果ありません。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/subform_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/subform_overview.md index eb6f03540427fc..566bc7567932a5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/subform_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/subform_overview.md @@ -45,7 +45,7 @@ title: サブフォーム サブフォームコンテナーオブジェクトには、[変数あるいは式](properties_Object.md#変数あるいは式) をバインドすることができます。 これは、親フォームとサブフォーム間で値を同期するのに便利です。 -By default, 4D creates a variable or expression of [object type](properties_Object.md#expression-type) for a subform container, which allows you to share values in the context of the subform using the `Form` command. しかし、単一の値のみを共有したい場合は、任意のスカラー型 (時間、整数など) の変数や式を使用することもできます。 +デフォルトで[オブジェクト型](properties_Object.md#式の型式タイプ)の変数が作成され、サブフォームコンテナの変数あるいは式に代入されます。サブフォーム側の`Form` コマンドでこのオブジェクトにアクセスすることができ、この仕組みを利用して値を共有することができます。 しかし、単一の値のみを共有したい場合は、任意のスカラー型 (時間、整数など) の変数や式を使用することもできます。 - バインドするスカラー型の変数あるいは式を定義し、[On Bound Variable Change](../Events/onBoundVariableChange.md) や [On Data Change](../Events/onDataChange.md) フォームイベントが発生したときに、`OBJECT Get subform container value` や `OBJECT SET SUBFORM CONTAINER VALUE` コマンドを呼び出して値を共有します。 この方法は、単一の値を同期させるのに推奨されます。 - または、バインドされた **オブジェクト** 型の変数あるいは式を定義し、`Form` コマンドを使用してサブフォームからそのプロパティにアクセスします。 この方法は、複数の値を同期させるのに推奨されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/text.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/text.md index a693e598719de8..8b3441544940d4 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/text.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/FormObjects/text.md @@ -1,6 +1,6 @@ --- id: text -title: Text +title: テキスト --- @@ -51,4 +51,4 @@ title: Text -[Bold](properties_Text.md#bold) - [Border Line Style](properties_BackgroundAndBorder.md#border-line-style) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Class](properties_Object.md#css-class) - [Corner radius](properties_CoordinatesAndSizing.md#corner-radius) - [Fill Color](properties_BackgroundAndBorder.md#background-color--fill-color) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Font Size](properties_Text.md#font-size) - [Height](properties_CoordinatesAndSizing.md#height) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Italic](properties_Text.md#italic) - [Left](properties_CoordinatesAndSizing.md#left) - [Object Name](properties_Object.md#object-name) - [Orientation](properties_Text.md#orientation) - [Right](properties_CoordinatesAndSizing.md#right) - [Title](properties_Object.md#title) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [Underline](properties_Text.md#underline) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibility](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) +[太字](properties_Text.md#太字) - [境界線スタイル](properties_BackgroundAndBorder.md#境界線スタイル) - [下](properties_CoordinatesAndSizing.md#下) - [cssクラス](properties_Object.md#cssクラス) - [角の半径](properties_CoordinatesAndSizing.md#角の半径) - [背景色/塗りカラー](properties_BackgroundAndBorder.md#背景色塗りカラー) - [フォント](properties_Text.md#フォント) - [フォントカラー](properties_Text.md#フォントカラー) - [フォントサイズ](properties_Text.md#フォントサイズ) - [高さ](properties_CoordinatesAndSizing.md#高さ) - [横揃え](properties_Text.md#横揃え) - [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) - [イタリック](properties_Text.md#イタリック) - [左](properties_CoordinatesAndSizing.md#左) - [オブジェクト名](properties_Object.md#オブジェクト名) - [方向](properties_Text.md#方向) - [右](properties_CoordinatesAndSizing.md#右) - [タイトル](properties_Object.md#タイトル) - [上](properties_CoordinatesAndSizing.md#上) - [型](properties_Object.md#型) - [下線](properties_Text.md#下線) - [縦方向サイズ変更](properties_ResizingOptions.md#縦方向サイズ変更) - [表示状態](properties_Display.md#表示状態) - [幅](properties_CoordinatesAndSizing.md#width) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Notes/updates.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Notes/updates.md index 18c9961507b310..2fbaad6c4a8349 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Notes/updates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Notes/updates.md @@ -10,13 +10,22 @@ title: リリースノート ::: + +## 4D 20.7 LTS + +#### ハイライト + +- [**修正リスト**](https://bugs.4d.com/fixes?version=20.7): 4D 20.7 LTS で修正されたバグのリストです ([日本語版はこちら](https://4d-jp.github.io/2024/276/release-note-version-20/))。 + + + ## 4D 20.6 LTS #### ハイライト :::info 評価版アプリケーション -ナイトリービルド**101734**以降、アプリケーションビルド画面には評価版アプリケーションをビルドするための新しいオプションが表示されるようになりました。 詳細は[4D Rxドキュメンテーションの説明](/Desktop/building#評価版アプリケーションをビルド)を参照してください。 +ナイトリービルド**101734**以降、アプリケーションビルド画面には評価版アプリケーションをビルドするための新しいオプションが表示されるようになりました。 詳細は[4D Rx ドキュメンテーションの説明](../../../docs/Desktop/building#build-an-evaluation-application)を参照してください。 ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/ORDA/glossary.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/ORDA/glossary.md index 89f1eaed25daab..f6c363c67ceddd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/ORDA/glossary.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/ORDA/glossary.md @@ -159,7 +159,7 @@ $myClass.query("name = smith") ## 権限 -The ability to run one or more [actions](#action) on [resources](#resource). ビジネスロジックに応じて、複数の権限を [ロール](#ロール) としてまとめることができます。 +[リソース](#リソース)に対して[アクション](#動作) を実行する権利を指します。 ビジネスロジックに応じて、複数の権限を [ロール](#ロール) としてまとめることができます。 ## プロパティ diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/ORDA/privileges.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/ORDA/privileges.md index 6da2d2f09b296a..165697e95703aa 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/ORDA/privileges.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/ORDA/privileges.md @@ -149,12 +149,12 @@ exposed Function authenticate($identifier : Text; $password : Text)->$result : T ::: -#### Assigning permissions to ORDA class functions +#### ORDA クラス関数の権限の設定 -When configuring permissions, ORDA class functions are declared in the `applyTo` element using the following syntax: +ORDA クラス関数の権限は、以下の形式で`applyTo` 要素に記述します: ```json -. +<データクラス名>.<関数名> ``` For example, if you want to apply a permission to the following function: @@ -164,13 +164,13 @@ Class extends Entity Function getPopulation() : Integer ... ``` -... you have to write: +... 以下のように記述します: ```json "applyTo":"City.getPopulation" ``` -It means that you cannot use the same function names in the various ORDA classes (entity, entity selection, dataclass) if you want them to be assigned privileges. In this case, you need to use distinct function names. For example, if you have created a "drop" function in both `cs.CityEntity` and `cs.CitySelection` classes, you need to give them different names such as `dropEntity()` and `dropSelection()`. You can then write in the "roles.json" file: +It means that you cannot use the same function names in the various ORDA classes (entity, entity selection, dataclass) if you want them to be assigned privileges. In this case, you need to use distinct function names. たとえば、`cs.CityEntity` および `cs.CitySelection` クラスの両方に "drop" 関数を作成するのであれば、`dropEntity()`、`dropSelection()` といった具合に別々の関数名を設定する必要があります。 You can then write in the "roles.json" file: ```json "permissions": { diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Project/compiler.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Project/compiler.md index 962e33b947f5d9..574a98c0941a35 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Project/compiler.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Project/compiler.md @@ -60,7 +60,7 @@ title: コンパイル ### 型宣言を生成する -**型宣言を生成** ボタンは、型宣言をおこなう "コンパイラーメソッド" を作成 (または更新) します。 Compiler methods are project methods that group together all the variable and array typing declarations (process and interprocess), as well as the [method parameters](../Concepts/parameters.md#compiler-method). これらのメソッドが存在する場合には、これらが直接コンパイラーによってコンパイル中に利用されるため、コンパイル速度が向上します。 +**型宣言を生成** ボタンは、型宣言をおこなう "コンパイラーメソッド" を作成 (または更新) します。 コンパイラーメソッドは、すべての変数や配列の型(プロセスまたはインタープロセス)および[プロジェクトメソッドのパラメーター](../Concepts/parameters.md#compiler-メソッド)をまとめて宣言するための特別なプロジェクトメソッドです。 これらのメソッドが存在する場合には、これらが直接コンパイラーによってコンパイル中に利用されるため、コンパイル速度が向上します。 これらのメソッドは、必ず `Compiler_` で始まります。 [コンパイラー設定](#コンパイラーメソッド) にて、5つのコンパイラーメソッドそれぞれに対してデフォルト名を設定することができます。 4D により生成、管理されるコンパイラーメソッドは自動的に "非表示" 属性が割り当てられます: @@ -123,11 +123,11 @@ title: コンパイル #### Symbolファイルを生成 -Symbolファイルを生成するのに使用します ([Symbolファイル](#symbolファイル) 参照)。 Symbolファイルは、プロジェクトの [Logs フォルダー](../Project/architecture.md#logs) 内に `ProjectName_symbols.txt` という名前で作成されます。 +Symbolファイルを生成するのに使用します ([Symbolファイル](#symbolファイル) 参照)。 Symbolファイルは、プロジェクトの [Logs フォルダー](../Project/architecture.md#logs) 内に `プロジェクト名_symbols.txt` という名前で作成されます。 #### エラーファイルを生成 -シンタックスチェック時にエラーファイルを生成するのに使用します ([エラーファイル](#エラーファイル) 参照)。 エラーファイルは、プロジェクトの [Logs フォルダー](../Project/architecture.md#logs) 内に `ProjectName_error.xml` という名前で作成されます。 +シンタックスチェック時にエラーファイルを生成するのに使用します ([エラーファイル](#エラーファイル) 参照)。 エラーファイルは、プロジェクトの [Logs フォルダー](../Project/architecture.md#logs) 内に `プロジェクト名_error.xml` という名前で作成されます。 #### コンパイルパス @@ -179,7 +179,7 @@ Symbolファイルを生成するのに使用します ([Symbolファイル](#sy - **インタープロセス変数**: インタープロセス変数定義を集約します。 - **配列**: プロセス配列定義を集約します。 - **インタープロセス配列**: インタープロセス配列定義を集約します。 -- **メソッド**: メソッドの引数を受け入れるローカル変数定義を集約します (例: `C_LONGINT(mymethod;$1)`)。 For more information, see [`Compiler_Methods` method](../Concepts/parameters.md#compiler-method). +- **メソッド**: メソッドの引数を受け入れるローカル変数定義を集約します (例: `C_LONGINT(mymethod;$1)`)。 詳細は [`Compiler_Methods`](../Concepts/parameters.md#compiler-メソッド) を参照してください。 それぞれの対応するエリアで、作成されるメソッド名を編集できますが、これらには必ず `Compiler_` という接頭辞が付きます。これは変更できません。 各メソッド名は、接頭辞を含めて 31文字以下でなければなりません。 また、メソッド名はユニークでなければならず、[メソッドの命名規則](Concepts/identifiers.md#プロジェクトメソッド) に準じたものでなければなりません。 @@ -188,7 +188,7 @@ Symbolファイルを生成するのに使用します ([Symbolファイル](#sy ### Symbolファイル -If you check the [**Generate the symbol file**](#symbol-file) option in the compiler settings, a symbol file called `ProjectName_symbols.txt` is created in the [Logs folder](../Project/architecture.md#logs) of the project during compilation. このドキュメントはいくつかの部分に分かれています: +コンパイラー設定で[**Symbol ファイルを生成**](#symbol-file) オプションを有効にした場合、 コンパイル時に`プロジェクト名_symbols.txt` という名前のシンボルファイルがプロジェクトの [Logs フォルダー](../Project/architecture.md#logs) 内に作成されます。 このドキュメントはいくつかの部分に分かれています: #### プロセスおよびインタープロセス変数のリスト diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/Project/documentation.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/Project/documentation.md index 56b178ef57f92d..8d04468787fd7e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/Project/documentation.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/Project/documentation.md @@ -104,7 +104,7 @@ title: ドキュメンテーション ![](../assets/en/Project/codeEditor_Comments.png) -`\.md` ファイルが `\/documentation` フォルダーに存在する場合、コードエディターは次の優先順位でヘルプTips を表示します: +`<メソッド名>.md` ファイルが `<パッケージ名>/documentation` フォルダーに存在する場合、コードエディターは次の優先順位でヘルプTips を表示します: - Markdown ファイルの先頭に設置した、HTML コメントタグで囲まれたテキスト (``) @@ -113,7 +113,7 @@ title: ドキュメンテーション :::note -Otherwise, the code editor displays [the block comment at the top of the method code](../code-editor/write-class-method.md#help-tips). +いずれもない場合、コードエディターには[メソッドコードの冒頭にあるブロックコメント](../code-editor/write-class-method.md#ヘルプtips)が表示されます。 ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/REST/ClassFunctions.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/REST/ClassFunctions.md index fb8891e955bcdf..5d10a4a35fea64 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/REST/ClassFunctions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/REST/ClassFunctions.md @@ -454,14 +454,14 @@ __KEY 属性を使って、上の例題と同じことをおこなうと、エ 既存の Schools エンティティを既存の Studentsエンティティに紐付けます。 `StudentsEntity` クラスは次の API を提供しています: ``` -// StudentsEntity class +// StudentsEntity クラス Class extends Entity exposed Function putToSchool($school : Object) -> $status : Object - //$school is a Schools entity - //Associate the related entity school to the current Students entity + //$school は School エンティティ + //カレントの Students エンティティに学生が在籍中の学校エンティティを紐付け This.school:=$school $status:=This.save() diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/REST/authUsers.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/REST/authUsers.md index 9845f8ae0ad0dc..be4cb43784c085 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/REST/authUsers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/REST/authUsers.md @@ -22,7 +22,7 @@ RESTリクエストは [Webユーザーセッション](WebServer/sessions.md) 4D Server上では、**インタプリタモードであっても**、RESTリクエストは自動的にプリエンプティブプロセスで処理されます。 そのため、コードは [プリエンプティブ実行に準拠](../WebServer/preemptiveWeb.md#スレッドセーフなWebサーバーコードの書き方) している必要があります。 -> To debug interpreted web code on the server machine, make sure the debugger is [attached to the server](../Debugging/debugging-remote.md) or [to a remote machine](../Debugging/debugging-remote.md). これにより、Webプロセスがコオペラティブモードに切り替わり、Webサーバーコードのデバッグが可能になります。 +> サーバー上で実行されているインタープリターモードの Web コードをデバッグするには、[サーバー側](../Debugging/debugging-remote.md#有効化済デバッガー)またはクライアント側で[リモートデバッガー](../Debugging/debugging-remote.md)が有効さされている必要があります。 これにより、Webプロセスがコオペラティブモードに切り替わり、Webサーバーコードのデバッグが可能になります。 シングルユーザーの 4D では、インタープリターコードは常にコオペラティブモードで実行されます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/assets/en/ViewPro/vpFormEvents.md.backup b/i18n/ja/docusaurus-plugin-content-docs/version-20/assets/en/ViewPro/vpFormEvents.md.backup index 502c42e670883a..78e6cb20e1819a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/assets/en/ViewPro/vpFormEvents.md.backup +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/assets/en/ViewPro/vpFormEvents.md.backup @@ -1,10 +1,10 @@ --- id: vpFormEvents -title: 4D View Pro Form Events +title: 4D View Pro フォームイベント --- 4D View Pro エリアのプロパティリスト内では、以下のフォームイベントが利用可能です: ![](vpFormEvents.PNG) -一部のイベントは (すべてのアクティブオブジェクトで利用可能な) 標準のフォームイベントであり、一部は 4D View Pro 専用のフォームイベントです。 一部の4D View Pro フォームイベントは、4D View Pro エリア内でイベントが生成された場合には、`FORM Event` コマンドによって返されるオブジェクト内には追加の情報が提供されます。 The following table shows which events are standard and which are specific 4D View Pro form events: \ No newline at end of file +一部のイベントは (すべてのアクティブオブジェクトで利用可能な) 標準のフォームイベントであり、一部は 4D View Pro 専用のフォームイベントです。 一部の4D View Pro フォームイベントは、4D View Pro エリア内でイベントが生成された場合には、`FORM Event` コマンドによって返されるオブジェクト内には追加の情報が提供されます。 以下の表示には、どのフォームイベントが他のオブジェクトと共通で、どのフォームイベントが 4D View Pro エリアに特有のものであるのかが示されています: \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/code-editor/creating-using-macros.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/code-editor/creating-using-macros.md index e1357474ce52d7..d483e0520a3da5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/code-editor/creating-using-macros.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/code-editor/creating-using-macros.md @@ -124,7 +124,7 @@ XML仕様に準拠し、いくつかのタグは属性を含むことがあり 呼び出されたメソッドコードは新規プロセスで実行されます。 このプロセスはメソッド実行後に消失します。 -> 呼び出されたメソッドの実行が終了するまでストラクチャープロセスは停止されます。 メソッドの実行は素早く終了し、アプリケーションをブロックするリスクがないことを確認しなければなりません。 If this occurs, use the **Ctrl+F8** (Windows) or **Command+F8** (macOS) command to "kill" the process. +> 呼び出されたメソッドの実行が終了するまでストラクチャープロセスは停止されます。 メソッドの実行は素早く終了し、アプリケーションをブロックするリスクがないことを確認しなければなりません。 ブロックしてしまった場合には、**Ctrl+F8** (Windows) または **Command+F8** (macOS) でこのプロセスをアボートできます。 ## マクロを呼び出す diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/code-editor/write-class-method.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/code-editor/write-class-method.md index 5a337db216c353..5d09d23116c044 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/code-editor/write-class-method.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/code-editor/write-class-method.md @@ -19,16 +19,16 @@ title: コードエディター コードエディターにはメソッドの実行と編集に関連する基本的な機能に素早くアクセスするためのツールバーがあります。 -| 機能 | アイコン | 説明 | -| -------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| **メソッド実行** | ![メソッドの実行](../assets/en/code-editor/execute-method.png) | コードエディターウィンドウには、そのエディターで開かれているメソッドを実行するためのボタンがあります。 このボタンに関連付けられているメニューから実行オプションを選択できます:
    • **新規プロセスで実行**: 新規プロセスを作成し、そのプロセス内でメソッドを実行します。
    • **新規プロセスで実行してデバッグ**: 新規プロセスを作成し、デバッガーウィンドウを開いてメソッドを表示します。
    • **アプリケーションプロセスで実行**: アプリケーションプロセス内でメソッドを実行します (アプリケーションプロセス内とは、レコード表示ウィンドウと同じプロセス内ということです)。
    • **アプリケーションプロセスで実行してデバッグ**: アプリケーションプロセス内でデバッガーを開き、メソッドを表示します。
    メソッド実行の詳細については、 [プロジェクトメソッドの呼び出し](../Concepts/methods.md#プロジェクトメソッドの呼び出し) を参照ください。 | -| **メソッド中を検索** | ![検索アイコン](../assets/en/code-editor/search.png) | [*検索* エリア](#検索と置換) を表示します。 | -| **マクロ** | ![マクロボタン](../assets/en/code-editor/macros.png) | 選択対象にマクロを挿入します。 ドロップダウンの矢印をクリックすると、利用可能なマクロがすべて表示されます。 詳細は [マクロの作成と利用](creating-using-macros.md) を参照してください。 | -| **すべて折りたたむ / すべて展開** | ![展開折りたたみボタン](../assets/en/code-editor/expand-collapse-all.png) | これらのボタンを使用してコードの制御フロー構造を折りたたんだり展開したりできます。 | -| **メソッド情報** | ![メソッド情報アイコン](../assets/en/code-editor/method-information.png) | Displays the [Method Properties](./overview.md#project-method-properties) dialog box (project methods only). | -| **最新のクリップボードの値** | ![最新のクリップボードの値アイコン](../assets/en/code-editor/last-clipboard-values.png) | 直近でクリップボードに保存された値を表示します。 | -| **クリップボード** | ![クリップボードアイコン](../assets/en/code-editor/clipboards.png) | コードエディターで利用可能な 9つのクリップボードです。 You can [use these clipboards](#clipboards) by clicking on them directly or by using keyboard shortcuts. [環境設定オプション](Preferences/methods.md#options-1) を使用するとそれらを非表示にすることができます。 | -| **ナビゲーションドロップダウン** | ![コードナビゲーションアイコン](../assets/en/code-editor/tags.png) | 自動的にタグ付けされたコンテンツや手動で宣言されたマーカーを使用して、メソッドやクラス内を移動できます。 後述参照。 | +| 機能 | アイコン | 説明 | +| -------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **メソッド実行** | ![メソッドの実行](../assets/en/code-editor/execute-method.png) | コードエディターウィンドウには、そのエディターで開かれているメソッドを実行するためのボタンがあります。 このボタンに関連付けられているメニューから実行オプションを選択できます:
    • **新規プロセスで実行**: 新規プロセスを作成し、そのプロセス内でメソッドを実行します。
    • **新規プロセスで実行してデバッグ**: 新規プロセスを作成し、デバッガーウィンドウを開いてメソッドを表示します。
    • **アプリケーションプロセスで実行**: アプリケーションプロセス内でメソッドを実行します (アプリケーションプロセス内とは、レコード表示ウィンドウと同じプロセス内ということです)。
    • **アプリケーションプロセスで実行してデバッグ**: アプリケーションプロセス内でデバッガーを開き、メソッドを表示します。
    メソッド実行の詳細については、 [プロジェクトメソッドの呼び出し](../Concepts/methods.md#プロジェクトメソッドの呼び出し) を参照ください。 | +| **メソッド中を検索** | ![検索アイコン](../assets/en/code-editor/search.png) | [*検索* エリア](#検索と置換) を表示します。 | +| **マクロ** | ![マクロボタン](../assets/en/code-editor/macros.png) | 選択対象にマクロを挿入します。 ドロップダウンの矢印をクリックすると、利用可能なマクロがすべて表示されます。 詳細は [マクロの作成と利用](creating-using-macros.md) を参照してください。 | +| **すべて折りたたむ / すべて展開** | ![展開折りたたみボタン](../assets/en/code-editor/expand-collapse-all.png) | これらのボタンを使用してコードの制御フロー構造を折りたたんだり展開したりできます。 | +| **メソッド情報** | ![メソッド情報アイコン](../assets/en/code-editor/method-information.png) | [メソッドプロパティ](../Concepts/methods.md#プロジェクトメソッドプロパティ) ダイアログボックスを表示します (プロジェクトメソッドのみ)。 | +| **最新のクリップボードの値** | ![最新のクリップボードの値アイコン](../assets/en/code-editor/last-clipboard-values.png) | 直近でクリップボードに保存された値を表示します。 | +| **クリップボード** | ![クリップボードアイコン](../assets/en/code-editor/clipboards.png) | コードエディターで利用可能な 9つのクリップボードです。 クリップボードのアイコンをクリックするか、あるいはキーボードショートカットによって、[これらのクリップボードを利用](#クリップボード)できます。 [環境設定オプション](Preferences/methods.md#options-1) を使用するとそれらを非表示にすることができます。 | +| **ナビゲーションドロップダウン** | ![コードナビゲーションアイコン](../assets/en/code-editor/tags.png) | 自動的にタグ付けされたコンテンツや手動で宣言されたマーカーを使用して、メソッドやクラス内を移動できます。 後述参照。 | ### 編集エリア @@ -89,7 +89,7 @@ title: コードエディター - **メソッド**: データベースに定義されたプロジェクトメソッド名。 - **すべてのフォルダー**: データベースに定義されたオブジェクトフォルダーおよびサブフォルダー名 (階層リスト形式)。 フォルダーは、カスタマイズされた方法でオブジェクトをグループ化するために使用します。 フォルダーは、エクスプローラーのホームページで管理します。 - **フォルダー** (サブメニュー): サブメニューを使用して選択されたフォルダーの中身。 -- **Macros**: Macro names defined for the database (see [Creating and using macros](./creating-using-macros.md)). +- **マクロ**: データベースに定義されたマクロ名 ([マクロの作成と利用](./creating-and-using-macros.md) 参照)。 - **コマンド**: 4Dランゲージコマンド (文字順)。 - **コマンドリスト (テーマ順)**: テーマごとにグループ化された 4Dランゲージコマンド (階層リスト形式)。 - **メニューバー**: [4Dメニューバーエディターで作成した](../Menus/creating.md) メニューバーの名前と番号。 @@ -273,7 +273,7 @@ macOSでは **Ctrl** の代わりに **Command** を使用してください。 コードエディターへの入力と編集には標準のテキスト編集テクニックを使用します。 -コードエディターは、シンタックス要素ごとに、指定されたスタイルやカラーを使用した表示をおこないます。 You can [customize these conventions](#editing-area). 入力を確定するごとに、また改行を挿入する際に、4D は行のテキストを評価して適切な表示フォーマットを適用します。 また、If や End if などのプログラム構造が使用された場合、4D は自動でインデントをおこないます。 +コードエディターは、シンタックス要素ごとに、指定されたスタイルやカラーを使用した表示をおこないます。 要素ごとのスタイルやカラーは[カスタマイズ](#編集エリア)できます。 入力を確定するごとに、また改行を挿入する際に、4D は行のテキストを評価して適切な表示フォーマットを適用します。 また、If や End if などのプログラム構造が使用された場合、4D は自動でインデントをおこないます。 行に移動するには矢印キーを使用します。 矢印による移動では行の評価がおこなわれないため、クリックよりもすばやく移動できます。 diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md index 1c179bbfb2c660..adf23f2b136c23 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -1481,7 +1481,7 @@ Podem ser aplicadas várias fórmulas: $0:=ds.Students.query(":1 and :2 and nationality='French'";$formula1;$formula2) ``` -A text formula in *queryString* receives a parameter: +Uma fórmula texto em *queryString* recebe um parâmetro: ```4d var $es : cs.StudentsSelection diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/DataStoreClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/DataStoreClass.md index cb5e0d85ffb775..68cef3e3f4d605 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/DataStoreClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/DataStoreClass.md @@ -456,7 +456,7 @@ A função `.getInfo()` retorna um Em um armazém de dados remoto: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1114,7 +1114,7 @@ Pode aninhar várias transações (subtransações). Cada transação ou subtran ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/Directory.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/Directory.md index 379c061cbb1eaa..6ba7788bfee2b7 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/Directory.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/Directory.md @@ -446,9 +446,9 @@ Essa propriedade é **somente leitura**. A função `.copyTo()` copia o objeto `Folder` para a *destinationFolder* especificada. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. -Como padrão, a pasta é copiada com o nome da pasta original. If you want to rename the copy, pass the new name in the *newName* parameter. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. +Como padrão, a pasta é copiada com o nome da pasta original. Se quiser renomear a cópia, passe o novo nome no parâmetro *newName*. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. If a folder with the same name already exists in the *destinationFolder*, by default 4D generates an error. You can pass the `fk overwrite` constant in the *overwrite* parameter to ignore and overwrite the existing file diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/Document.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/Document.md index 19c3b8fbe7f867..71991997a789a3 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/Document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/Document.md @@ -446,9 +446,9 @@ Essa propriedade é **somente leitura**. A função `.copyTo()` copia o objeto `File` para a *destinationFolder*. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. -Como padrão, o arquivo é copiado com o nome do arquivo original. If you want to rename the copy, pass the new name in the *newName* parameter. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. +Como padrão, o arquivo é copiado com o nome do arquivo original. Se quiser renomear a cópia, passe o novo nome no parâmetro *newName*. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. If a file with the same name already exists in the *destinationFolder*, by default 4D generates an error. You can pass the `fk overwrite` constant in the *overwrite* parameter to ignore and overwrite the existing file diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/EntityClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/EntityClass.md index 25af7e410d4736..e976303ad40aff 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/EntityClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/EntityClass.md @@ -149,7 +149,7 @@ A função `.diff()` compara o conteúdo No *entityToCompare*, passe a entidade a ser comparada à entidade original. -In *attributesToCompare*, you can designate specific attributes to compare. Se fornecida, a comparação é feita apenas nos atributos especificados. Se não for fornecida, todas as diferenças entre as entidades são devolvidas. +Em *attributesToCompare*, você pode designar atributos específicos para comparar. Se fornecida, a comparação é feita apenas nos atributos especificados. Se não for fornecida, todas as diferenças entre as entidades são devolvidas. As diferenças são retornadas como uma coleção de objetos cujas propriedades são: @@ -614,15 +614,14 @@ O seguinte código genérico duplica qualquer entidade: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parâmetro | Tipo | | Descrição | | ---------- | ------- | :-------------------------: | ------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: primary key is returned as a string, no matter the primary key type | -| Resultados | Text | <- | Valor do texto chave primária da entidade | -| Resultados | Integer | <- | Valor da chave primária numérica da entidade | +| Resultados | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1637,11 +1636,11 @@ Retorna: #### Descrição -A função `.touched()` testa se um atributo de entidade foi ou não modificado desde que a entidade foi carregada na memória ou salva. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -Se um atributo for modificado ou calculado, a função retorna True, senão retorna False. Pode usar essa função para determinar se precisar salvar a entidade. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". -Essa função retorna False para uma nova entidade que acabou de ser criada (com [`.new( )`](DataClassClass.md#new)). No entanto, observe que se você usar uma função que calcule um atributo da entidade, a função `.touched()` então retornará Verdade. Por exemplo, se você chamar [`.getKey()`](#getkey) para calcular a chave primária, `.touched()` retornará True. +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. #### Exemplo @@ -1685,7 +1684,7 @@ Neste exemplo, vemos se é necessário salvar a entidade: A função `.touchedAttributes()` retorna os nomes dos atributos que foram modificados desde que a entidade foi carregada na memória. -Isso se aplica para atributos [kind](DataClassClass.md#attributename) `storage` ou `relatedEntity`. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". No caso de uma entidade relacionada que foi tocada (touched) \*ou seja, a chave primária) o nome da entidade relacionada e sua chave primária são retornados. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/FileClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/FileClass.md index a983821ff49214..eeaaa0719921ee 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/FileClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/FileClass.md @@ -417,7 +417,7 @@ Resultado em *$info*: A função `.moveTo()` move ou renomeia o objeto `File` para a *destinationFolder* especificada. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. Por padrão, o arquivo mantém o seu nome quando é movido. Se quiser renomear o arquivo movido, passe o novo nome completo no parâmetro *newName*. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. @@ -590,7 +590,7 @@ Se quiser renomear "ReadMe.txt" em "ReadMe_new.txt": A função `.setAppInfo()` escreve as propriedades *info* como o conteúdo da informação de um arquivo de aplicação. -The function must be used with an existing, supported file: **.plist** (all platforms), **.exe**/**.dll** (Windows), or **macOS executable**. If the file does not exist on disk or is not a supported file, the function does nothing (no error is generated). +The function can only be used with the following file types: **.plist** (all platforms), existing **.exe**/**.dll** (Windows), or **macOS executable**. If used with another file type or with a **.exe**/**.dll** file that does not already exist on disk, the function does nothing (no error is generated). Parâmetro ***info* com um arquivo .plist (todas as plataformas)** @@ -600,6 +600,8 @@ A função apenas é compatível com arquivos .plist em formato xml (baseado em ::: +If the .plist file already exists on the disk, it is updated. Otherwise, it is created. + Each valid property set in the *info* object parameter is written in the .plist file as a key. Qualquer nome chave é aceito. Os tipos de valores são preservados sempre que possível. If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Outras chaves existentes no arquivo .plist são deixadas intocadas. @@ -610,7 +612,7 @@ Para definir um valor de tipo de data, o formato a utilizar é uma string de car ::: -Parâmetro ***info* com um arquivo .exe ou .dll (somente Windows)** +**Parâmetro objeto *info* com um arquivo .exe ou .dll (somente Windows)** Each valid property set in the *info* object parameter is written in the version resource of the .exe or .dll file. As propriedades disponíveis são (qualquer outra propriedade será ignorada): @@ -630,9 +632,9 @@ For all properties except `WinIcon`, if you pass a null or empty text as value, For the `WinIcon` property, if the icon file does not exist or has an incorrect format, an error is generated. -Parâmetro ***info* com um arquivo executável macOS (somente macOS)** +**Parâmetro *info* com um arquivo macOS executável (somente macOS)** -*info* deve ser um objeto com uma única propriedade denominada `archs` que é uma coleção de objetos no formato retornado por [`getAppInfo()`](#getappinfo). Cada objeto deve conter pelo menos as propriedades `type` e `uuid` (`name` não é usado). +*info* must be an object with a single property named `archs` that is a collection of objects in the format returned by [`getAppInfo()`](#getappinfo). Each object must contain at least the `type` and `uuid` properties (`name` is not used). Every object in the *info*.archs collection must contain the following properties: @@ -645,26 +647,29 @@ Every object in the *info*.archs collection must contain the following propertie ```4d // set some keys in an info.plist file (all platforms) -var $infoPlistFile : 4D. File +var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") $info:=New object -$info. Copyright:="Copyright 4D 2021" //text -$info. ProductVersion:=12 //integer -$info. ShipmentDate:="2021-04-22T06:00:00Z" //timestamp +$info.Copyright:="Copyright 4D 2023" //text +$info.ProductVersion:=12 //integer +$info.ShipmentDate:="2023-04-22T06:00:00Z" //timestamp +$info.CFBundleIconFile:="myApp.icns" //for macOS $infoPlistFile.setAppInfo($info) ``` #### Exemplo 2 ```4d - // set copyright and version of a .exe file (Windows) -var $exeFile : 4D. File + // set copyright, version and icon of a .exe file (Windows) +var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file; fk platform path) +$iconFile:=File("/RESOURCES/myApp.ico") $info:=New object -$info. LegalCopyright:="Copyright 4D 2021" -$info. ProductVersion:="1.0.0" +$info.LegalCopyright:="Copyright 4D 2023" +$info.ProductVersion:="1.0.0" +$info.WinIcon:=$iconFile.path $exeFile.setAppInfo($info) ``` @@ -706,15 +711,15 @@ $app.setAppInfo($info) -| Parâmetro | Tipo | | Descrição | -| --------- | ---- | -- | ------------------------------ | -| content | BLOB | -> | Novos conteúdos para o arquivo | +| Parâmetro | Tipo | | Descrição | +| --------- | ---- | -- | ------------------------- | +| content | BLOB | -> | New contents for the file | #### Descrição -A função `.setContent( )` reescreve todo o conteúdo do arquivo usando os dados armazenados no BLOB *content*. Para obter informações sobre BLOBs, consulte a seção [BLOB](Concepts/dt_blob.md). +The `.setContent( )` function rewrites the entire content of the file using the data stored in the *content* BLOB. Para obter informações sobre BLOBs, consulte a seção [BLOB](Concepts/dt_blob.md). #### Exemplo @@ -753,11 +758,11 @@ A função `.setContent( )` reescrev #### Descrição -A função `.setText()` escreve *text* como o novo conteúdo do arquivo. +The `.setText()` function writes *text* as the new contents of the file. If the file referenced in the `File` object does not exist on the disk, it is created by the function. Quando o ficheiro já existir no disco, o seu conteúdo anterior é apagado, exceto se já estiver aberto, caso em que o seu conteúdo é bloqueado e é gerado um erro. -Em *text,* passe o texto a escrever no arquivo. Pode ser um texto literal ("my text"), ou um campo/variável texto 4D. +In *text*, pass the text to write to the file. Pode ser um texto literal ("my text"), ou um campo/variável texto 4D. Opcionalmente, pode designar o conjunto de caracteres a utilizar para escrever o conteúdo. Você pode passar também: @@ -780,7 +785,7 @@ In *breakMode*, you can pass a number indicating the processing to apply to end- By default, when you omit the *breakMode* parameter, line breaks are processed in native mode (1). -> **Nota de compatibilidade**: as opções de compatibilidade estão disponíveis para a gerenciamento da EOL e da BOM. Consulte a [página Compatibilidade](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) em doc.4d.com. +> **Compatibility Note**: Compatibility options are available for EOL and BOM management. See [Compatibility page](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) on doc.4d.com. #### Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/FolderClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/FolderClass.md index 2eb9c22137110e..ea72658ed2bb85 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/FolderClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/FolderClass.md @@ -295,7 +295,7 @@ Quando `Delete with contents` é passado: A função `.moveTo( )` move ou renomeia o objeto `Folder` (pasta de origem) para a *destinationFolder* especificada. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. Por padrão, a pasta mantém o seu nome quando movida. Por padrão, a pasta mantém o seu nome quando movida. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/HTTPRequestClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/HTTPRequestClass.md index de1c95bb4630c8..94fa2781bf18e7 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/HTTPRequestClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/HTTPRequestClass.md @@ -96,7 +96,7 @@ A função `4D.HTTPRequest.new()` cria The returned `HTTPRequest` object is used to process responses from the HTTP server and call methods. -In *url*, pass the URL where you want to send the request. A sintaxe a utilizar é: +Em *url*, passe o URL para onde pretende enviar o pedido. A sintaxe a utilizar é: ``` {http://}[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/POP3TransporterClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/POP3TransporterClass.md index f2910ed60951aa..963ca2cd8afb13 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/POP3TransporterClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/POP3TransporterClass.md @@ -200,7 +200,7 @@ O objeto `boxInfo` retornado contém as seguintes propriedades: A função `.getMail()` retorna o objeto `Email` correspondente ao *msgNumber* na caixa de correio designada pelo [`transporter POP3`](#pop3-transporter-object). Essa função permite manejar localmente os conteúdos de email. -Pass in *msgNumber* the number of the message to retrieve. Esse número é retornado na propriedade `number` pela função [`.getMailInfoList()`](#getmailinfolist). +Passe em *msgNumber* o número da mensagem a recuperar. Esse número é retornado na propriedade `number` pela função [`.getMailInfoList()`](#getmailinfolist). Optionally, you can pass `true` in the *headerOnly* parameter to exclude the body parts from the returned `Email` object. Somente propriedades de cabeçalhos ([`headers`](EmailObjectClass.md#headers), [`to`](EmailObjectClass.md#to), [`from`](EmailObjectClass.md#from)...) são então retornados. Esta opção permite-lhe optimizar a etapa de descarregamento quando muitos e-mails estão no servidor. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/SessionClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/SessionClass.md index 96571164ad47a2..2e0ef560f0ee5b 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/SessionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/SessionClass.md @@ -584,7 +584,7 @@ A função `.setPrivileges()` - In the *privileges* parameter, pass a collection of strings containing privilege names. -- In the *settings* parameter, pass an object containing the following properties: +- No parâmetro *settings*, passe um objeto que contenha as seguintes propriedades: | Propriedade | Tipo | Descrição | | ----------- | ------------------ | -------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/SignalClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/SignalClass.md index 41cfce983dbefd..41e9a0ecb6c854 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/SignalClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/SignalClass.md @@ -195,8 +195,8 @@ Se o sinal já estiver no estado de sinalização (ou seja, a propriedade `.sign A função devolve o valor da propriedade .signaled: -- **true** if the signal was triggered (`.trigger()` was called). -- **false** if the timeout expired before the signal was triggered. +- **true** se o sinal foi acionado (`.trigger()` foi chamado). +- **false** se o tempo limite expirou antes de o sinal ser acionado. :::note Aviso diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/SystemWorkerClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/SystemWorkerClass.md index 5ea15647fcd0d3..56bf24bf37593d 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/SystemWorkerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/SystemWorkerClass.md @@ -89,7 +89,7 @@ In the *options* parameter, pass an object that can contain the following proper | ---------------- | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | onResponse | Formula | indefinido | Chamada de retorno para mensagens de worker do sistema. Esta chamada de retorno é chamada assim que a resposta completa é recebida. Recebe dois objectos como parâmetros (ver abaixo) | | onData | Formula | indefinido | Chamada de retorno para os dados do worker do sistema. Esta chamada de retorno é chamada cada vez que o worker do sistema recebe dados. Recebe dois objectos como parâmetros (ver abaixo) | -| onDataError | Formula | indefinido | Callback for the external process errors (*stderr* of the external process). Recebe dois objectos como parâmetros (ver abaixo) | +| onDataError | Formula | indefinido | Callback para os erros do processo externo (*stderr* do processo externo). Recebe dois objectos como parâmetros (ver abaixo) | | onError | Formula | indefinido | Chamada de retorno para erros de execução, devolvida pelo worker do sistema em caso de condições anormais de tempo de execução (erros de sistema). Recebe dois objectos como parâmetros (ver abaixo) | | onTerminate | Formula | indefinido | Chamada de retorno quando o processo externo é terminado. Recebe dois objectos como parâmetros (ver abaixo) | | timeout | Number | indefinido | Tempo em segundos antes de o processo ser terminado se ainda estiver vivo | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md index cdccf359cd37d9..61625d3a731576 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/TCPListenerClass.md @@ -90,8 +90,8 @@ In the *options* parameter, pass an object to configure the listener and all the | Propriedade | Tipo | Descrição | Por padrão | | ------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | | onConnection | Formula | Callback when a new connection is established. The Formula receives two parameters (*$listener* and *$event*, see below) and must return either null/undefined to prevent the connection or an *option* object that will be used to create the [`TCPConnection`](./TCPConnectionClass.md). | Indefinido | -| onError | Formula | Callback triggered in case of an error. The Formula receives the `TCPListener` object in *$listener* | Indefinido | -| onTerminate | Formula | Callback triggered just before the TCPListener is closed. The Formula receives the `TCPListener` object in *$listener* | Indefinido | +| onError | Formula | Callback triggered in case of an error. A fórmula recebe o objeto `TCPListener` em *$listener* | Indefinido | +| onTerminate | Formula | Callback triggered just before the TCPListener is closed. A fórmula recebe o objeto `TCPListener` em *$listener* | Indefinido | #### Funções Callback diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/WebFormClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/WebFormClass.md index c951c844cd5ed3..898fcc11824905 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/WebFormClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/WebFormClass.md @@ -55,7 +55,7 @@ A função `.disableState()` de Essa função não faz nada se: -- the *state* is currently not enabled in the web form, +- o *estado* não está habilitado no momento no formulário Web, - o *estado* não existe para o formulário Web. Se você [enable](#enablestate) ou desativar vários estados na mesma função de usuário, todas as modificações são enviadas em simultâneo, para o cliente quando a função termina. @@ -80,7 +80,7 @@ A função `.enableState()` ativ Essa função não faz nada se: -- the *state* has already been enabled on the web form, +- o *estado* já foi ativado no formulário Web, - o *estado* não existe para o formulário Web. Se você ativar ou [desativar](#disablestate) vários estados dentro da mesma função de usuário, todas as modificações serão enviadas ao mesmo tempo, para o cliente quando a função terminar. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/WebServerClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/WebServerClass.md index cd7c534274f2f7..18659187e91905 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/WebServerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/WebServerClass.md @@ -568,7 +568,7 @@ The `.start()` function starts the w The web server starts with default settings defined in the settings file of the project or (host database only) using the `WEB SET OPTION` command. However, using the *settings* parameter, you can define customized properties for the web server session. -All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). As configurações de sessão personalizadas serão redefinidas quando a função [`.stop()`](#stop) for chamada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/WebSocketClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/WebSocketClass.md index afa0684d1b339f..4b0cb3d6d3d393 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/WebSocketClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/WebSocketClass.md @@ -239,7 +239,7 @@ In *code*, you can pass a status code explaining why the connection is being clo - If unspecified, a close code for the connection is automatically set to 1000 for a normal closure, or otherwise to another standard value in the range 1001-1015 that indicates the actual reason the connection was closed. - Se especificado, o valor desse parâmetro de código substitui a configuração automática. O valor deve ser um número inteiro. Ou 1000, ou um código personalizado no intervalo 3000-4999. Se você especificar um valor *code*, também deverá especificar um valor *reason*. -In *reason*, you can pass a string describing why the connection is being closed. +Em *reason*, você pode passar uma frase descrevendo porque a conexão está sendo fechada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Admin/licenses.md b/i18n/pt/docusaurus-plugin-content-docs/current/Admin/licenses.md index 4d430ef88037cd..7d32d0d13bf48c 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Admin/licenses.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Admin/licenses.md @@ -7,12 +7,12 @@ title: Licenças To use 4D products and features, you need to install appropriate licenses on your computer. 4D provides two categories of licenses: -- **Development licenses**, required for working with 4D and 4D Server IDE. +- **Licenças de desenvolvimento**, necessárias para trabalhar com o IDE de 4D e 4D Server. - **Deployment licenses**, required for deploying your custom applications built with 4D. ### Development licenses -Development licenses are required to access the 4D Design environment and features. For example, *4D Developer Pro* is a single-user development license. Registered development licenses are automatically installed [when you log](GettingStarted/Installation.md) in the Welcome Wizard, or you can add them using the [Instant activation](#instant-activation) dialog box. +Development licenses are required to access the 4D Design environment and features. Por exemplo, *4D Developer Pro* é uma licença de desenvolvimento para um único usuário. Registered development licenses are automatically installed [when you log](GettingStarted/Installation.md) in the Welcome Wizard, or you can add them using the [Instant activation](#instant-activation) dialog box. ### Deployment licenses diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/classes.md b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/classes.md index b534ee53938b36..8c3e71ae58d7f6 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/classes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/classes.md @@ -748,7 +748,7 @@ Você declara classes singleton adicionando a(s) palavra(s)-chave apropriada(s) :::note - Session singletons are automatically shared singletons (there's no need to use the `shared` keyword in the class constructor). -- As funções compartilhadas Singleton suportam a palavra-chave `onHTTPGet`(../ORDA/ordaClasses.md#onhttpget-keyword). +- Singleton shared functions support [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/dt_number.md b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/dt_number.md index e4e6913906656a..af4d7456184ab0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/dt_number.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/dt_number.md @@ -121,7 +121,7 @@ Os operadores bitwise operam com expressões ou valores inteiros (Long). While using the bitwise operators, you must think about a Long value as an array of 32 bits. Os bits são numerados de 0 a 31, da direita para a esquerda. -Já que cada bit pode ser igual a 0 ou 1, também se pode pensar num valor Long Integer como um valor onde se pode armazenar 32 valores booleanos. A bit equal to 1 means **True** and a bit equal to 0 means **False**. +Já que cada bit pode ser igual a 0 ou 1, também se pode pensar num valor Long Integer como um valor onde se pode armazenar 32 valores booleanos. Um bit igual a 1 significa **True** e um bit igual a 0 significa **False**. An expression that uses a bitwise operator returns a Long value, except for the Bit Test operator, where the expression returns a Boolean value. A tabela a seguir lista os operadores bitwise e sua sintaxe: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/error-handling.md b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/error-handling.md index 2ac053841cca20..a8a133ccee92e8 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/error-handling.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/error-handling.md @@ -25,7 +25,7 @@ Basicamente, há duas maneiras de lidar com erros em 4D. Pode: Muitas funções de classe 4D, tais como `entity.save()` ou `transporter.send()`, retornam um objeto de *status*. Este objecto é utilizado para armazenar erros "previsíveis" no contexto do tempo de execução, por exemplo, palavra-passe inválida, entidade bloqueada, etc., que não interrompem a execução do programa. Esta categoria de erros pode ser tratada por código normal. -Outros erros "imprevisíveis" incluem erro de gravação em disco, falha de rede, ou em geral qualquer interrupção inesperada. Esta categoria de erros gera exceções e precisa ser tratada através de um método de manipulação de erros ou uma palavra-chave `Try()`. +Outros erros "imprevisíveis" incluem erro de gravação em disco, falha de rede, ou em geral qualquer interrupção inesperada. This category of errors generates exceptions defined by [a *code*, a *message* and a *signature*](#error-codes) and needs to be handled through an error-handling method or a `Try()` keyword. ## Instalação de um método de gestão de erros @@ -95,7 +95,7 @@ Within the custom error method, you have access to several pieces of information 4D mantém automaticamente um número de variáveis chamadas [**variáveis sistema**](variables.md#system-variables), indo ao encontro de necessidades diferentes. ::: -- o comando [`Últimos erros`](../commands-legacy/last-errors.md) que retorna uma coleção da pilha de erros atual que ocorreu na aplicação 4D. +- the [`Last errors`](../commands/last-errors.md) command that returns a collection of the current stack of errors that occurred in the 4D application. - the `Call chain` command that returns a collection of objects describing each step of the method call chain within the current process. #### Exemplo @@ -151,7 +151,7 @@ Try (expression) : any | Undefined Se ocorrer um erro durante sua execução, ele será interceptado e nenhuma caixa de diálogo de erro será exibida, independentemente de um [método de tratamento de erros] (#installing-an-error-handling-method) ter sido instalado ou não antes da chamada para `Try()`. Se *expressão* retorna um valor, `Try()` retorna o último valor avaliado, caso contrário, ele retorna `Undefined`. -Você pode lidar com o(s) erro(s) usando o comando [`Últimos erros`](../commands-legacy/last-errors.md). Se a *expressão* lançar um erro em uma pilha de chamadas `Try()`, o fluxo de execução será interrompido e retornará ao último `Try()` executado (o primeiro encontrado na pilha de chamadas). +Você pode lidar com o(s) erro(s) usando o comando [`Últimos erros`](../commands/last-errors.md). Se a *expressão* lançar um erro em uma pilha de chamadas `Try()`, o fluxo de execução será interrompido e retornará ao último `Try()` executado (o primeiro encontrado na pilha de chamadas). :::note @@ -241,7 +241,7 @@ Para obter mais informações sobre erros *deferidos* e *não diferidos*, consul ::: -No bloco de código `Catch`, você pode lidar com o(s) erro(s) usando comandos padrão de tratamento de erros. A função [`Últimos Erros`](../commands-legacy/last-errors.md) contém a última coleção de erros. Você pode [declarar um método de tratamento de erros](#installing-an-error-handling-method) neste bloco de código, caso em que ele é chamado em caso de erro (caso contrário, a caixa de diálogo de erro do 4D é exibida). +No bloco de código `Catch`, você pode lidar com o(s) erro(s) usando comandos padrão de tratamento de erros. A função [`Últimos Erros`](../commands/last-errors.md) contém a última coleção de erros. Você pode [declarar um método de tratamento de erros](#installing-an-error-handling-method) neste bloco de código, caso em que ele é chamado em caso de erro (caso contrário, a caixa de diálogo de erro do 4D é exibida). :::note @@ -281,3 +281,15 @@ Function createInvoice($customer : cs.customerEntity; $items : Collection; $invo return $newInvoice ``` + +## Error codes + +Exceptions that interrupt code execution are returned by 4D but can have different origins such as the OS, a device, the 4D kernel, a [`throw`](../commands-legacy/throw.md) in your code, etc. An error is therefore defined by three elements: + +- a **component signature**, which is the origin of the error (see [`Last errors`](../commands/last-errors.md) to have a list of signatures) +- uma **mensagem**, que explica porque o erro ocorreu +- um **código**, que é um número arbitrário retornado pelo componente + +The [4D error dialog box](../Debugging/basics.md) displays the code and the message to the user. + +To have a full description of an error and especially its origin, you need to call the [`Last errors`](../commands/last-errors.md) command. When you intercept and handle errors using an [error-handling method](#installing-an-error-handling-method) in your final applications, use [`Last errors`](../commands/last-errors.md) and make sure you log all properties of the *error* object since error codes depend on the components. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Debugging/debugger.md b/i18n/pt/docusaurus-plugin-content-docs/current/Debugging/debugger.md index 58065552397688..34b679b7896abb 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Debugging/debugger.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Debugging/debugger.md @@ -456,7 +456,7 @@ O menu contextual do painel Código-fonte fornece acesso a várias funções que - **Show documentation**: Opens the documentation for the target element. Este comando está disponível para: - *Project methods*, *user classes*: Selects the method in the Explorer and switches to the documentation tab - - *4D commands, functions, class names:* Displays the online documentation. + - *Comandos 4D, funções e nomes de classes:* exibe a documentação on-line. - **Search References** (também disponível no Editor de código): Pesquisa todos os objetos do projeto (métodos e formulários) nos quais o elemento atual do método é referenciado. O elemento atual é o elemento selecionado ou o elemento onde se encontra o cursor. Pode ser o nome de um campo, variável, comando, cadeia de caracteres, etc. Os resultados da pesquisa são apresentados numa nova janela de resultados padrão. - **Cópia**: Cópia padrão da expressão selecionada para a área de transferência. - **Copiar para o Painel de Expressão**: Copia a expressão selecionada para o painel de observação personalizado. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Debugging/debugging-remote.md b/i18n/pt/docusaurus-plugin-content-docs/current/Debugging/debugging-remote.md index 3e0a32f3367113..7831bcc26ce0a0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Debugging/debugging-remote.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Debugging/debugging-remote.md @@ -62,7 +62,7 @@ O depurador é então ligado ao cliente 4D remoto: Para ligar o depurador de novo ao servidor: 1. On the remote 4D client that has the debugger attached, select **Run** > **Detach Remote Debugger**. -2. In the 4D Server menu bar, select **Edit** > **Attach debugger**. +2. Na barra de menu de 4D Server, selecione **Editar** > **Anexar depurador**. > Quando o depurador estiver conectado ao servidor (padrão), todos os processos do servidor são executados automaticamente no modo cooperativo para permitir a depuração. Este fato pode ter um impacto significativo no desempenho. Quando não for necessário depurar na máquina do servidor, recomenda-se desconectar o depurador e anexá-lo a uma máquina remota, se necessário. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/labels.md b/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/labels.md index f2be320ee4708c..2dd7a791fb9829 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/labels.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/labels.md @@ -110,8 +110,8 @@ The left-hand side of the tool bar includes commands for selecting and inserting There are shortcuts available to move or resize objects more precisely using the keyboard arrow keys: - Keyboard arrow keys move the selection of objects 1 pixel at a time. -- **Shift** + arrow keys move the selection of objects 10 pixels at a time. -- **Ctrl** + arrow keys enlarge or reduce the selection of objects by 1 pixel. +- **Shift** + teclas de seta movem a seleção de objetos 10 píxeis por vez. +- **Ctrl** + teclas de seta ampliam ou reduzem a seleção de objetos em 1 píxel. - **Ctrl** + **Maj** + arrow keys enlarge or reduce the selection of objects by 10 pixels. The right-hand side of the tool bar contains commands used to modify items of the label template: @@ -138,7 +138,7 @@ The Layout page contains controls for printing labels based on the requirements **Note:** The sheet created by the editor is based on the logical page of the printer, i.e. the physical page (for instance, an A4 page) less the margins that cannot be used on each side of the sheet. The physical margins of the page are shown by blue lines in the preview area. - **Unit**: Changes the units in which you specify your label and label page measurements. You can use points, millimeters, centimeters, or inches. - **Automatic resizing**: Means that 4D automatically calculates the size of the labels (i.e. the Width and Height parameters) according to the values set in all the other parameters. When this option is checked, the label size is adjusted each time you modify a page parameter. The Width and Height parameters can no longer be set manually. -- **Width** and **Height**: Sets the height and width of each label manually. They cannot be edited when the **Automatic resizing** option is checked. +- **Largura** e **Altura**: define a altura e a largura de cada etiqueta manualmente. Eles não podem ser editados quando a opção **Redimensionamento automático** estiver marcada. - **Margins** (Top, Right, Left, Bottom): Sets the margins of your sheet. These margins are symbolized by blue lines in the preview area. Clicking on **Use printer margins** replicates, in the preview area, the margin information provided by the selected printer (these values can be modified). - **Gaps**: Set the amount of vertical and/or horizontal space between label rows and columns. - **Method**: Lets you trigger a specific method that will be run at print time. For example, you can execute a method that posts the date and time that each label was printed. This feature is also useful when you print labels using a dedicated table form, in which case you can fill variables from a method. @@ -195,13 +195,13 @@ Then you can print your labels: The Label editor includes an advanced feature allowing you to restrict which project forms and methods (within "allowed" methods) can be selected in the dialog box: -- in the **Form to use** menu on the "Label" page and/or +- no menu **Formulário para usar** na página "Etiqueta" e/ou - in the **Apply (method)** menu on the "Layout" page. 1. Crie um arquivo JSON chamado **labels.json** e coloque-o na pasta [Resources] (../Project/architecture.md#resources) do projeto. 2. In this file, add the names of forms and/or project methods that you want to be able to select in the Label editor menus. -The contents of the **labels.json** file should be similar to: +O conteúdo do arquivo **labels.json** deve ser semelhante a: ```json [ @@ -210,7 +210,7 @@ The contents of the **labels.json** file should be similar to: ] ``` -If no **labels.json** file has been defined, then no filtering is applied. +Se nenhum arquivo **labels.json** tiver sido definido, nenhuma filtragem será aplicada. ## Managing label files diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md b/i18n/pt/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md new file mode 100644 index 00000000000000..39f5816c988fcf --- /dev/null +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Develop-legacy/transactions.md @@ -0,0 +1,282 @@ +--- +id: transactions +title: Transações +--- + +## Descrição + +As transações são uma série de modificações de dados relacionadas que são realizadas em um banco de dados ou armazenamento de dados dentro de um [process](./processes.md). Uma transação não é salva em um banco de dados permanentemente até que a transação seja validada. Se uma transação não for concluída, seja porque é cancelada ou por algum evento externo, as modificações não são salvas. + +Durante uma transação, todas as alterações feitas nos dados do banco de dados dentro de um processo são armazenadas localmente em um buffer temporário. Se a transação for aceita com [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) ou [`validateTransaction()`](../API/DataStoreClass.md#validatetransaction), as alterações são salvas permanentemente. Se a transação for cancelada com [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md) ou [`cancelTransaction()`](../API/DataStoreClass.md#canceltransaction), as alterações não são salvas. Em todos os casos, nem a seleção atual nem o registro atual são modificados pelos comandos de gerenciamento de transações. + +4D suporta transações aninhadas, ou seja, transações em vários níveis hierárquicos. O número de subtransações permitidas é ilimitado. O comando [`Transaction level`](../commands-legacy/transaction-level.md) pode ser usado para descobrir o nível de transação atual em que o código está sendo executado. Quando transações aninhadas são usadas, o resultado de cada subtransação depende da validação ou cancelamento da transação de nível superior. Se a transação de nível superior for validada, os resultados das subtransações (validação ou cancelamento) são confirmados. Por outro lado, se a operação de nível superior for anulada, todas as suboperações são anuladas, independentemente de seus respectivos resultados. + +4D inclui uma funcionalidade que permite [suspender e retomar transações](#suspending-transactions) dentro do seu código 4D. Quando uma transação é suspensa, você pode executar operações independentemente da transação em si e, em seguida, retomar a transação para validá-la ou cancelá-la como de costume. + +### Exemplo + +Neste exemplo, o banco de dados é um sistema de faturamento simples. As linhas de fatura são armazenadas em uma tabela chamada [Invoice Lines], que está relacionada à tabela [Invoices] por meio de um relacionamento entre os campos [Invoices]Invoice ID e [Invoice Lines]Invoice ID. Quando uma fatura é adicionada, um ID único é calculado, usando o comando [`Sequence number`](../commands-legacy/sequence-number.md). O relacionamento entre [Invoices] e [Invoice Lines] é um relacionamento automático Relate Many. A caixa de seleção **Asignar automáticamente valor relacionado en subformulario** está marcada. + +O relacionamento entre [Invoice Lines] e [Parts] é manual. + +![](../assets/en/Develop/transactions-structure.png) + +Quando uma fatura é adicionada, um ID único é calculado, usando o comando +Quando um usuário insere uma fatura, as seguintes ações são executadas: + +- Adicionar um registro na tabela [Invoices]. +- Adicionar vários registros na tabela [Invoice Lines]. +- Atualizar o campo [Parts]In Warehouse de cada peça listada na fatura. + +Este exemplo é uma situação típica em que você precisa usar uma transação. Você deve ter certeza de que poderá salvar todos esses registros durante a operação ou de que poderá cancelar a transação se um registro não puder ser adicionado ou atualizado. Em outras palavras, você deve salvar os dados relacionados. Se você não usar uma transação, não poderá garantir a integridade lógica dos dados do seu banco de dados. Por exemplo, se um dos registros de [Parts] estiver bloqueado, você não poderá atualizar a quantidade armazenada no campo [Parts]In Warehouse. Portanto, este campo será logicamente incorreto. A soma das peças vendidas e das peças restantes no armazém não será igual à quantidade original inserida no registro. Você pode evitar essa situação usando transações. + +Existem várias maneiras de realizar a entrada de dados usando transações: + +1. Você pode gerenciar as transações você mesmo usando os comandos de transação [`START TRANSACTION`](../commands-legacy/start-transaction.md), [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md) e [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md). Você pode escrever, por exemplo: + +```4d + READ WRITE([Invoice Lines]) + READ WRITE([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + START TRANSACTION + ADD RECORD([Invoices]) + If(OK=1) + VALIDATE TRANSACTION + Else + CANCEL TRANSACTION + End if + Until(OK=0) + READ ONLY(*) +``` + +2. Para reduzir o bloqueio de registros enquanto a entrada de dados está sendo realizada, você também pode optar por gerenciar as transações a partir do método do formulário e acessar as tabelas em READ WRITE apenas quando necessário. A entrada de dados é realizada usando o formulário de entrada de [Invoices], que contém a tabela relacionada [Invoice Lines] em um subformulário. O formulário tem dois botões: bCancel e bOK, que não são botões de ação. + +O loop de adição se torna: + +```4d + READ WRITE([Invoice Lines]) + READ ONLY([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat + ADD RECORD([Invoices]) + Until(bOK=0) + READ ONLY([Invoice Lines]) +``` + +id: transactions +title: Transactions +--- + +## Description + +As transações são uma série de modificações de dados relacionadas que são realizadas em um banco de dados ou armazenamento de dados dentro de um [processo](./processes.md). Uma transação não é salva em um banco de dados permanentemente até que a transação seja validada. Se uma transação não for concluída, seja porque é cancelada ou por algum evento externo, as modificações não são salvas. + +Durante uma transação, todas as alterações feitas nos dados do banco de dados dentro de um processo são armazenadas localmente em um buffer temporário. Se a transação for aceita com [`VALIDATE TRANSACTION`](https://www.google.com/search?q=../commands-legacy/validate-transaction.md) ou [`validateTransaction()`](../API/DataStoreClass.md#validatetransaction), as alterações são salvas permanentemente. Se a transação for cancelada com [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md) ou [`cancelTransaction()`](../API/DataStoreClass.md#canceltransaction), as alterações não são salvas. Em todos os casos, nem a seleção atual nem o registro atual são modificados pelos comandos de gerenciamento de transações. + +O 4D suporta transações aninhadas, ou seja, transações em vários níveis hierárquicos. O número de subtransações permitidas é ilimitado. O comando [`Transaction level`](https://www.google.com/search?q=../commands-legacy/transaction-level.md) pode ser usado para descobrir o nível de transação atual em que o código está sendo executado. Quando transações aninhadas são usadas, o resultado de cada subtransação depende da validação ou cancelamento da transação de nível superior. Se a transação de nível superior for validada, os resultados das subtransações (validação ou cancelamento) são confirmados. Por outro lado, se a operação de nível superior for anulada, todas as suboperações são anuladas, independentemente de seus respectivos resultados. + +O 4D inclui uma funcionalidade que permite [suspender e retomar transações](#suspending-transactions) dentro do seu código 4D. Quando uma transação é suspensa, você pode executar operações independentemente da transação em si e, em seguida, retomar a transação para validá-la ou cancelá-la como de costume. + +### Example + +Neste exemplo, o banco de dados é um sistema de faturamento simples. As linhas de fatura são armazenadas em uma tabela chamada [Invoice Lines], que está relacionada à tabela [Invoices] por meio de um relacionamento entre os campos [Invoices]Invoice ID e [Invoice Lines]Invoice ID. Quando uma fatura é adicionada, um ID único é calculado, usando o comando [`Sequence number`](../commands-legacy/sequence-number.md). O relacionamento entre [Invoices] e [Invoice Lines] é um relacionamento automático Relate Many. A caixa de seleção **Asignar automáticamente valor relacionado en subformulario** está marcada. + +O relacionamento entre [Invoice Lines] e [Parts] é manual. + +![](../assets/en/Develop/transactions-structure.png) + + +Quando um usuário insere uma fatura, as seguintes ações são executadas: + +- Adicionar um registro na tabela [Invoices]. +- Adicionar vários registros na tabela [Invoice Lines]. +- Atualizar o campo [Parts]In Warehouse de cada peça listada na fatura. + +Este exemplo é uma situação típica em que você precisa usar uma transação. Você deve ter certeza de que poderá salvar todos esses registros durante a operação ou de que poderá cancelar a transação se um registro não puder ser adicionado ou atualizado. Em outras palavras, você deve salvar os dados relacionados. Se você não usar uma transação, não poderá garantir a integridade lógica dos dados do seu banco de dados. Por exemplo, se um dos registros de [Parts] estiver bloqueado, você não poderá atualizar a quantidade armazenada no campo [Parts]In Warehouse. Portanto, este campo será logicamente incorreto. A soma das peças vendidas e das peças restantes no armazém não será igual à quantidade original inserida no registro. Você pode evitar essa situação usando transações. + +Existem várias maneiras de realizar a entrada de dados usando transações: + +1. Você pode gerenciar as transações você mesmo usando os comandos de transação [`START TRANSACTION`](../commands-legacy/start-transaction.md), [`VALIDATE TRANSACTION`](https://www.google.com/search?q=../commands-legacy/validate-transaction.md) e [`CANCEL TRANSACTION`](../commands-legacy/cancel-transaction.md). Você pode escrever, por exemplo: + +```4d + READ WRITE([Invoice Lines]) + READ WRITE([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat +    START TRANSACTION +    ADD RECORD([Invoices]) +    If(OK=1) +       VALIDATE TRANSACTION +    Else +       CANCEL TRANSACTION +    End if + Until(OK=0) + READ ONLY(*) +Para reduzir o bloqueio de registros enquanto a entrada de dados está sendo realizada, você também pode optar por gerenciar as transações a partir do método do formulário e acessar as tabelas em READ WRITE apenas quando necessário. A entrada de dados é realizada usando o formulário de entrada de [Invoices], que contém a tabela relacionada [Invoice Lines] em um subformulário. O formulário tem dois botões: bCancel e bOK, que não são botões de ação. +O loop de adição se torna: + +4D + + READ WRITE([Invoice Lines]) + READ ONLY([Parts]) + FORM SET INPUT([Invoices];"Input") + Repeat +    ADD RECORD([Invoices]) + Until(bOK=0) + READ ONLY([Invoice Lines]) +Observe que a tabela [Parts] agora está em modo de acesso somente leitura durante a entrada de dados. O acesso de leitura/gravação só estará disponível se a entrada de dados for validada. + +A transação é iniciada no método do formulário de entrada [Invoices] indicado abaixo: + +```4d + Case of + :(Form event code=On Load) + START TRANSACTION + [Invoices]Invoice ID:=Sequence number([Invoices]Invoice ID) + Else + [Invoices]Total Invoice:=Sum([Invoice Lines]Total line) + End case +``` + +If you click the *bCancel* button, the data entry as well as the transaction must be canceled. Here is the object method of the *bCancel* button: + +```4d + Case of + :(Form event code=On Clicked) + CANCEL TRANSACTION + CANCEL + End case +``` + +Se você clicar no botão *bOK*, tanto a entrada de dados quanto a transação serão canceladas. Este é o método objeto do botão *bOK*: + +```4d + Case of + :(Form event code=On Clicked) + var $NbLines:=Records in selection([Invoice Lines]) + READ WRITE([Parts]) //Mudar para acesso de Leitura/Gravação para a tabela [Parts] + FIRST RECORD([Invoice Lines]) //Começar na primeira linha + var $ValidTrans:=True //Assumir que tudo estará OK + var $Line : Integer + For($Line;1;$NbLines) //Para cada linha + RELATE ONE([Invoice Lines]Part No) + OK:=1 //Assumir que você quer continuar + While(Locked([Parts]) & (OK=1)) //Tentar obter o registro em acesso de Leitura/Gravação + CONFIRM("The Part "+[Invoice Lines]Part No+" is in use. Wait?") + If(OK=1) + DELAY PROCESS(Current process;60) + LOAD RECORD([Parts]) + End if + End while + If(OK=1) + //Atualizar a quantidade no armazém + [Parts]In Warehouse:=[Parts]In Warehouse-[Invoice Lines]Quantity + SAVE RECORD([Parts]) //Salvar o registro + Else + $Line:=$NbLines+1 //Sair do loop + $ValidTrans:=False + End if + NEXT RECORD([Invoice Lines]) //Ir para a próxima linha + End for + READ ONLY([Parts]) //Definir o estado da tabela como somente leitura + If($ValidTrans) + SAVE RECORD([Invoices]) //Salvar o registro de Invoices + VALIDATE TRANSACTION //Validar todas as modificações do banco de dados + Else + CANCEL TRANSACTION //Cancelar tudo + End if + CANCEL //air do formulário + End case +``` + +Neste código, chamamos o comando `CANCEL` independentemente do botão pressionado. O novo registro não é validado por uma chamada a [`ACCEPT`](../commands-legacy/accept.md), mas sim pelo comando [`SAVE RECORD`](../commands-legacy/save-record.md) Além disso, observe que `SAVE RECORD` é executado imediatamente antes do comando [`VALIDATE TRANSACTION`](../commands-legacy/validate-transaction.md). Portanto, salvar o registro [Invoices] é, na verdade, parte da transação. O comando ACCEPT também validaria o registro, mas neste caso a transação seria validada antes de o registro [Invoices] ser salvo. Em outras palavras, o registro seria salvo fora da transação. + +Dependendo de suas necessidades, você pode personalizar seu banco de dados, conforme mostrado nestes exemplos. No último exemplo, o gerenciamento de registros bloqueados na tabela [Parts] poderia ser ainda mais desenvolvido. + + +## Suspensão de transações + +### Princípio + +Suspender uma transação é útil quando você precisa realizar, de dentro de uma transação, certas operações que não precisam ser executadas sob o controle dessa transação. Por exemplo, imagine o caso em que um cliente faz um pedido, portanto dentro de uma transação, e também atualiza seu endereço. Em seguida, o cliente muda de ideia e cancela o pedido. A transação é cancelada, mas você não deseja que a alteração de endereço seja revertida. Este é um exemplo típico em que suspender a transação é útil. Três comandos são usados para suspender e retomar transações: + +- [`SUSPEND TRANSACTION`](../commands-legacy/suspend-transaction.md): pausa a transação atual. Os registros atualizados ou adicionados permanecem bloqueados. +- [`RESUME TRANSACTION`](../commands-legacy/resume-transaction.md): reativa uma transação suspensa. +- [`Active transaction`](../commands-legacy/active-transaction.md): retorna False se a transação estiver suspensa ou se não houver transação em andamento, e True se tiver sido iniciada ou retomada. + +### Exemplo + +Este exemplo ilustra a necessidade de uma transação suspensa. Em um banco de dados Invoices, queremos obter um novo número de fatura durante uma transação. Este número é calculado e armazenado em uma tabela [Settings]. Em um ambiente multiusuário, acessos concorrentes devem ser protegidos; no entanto, devido à transação, a tabela [Settings] pode estar bloqueada por outro usuário, embora esses dados sejam independentes da transação principal. Neste caso, você pode suspender a transação ao acessar a tabela. + +```4d + //Método padrão que cria uma fatura + START TRANSACTION + ... + CREATE RECORD([Invoices]) + //chamar o método para obter um número disponível + [Invoices]InvoiceID:=GetInvoiceNum + ... + SAVE RECORD([Invoices]) + VALIDATE TRANSACTION + + ``` + +O método *GetInvoiceNum* suspende a transação antes de ser executado. Observe que este código funcionará mesmo quando o método for chamado de fora de uma transação: + +```4d + //Método projeto GetInvoiceNum + //GetInvoiceNum -> Próximo número de fatura disponível + #DECLARE -> $freeNum : Integer + SUSPEND TRANSACTION + ALL RECORDS([Settings]) + If(Locked([Settings])) //acesso multiusuário + While(Locked([Settings])) + MESSAGE("Waiting for locked Settings record") + DELAY PROCESS(Current process;30) + LOAD RECORD([Settings]) + End while + End if + [Settings]InvoiceNum:=[Settings]InvoiceNum+1 + $freeNum:=[Settings]InvoiceNum + SAVE RECORD([Settings]) + UNLOAD RECORD([Settings]) + RESUME TRANSACTION + +``` + +### Operação detalhada + +#### Como funciona uma transação suspensa? + +Quando uma transação é suspensa, os seguintes princípios são aplicados: + +- Você pode acessar os registros que foram adicionados ou modificados durante a transação e não pode ver os registros que foram excluídos durante a transação. +- Você pode criar, salvar, excluir ou modificar registros fora da transação. +- Você pode iniciar uma nova transação, mas dentro desta transação incluída, você não poderá ver nenhum registro ou valor de registro que tenha sido adicionado ou modificado durante a transação suspensa. De fato, esta nova transação é totalmente independente da suspensa, semelhante a uma transação de outro processo, e como a transação suspensa pode ser retomada ou cancelada posteriormente, qualquer registro adicionado ou modificado é automaticamente ocultado para a nova transação. Assim que a nova transação for retomada ou cancelada, esses registros poderão ser vistos novamente. +- Os registros modificados, excluídos ou adicionados dentro da transação suspensa permanecem bloqueados para outros processos. Se uma tentativa for feita para modificar ou excluir esses registros fora da transação ou em uma nova transação, um erro é gerado. + +Essas implementações são resumidas no seguinte gráfico: + +![](../assets/en/Develop/transactions-schema1.png) + + +*Os valores editados durante a transação A (o registro ID1 obtém Val11) não estão disponíveis em uma nova transação (B) criada durante o período "suspenso". Os valores editados durante o período "suspenso" (o registro ID2 obtém Val22 e o registro ID3 obtém Val33) são salvos mesmo após o cancelamento da transação A.* + +Funcionalidades específicas foram adicionadas para gerenciar erros: + +- O registro atual de cada tabela é temporariamente bloqueado se for modificado durante a transação e desbloqueado automaticamente quando a transação é retomada. Este mecanismo é importante para evitar salvamentos indesejados em partes da transação. +- Se uma sequência inválida for executada, como iniciar transação / suspender transação / iniciar transação / retomar transação, um erro é gerado. Este mecanismo evita que os desenvolvedores esqueçam de confirmar ou cancelar qualquer transação incluída antes de retomar a transação suspensa. + + +#### Transações suspensas e estado do processo + +O comando [`In transaction`](../commands-legacy/in-transaction.md) etorna True quando uma transação foi iniciada, mesmo que esteja suspensa. Para saber se a transação atual está suspensa, é necessário usar o comando [`Active transaction`](../commands-legacy/active-transaction.md), que retorna False neste caso. + +Ambos os comandos, no entanto, também retornam False se nenhuma transação foi iniciada. Nesse caso, pode ser necessário usar o comando [`Transaction level`](../commands-legacy/transaction-level.md), que retorna 0 neste contexto (nenhuma transação foi iniciada). + +O gráfico a seguir ilustra os diferentes contextos de transação e os valores correspondentes retornados pelos comandos de transação: + +![](../assets/en/Develop/transactions-schema2.png) + + diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/pt/docusaurus-plugin-content-docs/current/Notes/updates.md index 3003219f027dae..d18efaf105046a 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -10,6 +10,9 @@ Read [**What’s new in 4D 20 R10**](https://blog.4d.com/en-whats-new-in-4d-20-R #### Destaques - New `connectionTimeout` option in the [`options`](../API/TCPConnectionClass.md#options-parameter) parameter of the [`4D.TCPConnection.new()`](../API/TCPConnectionClass.md#4dtcpconnectionnew) function. +- UUIDs in 4D are now generated in **version 7**. In previous 4D releases, they were generated in version 4. +- Línguagem 4D: + - For consistency, [`Create entity selection`](../commands/create-entity-selection.md) and [`USE ENTITY SELECTION`](../commands/use-entity-selection.md) commands have been moved from the ["4D Environment"](../commands/theme/4D_Environment.md) to the ["Selection"](../commands/theme/Selection.md) themes. ## 4D 20 R9 @@ -72,7 +75,7 @@ Leia [**O que há de novo no 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d- - Agora você pode [adicionar e remover componentes usando a interface do gerenciador de componentes](../Project/components.md#monitoring-project-dependencies). - Novo modo [**direct typing mode**] (../Project/compiler.md#enabling-direct-typing) no qual você declara todas as variáveis e parâmetros em seu código usando as palavras-chave `var` e `#DECLARE`/`Function` (somente o modo suportado em novos projetos). A [funcionalidade verificação de sintaxe](../Project/compiler.md#check-syntax) foi aprimorado de acordo. - Suporte a [Session singletons] (../Concepts/classes.md#singleton-classes) e à nova propriedade de classe [`.isSessionSingleton`] (../API/ClassClass.md#issessionsingleton). -- Nova palavra-chave de função [`onHTTPGet`] (../ORDA/ordaClasses.md#onhttpget-keyword) para definir funções singleton ou ORDA que podem ser chamadas por meio de solicitações [HTTP REST GET] (../REST/ClassFunctions.md#function-calls). +- New [`onHTTPGet` function keyword](../ORDA/ordaClasses.md#onhttpget-keyword) to define singleton or ORDA functions that can be called through [HTTP REST GET requests](../REST/ClassFunctions.md#function-calls). - Nova classe [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) para que o servidor REST retorne qualquer conteúdo Web. - Qodly Studio: agora você pode [anexar o depurador Qodly a 4D Server](../WebServer/qodly-studio.md#using-qodly-debugger-on-4d-server). - New Build Application keys para aplicativos 4D remotos para validar a autoridade de certificação do servidor [signatures](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateAuthoritiesCertificates.300-7425900.en.html) e/ou [domain](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.en.html). @@ -133,7 +136,7 @@ Leia [**O que há de novo no 4D 20 R5**](https://blog.4d.com/en-whats-new-in-4d- - Soporte de [clases compartidas](../Concepts/classes.md#shared-classes) y de [clases singleton](../Concepts/classes.md#singleton-classes). Novas propriedades de classe: [`isShared`](../API/ClassClass.md#isshared), [`isSingleton`](../API/ClassClass.md#issingleton), [`me`](../API/ClassClass.md#me). - Suporte à [inicializando uma propriedade de classe em sua linha de declaração](../Concepts/classes.md#initializing-the-property-in-the-declaration-line). - Novo modo [forçar login para solicitações REST](../REST/authUsers.md#force-login-mode) com um suporte específico [no Qodly Studio para 4D](../WebServer/qodly-studio.md#force-login). -- Nuevo parámetro REST [$format](../REST/$format.md). +- New [$format](../REST/$format.md) REST parameter. - O objeto [`Session`](../commands/session.md) agora está disponível em sessões de usuários remotos e sessões de procedimentos armazenados. - Comandos da linguagem 4D: [página Novidades](https://doc.4d.com/4Dv20R5/4D/20-R5/What-s-new.901-6817247.en.html) em doc.4d.com. - 4D Write Pro: [Página de novidades](https://doc.4d.com/4Dv20R5/4D/20-R5/What-s-new.901-6851780.en.html) em doc.4d.com. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/entities.md b/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/entities.md index 07b8b9b4d3064f..544356bf5530ed 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/entities.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/entities.md @@ -99,7 +99,7 @@ Com as entidades, não há o conceito de "registro atual" como na linguagem 4D. Os atributos de entidade armazenam dados e mapeiam os campos correspondentes na tabela correspondente. - attributes of the **storage** kind can be set or get as simple properties of the entity object, -- attributes of the **relatedEntity** kind will return an entity, +- atributos do tipo **relatedEntity** retornarão uma entidade, - attributes of the **relatedEntities** kind will return an entity selection, - attributes of the **computed** and **alias** kind can return any type of data, depending on how they are configured. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md b/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md index 2929c6fa950b83..cf4f77b8efc2bf 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md @@ -844,7 +844,7 @@ As this type of call is an easy offered action, the developer must ensure no sen ### params -Uma função com a palavra-chave `onHTTPGet` aceita [parâmetros](../Concepts/parameters.md). +A function with `onHTTPGet` keyword accepts [parameters](../Concepts/parameters.md). In the HTTP GET request, parameters must be passed directly in the URL and declared using the `$params` keyword (they must be enclosed in a collection). @@ -856,7 +856,7 @@ Consulte a seção [Parâmetros](../REST/classFunctions#parameters) na documenta ### resultado -Uma função com a palavra-chave `onHTTPGet` pode retornar qualquer valor de um tipo compatível (o mesmo que para [parâmetros](../REST/classFunctions#parameters) REST). +A function with `onHTTPGet` keyword can return any value of a supported type (same as for REST [parameters](../REST/classFunctions#parameters)). :::info diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Project/code-overview.md b/i18n/pt/docusaurus-plugin-content-docs/current/Project/code-overview.md index d006efe9ed37e1..e8662445e9b179 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Project/code-overview.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Project/code-overview.md @@ -30,7 +30,7 @@ Para más información, consulte la sección [Clases](../Concepts/classes.md). To delete an existing method or class, you can: -- on your disk, remove the *.4dm* file from the "Sources" folder, +- em seu disco, remova o arquivo *.4dm* da pasta "Sources", - in the 4D Explorer, select the method or class and click ![](../assets/en/Users/MinussNew.png) or choose **Move to Trash** from the contextual menu. > To delete an object method, choose **Clear Object Method** from the [Form editor](../FormEditor/formEditor.md) (**Object** menu or context menu). diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Project/compiler.md b/i18n/pt/docusaurus-plugin-content-docs/current/Project/compiler.md index 2de8b9b8d97a3b..5f9d76c68da801 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Project/compiler.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Project/compiler.md @@ -67,7 +67,7 @@ Este botão só será exibido em projetos convertidos se as **variáveis forem d ### Limpar código compilado -The **Clear compiled code** button deletes the compiled code of the project. Al hacer clic en él, se borra todo el [código generado durante la compilación](#classic-compiler), se desactiva el comando **Reiniciar compilado** del menú **Ejecutar** y la opción "Proyecto compilado" no está disponible al inicio. +O botão **Limpar o código compilado** exclui o código compilado do projeto. Al hacer clic en él, se borra todo el [código generado durante la compilación](#classic-compiler), se desactiva el comando **Reiniciar compilado** del menú **Ejecutar** y la opción "Proyecto compilado" no está disponible al inicio. ### Mostrar/ocultar avisos diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Project/components.md b/i18n/pt/docusaurus-plugin-content-docs/current/Project/components.md index e77b96b631581c..542a48f7410d46 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Project/components.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Project/components.md @@ -484,7 +484,7 @@ The Dependency manager provides an integrated handling of updates on GitHub. The - Automatic and manual checking of available versions - Automatic and manual updating of components -Manual operations can be done **per dependency** or **for all dependencies**. +As operações manuais podem ser feitas **por dependência** ou **para todas as dependências**. #### Checking for new versions diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/REST/$attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/REST/$attributes.md index b4e2685a5cc855..0eaa8b3771feb5 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/REST/$attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/REST/$attributes.md @@ -22,7 +22,7 @@ Puede aplicar `$attributes` a una entidad (*p. Ej.*, People(1)) o una entity sel - `$attributes=relatedEntities.*`: se devuelven todas las propiedades de todas las entidades relacionadas - `$attributes=relatedEntities.attributePath1, relatedEntities.attributePath2, ...`: sólo se devuelven los atributos de las entidades relacionadas. -- If `$attributes` is specified for **storage** attributes: +- Se `$attributes` for especificado para os atributos **storage**: - `$attributes=attribute1, attribute2, ...`: somente os atributos das entidades são retornados. ## Exemplo com entidades relacionadas diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/REST/$singleton.md b/i18n/pt/docusaurus-plugin-content-docs/current/REST/$singleton.md index 2ef76aa2cb1e73..ee873d00f18b30 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/REST/$singleton.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/REST/$singleton.md @@ -27,7 +27,7 @@ Tenha em mente que somente funções com a [palavra-chave `exposed`](../ORDA/ord ## Chamadas funções -Singleton functions can be called using REST **POST** or **GET** requests. +As funções singleton podem ser chamadas usando solicitações REST **POST** ou **GET**. A sintaxe formal é: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md b/i18n/pt/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md index e799c6c8f22b53..a6c1d79893d65d 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/REST/ClassFunctions.md @@ -7,8 +7,8 @@ You can call [data model class functions](ORDA/ordaClasses.md) defined for the O Functions can be called in two ways: -- using **POST requests**, with data parameters passed in the body of the request. -- using **GET requests**, with parameters directly passed in the URL. +- usando **POST requests**, com parâmetros de dados passados no corpo da solicitação. +- usando solicitações **GET**, com parâmetros passados diretamente no URL. POST requests provide a better security level because they avoid running sensitive code through an action as simple as clicking on a link. However, GET requests can be more compliant with user experience, allowing to call functions by entering an URL in a browser (note: the developer must ensure no sensitive action is done in such functions). @@ -49,7 +49,7 @@ with data in the body of the POST request: `["Aguada"]` :::note -A função `getCity()` deve ter sido declarada com a palavra-chave `onHTTPGet` (veja [Configuração da função](#function-configuration) abaixo). +The `getCity()` function must have been declared with the `onHTTPGet` keyword (see [Function configuration](#function-configuration) below). ::: @@ -73,7 +73,7 @@ Consulte a seção [Funções expostas vs. não expostas](../ORDA/ordaClasses.md ### `onHTTPGet` -As funções que podem ser chamadas a partir de solicitações HTTP `GET` também devem ser especificamente declaradas com a palavra-chave [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). Por exemplo: +Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). Por exemplo: ```4d //allowing GET requests diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ServerWindow/processes.md b/i18n/pt/docusaurus-plugin-content-docs/current/ServerWindow/processes.md index 9adfaac90e6f98..7a0279e36e9626 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ServerWindow/processes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ServerWindow/processes.md @@ -87,7 +87,7 @@ A página também tem cinco botões de controle que atuam nos processos selecion > You can also abort the selected process(es) directly without displaying the confirmation dialog box by holding down the **Alt** key while clicking on this button, or by using the [`ABORT PROCESS BY ID`](../commands-legacy/abort-process-by-id.md) command. -- **Pause Process**: can be used to pause the selected process(es). +- **Pausar processo**: pode ser usado para pausar os processos selecionados. - **Activar proceso**: permite reactivar los procesos seleccionados. Os processos devem ter sido colocados em pausa anteriormente (utilizando o botão acima ou por programação); caso contrário, este botão não tem qualquer efeito. - **Depurar proceso**: permite abrir en el equipo servidor una o varias ventanas de depuración para el proceso o procesos seleccionados. Quando clicar neste botão, aparece uma caixa de diálogo de aviso para que se possa confirmar ou cancelar a operação. Note que a janela do depurador só é exibida quando o código 4D for realmente executado na máquina do servidor (por exemplo, em um gatilho ou na execução de um método com o atributo "Execute on Server"). diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-export-document.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-export-document.md index 600eeaa838bfbc..af86e0eae0c7f2 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-export-document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-export-document.md @@ -51,7 +51,7 @@ O parâmetro opcional *paramObj* permite que você defina várias propriedades p | valuesOnly | | boolean | Especifica que somente os valores das fórmulas (se houver) serão exportados. | | includeFormatInfo | | boolean | Verdadeiro para incluir informações de formatação; caso contrário, falso (o padrão é verdadeiro). As informações de formatação são úteis em alguns casos, por exemplo, para exportação para SVG. On the other hand, setting this property to **false** allows reducing export time. | | includeBindingSource | | boolean | 4DVP e Microsoft Excel apenas. True (padrão) para exportar os valores do contexto de dados atual como valores de célula no documento exportado (os contextos de dados em si não são exportados). Caso contrário, false. Cell binding sempre é exportada. For data context and cell binding management, see [VP SET DATA CONTEXT](vp-set-data-context.md) and [VP SET BINDING PATH](vp-set-binding-path.md). | -| sheetIndex | | number | Somente PDF (opcional) - Índice da planilha a ser exportada (a partir de 0). -2=all visible sheets (**default**), -1=current sheet only | +| sheetIndex | | number | Somente PDF (opcional) - Índice da planilha a ser exportada (a partir de 0). -2=todas as planilhas visíveis (**padrão**), -1=apenas a planilha atual | | pdfOptions | | object | PDF only (optional) - Options for pdf | | | creator | text | nome do aplicativo que criou o documento original a partir do qual ele foi convertido. | | | title | text | título do documento. | @@ -89,7 +89,7 @@ O parâmetro opcional *paramObj* permite que você defina várias propriedades p - Ao exportar um documento do 4D View Pro para um arquivo no formato Microsoft Excel, algumas configurações podem ser perdidas. Por exemplo, os métodos e fórmulas 4D não são suportados pelo Excel. You can verify other settings with [this list from SpreadJS](https://developer.mescius.com/spreadjs/docs/excelimpexp/excelexport). - Exporting in this format is run asynchronously, use the `formula` property of the *paramObj* for code to be executed after the export. -- Using *excelOptions* object is recommended when exporting in ".xlsx" format. Make sure to not mix this object with legacy first level properties (*password*, *includeBindingSource*...) to avoid potiental issues. +- Usando o objeto *excelOptions* é recomendado ao exportar no formato ".xlsx". Make sure to not mix this object with legacy first level properties (*password*, *includeBindingSource*...) to avoid potiental issues. **Notas sobre o formato PDF**: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-find.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-find.md index b5676661bb0bbf..137ba0c03f919e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-find.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-find.md @@ -21,7 +21,7 @@ title: VP Find O comando `VP Find` pesquisa o *rangeObj* para o *searchValue*. Podem ser utilizados parâmetros opcionais para refinar a pesquisa e/ou substituir quaisquer resultados encontrados. -In the *rangeObj* parameter, pass an object containing a range to search. +No parâmetro *rangeObj*, passe um objeto que contenha um intervalo a ser pesquisado. The *searchValue* parameter lets you pass the text to search for within the *rangeObj*. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-sheet-index.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-sheet-index.md index f365f58e49f89a..a19f207f6010ce 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-sheet-index.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-sheet-index.md @@ -21,7 +21,7 @@ The `VP Get sheet index` command re Em *vpAreaName*, passe o nome da área 4D View Pro. -In *sheet*, pass the index of the sheet whose name will be returned. +Em *sheet*, passe o índice da folha cujo nome será devolvido. Se o índice de folha passado não existir, o método devolve um nome vazio. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-stylesheet.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-stylesheet.md index d473d99eb756a6..de73d2b35c5611 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-stylesheet.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-stylesheet.md @@ -22,7 +22,7 @@ The `VP Get stylesheet` command Em *vpAreaName*, passe o nome da área 4D View Pro. Se passar um nome que não existe, é devolvido um erro. -In *styleName*, pass the name of the style sheet to get. +Em *styleName*, passe o nome da folha de estilo a obter. You can define where to get the style sheet in the optional *sheet* parameter using the sheet index (counting begins at 0) or with the following constants: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-table-column-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-table-column-attributes.md index 29f3d674f75e18..32e07b51591a82 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-table-column-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-table-column-attributes.md @@ -35,7 +35,7 @@ Em *sheet*, passe o índice da folha de destino. Se nenhum indice for especcific > A indexação começa em 0. -The command returns an object describing the current attributes of the *column*: +O comando retorna um objeto descrevendo os atributos atuais da *column*: | Propriedade | Tipo | Descrição | | ------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-table-column-index.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-table-column-index.md index d61e9beadc8951..ccc9a3d8dedaf8 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-table-column-index.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-get-table-column-index.md @@ -37,7 +37,7 @@ Em *sheet*, passe o índice da folha de destino. Se nenhum indice for especcific > A indexação começa em 0. -If *tableName* or *columnName* is not found, the command returns -1. +Se *tableName* ou *columnName* não for encontrado, o comando retornará -1. ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-document.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-document.md index 139fe4d0d06b6d..0845ae3fba1715 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-document.md @@ -75,7 +75,7 @@ The optional *paramObj* parameter allows you to define properties for the import - Importar arquivos em formatos .xslx, .csv, e .sjs é **assíncrona**. With these formats, you must use the `formula` attribute if you want to start an action at the end of the document processing. - Quando importar um arquivo formatado em Excel em um documento 4D View Pro, algumas configurações podem ser perdidas. You can verify your settings with [this list from SpreadJS](https://developer.mescius.com/spreadjs/docs/excelimpexp/excelexport). - For more information on the CSV format and delimiter-separated values in general, see [this article on Wikipedia](https://en.wikipedia.org/wiki/Delimiter-separated_values) -- Using *excelOptions* object is recommended when importing ".xlsx" format. Make sure to not mix this object with legacy first level property *password* to avoid potiental issues. +- Usando o objeto *excelOptions* é recomendado ao importar o formato ".xlsx". Make sure to not mix this object with legacy first level property *password* to avoid potiental issues. - The callback function specified in the `formula` attribute is triggered after all [4D custom functions](../formulas.md#4d-functions) within the imported content have completed their calculations. This ensures that any dependent processes, such as document modifications or exports, are performed only after all formula-based computations are fully resolved. ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-from-object.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-from-object.md index 8896eadda76ab2..47c29b7fbcc1ec 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-from-object.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-import-from-object.md @@ -33,9 +33,9 @@ Em *vpAreaName*, passe o nome da área 4D View Pro. Se passar um nome que não e Em *viewPro*, passe um objeto 4D View Pro válido. Esse objeto pode ter sido criado usando [VP Export to object] (vp-export-to-object.md) ou manualmente. Para mais informações sobre objetos 4D View Pro, consulte a seção [4D View Pro](../configuring.md#4d-view-pro-object). -An error is returned if the *viewPro* object is invalid. +Um erro é retornado se o objeto *viewPro* for inválido. -In *paramObj*, you can pass the following property: +Em *paramObj*, você pode passar a seguinte propriedade: | Propriedade | Tipo | Descrição | | ----------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-insert-table-columns.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-insert-table-columns.md index dbd3731fc02f3c..e352eac6b36788 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-insert-table-columns.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-insert-table-columns.md @@ -34,12 +34,12 @@ When a column has been inserted with this command, you typically modify its cont In the *insertAfter* parameter, you can pass one of the following constants to indicate if the column(s) must be inserted before or after the *column* index: -| Parâmetros | Valor | Descrição | -| ------------------------ | ----- | ----------------------------------------------------------------------------------------------- | -| `vk table insert before` | 0 | Insert column(s) before the *column* (default if omitted) | -| `vk table insert after` | 1 | Inserir coluna(s) após a *coluna* | +| Parâmetros | Valor | Descrição | +| ------------------------ | ----- | --------------------------------------------------------------------------------------------------------------------- | +| `vk table insert before` | 0 | Inserir a(s) coluna(s) antes da *column* (padrão se omitida) | +| `vk table insert after` | 1 | Inserir coluna(s) após a *coluna* | -This command inserts some columns in the *tableName* table, NOT in the sheet. O número total de colunas da folha não é impactado pelo comando. Dados presentes à direita da tabela (se houver) são movidos para a direita automaticamente de acordo com o número de colunas adicionadas. +Este comando insere algumas colunas na tabela *tableName*, NÂO na folha. O número total de colunas da folha não é impactado pelo comando. Dados presentes à direita da tabela (se houver) são movidos para a direita automaticamente de acordo com o número de colunas adicionadas. If *tableName* does not exist or if there is not enough space in the sheet, nothing happens. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-remove-table-rows.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-remove-table-rows.md index 6ad68b1d1f85c9..346ceaa7ebe702 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-remove-table-rows.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-remove-table-rows.md @@ -29,7 +29,7 @@ title: VP REMOVE TABLE ROWS The `VP REMOVE TABLE ROWS` command removes one or *count* row(s) from the specified *tableName* at the specified *row* index. O comando remove valores e estilos. -This command removes rows from the *tableName* table, NOT from the sheet. O número total de linhas da folha não é impactado pelo comando. Dados presentes abaixo da tabela (se houver) são movidos automaticamente de acordo com o número de linhas removidas. +Este comando remove linhas da tabela *tableName*, não da folha. O número total de linhas da folha não é impactado pelo comando. Dados presentes abaixo da tabela (se houver) são movidos automaticamente de acordo com o número de linhas removidas. If the *tableName* table is bound to a [data context](vp-set-data-context.md), the command removes element(s) from the collection. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-remove-table.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-remove-table.md index 15a813c9962132..98341fc00e5aec 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-remove-table.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-remove-table.md @@ -30,7 +30,7 @@ The `VP REMOVE TABLE` command remo Em *vpAreaName*, passe o nome da área onde a tabela a ser removida está localizada. -In *tableName*, pass the name of the table to remove. +Em *tableName*, passe o nome da tabela para remover. Em *options*, você pode especificar o comportamento adicional. Valores possíveis: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-binding-path.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-binding-path.md index 728ee24eb15c6a..8e5b2f4ff5f926 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-binding-path.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-binding-path.md @@ -31,7 +31,7 @@ In *rangeObj*, pass an object that is either a cell range or a combined range of - If *rangeObj* is a range with several cells, the command binds the attribute to the first cell of the range. - If *rangeObj* contains several ranges of cells, the command binds the attribute to the first cell of each range. -In *dataContextAttribute*, pass the name of the attribute to bind to *rangeObj*. If *dataContextAttribute* is an empty string, the function removes the current binding. +No *dataContextAttribute*, passe o nome do atributo para vincular a *rangeObj*. If *dataContextAttribute* is an empty string, the function removes the current binding. > Os atributos do tipo coleção não são suportados. Quando você passar o nome de uma coleção, o comando não faz nada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-border.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-border.md index 955cb60589e9af..d4a6ad6fb8f783 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-border.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-border.md @@ -19,9 +19,9 @@ title: VP SET BORDER The `VP SET BORDER` command applies the border style(s) defined in *borderStyleObj* and *borderPosObj* to the range defined in the *rangeObj*. -In *rangeObj*, pass a range of cells where the border style will be applied. If the *rangeObj* contains multiple cells, borders applied with `VP SET BORDER` will be applied to the *rangeObj* as a whole (as opposed to the [`VP SET CELL STYLE`](vp-set-cell-style.md) command which applies borders to each cell of the *rangeObj*). If a style sheet has already been applied, `VP SET BORDER` will override the previously applied border settings for the *rangeObj*. +Em *rangeObj*, passe um intervalo de células em que o estilo de borda será aplicado. If the *rangeObj* contains multiple cells, borders applied with `VP SET BORDER` will be applied to the *rangeObj* as a whole (as opposed to the [`VP SET CELL STYLE`](vp-set-cell-style.md) command which applies borders to each cell of the *rangeObj*). If a style sheet has already been applied, `VP SET BORDER` will override the previously applied border settings for the *rangeObj*. -The *borderStyleObj* parameter allows you to define the style for the lines of the border. The *borderStyleObj* supports the following properties: +The *borderStyleObj* parameter allows you to define the style for the lines of the border. O *borderStyleObj* oferece suporte às seguintes propriedades: | Propriedade | Tipo | Descrição | Valores possíveis | | ----------- | ------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-cell-style.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-cell-style.md index ac45ffb6c5f11b..1496208625ca76 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-cell-style.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-cell-style.md @@ -18,7 +18,7 @@ title: VP SET CELL STYLE The `VP SET CELL STYLE` command applies the style(s) defined in the *styleObj* to the cells defined in the *rangeObj*. -Em *rangeObj*, passe um intervalo de células em que o estilo será aplicado. If the *rangeObj* contains multiple cells, the style is applied to each cell. +Em *rangeObj*, passe um intervalo de células em que o estilo será aplicado. Se *rangeObj* contiver várias células, o estilo será aplicado a cada célula. > Borders applied with `VP SET CELL STYLE` will be applied to each cell of the *rangeObj*, as opposed to the [VP SET BORDER](vp-set-border.md) command which applies borders to the *rangeObj* as a whole. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-date-value.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-date-value.md index ea4f4cceecc2d8..0a052177915432 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-date-value.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-date-value.md @@ -23,7 +23,7 @@ Em *rangeObj*, passe um intervalo dá(s) célula(s) cujo valor pretende especifi The *dateValue* parameter specifies a date value to be assigned to the *rangeObj*. -The optional *formatPattern* defines a pattern for the *dateValue* parameter. Passe qualquer formato personalizado ou você pode usar uma das seguintes constantes: +O parâmetro *formatPattern* opcional define um padrão para o parâmetro *dateValue*. Passe qualquer formato personalizado ou você pode usar uma das seguintes constantes: | Parâmetros | Descrição | Padrão predefinido dos EUA | | ----------------------- | -------------------------------------- | -------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-field.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-field.md index 28a13969d7b5b3..42a2a9a77e3751 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-field.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-field.md @@ -23,7 +23,7 @@ Em *rangeObj*, passe um intervalo dá(s) célula(s) cujo valor pretende especifi The *field* parameter specifies a 4D database [virtual field](../formulas.md#referencing-fields-using-the-virtual-structure) to be assigned to the *rangeObj*. O nome da estrutura virtual do *field* pode ser visualizado na barra de fórmulas. If any of the cells in *rangeObj* have existing content, it will be replaced by *field*. -The optional *formatPattern* defines a pattern for the *field* parameter. Você pode passar qualquer [formato personalizado] válido(../configuring.md#cell-format). +O *formatPattern* opcional define um padrão para o parâmetro de campo. Você pode passar qualquer [formato personalizado] válido(../configuring.md#cell-format). ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-row-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-row-attributes.md index 4425ab9eb910e9..40ffe6fb8255ca 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-row-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-row-attributes.md @@ -18,7 +18,7 @@ title: VP SET ROW ATTRIBUTES O comando `VP SET ROW ATTRIBUTES` aplica os atributos definidos na *propriedadeObj* às linhas no *intervaloObj*. -In the *rangeObj*, pass an object containing a range. Se o intervalo contiver colunas e linhas, os atributos são aplicados apenas às linhas. +Em *rangeObj*, passe um objeto que contenha um intervalo. Se o intervalo contiver colunas e linhas, os atributos são aplicados apenas às linhas. The *propertyObj* parameter lets you specify the attributes to apply to the rows in the *rangeObj*. Estes atributos são: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-row-count.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-row-count.md index 5fac8fd3466ec0..989f3ced6b826a 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-row-count.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-row-count.md @@ -21,7 +21,7 @@ O comando `VP SET ROW COUNT` def Em *vpAreaName*, passe o nome da área 4D View Pro. Se passar um nome que não existe, é devolvido um erro. -Pass the total number of rows in the *rowCount* parameter. \*rowCount tem de ser superior a 0. +Passe o número total de linhas no parâmetro *rowCount*. \*rowCount tem de ser superior a 0. In the optional *sheet* parameter, you can designate a specific spreadsheet where the *rowCount* will be applied (counting begins at 0). Se omitido, a planilha atual será utilizada por padrão. Você pode selecionar explicitamente a planilha atual com a seguinte constante: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-values.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-values.md index a51f5d23cd043e..19a22c57737b82 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-values.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/commands/vp-set-values.md @@ -20,7 +20,7 @@ O comando `VP SET VALUES` atribui um Em *rangeObj*, passe um intervalo para a célula (criada com [`VP Cell`](vp-cell.md)) cujo valor você deseja especificar. The cell defined in the *rangeObj* is used to determine the starting point. -> - If *rangeObj* is not a cell range, only the first cell of the range is used. +> - Se *rangeObj* não for um intervalo de células, somente a primeira célula do intervalo será usada. > - If *rangeObj* includes multiple ranges, only the first cell of the first range is used. O parâmetro *valuesCol* é bidimensional: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md b/i18n/pt/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md index 09d84d7baaf1c3..1d59d2899523cb 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WebServer/http-request-handler.md @@ -280,7 +280,7 @@ O arquivo **HTTPHandlers.json**: The called URL is: http://127.0.0.1:8044/putFile?fileName=testFile -The binary content of the file is put in the body of the request and a POST verb is used. The file name is given as parameter (*fileName*) in the URL. Ele é recebido no objeto [`urlQuery`](../API/IncomingMessageClass.md#urlquery) na solicitação. +The binary content of the file is put in the body of the request and a POST verb is used. O nome do arquivo é fornecido como parâmetro (*fileName*) no URL. Ele é recebido no objeto [`urlQuery`](../API/IncomingMessageClass.md#urlquery) na solicitação. ```4d //UploadFile class diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WebServer/httpRequests.md b/i18n/pt/docusaurus-plugin-content-docs/current/WebServer/httpRequests.md index a4717b81501315..322909f79b5c2b 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WebServer/httpRequests.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WebServer/httpRequests.md @@ -88,7 +88,7 @@ The $BrowserIP parameter receives the IP address of the browser’s machine. Ess ### $ServerIP - Endereço IP do servidor -The $ServerIP parameter receives the IP address requested by the 4D Web Server. 4D permite multi-home que você pode usar máquinas com mais de um endereço IP. Para más información, consulte la [página Configuración](webServerConfig.html#ip-address-to-listen). +O parâmetro $ServerIP recebe o endereço IP solicitado pelo 4D Web Server. 4D permite multi-home que você pode usar máquinas com mais de um endereço IP. Para más información, consulte la [página Configuración](webServerConfig.html#ip-address-to-listen). ### $user e $password - Nome de usuário e senha diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-add-picture.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-add-picture.md index ee873457210eac..761b0c8a747c61 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-add-picture.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-add-picture.md @@ -22,13 +22,13 @@ displayed_sidebar: docs The **WP Add picture** command anchors the picture passed as parameter at a fixed location within the specified *wpDoc* and returns its reference. The returned reference can then be passed to the [WP SET ATTRIBUTES](wp-set-attributes.md) command to move the picture to any location in *wpDoc* (page, section, header, footer, etc.) with a defined layer, size, etc. -In *wpDoc*, pass the name of a 4D Write Pro document object. +Em *wpDoc*, passe o nome de um objeto documento 4D Write Pro. For the optional second parameter, you can pass either: - Em *picture*: uma imagem 4D - In *picturePath*: A string containing a path to a picture file stored on disk (system syntax). You can pass a full pathname, or a pathname relative to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. If you pass a file name, you need to indicate the file extension. -- In *PictureFileObj*: a `4D.File` object representing a picture file. +- Em *PictureFileObj*: um objeto `4D.File` que representa um arquivo imagem. :::note @@ -48,8 +48,8 @@ The location, layer (inline, in front/behind text), visibility, and any properti **Nota:** o comando [WP Selection range](../commands-legacy/wp-selection-range.md) retorna um objeto *referência de imagem* se uma imagem ancorada for selecionada e um objeto *alcance* se uma imagem em linha for selecionada. You can determine if a selected object is a picture object by checking the `wk type` attribute: -- **Value = 2**: The selected object is a picture object. -- **Value = 0**: The selected object is a range object. +- **Value = 2**: o objeto selecionado é um objeto imagem. +- **Value = 0**: o objeto selecionado é um objeto intervalo. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-delete-subsection.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-delete-subsection.md index ca2d3938b2e6b1..3014efd3e287df 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-delete-subsection.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-delete-subsection.md @@ -23,7 +23,7 @@ The **WP DELETE SUBSECTION** command exports the *wpDoc* 4D Write Pro object to a document on disk according to the *filePath* or *fileObj* parameter as well as any optional parameters. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +Em *wpDoc*, passe o objeto 4D Write Pro que você deseja exportar. Você pode passar um *filePath* ou *fileObj*: @@ -62,7 +62,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Used for resampling (reducing) images to preferred resolution. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Nota:** o índice de páginas é independente da numeração de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Possible values: True/False | @@ -72,7 +72,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk visible references | visibleReferences | Displays or exports all 4D expressions inserted in the document as references. Possible values: True/False | | wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` and `wk web page complete` export formats. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | -The following table indicates the *option* available per export *format*: +A tabela a seguir indica a *option* disponível por *format* de exportação: | | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page complete** | **wk svg** | | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md index c91e9fcb72904b..36aa9b48594897 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-export-variable.md @@ -22,7 +22,7 @@ displayed_sidebar: docs The **WP EXPORT VARIABLE** command exports the *wpDoc* 4D Write Pro object to the 4D *destination* variable in the specified *format*. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +Em *wpDoc*, passe o objeto 4D Write Pro que você deseja exportar. In *destination*, pass the variable that you want to fill with the exported 4D Write Pro object. The type of this variable depends on the export format specified in the *format* parameter: @@ -62,7 +62,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Used for resampling (reducing) images to preferred resolution. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Nota:** o índice de páginas é independente da numeração de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Possible values: True/False | @@ -72,7 +72,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk visible references | visibleReferences | Displays or exports all 4D expressions inserted in the document as references. Possible values: True/False | | wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` export format. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | -The following table indicates the *option* available per export *format*: +A tabela a seguir indica a *option* disponível por *format* de exportação: | | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page html 4d** | **wk svg** | | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md index a3a5416a6caaf2..52ec157e5d1a03 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md @@ -28,7 +28,7 @@ Em *targetObj*, você pode passar: - an element (header / footer / body / table / paragraph / anchored or inline picture / section / subsection / style sheet), or - um documento 4D Write Pro -In *attribName*, pass the name of the attribute you want to retrieve. +Em *attribName*, passe o nome do atributo que você deseja recuperar. You can also pass a collection of attribute names in *attribColl*, in which case the command will return an object containing the attribute names passed in *attribColl* along with their corresponding values. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-import-document.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-import-document.md index c480e4732d474a..9ff1017e383ae1 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-import-document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-import-document.md @@ -37,7 +37,7 @@ The following types of documents are supported: An error is returned if the *filePath* or *fileObj* parameter is invalid, if the file is missing, or if the file format is not supported. -The optional *option* parameter allows defining import options for: +O parâmetro *option* opcional permite definir opções de importação para: - **longint** @@ -51,21 +51,21 @@ By default, HTML expressions inserted in legacy 4D Write documents are not impor You can pass an object to define how the following attributes are handled during the import operation: -| **Attribute** | **Tipo** | **Description** | -| ----------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| anchoredTextAreas | Text | Somente para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- As áreas de texto ancoradas são ignoradas. **Note**: The layout and the number of pages in the document may change. See also *How to import .docx format* | -| anchoredImages | Text | Somente para documentos MS Word (.docx). Specifies how anchored images are handled. Available values:

    **all** (default) - All anchored images are imported as anchored images with their text wrapping properties (exception: the .docx wrapping option "tight" is imported as wrap square). **ignoreWrap** \- Anchored images are imported, but any text wrapping around the image is ignored. **ignore** \- Imagens ancoradas não são importadas. | -| sections | Text | Somente para documentos MS Word (.docx). Specifies how section are handled. Valores disponíveis:

    **all** (padrão) - Todas as seções são importadas. Continuous, even, or odd sections are converted to standard sections. **ignore** \- Sections are converted to default 4D Write Pro sections (A4 portrait layout without header or footer). **Note**: Section breaks of any type but continuous are converted to section breaks with page break. Continuous section breaks are imported as continuous section breaks. | -| fields | Text | Somente para documentos MS Word (.docx). Specifies how .docx fields that can't be converted to 4D Write Pro formulas are handled. Available values:

    **ignore** \- .docx fields are ignored. **label** \- .docx field references are imported as labels within double curly braces ("{{ }}"). Ex: The "ClientName" field would be imported as {{ClientName}}. **value** (default) - The last computed value for the .docx field (if available) is imported. **Note**: If a .docx field corresponds to a 4D Write Pro variable, the field is imported as a formula and this option is ignored. | -| borderRules | Text | Somente para documentos MS Word (.docx). Specifies how paragraph borders are handled. Available values:

    **collapse** \- Paragraph formatting is modified to mimic automatically collapsed borders. Note that the collapse property only applies during the import operation. If a stylesheet with a automatic border collapse setting is reapplied after the import operation, the setting will be ignored. **noCollapse** (default) - Paragraph formatting is not modified. | -| preferredFontScriptType | Text | Somente para documentos MS Word (.docx). Specifies the preferred typeface to use when different typefaces are defined for a single font property in OOXML. Available values:

    **latin** (default) - Latin script **bidi** \- Bidrectional script. Suitable if document is mainly bidirectional left-to-right (LTR) or right-to-left (RTL) text (e.g., Arabic or Hebrew). **eastAsia** \- East Asian script. Suitable if document is mainly Asian text. | -| htmlExpressions | Text | Somente para documentos 4D Write (.4w7). Specifies how HTML expressions are handled. Available values:

    **rawText** \- HTML expressions are imported as raw text within ##htmlBegin## and ##htmlEnd## tags **ignore** (default) - HTML expressions are ignored. | -| importDisplayMode | Text | Somente para documentos 4D Write (.4w7). Specifies how image display is handled. Available values:

    **legacy -** 4W7 image display mode is converted using a background image if different than scaled to fit. **noLegacy** (default) - 4W7 image display mode is converted to the *imageDisplayMode* attribute if different than scaled to fit. | +| **Attribute** | **Tipo** | **Description** | +| ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| anchoredTextAreas | Text | Somente para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- As áreas de texto ancoradas são ignoradas. **Note**: The layout and the number of pages in the document may change. See also *How to import .docx format* | +| anchoredImages | Text | Somente para documentos MS Word (.docx). Specifies how anchored images are handled. Available values:

    **all** (default) - All anchored images are imported as anchored images with their text wrapping properties (exception: the .docx wrapping option "tight" is imported as wrap square). **ignoreWrap** \- Anchored images are imported, but any text wrapping around the image is ignored. **ignore** \- Imagens ancoradas não são importadas. | +| sections | Text | Somente para documentos MS Word (.docx). Specifies how section are handled. Valores disponíveis:

    **all** (padrão) - Todas as seções são importadas. Continuous, even, or odd sections are converted to standard sections. **ignore** \- Sections are converted to default 4D Write Pro sections (A4 portrait layout without header or footer). **Note**: Section breaks of any type but continuous are converted to section breaks with page break. Continuous section breaks are imported as continuous section breaks. | +| fields | Text | Somente para documentos MS Word (.docx). Specifies how .docx fields that can't be converted to 4D Write Pro formulas are handled. Valores disponíveis:

    **ignore** \- Os campos .docx são ignorados. **label** \- .docx field references are imported as labels within double curly braces ("{{ }}"). Ex: The "ClientName" field would be imported as {{ClientName}}. **value** (default) - The last computed value for the .docx field (if available) is imported. **Note**: If a .docx field corresponds to a 4D Write Pro variable, the field is imported as a formula and this option is ignored. | +| borderRules | Text | Somente para documentos MS Word (.docx). Specifies how paragraph borders are handled. Available values:

    **collapse** \- Paragraph formatting is modified to mimic automatically collapsed borders. Note that the collapse property only applies during the import operation. If a stylesheet with a automatic border collapse setting is reapplied after the import operation, the setting will be ignored. **noCollapse** (padrão) - A formatação do parágrafo não é modificada. | +| preferredFontScriptType | Text | Somente para documentos MS Word (.docx). Specifies the preferred typeface to use when different typefaces are defined for a single font property in OOXML. Available values:

    **latin** (default) - Latin script **bidi** \- Bidrectional script. Suitable if document is mainly bidirectional left-to-right (LTR) or right-to-left (RTL) text (e.g., Arabic or Hebrew). **eastAsia** \- East Asian script. Suitable if document is mainly Asian text. | +| htmlExpressions | Text | Somente para documentos 4D Write (.4w7). Specifies how HTML expressions are handled. Available values:

    **rawText** \- HTML expressions are imported as raw text within ##htmlBegin## and ##htmlEnd## tags **ignore** (default) - HTML expressions are ignored. | +| importDisplayMode | Text | Somente para documentos 4D Write (.4w7). Specifies how image display is handled. Available values:

    **legacy -** 4W7 image display mode is converted using a background image if different than scaled to fit. **noLegacy** (default) - 4W7 image display mode is converted to the *imageDisplayMode* attribute if different than scaled to fit. | **Notas de compatibilidade** - *Character style sheets in legacy 4D Write documents use a proprietary mechanism, which is not supported by 4D Write Pro. To get the best result for imported text, style sheet attributes are converted to "hard coded" style attributes. Legacy character style sheets are not imported and are no longer referenced in the document.* -- *Support for importing in .docx format is only certified for Microsoft Word 2010 and newer. Older versions, particularly Microsoft Word 2007, may not import correctly.* +- *Support for importing in .docx format is only certified for Microsoft Word 2010 and newer. As versões mais antigas, especialmente Microsoft Word 2007, podem não ser importadas corretamente.* ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-break.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-break.md index 87891d6748d4bf..cf72c3ff293f20 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-break.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-break.md @@ -56,7 +56,7 @@ In the *mode* parameter, pass a constant to indicate the insertion mode to be us If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-document-body.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-document-body.md index 96d5611f269f97..239c8e669184cd 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-document-body.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-document-body.md @@ -54,7 +54,7 @@ In the *rangeUpdate* parameter (Optional); if *targetObj* is a range, you can pa If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-formula.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-formula.md index 3722c7a3edee18..45918a3118092e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-formula.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-formula.md @@ -22,13 +22,13 @@ displayed_sidebar: docs The **WP Insert formula** command inserts a *formula* in *targetObj* according to the specified insertion *mode* and returns the resulting text range. -In the *targetObj* parameter, you can pass: +No parâmetro *targetObj*, você pode passar: - um intervalo, ou - an element (table / row / cell(s) / paragraph / body / header / footer / section / subsection / inline picture), or - um documento 4D Write Pro. -In the *formula* parameter, pass the 4D formula to evaluate. Pode passar: +No parâmetro *formula*, passe a fórmula 4D a ser avaliada. Pode passar: - either a [formula object](../../commands/formula.md-objects) created by the [**Formula**](../../commands/formula.md) or [**Formula from string**](../../commands/formula.md-from-string) command, - or an object containing two properties: @@ -57,7 +57,7 @@ In the *mode* parameter, pass one of the following constants to indicate the ins If you do not pass a *rangeUpdate* parameter, by default the inserted *formula* is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. :::note diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-picture.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-picture.md index 7e5eb462367b75..919ad9fa7f90e0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-picture.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-insert-picture.md @@ -35,7 +35,7 @@ For the second parameter, you can pass either: - A picture field or variable - A string containing a path to a picture file stored on disk, in the system syntax. If you use a string, you can pass either a full pathname, or a pathname relative to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. -- In *pictureFileObj* : a `File` object representing a picture file. +- Em *pictureFileObj*: um objeto `File` que representa um arquivo imagem. Qualquer formato imagem [suportado por 4D](../../FormEditor/pictures.md#native-formats-supported) pode ser usado. You can get the list of available picture formats using the [PICTURE CODEC LIST](../../commands-legacy/picture-codec-list.md) command. If the picture encapsulates several formats (codecs), 4D Write Pro only keeps one format for display and one format for printing (if different) in the document; the "best" formats are automatically selected. @@ -56,7 +56,7 @@ If *targetObj* is a range, you can optionally use the *rangeUpdate* parameter to If you do not pass a *rangeUpdate* parameter, by default the inserted picture is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md index 3ddf67de5ec4ec..7e0414b17be314 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md @@ -23,13 +23,13 @@ The **WP RESET ATTRIBUTES** command **Last errors** : Collection - -| Parâmetro | Tipo | | Descrição | -| --- | --- | --- | --- | -| Resultado | Collection | ← | Collection of error objects | - - - -## Descrição - -O comando **Last errors** devolve a pilha atual de erros da aplicação 4D como uma coleção de objetos de erro, ou **null** se não tiver produzido nenhum erro. A pilha de erros inclui os objetos enviados pelo comando [throw](throw.md), se houver. - -Cada objeto de erro contém os atributos abaixo: - -| **Propriedade** | **Tipo** | **Descrição** | -| ------------------ | -------- | ---------------------------------------------------- | -| errCode | number | Código de erro | -| message | text | Descrição de erro | -| componentSignature | text | Assinatura de componente interno que devolveu o erro | - - -:::nota - -Para obter uma descrição das assinaturas de componentes, consulte a seção [Códigos de erro](../Concepts/error-handling.md#error-codes). - -::: - -Este comando deve ser chamado desde um método de chamada de erro instalado pelo comando [ON ERR CALL](on-err-call.md). - - -## Ver também - -[ON ERR CALL](on-err-call.md) -[throw](throw.md) -[Error handling](../Concepts/error-handling.md) - -## Propriedades - -| | | -| --- | --- | -| Número do comando | 1799 | -| Thread-seguro | ✓ | - - diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md index 94253d0fd08887..c7f16d5eb12a45 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/mobile-app-refresh-sessions.md @@ -22,7 +22,7 @@ O comando verifica o cumprimento de cada arquivo de sessão na pasta MobileApps Se um arquivo de sessão não for válido ou tiver sido eliminado, a sessão correspondente é eliminada da memória. -O comando pode devolver um dos erros abaixo, que pode ser manejado através dos comandos [ON ERR CALL](on-err-call.md) e [Last errors](last-errors.md) : +O comando pode devolver um dos erros abaixo, que pode ser manejado através dos comandos [ON ERR CALL](on-err-call.md) e [Last errors](../commands/last-errors.md) : | **Nome do componente** | **Código de erro** | **Descrição** | | ---------------------- | ------------------ | ----------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md index 284b1f518ac151..c076f29921b443 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ Para as necessidades de sua interface, você deseja rodear a área na que o usu No método objeto do listbox, pode escrever: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //inicializar um retângulo vermelho + OBJECT SET VISIBLE(*;"RedRect";False) //inicializar um retângulo vermelho  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md index 6103a09fa53f59..5056ad19e6303e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/on-err-call.md @@ -39,7 +39,7 @@ O alcance deste comando determina o contexto de execução onde um erro ativa a Pode identificar erros lendo a variável sistema Error, a qual contém o número de código do erro. Os códigos de erros são listados no tema *Códigos de Erro*. Para maior informação, consulte a seção *Erros de Sintaxe (1 -> 81)*. O valor da variável Error é significativo só no método de gestão de erros; se necessitar o código do erro no método que provocou o erro, copie a variável Error em sua própria variável processo. Também pode acessar as variáveis sistema Error method e Error line as quais contém respectivamente, o nome do método e o número de linha onde ocorreu o erro (ver *Error, Error method, Error line*). -Pode usar o comando [Last errors](last-errors.md) ou [Last errors](last-errors.md) para obter a sequência de errors (ou seja a pilha de erros) na fonte da interrupçãoo. +Pode usar o comando [Last errors](../commands/last-errors.md) ou [Last errors](../commands/last-errors.md) para obter a sequência de errors (ou seja a pilha de erros) na fonte da interrupçãoo. O método de gestão de erros deve tratar os erros de maneira apropriada ou mostrar uma mensagem de erro ao usuário. Os erros podem ser gerados por: @@ -181,8 +181,8 @@ O método abaixo de gestão de erros ignora as interrupções de usuário e most [ABORT](abort.md) *Error Handler* -[Last errors](last-errors.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) +[Last errors](../commands/last-errors.md) [Method called on error](method-called-on-error.md) *Variáveis sistema* diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md index 1f30ebbb1929d9..bbdff03e965fbf 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/php-execute.md @@ -50,7 +50,7 @@ Os parâmetros *param1...N* são enviados em PHP no formato JSON em UTF-8\. Eles **Nota:** por razões técnicas, o tamanho dos parâmetros passados através do protocolo FastCGI não deve passar os 64 KB. Deve considerar esta limitação se utiliza parâmetros de tipo Texto. -O comando devolve True se a execução for realizada corretamente do lado de 4D, em outras palavras, se o lançamento do ambiente de execução, a abertura do script e o estabelecimento da comunicação com o intérprete PHP foram exitosos. Do contrário, se gera um erro, que pode interceptar com o comando [ON ERR CALL](on-err-call.md "ON ERR CALL") e analizar com [Last errors](last-errors.md). +O comando devolve True se a execução for realizada corretamente do lado de 4D, em outras palavras, se o lançamento do ambiente de execução, a abertura do script e o estabelecimento da comunicação com o intérprete PHP foram exitosos. Do contrário, se gera um erro, que pode interceptar com o comando [ON ERR CALL](on-err-call.md "ON ERR CALL") e analizar com [Last errors](../commands/last-errors.md). Além disso, o script mesmo pode gerar erros PHP. Neste caso, deve utilizar o comando [PHP GET FULL RESPONSE](php-get-full-response.md "PHP GET FULL RESPONSE") para analizar a fonte do erro (ver exemplo 4). **Nota:** PHP permite configurar a gestão de erros. Para maior informação, consulte por exemplo a página: . diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md index 900a840053aaab..bde397076897ae 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Descrição -Printing page devolvido o número da página em impressão. Pode ser utilizado só quando esteja imprimindo com [PRINT SELECTION](print-selection.md) ou com o menu Impressão no ambiente Usuário. +Printing page devolvido o número da página em impressão. ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md index 9c2caadd9c0e8b..9bddf0eb395755 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/sql-get-last-error.md @@ -30,7 +30,7 @@ Os dos últimos parâmetros apenas são preenchidos quando o erro vem da fonte O ## Ver também -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## Propriedades diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/throw.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/throw.md index 703350ee5cb154..94fabd42170ddd 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/throw.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/throw.md @@ -57,7 +57,7 @@ Quando se utilizar esta sintaxe, o objeto *errorObj* se devolve em Últimos erro Lança todos os erros atuais em **modo diferido**, o que significa que se adicionarão a uma pilha e serão geridas quando voltar ao método que os chama. Isso se faz tipicamente desde dentro de uma retrochamada [ON ERR CALL](on-err-call.md). -* **Em uma aplicação**: quando se produz um erro, se adiciona à pilha de erros e se chama ao método [ON ERR CALL](on-err-call.md) da aplicação ao final do método atual. A função [Last errors](last-errors.md) devolve a pilha de erros. +* **Em uma aplicação**: quando se produz um erro, se adiciona à pilha de erros e se chama ao método [ON ERR CALL](on-err-call.md) da aplicação ao final do método atual. A função [Last errors](../commands/last-errors.md) devolve a pilha de erros. * **Como consequência, em um componente:** a pilha de erros pode ser enviada à aplicação local e se chama ao método [ON ERR CALL](on-err-call.md) da aplicação local. ## Exemplo 1 @@ -103,7 +103,7 @@ throw({componentSignature: "xbox"; errCode: 600; name: "myFileName"; path: "myFi ## Ver também [ASSERT](assert.md) -[Last errors](last-errors.md) +[Last errors](../commands/last-errors.md) [ON ERR CALL](on-err-call.md) ## Propriedades diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md index 2c0e689355366a..99c38736146dff 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands-legacy/verify-password-hash.md @@ -23,7 +23,7 @@ Esta função compara a *senha* com um *hash* gerado pela função [Generate pas ### Gestão de erros -Os erros abaixo podem ser devolvidos. Pode revisar um erro com os comandos [Last errors](last-errors.md) e [ON ERR CALL](on-err-call.md). +Os erros abaixo podem ser devolvidos. Pode revisar um erro com os comandos [Last errors](../commands/last-errors.md) e [ON ERR CALL](on-err-call.md). | **Número** | **Mensagem** | | ---------- | ---------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/command-index.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/command-index.md index 3a001b02dee574..79fd549fb8f63b 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/command-index.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/command-index.md @@ -530,7 +530,7 @@ title: Índice L -[`Last errors`](../commands-legacy/last-errors.md)
    +[`Last errors`](last-errors.md)
    [`Last field number`](../commands-legacy/last-field-number.md)
    [`Last query path`](../commands-legacy/last-query-path.md)
    [`Last query plan`](../commands-legacy/last-query-plan.md)
    diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/command-name.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/command-name.md index ba59d793bd9505..b3ed05a76ea744 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/command-name.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/command-name.md @@ -34,11 +34,11 @@ The **Command name** command returns t Two optional parameters are available: -- *info*: propriedades do comando. The returned value is a *bit field*, where the following bits are meaningful: +- *info*: propriedades do comando. O valor retornado é um *campo de bits*, em que os seguintes bits são significativos: - First bit (bit 0): set to 1 if the command is [**thread-safe**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (i.e., compatible with execution in a preemptive process) and 0 if it is **thread-unsafe**. Only thread-safe commands can be used in [preemptive processes](../Develop/preemptive.md). - Second bit (bit 1): set to 1 if the command is **deprecated**, and 0 if it is not. A deprecated command will continue to work normally as long as it is supported, but should be replaced whenever possible and must no longer be used in new code. Deprecated commands in your code generate warnings in the [live checker and the compiler](../code-editor/write-class-method.md#warnings-and-errors). -*theme*: name of the 4D language theme for the command. +*theme*: nome do tema da linguagem 4D para o comando. The **Command name** command sets the *OK* variable to 1 if *command* corresponds to an existing command number, and to 0 otherwise. Note, however, that some existing commands have been disabled, in which case **Command name** returns an empty string (see last example). diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/dialog.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/dialog.md index bdca6b3a37d7e4..97caecc03743db 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/dialog.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/dialog.md @@ -8,12 +8,12 @@ displayed_sidebar: docs -| Parâmetro | Tipo | | Descrição | -| --------- | ------------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| aTable | Tabela | → | Tabela possuindo o formulário ou se omitido: tabela padrão ou uso do formulário projeto | -| form | Text, Object | → | Name (string) of table or project form, or a POSIX path (string) to a .json file describing the form, or an object describing the form | -| formData | Object | → | Data to associate to the form | -| \* | Operador | → | Usar o mesmo processo | +| Parâmetro | Tipo | | Descrição | +| --------- | ------------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| aTable | Tabela | → | Tabela possuindo o formulário ou se omitido: tabela padrão ou uso do formulário projeto | +| form | Text, Object | → | Nome (string) da tabela ou formulário do projeto, ou um caminho POSIX (string) para um arquivo .json descrevendo o formulário, ou um objeto descrevendo o formulário | +| formData | Object | → | Dados para associar ao formulário | +| \* | Operador | → | Usar o mesmo processo | @@ -21,43 +21,43 @@ displayed_sidebar: docs The **DIALOG** command presents the *form* to the user, along with *formData* parameter(s) (optional). -This command is designed to work with customized and advanced user interfaces based on forms. You can use it to display information coming from the database or other locations, or to provide data entry features. Unlike [ADD RECORD](../commands-legacy/add-record.md) or [MODIFY RECORD](../commands-legacy/modify-record.md), **DIALOG** gives you full control over the form, its contents and the navigation and validation buttons. +This command is designed to work with customized and advanced user interfaces based on forms. Você pode usá-lo para exibir informações provenientes do banco de dados ou de outros locais, ou para fornecer recursos de entrada de dados. Unlike [ADD RECORD](../commands-legacy/add-record.md) or [MODIFY RECORD](../commands-legacy/modify-record.md), **DIALOG** gives you full control over the form, its contents and the navigation and validation buttons. -This command is typically called along with the [Open form window](../commands-legacy/open-form-window.md) to display sophisticated forms, as shown in the following example: +Normalmente, esse comando é chamado junto com [Open form window](../commands-legacy/open-form-window.md) para exibir formulários sofisticados, conforme mostrado no exemplo a seguir: ![](../assets/en/commands/pict3541609.en.png) -The **DIALOG** command can also be used instead of [ALERT](../commands-legacy/alert.md), [CONFIRM](../commands-legacy/confirm.md) or [Request](../commands-legacy/request.md) when the information to be presented or gathered is more complex than those commands can manage. +O comando **DIALOG** também pode ser usado em vez de [ALERT](../commands-legacy/alert.md), [CONFIRM](../commands-legacy/confirm.md) ou [Request](../commands-legacy/request.md) quando as informações a serem apresentadas ou reunidas são mais complexas do que esses comandos podem gerir. -In the *form* parameter, you can pass: +No parâmetro *form*, você pode passar: -- the name of a form (project form or table form) to use; -- the path (in POSIX syntax) to a valid .json file containing a description of the form to use; -- an object containing a description of the form to use. +- o nome de um formulário (formulário de projeto ou formulário de tabela) a ser usado; +- o caminho (na sintaxe POSIX) para um arquivo .json válido que contém uma descrição do formulário a ser usado; +- um objeto que contém uma descrição do formulário a ser usado. -Optionally, you can pass parameter(s) to the *form* using a "form data" object. Any properties of the form data object will then be available from within the form context through the [Form](form.md) command. For example, if you use a form data object containing {"version";"12"}, you will be able to get or set the value of the "version" property in the form by calling: +Opcionalmente, você pode passar parâmetro(s) para o *formulário* usando um objeto "dados do formulário". Todas as propriedades do objeto de dados do formulário estarão disponíveis no contexto do formulário por meio do comando [Form](form.md). Por exemplo, se você usar um objeto de dados de formulário contendo {"version"; "12"}, poderá obter ou definir o valor da propriedade "version" no formulário chamando: ```4d $v:=Form.version //"12" Form.version:=13 ``` -To fill the "form data" object, you have two possibilities: +Para preencher o objeto "form data", você tem duas possibilidades: -- use o parâmetro *formData*. Using a local variable for *formData* allows you to safely pass parameters to your forms, whatever the calling context. In particular, if the same form is called from different places in the same process, you will always be able to access its specific values by simply calling [Form](form.md).myProperty. Moreover, since objects are passed by reference, if the user modifies a property value in the form, it will automatically be saved in the object itself. +- use o parâmetro *formData*. O uso de uma variável local para *formData* permite que você passe parâmetros com segurança para seus formulários, independentemente do contexto de chamada. Em particular, se o mesmo formulário for chamado de diferentes lugares no mesmo processo, você sempre poderá acessar seus valores específicos simplesmente chamando [Form](form.md).myProperty. Além disso, uma vez que os objetos são passados por referência, se o usuário modifica um valor de propriedade no formulário, ele será automaticamente salvo no objeto em si. -- [associate a user class to the form](../FormEditor/properties_FormProperties.md#form-class), in which case 4D will automatically instantiate an object of this class when the form will be loaded. The object properties and functions will be automatically available through the object returned by [Form](form.md). You could write for example `Form.myFunction()`. +- [associar uma classe de usuário ao formulário](../FormEditor/properties_FormProperties.md#form-class), caso em que o 4D instanciará automaticamente um objeto dessa classe quando o formulário for carregado. As propriedades e funções do objeto estarão automaticamente disponíveis através do objeto retornado por [Form](form.md). Você poderia escrever por exemplo `Form.myFunction()`. :::note -- The *formData* parameter has priority over a form class (the class object is not instantiated if a *formData* parameter is passed). -- If you do not pass the *formData* parameter (or if you pass an undefined object) and no user class is associated to the form, **DIALOG** creates a new empty object bound to the *form*. +- O parâmetro *formData* tem prioridade sobre uma classe de formulário (o objeto de classe não é instanciado se um parâmetro *formData* for passado). +- Se você não passar o parâmetro *formData* (ou se passar um objeto indefinido) e nenhuma classe de usuário estiver associada ao formulário, **DIALOG** criará um novo objeto vazio vinculado ao *formulário*. ::: -The dialog is closed by the user either with an "accept" action (triggered by the ak accept standard action, the Enter key, or the [ACCEPT](../commands-legacy/accept.md) command), or with a "cancel" action (triggered by the ak cancel standard action, the Escape key, or the [CANCEL](../commands-legacy/cancel.md) command). An accept action will set the OK system variable to 1, while a cancel action will set OK to 0\. +A caixa de diálogo é fechada pelo usuário com uma ação de "aceitação" (acionada pela ação padrão ak accept, pela tecla Enter ou pelo comando [ACCEPT](../commands-legacy/accept.md)) ou com uma ação de "cancelamento" (acionada pela ação padrão ak cancel, pela tecla Escape ou pelo comando [CANCEL](../commands-legacy/cancel.md)). Uma ação de aceitação definirá a variável de sistema OK como 1, enquanto uma ação de cancelamento definirá OK como 0\. -Keep in mind that validation does not equal saving: if the dialog includes fields, you must explicitly call the [SAVE RECORD](../commands-legacy/save-record.md) command to save any data that has been modified. +Lembre-se de que a validação não é igual a gravação: se o diálogo incluir campos, você deve chamar explicitamente o comando [SAVE RECORD](../commands-legacy/save-record.md) para salvar todos os dados que foram modificados. If you pass the optional *\** parameter, the form is loaded and displayed in the last open window of the current process and the command finishes its execution while leaving the active form on the screen.\ If you pass the optional *\** parameter, the form is loaded and displayed in the last open window of the current process and the command finishes its execution while leaving the active form on the screen.\ @@ -65,76 +65,76 @@ If you pass the optional *\** parameter, the form is loaded and displayed in the This form then reacts “normally” to user actions and is closed using a standard action or when 4D code related to the form (object method or form method) calls the [CANCEL](../commands-legacy/cancel.md) or [ACCEPT](../commands-legacy/accept.md) command.\ If you pass the optional *\** parameter, the form is loaded and displayed in the last open window of the current process and the command finishes its execution while leaving the active form on the screen.\ If you pass the optional *\** parameter, the form is loaded and displayed in the last open window of the current process and the command finishes its execution while leaving the active form on the screen.\ -This form then reacts “normally” to user actions and is closed using a standard action or when 4D code related to the form (object method or form method) calls the [CANCEL](../commands-legacy/cancel.md) or [ACCEPT](../commands-legacy/accept.md) command. If the current process terminates, the forms created in this way are automatically closed in the same way as if a [CANCEL](../commands-legacy/cancel.md) command had been called. This opening mode is particularly useful for displaying a floating palette with a document, without necessarily requiring another process. +This form then reacts “normally” to user actions and is closed using a standard action or when 4D code related to the form (object method or form method) calls the [CANCEL](../commands-legacy/cancel.md) or [ACCEPT](../commands-legacy/accept.md) command. Se o processo atual for encerrado, os formulários criados dessa forma serão automaticamente fechados da mesma forma como se um comando [CANCEL](../commands-legacy/cancel.md) tivesse sido chamado. Esse modo de abertura é particularmente útil para exibir uma paleta flutuante com um documento, sem necessariamente exigir outro processo. **Notas:** -- You can combine the use of the **DIALOG**(form;\*) syntax with the [CALL FORM](../commands-legacy/call-form.md) command to establish communication between the forms. -- You must create a window before calling the **DIALOG**(form;\*) statement. It is not possible to use the current dialog window in the process nor the window created by default for each process. Otherwise, error -9909 is generated. -- When the *\** parameter is used, the window is closed automatically following a standard action or a call to the [CANCEL](../commands-legacy/cancel.md) or [ACCEPT](../commands-legacy/accept.md) command. You do not have to manage the closing of the window itself. +- Você pode combinar o uso da sintaxe **DIALOG**(formulário;\*) com o comando [CHAMAR FORM](../commands-legacy/call-form.md) para estabelecer a comunicação entre os formulários. +- Você deve criar uma janela antes de chamar a instrução **DIALOG**(formulário;\*). Não é possível usar a janela de diálogo atual no processo nem a janela criada por padrão para cada processo. Caso contrário, o erro -9909 é gerado. +- Quando o parâmetro *\** é usado, a janela é fechada automaticamente após uma ação padrão ou uma chamada para o comando [CANCEL](../commands-legacy/cancel.md) ou [ACCEPT](../commands-legacy/accept.md). Você não tem que gerenciar o fechamento da janela em si. ## Exemplo 1 -The following example can be used to create a tool palette: +O exemplo a seguir pode ser usado para criar uma paleta de ferramentas: ```4d - //Display tool palette + //Exibe a paleta de ferramentas $palette_window:=Open form window("tools";Palette form window) - DIALOG("tools";*) //Give back the control immediately - //Display main document windowl + DIALOG("tools";*) //Devolve o controle imediatamente + //Exibe a janela do documento principal $document_window:=Open form window("doc";Plain form window) DIALOG("doc") ``` ## Exemplo 2 -In a form displaying the record of a person, a "Check children" button opens a dialog to verify/modify the names and ages of their children: +Em um formulário que exibe o registro de uma pessoa, o botão "Check children" (Verificar filhos) abre uma caixa de diálogo para verificar/modificar os nomes e as idades dos filhos: ![](../assets/en/commands/pict3542015.en.png) -**Note:** The "Children" object field is represented only to show its structure for this example. +**Nota:** O campo de objeto "Children" é representado apenas para mostrar sua estrutura neste exemplo. No formulário de verificação, você atribuiu algumas propriedades do objeto [Form](form.md) a variáveis: ![](../assets/en/commands/pict3541682.en.png) -Here is the code for the "Check children" button: +Aqui está o código do botão "Check children": ```4d var $win;$n;$i : Integer var $save : Boolean - ARRAY OBJECT($children;0) - OB GET ARRAY([Person]Children;"children";$children) //get the children collection - $save:=False //initialize the save variable + ARRAY OBJECT($children; ) + OB GET ARRAY([Person]crianças;"crianças";$children) //get a coleção dos filhos + $save:=False //initialize a variável de salvamento $n:=Size of array($children) If($n>0) - $win:=Open form window("Edit_Children";Movable form dialog box) - SET WINDOW TITLE("Check children for "+[Person]Name) - For($i;1;$n) //for each child - DIALOG("Edit_Children";$children{$i}) //displays dialog filled with values - If(OK=1) //the user clicked OK - $save:=True - End if - End for + $win:=Abrir janela de forma ("Edit_Children"; Caixa de diálogo de formulário ovable) + SET WINDOW TITLE("Cheque os filhos para "+[Person]Nome) + For($i; ;$n) //para cada criança + DIALOG("Edit_Children";$children{$i}) //exibe um diálogo cheio de valores + If(OK=1) ///o usuário clicou em OK + $save:=Verdadeiro + End se + End para If($save=True) - [Person]Children:=[Person]Children //forces object field update - End if + [Person]Children:=[Person]Filhos//força atualização do campo de objeto + End se CLOSE WINDOW($win) Else - ALERT("No child to check.") - End if + ALERT("Não há filho para verificar. ) + finais, se ``` -The form displays information for each child: +O formulário exibe informações de cada criança: ![](../assets/en/commands/pict3515152.en.png) -If values are edited and the OK button is clicked, the field is updated (the parent record must be saved afterwards). +Se os valores forem editados e o botão OK for clicado, o campo será atualizado (o registro pai deverá ser salvo em seguida). ## Exemplo 3 -The following example uses the path to a .json form to display the records in an employee list: +O exemplo a seguir usa o caminho para um formulário .json para exibir os registros em uma lista de funcionários: ```4d Open form window("/RESOURCES/OutputPersonnel.json";Plain form window) @@ -142,13 +142,13 @@ The following example uses the path to a .json form to display the records in an DIALOG("/RESOURCES/OutputPersonnel.json";*) ``` -which displays: +que é exibido: ![](../assets/en/commands/pict3687439.en.png) ## Exemplo -The following example uses a .json file as an object and modifies a few properties: +O exemplo a seguir usa um arquivo .json como um objeto e modifica algumas propriedades: ```4d var $form : Object @@ -160,13 +160,13 @@ The following example uses a .json file as an object and modifies a few properti DIALOG($form;*) ``` -The altered form is displayed with the title, logo and border modified: +O formulário alterado é exibido com o título, o logotipo e a borda modificados: ![](../assets/en/commands/pict3688356.en.png) -## System variables and sets +## Variáveis e configurações do sistema -After a call to **DIALOG**, if the dialog is accepted, OK is set to 1; if it is canceled, OK is set to 0. +Depois de uma chamada para **DIALOG**, se a caixa de diálogo for aceita, OK está definido como 1; se for cancelado, OK está definido como 0. ## Veja também diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/form-event.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/form-event.md index 8bfa3ddb40c583..bbb6dd27fa4203 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/form-event.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/form-event.md @@ -17,11 +17,11 @@ displayed_sidebar: docs ## Descrição -**FORM Event** returns an object containing information about the form event that has just occurred.**FORM Event** returns an object containing information about the form event that has just occurred. Usually, you will use **FORM Event** from within a form or object method. +**FORM Event** returns an object containing information about the form event that has just occurred.O **FORM Event** retorna um objeto que contém informações sobre o evento de formulário que acabou de ocorrer. Normalmente, você usará **FORM Event** em um método formulário ou objeto. **Objeto devolvido** -Each returned object includes the following main properties: +Cada objeto retornado inclui as seguintes propriedades principais: | **Propriedade** | **Tipo** | **Description** | | --------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -29,22 +29,22 @@ Each returned object includes the following main properties: | code | integer | Valor numérico do evento de formulário. | | description | text | Nome do evento de formulário (\*por exemplo, \* "On After Edit"). Veja a seção [**Eventos Formulário**](../Events/overview.md). | -For example, in the case of a click on a button, the object contains the following properties: +Por exemplo, no caso de um clique em um botão, o objeto contém as seguintes propriedades: ```json {"code":4,"description":"On Clicked","objectName":"Button2"} ``` -The event object can contain additional properties, depending on the object for which the event occurs. For *eventObj* objects generated on: +O objeto evento pode conter propriedades adicionais, dependendo do objeto para o qual o evento ocorre. Para os objetos *eventObj* gerados em: - dos objetos list box ou coluna de list box, consulte [esta seção](../FormObjects/listbox_overview.md#additional-properties). - As areas 4D View Pro consulte no evento formulário [On VP Ready](../Events/onVpReady.md). -**Note:** If there is no current event, **FORM Event** returns a null object. +**Nota:** se não houver um evento atual, **FORM Event** retornará um objeto null. ## Exemplo 1 -You want to handle the On Clicked event on a button: +Você deseja manipular o evento On Clicked em um botão: ```4d  If(FORM Event.code=On Clicked) @@ -54,11 +54,11 @@ You want to handle the On Clicked event on a button: ## Exemplo 2 -If you set the column object name with a real attribute name of a dataclass like this: +Se você definir o nome do objeto coluna com um nome de atributo real de uma dataclass como esta: ![](../assets/en/commands/pict4843820.en.png) -You can sort the column using the On Header Click event: +Você pode classificar a coluna usando o evento On Header Click: ```4d  Form.event:=FORM Event @@ -72,11 +72,11 @@ You can sort the column using the On Header Click event: ## Exemplo 3 -You want to handle the On Display Details on a list box object with a method set in the *Meta info expression* property: +Você deseja tratar On Display Details em um objeto list box com um método definido na propriedade *Meta info expression*: ![](../assets/en/commands/pict4843812.en.png) -The *setColor* method: +O método *setColor*: ```4d  var $event;$0;$meta : Object @@ -92,7 +92,7 @@ The *setColor* method:  $0:=$meta ``` -The resulting list box when rows are selected: +O list box resultante quando as linhas são selecionadas: ![](../assets/en/commands/pict4843808.en.png) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/form-load.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/form-load.md index 5a1dfbabcc18e9..caede86c464802 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/form-load.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/form-load.md @@ -8,59 +8,59 @@ displayed_sidebar: docs -| Parâmetro | Tipo | | Descrição | -| --------- | ------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| aTable | Tabela | → | Table form to load (if omitted, load a project form) | -| form | Text, Object | → | Name (string) of form (project or table), ora POSIX path (string) to a .json file describing the form, or an object describing the form to open | -| formData | Object | → | Data to associate to the form | -| \* | Operador | → | If passed = command applies to host database when it is executed from a component (parameter ignored outside of this context) | +| Parâmetro | Tipo | | Descrição | +| --------- | ------------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| aTable | Tabela | → | Formulário tabela a ser carregado (se omitido, carrega um formulário projeto) | +| form | Text, Object | → | Nome (string) do formulário (projeto ou tabela), ou caminho POSIX (string) para um arquivo .json que descreve o formulário, ou um objeto que descreve o formulário a ser aberto | +| formData | Object | → | Dados para associar ao formulário | +| \* | Operador | → | Se passado = o comando se aplica ao banco de dados do host quando é executado a partir de um componente (parâmetro ignorado fora desse contexto) | ## Descrição -The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents.The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents. There can only be one current form per process. +The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents.O comando **FORM LOAD** é usado para carregar o *form* na memória no processo atual juntamente com *formData* (opcional) para imprimir seus dados ou analisar seu conteúdo. Só pode haver um formulário atual por processo. -In the *form* parameter, you can pass: +No parâmetro *form*, você pode passar: -- the name of a form, or -- the path (in POSIX syntax) to a valid .json file containing a description of the form to use, or -- an object containing a description of the form. +- o nome de um formulário, ou +- o caminho (na sintaxe POSIX) para um arquivo .json válido que contém uma descrição do formulário a ser usado, ou +- um objeto contendo uma descrição do formulário. -When the command is executed from a component, it loads the component forms by default. If you pass the *\** parameter, the method loads the host database forms. +Quando o comando for executado a partir de um componente, ele carrega os formulários de componente por padrão. Se você passar o parâmetro *\**, o método carrega os formulários do banco de dados de host. ### formData -Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). Any properties of the form data object will then be available from within the form context through the [Form](form.md) command. +Opcionalmente, é possível passar parâmetros para o *form* usando o objeto *formData* ou o objeto de classe de formulário instanciado automaticamente pelo 4D se você tiver [associado uma classe de usuário ao formulário] (../FormEditor/properties_FormProperties.md#form-class). Todas as propriedades do objeto de dados do formulário estarão disponíveis no contexto do formulário por meio do comando [Form](form.md). Any properties of the form data object will then be available from within the form context through the [Form](form.md) command. Para obter informações detalhadas sobre o objeto de dados do formulário, consulte o comando [`DIALOG`](dialog.md). -### Printing data +### Impressão de dados -In order to be able to execute this command, a print job must be opened beforehand using the [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md) command. The [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md) command makes an implicit call to the [FORM UNLOAD](../commands-legacy/form-unload.md) command, so in this context it is necessary to execute **FORM LOAD**. Once loaded, this *form* becomes the current printing form. Todos os comandos de gerenciamento de objetos e, em particular, o comando [Print object](../commands-legacy/print-object.md), funcionam com esse formulário. +Para poder executar este comando, uma tarefa de impressão deve ser aberta antes usando o comando [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md). O comando [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md) faz uma chamada implícita para o comando [FORM UNLOAD](../commands-legacy/form-unload.md), portanto, nesse contexto, é necessário executar **LOAD FORM**. Uma vez carregado, este *formulário* torna-se o formulário de impressão atual. Todos os comandos de gerenciamento de objetos e, em particular, o comando [Print object](../commands-legacy/print-object.md), funcionam com esse formulário. -If a printing form has already been loaded beforehand (via a previous call to the **FORM LOAD** command), it is closed and replaced by *form*. You can open and close several project forms in the same print session. Changing the printing form via the **FORM LOAD** command does not generate page breaks. It is up to the developer to manage page breaks. +Se um formulário de impressão já tiver sido carregado anteriormente (por meio de uma chamada anterior ao comando **FORM LOAD**), ele será fechado e substituído por *form*. Você pode abrir e fechar vários formulários de projeto na mesma sessão de impressão. A alteração do formulário de impressão por meio do comando **FORM LOAD** não gera quebras de página. Cabe ao desenvolvedor gerenciar as quebras de página. -Only the [`On Load` form event](../Events/onLoad.md) is executed during the opening of the project form, as well as any object methods of the form. Other form events are ignored. O evento formulário [`On Unload`](../Events/onUnload.md) é executado no final da impressão. +Apenas o [evento `No carregamento`](../Events/onLoad.md) é executado durante a abertura do formulário de projeto, bem como quaisquer métodos de objeto da forma. Outros eventos de formulário são ignorados. O evento formulário [`On Unload`](../Events/onUnload.md) é executado no final da impressão. -To preserve the graphic consistency of forms, it is recommended to apply the "Printing" appearance property regardless of the platform. +Para preservar a consistência gráfica das formas, é recomendado aplicar a propriedade de aparência "Imprimindo" independentemente da plataforma. O formulário de impressão atual é fechado automaticamente quando o comando [CLOSE PRINTING JOB] (../commands-legacy/close-printing-job.md) é chamado. -### Parsing form contents +### Analisar o conteúdo do formulário -This consists in loading an off-screen form for parsing purposes. To do this, just call **FORM LOAD** outside the context of a print job. In this case, form events are not executed. +Isso consiste em carregar um formulário fora da tela para fins de análise. Para fazer isso, basta chamar **FORM LOAD** fora do contexto de um trabalho de impressão. Nesse caso, os eventos de formulário não são executados. -**FORM LOAD** can be used with the [FORM GET OBJECTS](../commands-legacy/form-get-objects.md) and [OBJECT Get type](../commands-legacy/object-get-type.md) commands in order to perform any type of processing on the form contents. You must then call the [FORM UNLOAD](../commands-legacy/form-unload.md) command in order to release the form from memory. +O **FORM LOAD** pode ser usado com os comandos [FORM GET OBJECTS] (../commands-legacy/form-get-objects.md) e [OBJECT Get type] (../commands-legacy/object-get-type.md) para executar qualquer tipo de processamento no conteúdo do formulário. Em seguida, você deve chamar o comando [FORM UNLOAD](../commands-legacy/form-unload.md) para liberar o formulário da memória. -Note that in all cases, the form on screen remains loaded (it is not affected by the **FORM LOAD** command) so it is not necessary to reload it after calling [FORM UNLOAD](../commands-legacy/form-unload.md). +Observe que, em todos os casos, o formulário na tela permanece carregado (não é afetado pelo comando **FORM LOAD**), portanto, não é necessário recarregá-lo depois de chamar [FORM UNLOAD](../commands-legacy/form-unload.md). **Lembrete:** no contexto fora da tela, não se esqueça de chamar [FORM UNLOAD](../commands-legacy/form-unload.md) para evitar qualquer risco de estouro de memória. ## Exemplo 1 -Calling a project form in a print job: +Chamada de um formulário de projeto em um trabalho de impressão: ```4d OPEN PRINTING JOB @@ -70,43 +70,43 @@ OPEN PRINTING JOB ## Exemplo 2 -Calling a table form in a print job: +Chamar um formulário da tabela em um trabalho de impressão: ```4d - OPEN PRINTING JOB - FORM LOAD([People];"print_form") -  // execution of events and object methods +OPEN PRINTING JOB +FORM LOAD([People]; "print_form") +// execução de eventos e métodos de objeto ``` ## Exemplo 3 -Parsing of form contents to carry out processing on text input areas: +Analisar os conteúdos de formulário para executar o processamento nas áreas de entrada de texto: ```4d - FORM LOAD([People];"my_form") -  // selection of form without execution of events or methods - FORM GET OBJECTS(arrObjNames;arrObjPtrs;arrPages;*) - For($i;1;Size of array(arrObjNames)) -    If(OBJECT Get type(*;arrObjNames{$i})=Object type text input) -  //… processing -    End if - End for - FORM UNLOAD //do not forget to unload the form +FORM LOAD([People];"my_form") +// seleção de formulário sem execução de eventos ou métodos +FORM GET OBJECTS(arrObjNames; rrObjPtrs;arrPages;*) +For($i;1; tamanho da matriz (arrObjNames)) +If(OBJECT Obter tipo(*; rrObjNames{$i})=Entrada de texto do tipo objeto +//… processamento +Finaliza se +End para +FORM UNLOAD ///não se esqueça de descarregar o formulário ``` ## Exemplo -The following example returns the number of objects on a JSON form: +O exemplo a seguir retorna o número de objetos em um formato JSON: ```4d - ARRAY TEXT(objectsArray;0) //sort form items into arrays - ARRAY POINTER(variablesArray;0) - ARRAY INTEGER(pagesArray;0) -  - FORM LOAD("/RESOURCES/OutputForm.json") //load the form - FORM GET OBJECTS(objectsArray;variablesArray;pagesArray;Form all pages+Form inherited) -  - ALERT("The form contains "+String(size of array(objectsArray))+" objects") //return the object count +ARRAY TEXT(objectsArray;0) //classificar itens do formulário em arrays +ARRAY POINTER(variablesArray;0) +ARRAY INTEGER(pagesArray;0) + +FORM LOAD("/RESOURCES/OutputForm.json") //carrega o formulário +FORM GET OBJECTS(objectsArray;variablesArray;pagesArray;Form all pages+Form inherited) + +ALERT("The form contains "+String(size of array(objectsArray))+" objects") //retorna a contagem de objetos ``` o resultado mostrado é: @@ -115,43 +115,43 @@ o resultado mostrado é: ## Exemplo 2 -You want to print a form containing a list box. During the *on load* event, you want the contents of the list box to be modified. +Se quiser imprimir um formulário contendo uma caixa de lista. Durante o evento *on load*, você deseja que o conteúdo da caixa de listagem seja modificado. -1\. In the printing method, you write: +1\. No método de impressão, você escreve: ```4d - var $formData : Object - var $over : Boolean - var $full : Boolean -  - OPEN PRINTING JOB - $formData:=New object - $formData.LBcollection:=New collection() - ... //fill the collection with data -  - FORM LOAD("GlobalForm";$formData) //store the collection in $formData - $over:=False - Repeat -    $full:=Print object(*;"LB") // the datasource of this "LB" listbox is Form.LBcollection -    LISTBOX GET PRINT INFORMATION(*;"LB";lk printing is over;$over) -    If(Not($over)) -       PAGE BREAK -    End if - Until($over) - FORM UNLOAD - CLOSE PRINTING JOB +var $formData : Object +var $over : Boolean +var $full : Boolean + +OPEN PRINTING JOB +$formData:=New object +$formData.LBcollection:=New collection() +... //preencher a coleção com dados + +FORM LOAD("GlobalForm";$formData) //armazenar a coleção em $formData +$over:=False +Repetir +$full:=Print object(*; "LB") //a fonte de dados dessa caixa de listagem "LB" é Form.LBcollection +LISTBOX GET PRINT INFORMATION(*; "LB";lk a impressão terminou;$over) +If(Not($over)) +PAGE BREAK +End if +Until($over) +FORM UNLOAD +CLOSE PRINTING JOB ``` -2\. In the form method, you can write: +2\. No método de formulário, você pode escrever: ```4d - var $o : Object - Case of -    :(Form event code=On Load) -       For each($o;Form.LBcollection) //LBcollection is available -          $o.reference:=Uppercase($o.reference) -       End for each - End case +var $o : Object +Case of +:(Form event code=On Load) +For each($o;Form.LBcollection) //LBcollection está disponível +$o.reference:=Uppercase($o.reference) +End for each +End case ``` ## Veja também diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/form.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/form.md index 81cdb5eaf0f9d7..553abd01066e54 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/form.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/form.md @@ -8,39 +8,39 @@ displayed_sidebar: docs -| Parâmetro | Tipo | | Descrição | -| --------- | ------ | --------------------------- | ----------------------------- | -| Resultado | Object | ← | Form data of the current form | +| Parâmetro | Tipo | | Descrição | +| --------- | ------ | --------------------------- | ------------------------- | +| Resultado | Object | ← | Dados do formulário atual |
    História -| Release | Mudanças | -| ------- | ------------------ | -| 20 R8 | Form class support | +| Release | Mudanças | +| ------- | ---------------------------------- | +| 20 R8 | Suporte das classes de formulários |
    ## Descrição -The **Form** command returns the object associated with the current form (instantiated from the *formData* parameter or the user class assigned in the Form editor).The **Form** command returns the object associated with the current form (instantiated from the *formData* parameter or the user class assigned in the Form editor). 4D automatically associates an object to the current form in the following cases: +The **Form** command returns the object associated with the current form (instantiated from the *formData* parameter or the user class assigned in the Form editor).O comando **Form** retorna o objeto associado ao formulário atual (instanciado a partir do parâmetro *formData* ou da classe usuário atribuída no editor de formulários). O 4D associa automaticamente um objeto ao formulário atual nos seguintes casos: - o formulário atual foi carregado por um dos comandos [`DIALOG`](dialog.md), [`Print form`](print-form.md) ou [`FORM LOAD`](form-load.md), -- the current form is a subform, -- a table form is currently displayed on screen. +- o formulário atual é um subformulário, +- um formulário de tabela é exibido na tela no momento. ### Comandos (DIALOG...) -If the current form is being displayed or loaded by a call to the [DIALOG](dialog.md), [`Print form`](print-form.md), or [`FORM LOAD`](form-load.md) commands, **Form** returns either: +Se o formulário atual estiver sendo exibido ou carregado por uma chamada aos comandos [DIALOG](dialog.md), [`Print form`](print-form.md) ou [`FORM LOAD`](form-load.md), **Form** retornará um dos dois: -- the *formData* object passed as parameter to this command, if any, +- o objeto *formData* passado como parâmetro para esse comando, se houver, - ou, um objeto instanciado da [classe de usuário associada ao formulário](../FormEditor/properties_FormProperties.md#form-class), se houver, -- or, an empty object. +- ou um objeto vazio. ### Subformulário -If the current form is a subform, the returned object depends on the parent container variable: +Se o formulário atual for um subformulário, o objeto retornado dependerá da variável do contêiner pai: - **Form** returns the object associated with the table form displayed on screen.\ **Form** returns the object associated with the table form displayed on screen.\ @@ -50,66 +50,66 @@ If the current form is a subform, the returned object depends on the parent cont (OBJECT Get pointer(Object subform container))-> ``` -- If the variable associated to the parent container has not been typed as an object, **Form** returns an empty object, maintained by 4D in the subform context. +- Se a variável associada ao contêiner pai não foi tipada como um objeto, **Forma** retorna um objeto vazio, mantido por 4D no contexto do subformulário. -For more information, please refer to the *Page subforms* section. +Para mais informações, consulte a seção *Subformulários de Páginas*. -### Table form +### Formulário de tabela **Form** returns the object associated with the table form displayed on screen.\ **Form** returns the object associated with the table form displayed on screen.\ In the context of an input form displayed from an output form (i.e. after a double-click on a record), the returned object contains the following property: **Form** returns the object associated with the table form displayed on screen.\ In the context of an input form displayed from an output form (i.e. after a double-click on a record), the returned object contains the following property: -| **Propriedade** | **Tipo** | **Description** | -| --------------- | -------- | ----------------------------------------- | -| parentForm | object | **Form** object of the parent output form | +| **Propriedade** | **Tipo** | **Description** | +| --------------- | -------- | ------------------------------------------ | +| parentForm | object | Objeto **form** do formulário de saída pai | ## Exemplo -In a form displaying the record of a person, a "Check children" button opens a dialog to verify/modify the names and ages of their children: +Em um formulário que exibe o registro de uma pessoa, o botão "Check children" (Verificar filhos) abre uma caixa de diálogo para verificar/modificar os nomes e as idades dos filhos: ![](../assets/en/commands/pict3542015.en.png) -**Note:** The "Children" object field is represented only to show its structure for this example. +**Nota:** O campo de objeto "Children" é representado apenas para mostrar sua estrutura neste exemplo. -In the verification form, you have assigned some Form object properties to inputs: +No formulário de verificação, você atribuiu algumas propriedades do objeto Form aos inputs: ![](../assets/en/commands/pict3541682.en.png) -Here is the code for the "Check children" button: +Aqui está o código do botão "Check children": ```4d var $win;$n;$i : Integer var $save : Boolean - ARRAY OBJECT($children;0) - OB GET ARRAY([Person]Children;"children";$children) //get the children collection - $save:=False //initialize the save variable + ARRAY OBJECT($children; ) + OB GET ARRAY([Person]crianças;"crianças";$children) //get a coleção dos filhos + $save:=False //initialize a variável de salvamento $n:=Size of array($children) If($n>0) - $win:=Open form window("Edit_Children";Movable form dialog box) - SET WINDOW TITLE("Check children for "+[Person]Name) - For($i;1;$n) //for each child - DIALOG("Edit_Children";$children{$i}) //displays dialog filled with values - If(OK=1) //the user clicked OK - $save:=True - End if - End for + $win:=Abrir janela de forma ("Edit_Children"; Caixa de diálogo de formulário ovable) + SET WINDOW TITLE("Cheque os filhos para "+[Person]Nome) + For($i; ;$n) //para cada criança + DIALOG("Edit_Children";$children{$i}) //exibe um diálogo cheio de valores + If(OK=1) ///o usuário clicou em OK + $save:=Verdadeiro + End se + End para If($save=True) - [Person]Children:=[Person]Children //forces object field update - End if + [Person]Children:=[Person]Filhos//força atualização do campo de objeto + End se CLOSE WINDOW($win) Else - ALERT("No child to check.") - End if + ALERT("Não há filho para verificar. ) + finais, se ``` -The form displays information for each child: +O formulário exibe informações de cada criança: ![](../assets/en/commands/pict3515152.en.png) -If values are edited and the OK button is clicked, the field is updated (the parent record must be saved afterwards). +Se os valores forem editados e o botão OK for clicado, o campo será atualizado (o registro pai deverá ser salvo em seguida). ## Veja também diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/last-errors.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/last-errors.md new file mode 100644 index 00000000000000..e89de5c78a54df --- /dev/null +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/last-errors.md @@ -0,0 +1,91 @@ +--- +id: last-errors +title: Last errors +slug: /commands/last-errors +displayed_sidebar: docs +--- + +**Last errors** : Collection + + + +| Parâmetro | Tipo | | Descrição | +| --------- | ---------- | --------------------------- | --------------------------- | +| Resultado | Collection | ← | Collection of error objects | + + + +## Descrição + +The **Last errors** command returns the current stack of errors of the 4D application as a collection of error objects, or **null** if no error occurred. The stack of errors includes objects sent by the [throw](../commands-legacy/throw.md) command, if any. + +This command must be called from an on error call method installed by the [ON ERR CALL](../commands-legacy/on-err-call.md) command or within a [Try or Try/Catch](../Concepts/error-handling.md#tryexpression) context. + +Each error object contains the following properties: + +| **Propriedade** | **Tipo** | **Description** | +| ------------------ | -------- | ------------------------------------------------------------------------------------------- | +| errCode | number | Código de erro | +| message | text | Descrição do erro | +| componentSignature | text | Signature of the internal component which returned the error (see below) | + +#### Internal component signatures (4D) + +| Component Signature | Componente | +| ------------------------- | ------------------------------------------------------------------- | +| 4DCM | 4D Compiler runtime | +| 4DRT | 4D runtime | +| bkrs | 4D backup & restore manager | +| brdg | SQL 4D bridge | +| cecm | 4D code Editor | +| CZip | zip 4D apis | +| dbmg | 4D database manager | +| FCGI | fast cgi 4D bridge | +| FiFo | 4D file objects | +| HTCL | http client 4D apis | +| HTTP | 4D http server | +| IMAP | IMAP 4D apis | +| JFEM | Form Macro apis | +| LD4D | LDAP 4D apis | +| lscm | 4D language syntax manager | +| MIME | MIME 4D apis | +| mobi | 4D Mobile | +| pdf1 | 4D pdf apis | +| PHP_ | php 4D bridge | +| POP3 | POP3 4D apis | +| SMTP | SMTP 4D apis | +| SQLS | 4D SQL server | +| srvr | 4D network layer apis | +| svg1 | SVG 4D apis | +| ugmg | 4D users and groups manager | +| UP4D | 4D updater | +| VSS | 4D VSS support (Windows Volume Snapshot Service) | +| webc | 4D Web view | +| xmlc | XML 4D apis | +| wri1 | 4D Write Pro | + +#### Internal component signatures (System) + +| Component Signature | Componente | +| ------------------- | -------------------------------------------------------- | +| CARB | Carbon subsystem | +| COCO | Cocoa subsystem | +| MACH | macOS Mach subsystem | +| POSX | posix/bsd subsystem (mac, linux, win) | +| PW32 | Pre-Win32 subsystem | +| WI32 | Win32 subsystem | + +## Veja também + +[ON ERR CALL](../commands-legacy/on-err-call.md) +[throw](../commands-legacy/throw.md)\ +[Error handling](../Concepts/error-handling.md) + +## Propriedades + +| | | +| ----------------- | --------------------------- | +| Número de comando | 1799 | +| Thread safe | ✓ | + + diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/mail-new-attachment.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/mail-new-attachment.md index e9dfca53ba2e27..a4b3715680325d 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/mail-new-attachment.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/mail-new-attachment.md @@ -46,7 +46,7 @@ Pode passar uma rota ou um Blob para definir o anexo. Se *name* for omitido e: - passar uma rota de arquivo, o nome e extensão do arquivo é usado, - passar um BLOB, um nome aleatório sem extensão é gerado automaticamente. -The optional *cid* parameter lets you pass an internal ID for the attachment. This ID is the value of the `Content-Id` header, it will be used in HTML messages only. The cid associates the attachment with a reference defined in the message body using an HTML tag such as `\`. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. O resultado final deve variar dependendo do cliente mail. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. +O parâmetro opcional *cid* permite passar uma ID interna para o anexo. This ID is the value of the `Content-Id` header, it will be used in HTML messages only. The cid associates the attachment with a reference defined in the message body using an HTML tag such as `\`. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. O resultado final deve variar dependendo do cliente mail. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. You can use the optional *type* parameter to explicitly set the `content-type` of the attachment file. Por exemplo, pode passar uma string definindo um tipo MIME ("video/mpeg"). Esse valor de content-type vai ser estabelecido para o anexo, independente de sua extensão. For more information about MIME types, please refer to the [MIME type page on Wikipedia](https://en.wikipedia.org/wiki/MIME). @@ -78,7 +78,7 @@ The optional *disposition* parameter lets you pass the `content-disposition` hea | mail disposition attachment | "attachment" | Estabelece o valor de cabeçalho Content-disposition para "attachment" que significa que o arquivo anexo deve ser fornecido como um link na mensagem. | | mail disposition inline | "inline" | Estabelece o valor de cabeçalho Content-disposition para "inline", o que significa que o anexo deve ser renderizado dentro do conteúdo da mensagem, no local "cid". A renderização depende do cliente mail. | -By default, if the *disposition* parameter is omitted: +Como padrão, se o parâmetro *disposition* for omisso: - if the *cid* parameter is used, the `Content-disposition` header is set to "inline", - if the *cid* parameter is not passed or empty, the `Content-disposition` header is set to "attachment". diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-log-file.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-log-file.md index d5aa84f2232da5..f2963de3de51b7 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-log-file.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-log-file.md @@ -16,7 +16,7 @@ displayed_sidebar: docs ## Descrição -**Preliminary note:** This command only works with 4D Server. It can only be executed via the [Execute on server](../commands-legacy/execute-on-server.md) command or in a stored procedure. +**Nota preliminar:** esse comando só funciona com 4D Server. It can only be executed via the [Execute on server](../commands-legacy/execute-on-server.md) command or in a stored procedure. The **New log file** command closes the current log file, renames it and creates a new one with the same name in the same location as the previous one. This command is meant to be used for setting up a backup system using a logical mirror (see the section *Setting up a logical mirror* in the [4D Server Reference Manual](https://doc/4d.com)). diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/print-form.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/print-form.md index 17df9d443e6912..49c36b87a136d4 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/print-form.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/print-form.md @@ -12,7 +12,7 @@ displayed_sidebar: docs | --------- | ------------ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | aTable | Tabela | → | Table owning the form, or Default table, if omitted | | form | Text, Object | → | Name (string) of the form, or a POSIX path (string) to a .json file describing the form, or an object describing the form to print | -| formData | Object | → | Data to associate to the form | +| formData | Object | → | Dados para associar ao formulário | | areaStart | Integer | → | Print marker, or Beginning area (if areaEnd is specified) | | areaEnd | Integer | → | Área final (se for especificado pela areaStart) | | Resultado | Integer | ← | Height of printed section | @@ -21,19 +21,19 @@ displayed_sidebar: docs ## Descrição -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*.The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. -In the *form* parameter, you can pass: +No parâmetro *form*, você pode passar: -- the name of a form, or +- o nome de um formulário, ou - the path (in POSIX syntax) to a valid .json file containing a description of the form to use (see *Form file path*), or -- an object containing a description of the form. +- um objeto contendo uma descrição do formulário. Since **Print form** does not issue a page break after printing the form, it is easy to combine different forms on the same page. Thus, **Print form** is perfect for complex printing tasks that involve different tables and different forms. Para forçar uma quebra de página entre os formulários, use o comando [PAGE BREAK](../commands-legacy/page-break.md). In order to carry printing over to the next page for a form whose height is greater than the available space, call the [CANCEL](../commands-legacy/cancel.md) command before the [PAGE BREAK](../commands-legacy/page-break.md) command. Three different syntaxes may be used: -- **Detail area printing** +- **Impressão da área de detalhe** Sintaxe: @@ -43,7 +43,7 @@ Sintaxe: In this case, **Print form** only prints the Detail area (the area between the Header line and the Detail line) of the form. -- **Form area printing** +- **Impressão da área de formulário** Sintaxe: @@ -51,7 +51,7 @@ Sintaxe:  height:=Print form(myTable;myForm;marker) ``` -In this case, the command will print the section designated by the *marker*. Pass one of the constants of the *Form Area* theme in the marker parameter: +Nesse caso, o comando imprimirá a seção designada pelo *marker*. Pass one of the constants of the *Form Area* theme in the marker parameter: | Parâmetros | Tipo | Valor | | ------------- | ------- | ----- | @@ -79,7 +79,7 @@ In this case, the command will print the section designated by the *marker*. Pas | Form header8 | Integer | 208 | | Form header9 | Integer | 209 | -- **Section printing** +- **Impressão da seção** Sintaxe: @@ -91,20 +91,20 @@ In this case, the command will print the section included between the *areaStart **formData** -Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). Any properties of the form data object will then be available from within the form context through the [Form](form.md) command. Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). +Opcionalmente, é possível passar parâmetros para o *form* usando o objeto *formData* ou o objeto de classe de formulário instanciado automaticamente pelo 4D se você tiver [associado uma classe de usuário ao formulário] (../FormEditor/properties_FormProperties.md#form-class). Todas as propriedades do objeto de dados do formulário estarão disponíveis no contexto do formulário por meio do comando [Form](form.md). Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). Para obter informações detalhadas sobre o objeto de dados do formulário, consulte o comando [`DIALOG`](dialog.md). **Valor retornado** -The value returned by **Print form** indicates the height of the printable area. Esse valor será automaticamente levado em conta pelo comando [Get printed height](../commands-legacy/get-printed-height.md). +O valor retornado por **Print form** indica a altura da área impressa. Esse valor será automaticamente levado em conta pelo comando [Get printed height](../commands-legacy/get-printed-height.md). -The printer dialog boxes do not appear when you use **Print form**. The report does not use the print settings that were assigned to the form in the Design environment. There are two ways to specify the print settings before issuing a series of calls to **Print form**: +As caixas de diálogo da impressora não são exibidas quando você usa **Print form**. The report does not use the print settings that were assigned to the form in the Design environment. There are two ways to specify the print settings before issuing a series of calls to **Print form**: - Chame [PRINT SETTINGS](../commands-legacy/print-settings.md). In this case, you let the user choose the settings. - Call [SET PRINT OPTION](../commands-legacy/set-print-option.md) and [GET PRINT OPTION](../commands-legacy/get-print-option.md). In this case, print settings are specified programmatically. -**Print form** builds each printed page in memory. Each page is printed when the page in memory is full or when you call [PAGE BREAK](../commands-legacy/page-break.md). To ensure the printing of the last page after any use of **Print form**, you must conclude with the [PAGE BREAK](../commands-legacy/page-break.md) command (except in the context of an [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), see note). Otherwise, if the last page is not full, it stays in memory and is not printed. +**Print form**\* cria cada página impressa na memória. Each page is printed when the page in memory is full or when you call [PAGE BREAK](../commands-legacy/page-break.md). To ensure the printing of the last page after any use of **Print form**, you must conclude with the [PAGE BREAK](../commands-legacy/page-break.md) command (except in the context of an [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), see note). Otherwise, if the last page is not full, it stays in memory and is not printed. **Warning:** If the command is called in the context of a printing job opened with [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), you must NOT call [PAGE BREAK](../commands-legacy/page-break.md) for the last page because it is automatically printed by the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command. Se você chamar [PAGE BREAK](../commands-legacy/page-break.md) nesse caso, uma página em branco será impressa. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/process-activity.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/process-activity.md index 841cd1340b0050..37ceed749a1e60 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/process-activity.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/process-activity.md @@ -26,7 +26,7 @@ displayed_sidebar: docs ## Descrição -The **Process activity** command returns a snapshot of running processes and/or (4D Server only) connected user sessions at a given time.The **Process activity** command returns a snapshot of running processes and/or (4D Server only) connected user sessions at a given time. Este comando retorna todos os processos, incluindo processos internos que não são alcançáveis pelo comando [Informações do processo](process-info.md). +The **Process activity** command returns a snapshot of running processes and/or (4D Server only) connected user sessions at a given time.O comando **Process activity** retorna um snapshot dos processos em execução e/ou (4D Server apenas) sessões usuário conectadas em um dado momento. Este comando retorna todos os processos, incluindo processos internos que não são alcançáveis pelo comando [Informações do processo](process-info.md). Por padrão quando usado sem quaisquer parâmetros, a **atividade de processo** retorna um objeto que contém as seguintes propriedades: @@ -76,18 +76,18 @@ No servidor, o comando `Process activity` retorna uma propriedade adicional de " Se quiser obter a coleção de todas as sessões de usuários: ```4d -  //To be executed on the server +  //Para ser executado no servidor    var $o : Object  var $i : Integer var $processName;$userName : Text   - $o:=Process activity //Get process & session info - For($i;0;($o.processes.length)-1) //Iterate over the "processes" collection + $o:=Process activity //obter informação de processo e sessão + For($i;0;($o.processes.length)-1) //Iterar sobre a coleção "processes" $processName:=$o.processes[$i].name - $userName:=String($o.processes[$i].session.userName) // Easy access to userName - //use String because session object might be undefined + $userName:=String($o.processes[$i].session.userName) // Acesso fácil a userName + //use String porque o objeto de sessão pode ser indefinido End for ``` diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/process-number.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/process-number.md index d9a7ab2fbdae06..2a05cd4f7ea236 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/process-number.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/process-number.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## Descrição -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` retorna o número do processo cujo *name* ou *id* você passou no primeiro parâmetro. Se nenhum processo for encontrado, `Process number` retornará 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameterThe `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter. Se nenhum processo for encontrado, `Process number` retornará 0. O parâmetro opcional \* permite que você recupere, de um 4D remoto, o número de um processo executado no servidor. Nesse caso, o valor retornado é negativo. Essa opção é especialmente útil ao usar os comandos [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) e [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md). diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/select-log-file.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/select-log-file.md index 873b1555b773f1..a2c677204a4870 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/select-log-file.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/select-log-file.md @@ -27,7 +27,7 @@ If you pass an empty string in *logFile*, **SELECT LOG FILE** presents an Save F If you pass *\** in *logFile*, **SELECT LOG FILE** closes the current log file for the database. The OK variable is set to 1 when the log file is closed. -## System variables and sets +## Variáveis e configurações do sistema OK is set to 1 if the log file is correctly created, or closed. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/session-storage.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/session-storage.md index a3cf6453ee691f..bd54dc3fbe4079 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/session-storage.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/session-storage.md @@ -28,7 +28,7 @@ displayed_sidebar: docs The **Session storage** command returns the storage object of the session whose unique identifier you passed in the *id* parameter. -In *id*, pass the UUID of the session for which you want to get the storage. It is automatically assigned by 4D (4D Server or, for standalone sessions, 4D single-user) and is stored in the [**.id**](../API/SessionClass.md#id) property of the [session object](../API/SessionClass.md). If the session does not exist, the command returns **Null**. +Em *id*, passe o UUID da sessão para a qual você deseja obter o armazenamento. It is automatically assigned by 4D (4D Server or, for standalone sessions, 4D single-user) and is stored in the [**.id**](../API/SessionClass.md#id) property of the [session object](../API/SessionClass.md). Se a sessão não existir, o comando retornará **Null**. **Nota:** você pode obter os identificadores de sessão usando o comando [Process activity](process-activity.md). @@ -39,8 +39,8 @@ O objeto retornado é a propriedade [**.storage**](../API/SessionClass.md#storag This method modifies the value of a "settings" property stored in the storage object of a specific session: ```4d -  //Set storage for a session -  //The "Execute On Server" method property is set +  //Definir armazenamento para uma sessão +  //A propriedade do método "Execute On Server" está definida    #DECLARE($id : Text; $text : Text)  var $obj : Object diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/session.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/session.md index 78b9bffa3ab39b..69430b6913a1f4 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/session.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/session.md @@ -33,7 +33,7 @@ Dependendo do processo a partir do qual o comando é chamado, a sessão atual do - uma sessão web (quando [sessões escaláveis são ativadas](WebServer/sessions.md#enabling-web-sessions)), - uma sessão de cliente remoto, - a sessão de procedimentos armazenados, -- the *designer* session in a standalone application. +- a sessão *designer* em um aplicativo autônomo. Para obter mais informações, consulte [Tipos de sessão](../API/SessionClass.md#session-types). diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/set-allowed-methods.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/set-allowed-methods.md index 6bbba46b36c2b7..085ec6706e4f86 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/set-allowed-methods.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/set-allowed-methods.md @@ -38,7 +38,7 @@ If you would like the user to be able to call 4D commands that are unauthorized :::warning -This command only filters the **input** of methods, not their **execution**. It does not control the execution of formulas created outside the application. +Esse comando filtra apenas a **entrada** dos métodos, não sua **execução**. It does not control the execution of formulas created outside the application. ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md index 63d5a23cc622ca..dda1f5b19fd3ef 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/4D_Environment.md @@ -14,7 +14,6 @@ slug: /commands/theme/4D-Environment | [](../../commands-legacy/compact-data-file.md)
    | | [](../../commands-legacy/component-list.md)
    | | [](../../commands-legacy/create-data-file.md)
    | -| [](../../commands/create-entity-selection.md)
    | | [](../../commands-legacy/data-file.md)
    | | [](../../commands-legacy/database-measures.md)
    | | [](../../commands-legacy/drop-remote-user.md)
    | @@ -46,7 +45,6 @@ slug: /commands/theme/4D-Environment | [](../../commands-legacy/set-update-folder.md)
    | | [](../../commands-legacy/structure-file.md)
    | | [](../../commands-legacy/table-fragmentation.md)
    | -| [](../../commands/use-entity-selection.md)
    | | [](../../commands-legacy/verify-current-data-file.md)
    | | [](../../commands-legacy/verify-data-file.md)
    | | [](../../commands-legacy/version-type.md)
    | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md index 2492c60f10f3a2..78f57c7e7294e6 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/Interruptions.md @@ -11,7 +11,7 @@ slug: /commands/theme/Interruptions | [](../../commands-legacy/asserted.md)
    | | [](../../commands-legacy/filter-event.md)
    | | [](../../commands-legacy/get-assert-enabled.md)
    | -| [](../../commands-legacy/last-errors.md)
    | +| [](../../commands/last-errors.md)
    | | [](../../commands-legacy/method-called-on-error.md)
    | | [](../../commands-legacy/method-called-on-event.md)
    | | [](../../commands-legacy/on-err-call.md)
    | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/Selection.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/Selection.md index fc365cfe1e48ce..bdaf20cf0e7f1e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/Selection.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/theme/Selection.md @@ -9,6 +9,7 @@ slug: /commands/theme/Selection | [](../../commands-legacy/all-records.md)
    | | [](../../commands-legacy/apply-to-selection.md)
    | | [](../../commands-legacy/before-selection.md)
    | +| [](../../commands/create-entity-selection.md)
    | | [](../../commands-legacy/create-selection-from-array.md)
    | | [](../../commands-legacy/delete-selection.md)
    | | [](../../commands-legacy/display-selection.md)
    | @@ -28,3 +29,4 @@ slug: /commands/theme/Selection | [](../../commands-legacy/scan-index.md)
    | | [](../../commands-legacy/selected-record-number.md)
    | | [](../../commands-legacy/truncate-table.md)
    | +| [](../../commands/use-entity-selection.md)
    | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/this.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/this.md index 0141edb9c8c369..82ce7c40ed3672 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/this.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/this.md @@ -161,7 +161,7 @@ Note que: - *This.ID*, *This.Title* and *This.Date* directly refers to the corresponding attributes in the ds.Event dataclass. - *This.meetings* is a related attribute (based upon the One To Many relation name) that returns an entity selection of the ds.Meeting dataclass. -- **Form.eventList** is the entity selection that is attached to the list box. The initialization code can be put in the on load form event: +- **Form.eventList** é a entity selection que está anexada à list box. The initialization code can be put in the on load form event: ```4d Case of diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/wa-get-context.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/wa-get-context.md index 34ebd075f2b10a..76382c88f49d8c 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/wa-get-context.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/wa-get-context.md @@ -7,11 +7,11 @@ title: WA Get context -| Parâmetro | Tipo | | Descrição | -| ---------- | --------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| \* | Operador | → | If specified, *object* is an object name (string). If omitted, *object* is a variable. | -| object | Objecto de formulário | → | Object name (if \* is specified) or Variable (if \* is omitted). | -| contextObj | Object | ← | Context object if previously defined, otherwise `null`. | +| Parâmetro | Tipo | | Descrição | +| ---------- | --------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| \* | Operador | → | Se especificado, *object* é um nome de objeto (string). If omitted, *object* is a variable. | +| object | Objecto de formulário | → | Nome do objeto (se \* for especificado) ou Variável (se \* for omitido). | +| contextObj | Object | ← | Context object if previously defined, otherwise `null`. | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/wa-set-context.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/wa-set-context.md index 97064ef20c4b8c..1286093800666f 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/wa-set-context.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/wa-set-context.md @@ -7,11 +7,11 @@ title: WA SET CONTEXT -| Parâmetro | Tipo | | Descrição | -| ---------- | --------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| \* | Operador | → | If specified, *object* is an object name (string). If omitted, *object* is a variable. | -| object | Objecto de formulário | → | Object name (if \* is specified) or Variable (if \* is omitted). | -| contextObj | Object | → | Object containing the functions that can be called with `$4d`. | +| Parâmetro | Tipo | | Descrição | +| ---------- | --------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| \* | Operador | → | Se especificado, *object* é um nome de objeto (string). If omitted, *object* is a variable. | +| object | Objecto de formulário | → | Nome do objeto (se \* for especificado) ou Variável (se \* for omitido). | +| contextObj | Object | → | Object containing the functions that can be called with `$4d`. | @@ -27,7 +27,7 @@ The command is only usable with an embedded web area where the [**Use embedded w Pass in *contextObj* user class instances or formulas to be allowed in `$4d` as objects. Class functions that begin with `_` are considered hidden and cannot be used with `$4d`. -- If *contextObj* is null, `$4d` has access to all 4D methods. +- Se *contextObj* for null, `$4d` terá acesso a todos os métodos 4D. - Se *contextObj* estiver vazio, `$4d` não terá acesso. ### Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/zip-create-archive.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/zip-create-archive.md index 7f63efdf317524..61f41a74b7d699 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/zip-create-archive.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/zip-create-archive.md @@ -34,7 +34,7 @@ The `ZIP Create archive` command devolve u Em um armazém de dados remoto: ```4d - var $status : Object + var $remoteDS : 4D.DataStoreImplementation + var $info; $connectTo : Object - $status:=dataStore.encryptionStatus() + $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") + $remoteDS:=Open datastore($connectTo;"students") + $info:=$remoteDS.getInfo() - If($status.isEncrypted) //the database is encrypted - C_LONGINT($vcount) - C_TEXT($tabName) - For each($tabName;$status.tables) - If($status.tables[$tabName].isEncrypted) - $vcount:=$vcount+1 - End if - End for each - ALERT(String($vcount)+" encrypted table(s) in this datastore.") - Else - ALERT("This database is not encrypted.") - End if - Else - ALERT("This database is not encrypted.") - End if + //{"type":"4D Server", + //"localID":"students", + //"networked":true, + //"connection":{hostname:"111.222.33.44:8044","tls":false,"idleTimeout":2880,"user":"marie"}} ``` @@ -751,8 +743,8 @@ Pode aninhar várias transações (subtransações). Cada transação ou subtran ```4d var $connect; $status : Object - var $person : cs. PersonsEntity - var $ds : cs. DataStore + var $person : cs.PersonsEntity + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean @@ -765,7 +757,7 @@ Pode aninhar várias transações (subtransações). Cada transação ou subtran End case $ds.startTransaction() - $person:=$ds. Persons.query("lastname=:1";"Peters").first() + $person:=$ds.Persons.query("lastname=:1";"Peters").first() If($person#Null) $person.lastname:="Smith" diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/EntityClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/EntityClass.md index 0030fa7e8b7dbe..94b1083c97d6e2 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/EntityClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/EntityClass.md @@ -599,15 +599,14 @@ O seguinte código genérico duplica qualquer entidade: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parâmetro | Tipo | | Descrição | | ---------- | ------- |:--:| ------------------------------------------------------------------------------------------------------ | | mode | Integer | -> | `dk key as string`: a chave primária se devolve como uma string, sem importar o tipo de chave primária | -| Resultados | Text | <- | Valor do texto chave primária da entidade | -| Resultados | Integer | <- | Valor da chave primária numérica da entidade | +| Resultados | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1539,11 +1538,12 @@ Retorna: #### Descrição -A função `.isNew()` retorna True se a entidade a qual for aplicada foi recém criada e não foi ainda salva na datastore.. +A função `.isNew()` returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -Se um atributo for modificado ou calculado, a função retorna True, senão retorna False. Pode usar essa função para determinar se precisar salvar a entidade. +This only applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. + +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. -Esta função retorna False para uma nova entidade que foi criada (com [`.new( )`](DataClassClass.md#new)). Note entretanto que se usar uma função que calcule um atributo da entidade, a função `.touched()` vai retornar True. Por exemplo se chamar [`.getKey()`](#getkey) para calcular a chave primária, `.touched()` retorna True. #### Exemplo @@ -1586,7 +1586,7 @@ Neste exemplo, vemos se é necessário salvar a entidade: A função `.indexOf()` retorna a posição da entidade em uma seleção de entidade. -Isso aplica para atributos do [tipo](DataClassClass.md#attributename) `storage` ou `relatedEntity`. +This only applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. No caso de uma entidade relacionada que foi tocada (touched) *ou seja, a chave primária) o nome da entidade relacionada e sua chave primária são retornados. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FileClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FileClass.md index d76761653ff509..5fe2394056c987 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FileClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FileClass.md @@ -515,12 +515,12 @@ Se quiser renomear "ReadMe.txt" em "ReadMe_new.txt": A função `.setAppInfo()` escreve as propriedades de *info* como conteúdo informativo de um arquivo **.exe**, **.dll** ou **.plist**. -A função deve ser utilizada com um arquivo .exe, .dll ou .plist existente. Se o ficheiro não existir no disco ou não for um ficheiro .exe, .dll ou .plist válido, a função não faz nada (não é gerado qualquer erro). - -> A função apenas é compatível com arquivos .plist em formato xml (baseado em texto). Um erro é retornado se usado com um arquivo .plist em formato binário. **Parâmetro *info* com um arquivo .exe ou .dll** +The function must be used with an existing and valid .exe or .dll file, otherwise it does nothing (no error is generated). + + > A escrita de um arquivo .exe ou .dll só é possível no Windows. Cada propriedade válida definida no parâmetro objeto *info* está escrita no recurso de versão do arquivo .exe ou .dll. As propriedades disponíveis são (qualquer outra propriedade será ignorada): @@ -540,6 +540,8 @@ Se você passar um null ou um texto vazio como valor, uma string vazia será gra **Parâmetro *info* com um arquivo .plist** +> A função apenas é compatível com arquivos .plist em formato xml (baseado em texto). Um erro é retornado se usado com um arquivo .plist em formato binário. + Cada propriedade válida definida no parâmetro objeto *info* está escrita no arquivo .plist como uma chave. Qualquer nome chave é aceito. Os tipos de valores são preservados sempre que possível. Se um conjunto de chaves no parâmetro *info* já estiver definido no arquivo .plist, o seu valor é atualizado, mantendo o seu tipo original. Outras chaves existentes no arquivo .plist são deixadas intocadas. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md index bac336ce992a24..633223314dbe2a 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/WebServerClass.md @@ -699,7 +699,7 @@ A função `.start()` inicia o servi O servidor web começa com as definições padrão definidas no ficheiro de definições do projecto ou (apenas base de dados anfitriã) usando o comando `WEB SET OPTION`. No entanto, utilizando o parâmetro *settings*, pode definir propriedades personalizadas para a sessão do servidor web. -Todas as definições dos objectos do [Web Server](#web-server-object) podem ser personalizadas, excepto propriedades só de leitura ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), e [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). As definições personalizadas da sessão serão reiniciadas quando a função [`.stop()`](#stop) for chamada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/DataClassClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/DataClassClass.md index 1c179bbfb2c660..adf23f2b136c23 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/DataClassClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/DataClassClass.md @@ -1481,7 +1481,7 @@ Podem ser aplicadas várias fórmulas: $0:=ds.Students.query(":1 and :2 and nationality='French'";$formula1;$formula2) ``` -A text formula in *queryString* receives a parameter: +Uma fórmula texto em *queryString* recebe um parâmetro: ```4d var $es : cs.StudentsSelection diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md index cb5e0d85ffb775..68cef3e3f4d605 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/DataStoreClass.md @@ -456,7 +456,7 @@ A função `.getInfo()` retorna um Em um armazém de dados remoto: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1114,7 +1114,7 @@ Pode aninhar várias transações (subtransações). Cada transação ou subtran ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/Directory.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/Directory.md index 502a2b55c2d5a2..660163f33a2784 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/Directory.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/Directory.md @@ -446,9 +446,9 @@ Essa propriedade é **somente leitura**. A função `.copyTo()` copia o objeto `Folder` para a *destinationFolder* especificada. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. -Como padrão, a pasta é copiada com o nome da pasta original. If you want to rename the copy, pass the new name in the *newName* parameter. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. +Como padrão, a pasta é copiada com o nome da pasta original. Se quiser renomear a cópia, passe o novo nome no parâmetro *newName*. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. If a folder with the same name already exists in the *destinationFolder*, by default 4D generates an error. You can pass the `fk overwrite` constant in the *overwrite* parameter to ignore and overwrite the existing file diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/Document.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/Document.md index 19c3b8fbe7f867..71991997a789a3 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/Document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/Document.md @@ -446,9 +446,9 @@ Essa propriedade é **somente leitura**. A função `.copyTo()` copia o objeto `File` para a *destinationFolder*. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. -Como padrão, o arquivo é copiado com o nome do arquivo original. If you want to rename the copy, pass the new name in the *newName* parameter. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. +Como padrão, o arquivo é copiado com o nome do arquivo original. Se quiser renomear a cópia, passe o novo nome no parâmetro *newName*. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. If a file with the same name already exists in the *destinationFolder*, by default 4D generates an error. You can pass the `fk overwrite` constant in the *overwrite* parameter to ignore and overwrite the existing file diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md index 25af7e410d4736..e976303ad40aff 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/EntityClass.md @@ -149,7 +149,7 @@ A função `.diff()` compara o conteúdo No *entityToCompare*, passe a entidade a ser comparada à entidade original. -In *attributesToCompare*, you can designate specific attributes to compare. Se fornecida, a comparação é feita apenas nos atributos especificados. Se não for fornecida, todas as diferenças entre as entidades são devolvidas. +Em *attributesToCompare*, você pode designar atributos específicos para comparar. Se fornecida, a comparação é feita apenas nos atributos especificados. Se não for fornecida, todas as diferenças entre as entidades são devolvidas. As diferenças são retornadas como uma coleção de objetos cujas propriedades são: @@ -614,15 +614,14 @@ O seguinte código genérico duplica qualquer entidade: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parâmetro | Tipo | | Descrição | | ---------- | ------- | :-------------------------: | ------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: primary key is returned as a string, no matter the primary key type | -| Resultados | Text | <- | Valor do texto chave primária da entidade | -| Resultados | Integer | <- | Valor da chave primária numérica da entidade | +| Resultados | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1637,11 +1636,11 @@ Retorna: #### Descrição -A função `.touched()` testa se um atributo de entidade foi ou não modificado desde que a entidade foi carregada na memória ou salva. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -Se um atributo for modificado ou calculado, a função retorna True, senão retorna False. Pode usar essa função para determinar se precisar salvar a entidade. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". -Essa função retorna False para uma nova entidade que acabou de ser criada (com [`.new( )`](DataClassClass.md#new)). No entanto, observe que se você usar uma função que calcule um atributo da entidade, a função `.touched()` então retornará Verdade. Por exemplo, se você chamar [`.getKey()`](#getkey) para calcular a chave primária, `.touched()` retornará True. +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. #### Exemplo @@ -1685,7 +1684,7 @@ Neste exemplo, vemos se é necessário salvar a entidade: A função `.touchedAttributes()` retorna os nomes dos atributos que foram modificados desde que a entidade foi carregada na memória. -Isso se aplica para atributos [kind](DataClassClass.md#attributename) `storage` ou `relatedEntity`. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". No caso de uma entidade relacionada que foi tocada (touched) \*ou seja, a chave primária) o nome da entidade relacionada e sua chave primária são retornados. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md index 79e77574848af5..3ee368a3b6c066 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/FileClass.md @@ -366,7 +366,7 @@ ALERT($info.Copyright) A função `.moveTo()` move ou renomeia o objeto `File` para a *destinationFolder* especificada. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. Por padrão, o arquivo mantém o seu nome quando é movido. Se quiser renomear o arquivo movido, passe o novo nome completo no parâmetro *newName*. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. @@ -538,12 +538,10 @@ Se quiser renomear "ReadMe.txt" em "ReadMe_new.txt": A função `.setAppInfo()` escreve as propriedades *info* como o conteúdo da informação de um arquivo **.exe**, **.dll** ou **.plist** . -A função deve ser utilizada com um arquivo .exe, .dll ou .plist existente. Se o ficheiro não existir no disco ou não for um ficheiro .exe, .dll ou .plist válido, a função não faz nada (não é gerado qualquer erro). - -> A função apenas é compatível com arquivos .plist em formato xml (baseado em texto). Um erro é retornado se usado com um arquivo .plist em formato binário. - \***Parâmetro *info* com um arquivo .exe ou .dll** +The function must be used with an existing and valid .exe or .dll file, otherwise it does nothing (no error is generated). + > A escrita de um arquivo .exe ou .dll só é possível no Windows. Each valid property set in the *info* object parameter is written in the version resource of the .exe or .dll file. As propriedades disponíveis são (qualquer outra propriedade será ignorada): @@ -566,6 +564,8 @@ For the `WinIcon` property, if the icon file does not exist or has an incorrect \***Parâmetro *info* com um arquivo .plist** +> A função apenas é compatível com arquivos .plist em formato xml (baseado em texto). Um erro é retornado se usado com um arquivo .plist em formato binário. + Each valid property set in the *info* object parameter is written in the .plist file as a key. Qualquer nome chave é aceito. Os tipos de valores são preservados sempre que possível. If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Outras chaves existentes no arquivo .plist são deixadas intocadas. @@ -575,25 +575,28 @@ If a key set in the *info* parameter is already defined in the .plist file, its #### Exemplo ```4d - // set copyright and version of a .exe file (Windows) -var $exeFile : 4D. File + // set copyright, version and icon of a .exe file (Windows) +var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file; fk platform path) +$iconFile:=File("/RESOURCES/myApp.ico") $info:=New object -$info. LegalCopyright:="Copyright 4D 2021" -$info. ProductVersion:="1.0.0" +$info.LegalCopyright:="Copyright 4D 2023" +$info.ProductVersion:="1.0.0" +$info.WinIcon:=$iconFile.path $exeFile.setAppInfo($info) ``` ```4d // set some keys in an info.plist file (all platforms) -var $infoPlistFile : 4D. File +var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") $info:=New object -$info. Copyright:="Copyright 4D 2021" //text -$info. ProductVersion:=12 //integer -$info. ShipmentDate:="2021-04-22T06:00:00Z" //timestamp +$info.Copyright:="Copyright 4D 2023" //text +$info.ProductVersion:=12 //integer +$info.ShipmentDate:="2023-04-22T06:00:00Z" //timestamp +$info.CFBundleIconFile:="myApp.icns" //for macOS $infoPlistFile.setAppInfo($info) ``` @@ -617,15 +620,15 @@ $infoPlistFile.setAppInfo($info) -| Parâmetro | Tipo | | Descrição | -| --------- | ---- | -- | ------------------------------ | -| content | BLOB | -> | Novos conteúdos para o arquivo | +| Parâmetro | Tipo | | Descrição | +| --------- | ---- | -- | ------------------------- | +| content | BLOB | -> | New contents for the file | #### Descrição -A função `.setContent( )` reescreve todo o conteúdo do arquivo usando os dados armazenados no BLOB *content*. Para obter informações sobre BLOBs, consulte a seção [BLOB](Concepts/dt_blob.md). +The `.setContent( )` function rewrites the entire content of the file using the data stored in the *content* BLOB. Para obter informações sobre BLOBs, consulte a seção [BLOB](Concepts/dt_blob.md). #### Exemplo @@ -664,11 +667,11 @@ A função `.setContent( )` reescrev #### Descrição -A função `.setText()` escreve *text* como o novo conteúdo do arquivo. +The `.setText()` function writes *text* as the new contents of the file. If the file referenced in the `File` object does not exist on the disk, it is created by the function. Quando o ficheiro já existir no disco, o seu conteúdo anterior é apagado, exceto se já estiver aberto, caso em que o seu conteúdo é bloqueado e é gerado um erro. -Em *text,* passe o texto a escrever no arquivo. Pode ser um texto literal ("my text"), ou um campo/variável texto 4D. +In *text*, pass the text to write to the file. Pode ser um texto literal ("my text"), ou um campo/variável texto 4D. Opcionalmente, pode designar o conjunto de caracteres a utilizar para escrever o conteúdo. Você pode passar também: @@ -691,7 +694,7 @@ In *breakMode*, you can pass a number indicating the processing to apply to end- By default, when you omit the *breakMode* parameter, line breaks are processed in native mode (1). -**Nota de compatibilidade**: as opções de compatibilidade estão disponíveis para a gerenciamento da EOL e da BOM. Consulte a [página Compatibilidade](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) em doc.4d.com. +**Compatibility Note**: Compatibility options are available for EOL and BOM management. See [Compatibility page](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) on doc.4d.com. #### Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/FolderClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/FolderClass.md index 2eb9c22137110e..ea72658ed2bb85 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/FolderClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/FolderClass.md @@ -295,7 +295,7 @@ Quando `Delete with contents` é passado: A função `.moveTo( )` move ou renomeia o objeto `Folder` (pasta de origem) para a *destinationFolder* especificada. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. Por padrão, a pasta mantém o seu nome quando movida. Por padrão, a pasta mantém o seu nome quando movida. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/HTTPRequestClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/HTTPRequestClass.md index 94a850d816f92d..59b6cd1d26e110 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/HTTPRequestClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/HTTPRequestClass.md @@ -96,7 +96,7 @@ A função `4D.HTTPRequest.new()` cria The returned `HTTPRequest` object is used to process responses from the HTTP server and call methods. -In *url*, pass the URL where you want to send the request. A sintaxe a utilizar é: +Em *url*, passe o URL para onde pretende enviar o pedido. A sintaxe a utilizar é: ``` {http://}[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/POP3TransporterClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/POP3TransporterClass.md index f2910ed60951aa..963ca2cd8afb13 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/POP3TransporterClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/POP3TransporterClass.md @@ -200,7 +200,7 @@ O objeto `boxInfo` retornado contém as seguintes propriedades: A função `.getMail()` retorna o objeto `Email` correspondente ao *msgNumber* na caixa de correio designada pelo [`transporter POP3`](#pop3-transporter-object). Essa função permite manejar localmente os conteúdos de email. -Pass in *msgNumber* the number of the message to retrieve. Esse número é retornado na propriedade `number` pela função [`.getMailInfoList()`](#getmailinfolist). +Passe em *msgNumber* o número da mensagem a recuperar. Esse número é retornado na propriedade `number` pela função [`.getMailInfoList()`](#getmailinfolist). Optionally, you can pass `true` in the *headerOnly* parameter to exclude the body parts from the returned `Email` object. Somente propriedades de cabeçalhos ([`headers`](EmailObjectClass.md#headers), [`to`](EmailObjectClass.md#to), [`from`](EmailObjectClass.md#from)...) são então retornados. Esta opção permite-lhe optimizar a etapa de descarregamento quando muitos e-mails estão no servidor. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/SystemWorkerClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/SystemWorkerClass.md index 836f3e4bc1f16b..dd562506ec1e75 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/SystemWorkerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/SystemWorkerClass.md @@ -89,7 +89,7 @@ In the *options* parameter, pass an object that can contain the following proper | ---------------- | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | onResponse | Formula | indefinido | Chamada de retorno para mensagens de worker do sistema. Esta chamada de retorno é chamada assim que a resposta completa é recebida. Recebe dois objectos como parâmetros (ver abaixo) | | onData | Formula | indefinido | Chamada de retorno para os dados do worker do sistema. Esta chamada de retorno é chamada cada vez que o worker do sistema recebe dados. Recebe dois objectos como parâmetros (ver abaixo) | -| onDataError | Formula | indefinido | Callback for the external process errors (*stderr* of the external process). Recebe dois objectos como parâmetros (ver abaixo) | +| onDataError | Formula | indefinido | Callback para os erros do processo externo (*stderr* do processo externo). Recebe dois objectos como parâmetros (ver abaixo) | | onError | Formula | indefinido | Chamada de retorno para erros de execução, devolvida pelo worker do sistema em caso de condições anormais de tempo de execução (erros de sistema). Recebe dois objectos como parâmetros (ver abaixo) | | onTerminate | Formula | indefinido | Chamada de retorno quando o processo externo é terminado. Recebe dois objectos como parâmetros (ver abaixo) | | timeout | Number | indefinido | Tempo em segundos antes de o processo ser terminado se ainda estiver vivo | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebFormClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebFormClass.md index c951c844cd5ed3..898fcc11824905 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebFormClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebFormClass.md @@ -55,7 +55,7 @@ A função `.disableState()` de Essa função não faz nada se: -- the *state* is currently not enabled in the web form, +- o *estado* não está habilitado no momento no formulário Web, - o *estado* não existe para o formulário Web. Se você [enable](#enablestate) ou desativar vários estados na mesma função de usuário, todas as modificações são enviadas em simultâneo, para o cliente quando a função termina. @@ -80,7 +80,7 @@ A função `.enableState()` ativ Essa função não faz nada se: -- the *state* has already been enabled on the web form, +- o *estado* já foi ativado no formulário Web, - o *estado* não existe para o formulário Web. Se você ativar ou [desativar](#disablestate) vários estados dentro da mesma função de usuário, todas as modificações serão enviadas ao mesmo tempo, para o cliente quando a função terminar. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md index cd7c534274f2f7..18659187e91905 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebServerClass.md @@ -568,7 +568,7 @@ The `.start()` function starts the w The web server starts with default settings defined in the settings file of the project or (host database only) using the `WEB SET OPTION` command. However, using the *settings* parameter, you can define customized properties for the web server session. -All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). As configurações de sessão personalizadas serão redefinidas quando a função [`.stop()`](#stop) for chamada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketClass.md index 330ee9873c332d..5b98f5fe889f91 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/API/WebSocketClass.md @@ -239,7 +239,7 @@ In *code*, you can pass a status code explaining why the connection is being clo - If unspecified, a close code for the connection is automatically set to 1000 for a normal closure, or otherwise to another standard value in the range 1001-1015 that indicates the actual reason the connection was closed. - Se especificado, o valor desse parâmetro de código substitui a configuração automática. O valor deve ser um número inteiro. Ou 1000, ou um código personalizado no intervalo 3000-4999. Se você especificar um valor *code*, também deverá especificar um valor *reason*. -In *reason*, you can pass a string describing why the connection is being closed. +Em *reason*, você pode passar uma frase descrevendo porque a conexão está sendo fechada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md index b534ee53938b36..8c3e71ae58d7f6 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Concepts/classes.md @@ -748,7 +748,7 @@ Você declara classes singleton adicionando a(s) palavra(s)-chave apropriada(s) :::note - Session singletons are automatically shared singletons (there's no need to use the `shared` keyword in the class constructor). -- As funções compartilhadas Singleton suportam a palavra-chave `onHTTPGet`(../ORDA/ordaClasses.md#onhttpget-keyword). +- Singleton shared functions support [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_number.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_number.md index e4e6913906656a..af4d7456184ab0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_number.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Concepts/dt_number.md @@ -121,7 +121,7 @@ Os operadores bitwise operam com expressões ou valores inteiros (Long). While using the bitwise operators, you must think about a Long value as an array of 32 bits. Os bits são numerados de 0 a 31, da direita para a esquerda. -Já que cada bit pode ser igual a 0 ou 1, também se pode pensar num valor Long Integer como um valor onde se pode armazenar 32 valores booleanos. A bit equal to 1 means **True** and a bit equal to 0 means **False**. +Já que cada bit pode ser igual a 0 ou 1, também se pode pensar num valor Long Integer como um valor onde se pode armazenar 32 valores booleanos. Um bit igual a 1 significa **True** e um bit igual a 0 significa **False**. An expression that uses a bitwise operator returns a Long value, except for the Bit Test operator, where the expression returns a Boolean value. A tabela a seguir lista os operadores bitwise e sua sintaxe: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugger.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugger.md index 18f19f5f921b30..4af59387b3d139 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugger.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugger.md @@ -456,7 +456,7 @@ O menu contextual do painel Código-fonte fornece acesso a várias funções que - **Show documentation**: Opens the documentation for the target element. Este comando está disponível para: - *Project methods*, *user classes*: Selects the method in the Explorer and switches to the documentation tab - - *4D commands, functions, class names:* Displays the online documentation. + - *Comandos 4D, funções e nomes de classes:* exibe a documentação on-line. - **Search References** (também disponível no Editor de código): Pesquisa todos os objetos do projeto (métodos e formulários) nos quais o elemento atual do método é referenciado. O elemento atual é o elemento selecionado ou o elemento onde se encontra o cursor. Pode ser o nome de um campo, variável, comando, cadeia de caracteres, etc. Os resultados da pesquisa são apresentados numa nova janela de resultados padrão. - **Cópia**: Cópia padrão da expressão selecionada para a área de transferência. - **Copiar para o Painel de Expressão**: Copia a expressão selecionada para o painel de observação personalizado. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugging-remote.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugging-remote.md index 3e0a32f3367113..7831bcc26ce0a0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugging-remote.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Debugging/debugging-remote.md @@ -62,7 +62,7 @@ O depurador é então ligado ao cliente 4D remoto: Para ligar o depurador de novo ao servidor: 1. On the remote 4D client that has the debugger attached, select **Run** > **Detach Remote Debugger**. -2. In the 4D Server menu bar, select **Edit** > **Attach debugger**. +2. Na barra de menu de 4D Server, selecione **Editar** > **Anexar depurador**. > Quando o depurador estiver conectado ao servidor (padrão), todos os processos do servidor são executados automaticamente no modo cooperativo para permitir a depuração. Este fato pode ter um impacto significativo no desempenho. Quando não for necessário depurar na máquina do servidor, recomenda-se desconectar o depurador e anexá-lo a uma máquina remota, se necessário. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md index 95010331acbf65..be1ea1a1661e7d 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Extensions/develop-components.md @@ -29,7 +29,7 @@ A excepción de los [comandos no utilizables](#comandos-inutilizables), un compo Quando os comandos são chamados a partir de um componente, eles são executados no contexto do componente, com exceção dos comandos [`EXECUTE METHOD`] (https://doc.4d.com/4dv20/help/command/en/page1007.html) ou [`EXECUTE FORMULA`] (https://doc.4d.com/4dv20/help/command/en/page63.html), que usam o contexto do método especificado pelo comando. Observe também que os comandos de leitura do tema "Usuários e grupos" podem ser usados a partir de um componente, mas lerão os usuários e grupos do projeto host (um componente não tem seus próprios usuários e grupos). -Os comandos [`SET DATABASE PARAMETER`](https://doc.4d.com/4dv20/help/command/pt-BR/page642.html) e [`Get database parameter`](https://doc.4d.com/4dv20/help/command/pt-BR/page643.html) são uma exceção: seu escopo é global para a aplicação. Quando esses comandos forem chamados de um componente, são aplicados ao projecto de aplicação local. +The [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands are an exception: their scope is global to the application. Quando esses comandos forem chamados de um componente, são aplicados ao projecto de aplicação local. Além disso, medidas especificas foram criadas para os comandos `Structure file` e `Get 4D folder` quando utilizados no marco dos componentes. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md index 9ba1ff7ba0c471..137348b0722c07 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Notes/updates.md @@ -10,15 +10,15 @@ Leia [**O que há de novo no 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d- #### Destaques - Implemente seus próprios [**HTTP request handlers**](../WebServer/http-request-handler.md) usando a nova classe [`4D.IncomingMessage`](../API/IncomingMessageClass.md). -- As expressões usadas em [form object properties] (../FormObjects/properties_Reference.md) agora se beneficiam da verificação de sintaxe na [Property list] (../FormEditor/formEditor.md#property-list) e no [Compiler] (../Project/compiler.md#check-syntax). +- As expressões usadas em [form object properties](../FormObjects/properties_Reference.md) agora se beneficiam da verificação de sintaxe na [Property list](../FormEditor/formEditor.md#property-list) e no [Compiler](../Project/compiler.md#check-syntax). - Você pode [associar uma classe a um formulário](../FormEditor/properties_FormProperties.md#form-class) para ativar a antecipação do tipo de código e a instanciação automática dos dados do formulário ao usar o comando [`Form`](../commands/form.md). - Suporte de [sessões autônomas](../API/SessionClass.md) para simplificar a codificação local para aplicações cliente/servidor. - [Depurador 4D](../Debugging/debugger.md): novo design e salvamento automático, recursos do modo de exibição. -- [Nova arquitetura de componentes] (../Desktop/building.md#build-component) para uma melhor conformidade com as diretrizes de reconhecimento de firma da Apple. -- Agora você pode facilmente [criar aplicativos de avaliação] (../Desktop/building.md#build-an-evaluation-application) na caixa de diálogo Criar aplicativo. -- Dependências: Use o gerenciador de dependências para [verificar se há novas versões] (../Project/components.md#checking-for-new-versions) e [atualizar] (../Project/components.md#updating-dependencies) os componentes do GitHub. +- [Nova arquitetura de componentes](../Desktop/building.md#build-component) para uma melhor conformidade com as diretrizes de reconhecimento de firma da Apple. +- Agora você pode facilmente [criar aplicativos de avaliação](../Desktop/building.md#build-an-evaluation-application) na caixa de diálogo Criar aplicativo. +- Dependências: use o gerenciador de dependências para [verificar se há novas versões](../Project/components.md#checking-for-new-versions) e [atualizar](../Project/components.md#updating-dependencies) os componentes do GitHub. - Novas classes [`TCPConnection`](../API/TCPConnectionClass.md) e [`TCPEvent`](../API/TCPEventClass.md) para gerenciar conexões de clientes TCP, manipular eventos e aprimorar o controle sobre a transmissão de dados. Adicionado [`4DTCPLog.txt`](../Debugging/debugLogFiles.md#4dtcplogtxt) para registro detalhado de eventos TCP. -- Novas opções em [VP EXPORT DOCUMENT] (../ViewPro/commands/vp-export-document.md) e [VP IMPORT DOCUMENT] (../ViewPro/commands/vp-import-document.md) para controlar estilos, fórmulas, integridade de dados e proteção por senha. +- Novas opções em [VP EXPORT DOCUMENT](../ViewPro/commands/vp-export-document.md) e [VP IMPORT DOCUMENT](../ViewPro/commands/vp-import-document.md) para controlar estilos, fórmulas, integridade de dados e proteção por senha. - 4D Write Pro: - Os seguintes comandos agora permitem parâmetros, como objetos ou coleções: [WP SET ATTRIBUTES](../WritePro/commands/wp-set-attributes.md), [WP Obter atributos](../WritePro/commands/wp-get-attributes.md), [WP REDEFINIR ATTRIBUTES](../WritePro/commands/wp-reset-attributes.md), [Tabela WP anexa linha](../WritePro/commands/wp-table-append-row.md), [documento de importação do WP](../WritePro/commands/wp-import-document.md), [WP EXPORT DOCUMENT](../WritePro/commands/wp-export-document.md), [WP Add picture](../WritePro/commands/wp-add-picture.md), e [WP Insert picture](../WritePro/commands/wp-insert-picture.md). - [WP Insert formula](../WritePro/commands/wp-insert-formula.md), [WP Insert document body](../WritePro/commands/wp-insert-document-body.md) e [WP Insert break](../WritePro/commands/wp-insert-break.md), agora são funções que retornam intervalos. @@ -30,7 +30,7 @@ Leia [**O que há de novo no 4D 20 R8**](https://blog.4d.com/en-whats-new-in-4d- #### Mudanças de comportamento -- Devido à sua [nova arquitetura] (../Desktop/building.md#build-component), os componentes criados com o 4D 20 R8 e superior não podem ser instalados em versões anteriores do 4D. +- Devido à sua [nova arquitetura](../Desktop/building.md#build-component), os componentes criados com o 4D 20 R8 e superior não podem ser instalados em versões anteriores do 4D. ## 4D 20 R7 @@ -41,9 +41,9 @@ Leia [**O que há de novo no 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d- - As colunas e cabeçalhos da list box de tipo tempo agora suportam a opção ["blankIfNull"](../FormObjects/properties_Display.md#time-format). - Novas propriedades em [`.getBoxInfo()`](../API/IMAPTransporterClass.md#getboxinfo) e [`.getBoxList()`](../API/IMAPTransporterClass.md#getboxlist). - Agora você pode [adicionar e remover componentes usando a interface do gerenciador de componentes](../Project/components.md#monitoring-project-dependencies). -- Novo modo [**direct typing mode**] (../Project/compiler.md#enabling-direct-typing) no qual você declara todas as variáveis e parâmetros em seu código usando as palavras-chave `var` e `#DECLARE`/`Function` (somente o modo suportado em novos projetos). A [funcionalidade verificação de sintaxe](../Project/compiler.md#check-syntax) foi aprimorado de acordo. -- Suporte a [Session singletons] (../Concepts/classes.md#singleton-classes) e à nova propriedade de classe [`.isSessionSingleton`] (../API/ClassClass.md#issessionsingleton). -- Nova palavra-chave de função [`onHTTPGet`] (../ORDA/ordaClasses.md#onhttpget-keyword) para definir funções singleton ou ORDA que podem ser chamadas por meio de solicitações [HTTP REST GET] (../REST/ClassFunctions.md#function-calls). +- Novo modo [**direct typing mode**](../Project/compiler.md#enabling-direct-typing) no qual você declara todas as variáveis e parâmetros em seu código usando as palavras-chave `var` e `#DECLARE`/`Function` (somente o modo suportado em novos projetos). A [funcionalidade verificação de sintaxe](../Project/compiler.md#check-syntax) foi aprimorado de acordo. +- Suporte a [singletons de session](../Concepts/classes.md#singleton-classes) e à nova propriedade de classe [`.isSessionSingleton`](../API/ClassClass.md#issessionsingleton). +- Nova [palavra-chave de função `onHttpGet`](../ORDA/ordaClasses.md#onhttpget-keyword) para definir funções singleton ou ORDA que podem ser chamadas por meio de solicitações [HTTP REST GET](../REST/ClassFunctions.md#function-calls). - Nova classe [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) para que o servidor REST retorne qualquer conteúdo Web. - Qodly Studio: agora você pode [anexar o depurador Qodly a 4D Server](../WebServer/qodly-studio.md#using-qodly-debugger-on-4d-server). - New Build Application keys para aplicativos 4D remotos para validar a autoridade de certificação do servidor [signatures](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateAuthoritiesCertificates.300-7425900.en.html) e/ou [domain](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.en.html). @@ -59,9 +59,9 @@ Leia [**O que há de novo no 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d- #### Mudanças de comportamento -- As documentações para [4D Language] (../commands/command-index.md) e [4D Write Pro Language] (../WritePro/commands/command-index.md) estão agora totalmente disponíveis em developer.4d.com. Saiba mais sobre todos os novos recursos e alterações referentes a essas documentações nesta nota de versão. +- As documentações para [4D Language](../commands/command-index.md) e [4D Write Pro Language](../WritePro/commands/command-index.md) estão agora totalmente disponíveis em developer.4d.com. Saiba mais sobre todos os novos recursos e alterações referentes a essas documentações nesta nota de versão. - O comando [`File`](../commands/file.md) (assim como o [`4D.File.new()`](../API/FileClass.md#4dfilenew)) é mais rigoroso quando se trata de verificar a sintaxe do *caminho* fornecido como parâmetro. -- A ação de [permission](../ORDA/privileges.md#permission-actions) **describe** foi removida das ações disponíveis. Acesso às urls [`/rest/$catalog`](../REST/$catalog.md) não é mais controlado. Session *describe* privileges are now ignored. +- A ação de [permission](../ORDA/privileges.md#permission-actions) **describe** foi removida das ações disponíveis. Acesso às urls [`/rest/$catalog`](../REST/$catalog.md) não é mais controlado. Os privilégios *describe* da sessão agora são ignorados. ## 4D 20 R6 @@ -81,14 +81,14 @@ Leia [**O que há de novo no 4D 20 R6**](https://blog.4d.com/en-whats-new-in-4d- - Um [novo botão de configurações](../settings/web.md#activate-rest-authentication-through-dsauthentify-function) ajuda você a atualizar seu projeto para usar o modo REST de "login forçado" (o método de banco de dados `On REST Authentication` agora está obsoleto). - Uma [nova guia de parametros](../Project/compiler.md#warnings) ajuda a definir a geração de avisos globalmente. - Vários comandos, principalmente do tema "4D Environment", agora são thread-safe ([veja a lista completa](https://doc.4d.com/4Dv20R6/4D/Preemptive_6957385.999-2878208.en.html)), bem como alguns seletores dos comandos [`SET DATABASE PARAMETER`](https://doc.4d.com/4dv20R/help/command/en/page642.html)/[`Get database parameter`](https://doc.4d.com/4dv20R/help/command/en/page643.html). -- Novo componente [4D-QPDF] (https://github.com/4d/4D-QPDF) que fornece o comando `PDF Get attachments` para extrair anexos de um documento PDF/A3. +- Novo [componente 4D-QPDF](https://github.com/4d/4D-QPDF) que fornece o comando `PDF Get attachments` para extrair anexos de um documento PDF/A3. - Comandos da linguagem 4D: [página Novidades](https://doc.4d.com/4Dv20R6/4D/20-R6/What-s-new.901-6957482.en.html) em doc.4d.com. - 4D Write Pro: [Página Novidades](https://doc.4d.com/4Dv20R6/4D/20-R6/What-s-new.901-6993921.en.html) em doc.4d.com. - [**Lista de erros corrigida**](https://bugs.4d.fr/fixedbugslist?version=20_R6): lista de todos os bugs corrigidos em 4D 20 R6. #### Mudanças de comportamento -- Suporte para perseguir a rolagem nos formulários: subformas pai agora rolam automaticamente quando objetos roláveis incorporados ([verticalmente](../FormObjects/properties_Appearance.md#vertical-scroll-bar) ou [horizontalmente](. /FormObjects/properties_Appearance.md#horizontal-scroll-bar)) atingiram os limites e o usuário continua rolando usando o mouse ou rastreador (overscrolling). +- Suporte para perseguir a rolagem nos formulários: subformas pai agora rolam automaticamente quando objetos roláveis incorporados ([verticalmente](../FormObjects/properties_Appearance.md#vertical-scroll-bar) ou [horizontalmente](../FormObjects/properties_Appearance.md#horizontal-scroll-bar)) atingiram os limites e o usuário continua rolando usando o mouse ou rastreador (overscrolling). - A API REST [`$catalog`](../REST/$catalog.md) agora retorna singletons (se houver). ## 4D 20 R5 @@ -104,7 +104,7 @@ Leia [**O que há de novo no 4D 20 R5**](https://blog.4d.com/en-whats-new-in-4d- - Soporte de [clases compartidas](../Concepts/classes.md#shared-classes) y de [clases singleton](../Concepts/classes.md#singleton-classes). Novas propriedades de classe: [`isShared`](../API/ClassClass.md#isshared), [`isSingleton`](../API/ClassClass.md#issingleton), [`me`](../API/ClassClass.md#me). - Suporte à [inicializando uma propriedade de classe em sua linha de declaração](../Concepts/classes.md#initializing-the-property-in-the-declaration-line). - Novo modo [forçar login para solicitações REST](../REST/authUsers.md#force-login-mode) com um suporte específico [no Qodly Studio para 4D](../WebServer/qodly-studio.md#force-login). -- Nuevo parámetro REST [$format](../REST/$format.md). +- Novo parâmetro REST [$format](../REST/$format.md). - O objeto [`Session`](../commands/session.md) agora está disponível em sessões de usuários remotos e sessões de procedimentos armazenados. - Comandos da linguagem 4D: [página Novidades](https://doc.4d.com/4Dv20R5/4D/20-R5/What-s-new.901-6817247.en.html) em doc.4d.com. - 4D Write Pro: [Página de novidades](https://doc.4d.com/4Dv20R5/4D/20-R5/What-s-new.901-6851780.en.html) em doc.4d.com. @@ -123,7 +123,7 @@ Leia [**O que há de novo no 4D v20 R4**](https://blog.4d.com/en-whats-new-in-4d - Suporte do [formato de criptografia `ECDSA`](../Admin/tls.md#encryption) para os certificados TLS. - As conexões TLS cliente/servidor e servidor SQL agora são [configuradas dinamicamente](../Admin/tls.md#enabling-tls-with-the-other-servers) (não são necessários arquivos de certificado). -- Formato HTML direto para [exportações de definição de estrutura] (https://doc.4d.com/4Dv20R4/4D/20-R4/Exporting-and-importing-structure-definitions.300-6654851.en.html). +- Formato HTML direto para [exportações de definição de estrutura](https://doc.4d.com/4Dv20R4/4D/20-R4/Exporting-and-importing-structure-definitions.300-6654851.en.html). - Novo [Code Live Checker](../code-editor/write-class-method.md#warnings-and-errors) que aprimora o controle de código durante a digitação de código, a verificação de sintaxe e as etapas de compilação para evitar erros de execução. - Os parâmetros de método declarados nos protótipos `#DECLARE` [não são mais necessários nos métodos "Compiler_"](../Concepts/parameters.md). - Suporte de [formatos personalizados de data e hora](../Project/date-time-formats.md) @@ -132,7 +132,7 @@ Leia [**O que há de novo no 4D v20 R4**](https://blog.4d.com/en-whats-new-in-4d - Nova opção de compatibilidade [Impressão sem bloqueio](../settings/compatibility.md). - Nuevo [modo de edición](../Admin/dataExplorer.md#editing-data) en el Explorador de datos. - Comandos da linguagem 4D: [Novidades de página](https://doc.4d.com/4Dv20R4/4D/20-R4/What-s-new.901-6655756.en.html) em doc.4d.com. -- 4D Write Pro: [Página Novidades] (https://doc.4d.com/4Dv20R4/4D/20-R4/What-s-new.901-6683440.en.html) em doc.4d.com. +- 4D Write Pro: [Página Novidades](https://doc.4d.com/4Dv20R4/4D/20-R4/What-s-new.901-6683440.en.html) em doc.4d.com. - [**Lista de erros corrigida**](https://bugs.4d.fr/fixedbugslist?version=20_R4): lista de todos os bugs corrigidos em 4D 20 R4. #### Mudanças de comportamento @@ -140,7 +140,7 @@ Leia [**O que há de novo no 4D v20 R4**](https://blog.4d.com/en-whats-new-in-4d - Usando uma sintaxe legada para declarar parâmetros (por exemplo, `C_TEXT($1)` ou `var $1 : Text`) está agora obsoleto e gera avisos na digitação de código, verificação de sintaxe e etapas de compilação. - La coherencia de las selecciones ahora se mantiene después de que se hayan eliminado algunos registros y se hayan creado otros (ver [esta entrada de blog](https://blog.4d.com/4d-keeps-your-selections-of-records-consistent-regarding-deletion-of-records/)). - Na atualização da [biblioteca OpenSSL](#library-table), o nível de segurança SSL/TLS padrão foi alterado de 1 para 2. Chaves RSA, DSA e DH de 1024 bits ou mais e menos de 2048 bits, assim como chaves ECC de 160 bits ou mais e menos de 224 bits, agora não são mais permitidas. Por padrão, a compressão TLS já estava desativada nas versões anteriores do OpenSSL. No nível de segurança 2, ele não pode ser habilitado. -- Para permitir a verificação de senha quando o diretório do usuário [4D usar o algoritmo bcrypt](https://blog.4d. om/bcrypt-support-for-passwords/), o valor da "senha" no parâmetro *connectionInfo* do [`Open datastore`](../commands/open-datastore.md) agora é enviado de forma clara por padrão. Make sure your "On REST authentication" database method can handle passwords in clear form (third parameter is then **False**) and that `Open datastore` encrypts your connection by passing the "tls" option to **True** in *connectionInfo*. Em casos específicos, uma nova opção "passwordAlgorithm" também pode ser usada para fins de compatibilidade (consulte o comando [`Open datastore`](../commands/open-datastore.md)). +- Para permitir a verificação de senha quando o diretório do usuário [4D usar o algoritmo bcrypt](https://blog.4d.com/bcrypt-support-for-passwords/), o valor da "senha" no parâmetro *connectionInfo* do [`Open datastore`](../commands/open-datastore.md) agora é enviado de forma clara por padrão. Certifique-se de que seu método de banco de dados "On REST authentication" possa lidar com senhas em formato claro (o terceiro parâmetro é, então, **False**) e que o `Open datastore` criptografe sua conexão passando a opção "tls" para **True** em *connectionInfo*. Em casos específicos, uma nova opção "passwordAlgorithm" também pode ser usada para fins de compatibilidade (consulte o comando [`Open datastore`](../commands/open-datastore.md)). ## 4D 20 R3 @@ -153,18 +153,18 @@ Leia [**O que há de novo no 4D v20 R3**](https://blog.4d.com/en-whats-new-in-4d - Suporte da propriedade `headers` no parâmetro *connectionHandler* de [4D.WebSocket.new](../API/WebSocketClass.md#4dwebsocketnew). - [Marcador de modificação global](../ORDA/global-stamp.md) para facilitar a implementação de módulos de sincronização de dados. Novas funções: [`ds.getGlobalStamp`](../API/DataStoreClass.md#getglobalstamp) e [`ds.setGlobalStamp`](../API/DataStoreClass.md#setglobalstamp). - Atribuindo arquivo de referências a atributos de imagem/blob é [suportado no ORDA](../ORDA/entities.md#assigning-files-to-picture-or-blob-attributes). -- [inicializar o valor e o tipo de dados da variável na linha de declaração](../Concepts/variables/#initializing-variables-in-the-declaration-line). +- Suporte para [inicialização do valor da variável e do tipo de dados na linha de declaração](../Concepts/variables/#initializing-variables-in-the-declaration-line). - As configurações de arquivos de log agora são [salvas com o arquivo de dados atual](../Backup/settings.md#log-management) - Nova sintaxe para [declarar parâmetros variádicos](../Concepts/parameters.md#declaring-variadic-parameters) - 4D View Pro: compatibilidade com [importação](../ViewPro/commands/vp-import-from-blob) e de [exportação](../ViewPro/commands/vp-export-to-blob) de documentos 4D View Pro ao formato Blob. - Comandos da linguagem 4D: [Novidades de página](https://doc.4d.com/4Dv20R3/4D/20-R3/What-s-new.901-6531224.en.html) em doc.4d.com. -- 4D Write Pro: [Página Novidades] (https://doc.4d.com/4Dv20R3/4D/20-R3/What-s-new.901-6475174.en.html) em doc.4d.com. +- 4D Write Pro: [Página Novidades](https://doc.4d.com/4Dv20R3/4D/20-R3/What-s-new.901-6475174.en.html) em doc.4d.com. - [**Lista de erros corrigida**](https://bugs.4d.fr/fixedbugslist?version=20_R3): lista de todos os bugs corrigidos em 4D 20 R3. #### Mudanças de comportamento -- Alguns erros foram capturados pelo seu [método de tratamento de erros](../Concepts/error-handling.md) somente no modo interpretado. Foi feita uma correção para que os seguintes erros agora sejam pegos também no modo compilado: *Índice fora do intervalo*, *Tipo incompatível* e *Dereferenciando um ponteiro Nulo*. Entretanto, para esses erros nos processadores Intel, o procedimento ainda é interrompido como antes, enquanto nos processadores Apple Silicon o procedimento só é interrompido se você chamar o comando [`ABORT`] (https://doc.4d.com/4dv20/help/command/en/page156.html). -- 4D não inclui mais um interpretador PHP interno. Você precisa [configurar e executar seu próprio interpretador PHP] (https://blog.4d.com/deprecation-of-php-commands-and-removal-of-4d-built-in-php-interpreter) para usar os comandos PHP. +- Alguns erros foram capturados pelo seu [método de tratamento de erros](../Concepts/error-handling.md) somente no modo interpretado. Foi feita uma correção para que os seguintes erros agora sejam pegos também no modo compilado: *Índice fora do intervalo*, *Tipo incompatível* e *Dereferenciando um ponteiro Nulo*. Entretanto, para esses erros nos processadores Intel, o procedimento ainda é interrompido como antes, enquanto nos processadores Apple Silicon o procedimento só é interrompido se você chamar o comando [`ABORT`](https://doc.4d.com/4dv20/help/command/en/page156.html). +- 4D não inclui mais um interpretador PHP interno. Você precisa [configurar e executar seu próprio interpretador PHP](https://blog.4d.com/deprecation-of-php-commands-and-removal-of-4d-built-in-php-interpreter) para usar os comandos PHP. ## 4D 20 R2 @@ -172,17 +172,17 @@ Leia [**O que há de novo no 4D v20 R2**](https://blog.4d.com/en-whats-new-in-4d :::warning Nota de segurança -Se suas aplicações 4D utilizam conexões TLS, é recomendado que você faça a atualização para a versão 4D 20 R2 HF1 build 100440 ou superior. Para obter mais informações, consulte este [Boletim de segurança] (https://blog.4d.com/security-bulletin-two-cves-and-how-to-stay-secure/). +Se suas aplicações 4D utilizam conexões TLS, é recomendado que você faça a atualização para a versão 4D 20 R2 HF1 build 100440 ou superior. Para obter mais informações, consulte este [Boletim de segurança](https://blog.4d.com/security-bulletin-two-cves-and-how-to-stay-secure/). ::: #### Destaques -- Nova classe [WebSocket] (../API/WebSocketClass.md) para criar e gerenciar conexões WebSocket do cliente a partir de 4D. -- Nova [configuração de interface] (../settings/client-server.md#network-layer) para a camada de rede QUIC. +- Nova classe [WebSocket](../API/WebSocketClass.md) para criar e gerenciar conexões WebSocket do cliente a partir de 4D. +- Nova [configuração de interface](../settings/client-server.md#network-layer) para a camada de rede QUIC. - 4D View Pro: compatibilidade com o formato de arquivo **.sjs** para [a importação](../ViewPro/commands/vp-import-document) e a [exportação](../ViewPro/commands/vp-export-document) de documentos. - Comandos da linguagem 4D: [Novidades de página](https://doc.4d.com/4Dv20R2/4D/20-R2/What-s-new.901-6398284.en.html) em doc.4d.com. -- 4D Write Pro: [Página Novidades] (https://doc.4d.com/4Dv20R2/4D/20-R2/What-s-new.901-6390313.en.html) em doc.4d.com. +- 4D Write Pro: [Página Novidades](https://doc.4d.com/4Dv20R2/4D/20-R2/What-s-new.901-6390313.en.html) em doc.4d.com. - Interface 4D Write Pro: novo [Table Wizard](../WritePro/writeprointerface.md). - [**Lista de erros corrigida**](https://bugs.4d.fr/fixedbugslist?version=20_R2): lista de todos os bugs corrigidos em 4D 20 R2. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ORDA/entities.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ORDA/entities.md index 07b8b9b4d3064f..544356bf5530ed 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ORDA/entities.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ORDA/entities.md @@ -99,7 +99,7 @@ Com as entidades, não há o conceito de "registro atual" como na linguagem 4D. Os atributos de entidade armazenam dados e mapeiam os campos correspondentes na tabela correspondente. - attributes of the **storage** kind can be set or get as simple properties of the entity object, -- attributes of the **relatedEntity** kind will return an entity, +- atributos do tipo **relatedEntity** retornarão uma entidade, - attributes of the **relatedEntities** kind will return an entity selection, - attributes of the **computed** and **alias** kind can return any type of data, depending on how they are configured. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md index 2929c6fa950b83..cf4f77b8efc2bf 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ORDA/ordaClasses.md @@ -844,7 +844,7 @@ As this type of call is an easy offered action, the developer must ensure no sen ### params -Uma função com a palavra-chave `onHTTPGet` aceita [parâmetros](../Concepts/parameters.md). +A function with `onHTTPGet` keyword accepts [parameters](../Concepts/parameters.md). In the HTTP GET request, parameters must be passed directly in the URL and declared using the `$params` keyword (they must be enclosed in a collection). @@ -856,7 +856,7 @@ Consulte a seção [Parâmetros](../REST/classFunctions#parameters) na documenta ### resultado -Uma função com a palavra-chave `onHTTPGet` pode retornar qualquer valor de um tipo compatível (o mesmo que para [parâmetros](../REST/classFunctions#parameters) REST). +A function with `onHTTPGet` keyword can return any value of a supported type (same as for REST [parameters](../REST/classFunctions#parameters)). :::info diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Project/compiler.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Project/compiler.md index 2de8b9b8d97a3b..5f9d76c68da801 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Project/compiler.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Project/compiler.md @@ -67,7 +67,7 @@ Este botão só será exibido em projetos convertidos se as **variáveis forem d ### Limpar código compilado -The **Clear compiled code** button deletes the compiled code of the project. Al hacer clic en él, se borra todo el [código generado durante la compilación](#classic-compiler), se desactiva el comando **Reiniciar compilado** del menú **Ejecutar** y la opción "Proyecto compilado" no está disponible al inicio. +O botão **Limpar o código compilado** exclui o código compilado do projeto. Al hacer clic en él, se borra todo el [código generado durante la compilación](#classic-compiler), se desactiva el comando **Reiniciar compilado** del menú **Ejecutar** y la opción "Proyecto compilado" no está disponible al inicio. ### Mostrar/ocultar avisos diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Project/components.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Project/components.md index 66349b63a5c522..80fd30f709d662 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Project/components.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/Project/components.md @@ -463,7 +463,7 @@ The Dependency manager provides an integrated handling of updates on GitHub. The - Automatic and manual checking of available versions - Automatic and manual updating of components -Manual operations can be done **per dependency** or **for all dependencies**. +As operações manuais podem ser feitas **por dependência** ou **para todas as dependências**. #### Checking for new versions diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/$attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/$attributes.md index b4e2685a5cc855..0eaa8b3771feb5 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/$attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/$attributes.md @@ -22,7 +22,7 @@ Puede aplicar `$attributes` a una entidad (*p. Ej.*, People(1)) o una entity sel - `$attributes=relatedEntities.*`: se devuelven todas las propiedades de todas las entidades relacionadas - `$attributes=relatedEntities.attributePath1, relatedEntities.attributePath2, ...`: sólo se devuelven los atributos de las entidades relacionadas. -- If `$attributes` is specified for **storage** attributes: +- Se `$attributes` for especificado para os atributos **storage**: - `$attributes=attribute1, attribute2, ...`: somente os atributos das entidades são retornados. ## Exemplo com entidades relacionadas diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md index 2ef76aa2cb1e73..ee873d00f18b30 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/$singleton.md @@ -27,7 +27,7 @@ Tenha em mente que somente funções com a [palavra-chave `exposed`](../ORDA/ord ## Chamadas funções -Singleton functions can be called using REST **POST** or **GET** requests. +As funções singleton podem ser chamadas usando solicitações REST **POST** ou **GET**. A sintaxe formal é: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md index e799c6c8f22b53..a6c1d79893d65d 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/REST/ClassFunctions.md @@ -7,8 +7,8 @@ You can call [data model class functions](ORDA/ordaClasses.md) defined for the O Functions can be called in two ways: -- using **POST requests**, with data parameters passed in the body of the request. -- using **GET requests**, with parameters directly passed in the URL. +- usando **POST requests**, com parâmetros de dados passados no corpo da solicitação. +- usando solicitações **GET**, com parâmetros passados diretamente no URL. POST requests provide a better security level because they avoid running sensitive code through an action as simple as clicking on a link. However, GET requests can be more compliant with user experience, allowing to call functions by entering an URL in a browser (note: the developer must ensure no sensitive action is done in such functions). @@ -49,7 +49,7 @@ with data in the body of the POST request: `["Aguada"]` :::note -A função `getCity()` deve ter sido declarada com a palavra-chave `onHTTPGet` (veja [Configuração da função](#function-configuration) abaixo). +The `getCity()` function must have been declared with the `onHTTPGet` keyword (see [Function configuration](#function-configuration) below). ::: @@ -73,7 +73,7 @@ Consulte a seção [Funções expostas vs. não expostas](../ORDA/ordaClasses.md ### `onHTTPGet` -As funções que podem ser chamadas a partir de solicitações HTTP `GET` também devem ser especificamente declaradas com a palavra-chave [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). Por exemplo: +Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). Por exemplo: ```4d //allowing GET requests diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ServerWindow/processes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ServerWindow/processes.md index 14ae638ce1fff1..3a40a720ae6fe7 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ServerWindow/processes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ServerWindow/processes.md @@ -87,7 +87,7 @@ A página também tem cinco botões de controle que atuam nos processos selecion > You can also abort the selected process(es) directly without displaying the confirmation dialog box by holding down the **Alt** key while clicking on this button, or by using the [`ABORT PROCESS BY ID`](https://doc.4d.com/4dv19/help/command/en/page1634.html) command. -- **Pause Process**: can be used to pause the selected process(es). +- **Pausar processo**: pode ser usado para pausar os processos selecionados. - **Activar proceso**: permite reactivar los procesos seleccionados. Os processos devem ter sido colocados em pausa anteriormente (utilizando o botão acima ou por programação); caso contrário, este botão não tem qualquer efeito. - **Depurar proceso**: permite abrir en el equipo servidor una o varias ventanas de depuración para el proceso o procesos seleccionados. Quando clicar neste botão, aparece uma caixa de diálogo de aviso para que se possa confirmar ou cancelar a operação. Note que a janela do depurador só é exibida quando o código 4D for realmente executado na máquina do servidor (por exemplo, em um gatilho ou na execução de um método com o atributo "Execute on Server"). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-export-document.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-export-document.md index 600eeaa838bfbc..af86e0eae0c7f2 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-export-document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-export-document.md @@ -51,7 +51,7 @@ O parâmetro opcional *paramObj* permite que você defina várias propriedades p | valuesOnly | | boolean | Especifica que somente os valores das fórmulas (se houver) serão exportados. | | includeFormatInfo | | boolean | Verdadeiro para incluir informações de formatação; caso contrário, falso (o padrão é verdadeiro). As informações de formatação são úteis em alguns casos, por exemplo, para exportação para SVG. On the other hand, setting this property to **false** allows reducing export time. | | includeBindingSource | | boolean | 4DVP e Microsoft Excel apenas. True (padrão) para exportar os valores do contexto de dados atual como valores de célula no documento exportado (os contextos de dados em si não são exportados). Caso contrário, false. Cell binding sempre é exportada. For data context and cell binding management, see [VP SET DATA CONTEXT](vp-set-data-context.md) and [VP SET BINDING PATH](vp-set-binding-path.md). | -| sheetIndex | | number | Somente PDF (opcional) - Índice da planilha a ser exportada (a partir de 0). -2=all visible sheets (**default**), -1=current sheet only | +| sheetIndex | | number | Somente PDF (opcional) - Índice da planilha a ser exportada (a partir de 0). -2=todas as planilhas visíveis (**padrão**), -1=apenas a planilha atual | | pdfOptions | | object | PDF only (optional) - Options for pdf | | | creator | text | nome do aplicativo que criou o documento original a partir do qual ele foi convertido. | | | title | text | título do documento. | @@ -89,7 +89,7 @@ O parâmetro opcional *paramObj* permite que você defina várias propriedades p - Ao exportar um documento do 4D View Pro para um arquivo no formato Microsoft Excel, algumas configurações podem ser perdidas. Por exemplo, os métodos e fórmulas 4D não são suportados pelo Excel. You can verify other settings with [this list from SpreadJS](https://developer.mescius.com/spreadjs/docs/excelimpexp/excelexport). - Exporting in this format is run asynchronously, use the `formula` property of the *paramObj* for code to be executed after the export. -- Using *excelOptions* object is recommended when exporting in ".xlsx" format. Make sure to not mix this object with legacy first level properties (*password*, *includeBindingSource*...) to avoid potiental issues. +- Usando o objeto *excelOptions* é recomendado ao exportar no formato ".xlsx". Make sure to not mix this object with legacy first level properties (*password*, *includeBindingSource*...) to avoid potiental issues. **Notas sobre o formato PDF**: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-find.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-find.md index b5676661bb0bbf..137ba0c03f919e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-find.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-find.md @@ -21,7 +21,7 @@ title: VP Find O comando `VP Find` pesquisa o *rangeObj* para o *searchValue*. Podem ser utilizados parâmetros opcionais para refinar a pesquisa e/ou substituir quaisquer resultados encontrados. -In the *rangeObj* parameter, pass an object containing a range to search. +No parâmetro *rangeObj*, passe um objeto que contenha um intervalo a ser pesquisado. The *searchValue* parameter lets you pass the text to search for within the *rangeObj*. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-sheet-index.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-sheet-index.md index f365f58e49f89a..a19f207f6010ce 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-sheet-index.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-sheet-index.md @@ -21,7 +21,7 @@ The `VP Get sheet index` command re Em *vpAreaName*, passe o nome da área 4D View Pro. -In *sheet*, pass the index of the sheet whose name will be returned. +Em *sheet*, passe o índice da folha cujo nome será devolvido. Se o índice de folha passado não existir, o método devolve um nome vazio. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-stylesheet.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-stylesheet.md index d473d99eb756a6..de73d2b35c5611 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-stylesheet.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-stylesheet.md @@ -22,7 +22,7 @@ The `VP Get stylesheet` command Em *vpAreaName*, passe o nome da área 4D View Pro. Se passar um nome que não existe, é devolvido um erro. -In *styleName*, pass the name of the style sheet to get. +Em *styleName*, passe o nome da folha de estilo a obter. You can define where to get the style sheet in the optional *sheet* parameter using the sheet index (counting begins at 0) or with the following constants: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-table-column-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-table-column-attributes.md index 29f3d674f75e18..32e07b51591a82 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-table-column-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-table-column-attributes.md @@ -35,7 +35,7 @@ Em *sheet*, passe o índice da folha de destino. Se nenhum indice for especcific > A indexação começa em 0. -The command returns an object describing the current attributes of the *column*: +O comando retorna um objeto descrevendo os atributos atuais da *column*: | Propriedade | Tipo | Descrição | | ------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-table-column-index.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-table-column-index.md index d61e9beadc8951..ccc9a3d8dedaf8 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-table-column-index.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-get-table-column-index.md @@ -37,7 +37,7 @@ Em *sheet*, passe o índice da folha de destino. Se nenhum indice for especcific > A indexação começa em 0. -If *tableName* or *columnName* is not found, the command returns -1. +Se *tableName* ou *columnName* não for encontrado, o comando retornará -1. ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-import-document.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-import-document.md index 966c644ebfee64..9790d5554703bd 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-import-document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-import-document.md @@ -75,7 +75,7 @@ The optional *paramObj* parameter allows you to define properties for the import - Importar arquivos em formatos .xslx, .csv, e .sjs é **assíncrona**. With these formats, you must use the `formula` attribute if you want to start an action at the end of the document processing. - Quando importar um arquivo formatado em Excel em um documento 4D View Pro, algumas configurações podem ser perdidas. You can verify your settings with [this list from SpreadJS](https://developer.mescius.com/spreadjs/docs/excelimpexp/excelexport). - For more information on the CSV format and delimiter-separated values in general, see [this article on Wikipedia](https://en.wikipedia.org/wiki/Delimiter-separated_values) -- Using *excelOptions* object is recommended when importing ".xlsx" format. Make sure to not mix this object with legacy first level property *password* to avoid potiental issues. +- Usando o objeto *excelOptions* é recomendado ao importar o formato ".xlsx". Make sure to not mix this object with legacy first level property *password* to avoid potiental issues. ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-import-from-object.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-import-from-object.md index 1511885441133d..beb432ddc8b0f6 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-import-from-object.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-import-from-object.md @@ -22,7 +22,7 @@ Em *vpAreaName*, passe o nome da área 4D View Pro. Se passar um nome que não e Em *viewPro*, passe um objeto 4D View Pro válido. Esse objeto pode ter sido criado usando [VP Export to object] (vp-export-to-object.md) ou manualmente. Para mais informações sobre objetos 4D View Pro, consulte a seção [4D View Pro](../configuring.md#4d-view-pro-object). -An error is returned if the *viewPro* object is invalid. +Um erro é retornado se o objeto *viewPro* for inválido. ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-insert-table-columns.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-insert-table-columns.md index e121b6ad01070f..bd5672fd802cb4 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-insert-table-columns.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-insert-table-columns.md @@ -34,12 +34,12 @@ When a column has been inserted with this command, you typically modify its cont In the *insertAfter* parameter, you can pass one of the following constants to indicate if the column(s) must be inserted before or after the *column* index: -| Parâmetros | Valor | Descrição | -| ------------------------ | ----- | ----------------------------------------------------------------------------------------------- | -| `vk table insert before` | 0 | Insert column(s) before the *column* (default if omitted) | -| `vk table insert after` | 1 | Inserir coluna(s) após a *coluna* | +| Parâmetros | Valor | Descrição | +| ------------------------ | ----- | --------------------------------------------------------------------------------------------------------------------- | +| `vk table insert before` | 0 | Inserir a(s) coluna(s) antes da *column* (padrão se omitida) | +| `vk table insert after` | 1 | Inserir coluna(s) após a *coluna* | -This command inserts some columns in the *tableName* table, NOT in the sheet. O número total de colunas da folha não é impactado pelo comando. Dados presentes à direita da tabela (se houver) são movidos para a direita automaticamente de acordo com o número de colunas adicionadas. +Este comando insere algumas colunas na tabela *tableName*, NÂO na folha. O número total de colunas da folha não é impactado pelo comando. Dados presentes à direita da tabela (se houver) são movidos para a direita automaticamente de acordo com o número de colunas adicionadas. If *tableName* does not exist or if there is not enough space in the sheet, nothing happens. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-remove-table-rows.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-remove-table-rows.md index 6ad68b1d1f85c9..346ceaa7ebe702 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-remove-table-rows.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-remove-table-rows.md @@ -29,7 +29,7 @@ title: VP REMOVE TABLE ROWS The `VP REMOVE TABLE ROWS` command removes one or *count* row(s) from the specified *tableName* at the specified *row* index. O comando remove valores e estilos. -This command removes rows from the *tableName* table, NOT from the sheet. O número total de linhas da folha não é impactado pelo comando. Dados presentes abaixo da tabela (se houver) são movidos automaticamente de acordo com o número de linhas removidas. +Este comando remove linhas da tabela *tableName*, não da folha. O número total de linhas da folha não é impactado pelo comando. Dados presentes abaixo da tabela (se houver) são movidos automaticamente de acordo com o número de linhas removidas. If the *tableName* table is bound to a [data context](vp-set-data-context.md), the command removes element(s) from the collection. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-remove-table.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-remove-table.md index 15a813c9962132..98341fc00e5aec 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-remove-table.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-remove-table.md @@ -30,7 +30,7 @@ The `VP REMOVE TABLE` command remo Em *vpAreaName*, passe o nome da área onde a tabela a ser removida está localizada. -In *tableName*, pass the name of the table to remove. +Em *tableName*, passe o nome da tabela para remover. Em *options*, você pode especificar o comportamento adicional. Valores possíveis: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-binding-path.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-binding-path.md index 728ee24eb15c6a..8e5b2f4ff5f926 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-binding-path.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-binding-path.md @@ -31,7 +31,7 @@ In *rangeObj*, pass an object that is either a cell range or a combined range of - If *rangeObj* is a range with several cells, the command binds the attribute to the first cell of the range. - If *rangeObj* contains several ranges of cells, the command binds the attribute to the first cell of each range. -In *dataContextAttribute*, pass the name of the attribute to bind to *rangeObj*. If *dataContextAttribute* is an empty string, the function removes the current binding. +No *dataContextAttribute*, passe o nome do atributo para vincular a *rangeObj*. If *dataContextAttribute* is an empty string, the function removes the current binding. > Os atributos do tipo coleção não são suportados. Quando você passar o nome de uma coleção, o comando não faz nada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-border.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-border.md index 955cb60589e9af..d4a6ad6fb8f783 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-border.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-border.md @@ -19,9 +19,9 @@ title: VP SET BORDER The `VP SET BORDER` command applies the border style(s) defined in *borderStyleObj* and *borderPosObj* to the range defined in the *rangeObj*. -In *rangeObj*, pass a range of cells where the border style will be applied. If the *rangeObj* contains multiple cells, borders applied with `VP SET BORDER` will be applied to the *rangeObj* as a whole (as opposed to the [`VP SET CELL STYLE`](vp-set-cell-style.md) command which applies borders to each cell of the *rangeObj*). If a style sheet has already been applied, `VP SET BORDER` will override the previously applied border settings for the *rangeObj*. +Em *rangeObj*, passe um intervalo de células em que o estilo de borda será aplicado. If the *rangeObj* contains multiple cells, borders applied with `VP SET BORDER` will be applied to the *rangeObj* as a whole (as opposed to the [`VP SET CELL STYLE`](vp-set-cell-style.md) command which applies borders to each cell of the *rangeObj*). If a style sheet has already been applied, `VP SET BORDER` will override the previously applied border settings for the *rangeObj*. -The *borderStyleObj* parameter allows you to define the style for the lines of the border. The *borderStyleObj* supports the following properties: +The *borderStyleObj* parameter allows you to define the style for the lines of the border. O *borderStyleObj* oferece suporte às seguintes propriedades: | Propriedade | Tipo | Descrição | Valores possíveis | | ----------- | ------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-cell-style.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-cell-style.md index ac45ffb6c5f11b..1496208625ca76 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-cell-style.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-cell-style.md @@ -18,7 +18,7 @@ title: VP SET CELL STYLE The `VP SET CELL STYLE` command applies the style(s) defined in the *styleObj* to the cells defined in the *rangeObj*. -Em *rangeObj*, passe um intervalo de células em que o estilo será aplicado. If the *rangeObj* contains multiple cells, the style is applied to each cell. +Em *rangeObj*, passe um intervalo de células em que o estilo será aplicado. Se *rangeObj* contiver várias células, o estilo será aplicado a cada célula. > Borders applied with `VP SET CELL STYLE` will be applied to each cell of the *rangeObj*, as opposed to the [VP SET BORDER](vp-set-border.md) command which applies borders to the *rangeObj* as a whole. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-date-value.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-date-value.md index ea4f4cceecc2d8..0a052177915432 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-date-value.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-date-value.md @@ -23,7 +23,7 @@ Em *rangeObj*, passe um intervalo dá(s) célula(s) cujo valor pretende especifi The *dateValue* parameter specifies a date value to be assigned to the *rangeObj*. -The optional *formatPattern* defines a pattern for the *dateValue* parameter. Passe qualquer formato personalizado ou você pode usar uma das seguintes constantes: +O parâmetro *formatPattern* opcional define um padrão para o parâmetro *dateValue*. Passe qualquer formato personalizado ou você pode usar uma das seguintes constantes: | Parâmetros | Descrição | Padrão predefinido dos EUA | | ----------------------- | -------------------------------------- | -------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-field.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-field.md index 28a13969d7b5b3..42a2a9a77e3751 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-field.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-field.md @@ -23,7 +23,7 @@ Em *rangeObj*, passe um intervalo dá(s) célula(s) cujo valor pretende especifi The *field* parameter specifies a 4D database [virtual field](../formulas.md#referencing-fields-using-the-virtual-structure) to be assigned to the *rangeObj*. O nome da estrutura virtual do *field* pode ser visualizado na barra de fórmulas. If any of the cells in *rangeObj* have existing content, it will be replaced by *field*. -The optional *formatPattern* defines a pattern for the *field* parameter. Você pode passar qualquer [formato personalizado] válido(../configuring.md#cell-format). +O *formatPattern* opcional define um padrão para o parâmetro de campo. Você pode passar qualquer [formato personalizado] válido(../configuring.md#cell-format). ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-row-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-row-attributes.md index 4425ab9eb910e9..40ffe6fb8255ca 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-row-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-row-attributes.md @@ -18,7 +18,7 @@ title: VP SET ROW ATTRIBUTES O comando `VP SET ROW ATTRIBUTES` aplica os atributos definidos na *propriedadeObj* às linhas no *intervaloObj*. -In the *rangeObj*, pass an object containing a range. Se o intervalo contiver colunas e linhas, os atributos são aplicados apenas às linhas. +Em *rangeObj*, passe um objeto que contenha um intervalo. Se o intervalo contiver colunas e linhas, os atributos são aplicados apenas às linhas. The *propertyObj* parameter lets you specify the attributes to apply to the rows in the *rangeObj*. Estes atributos são: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-row-count.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-row-count.md index 5fac8fd3466ec0..989f3ced6b826a 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-row-count.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-row-count.md @@ -21,7 +21,7 @@ O comando `VP SET ROW COUNT` def Em *vpAreaName*, passe o nome da área 4D View Pro. Se passar um nome que não existe, é devolvido um erro. -Pass the total number of rows in the *rowCount* parameter. \*rowCount tem de ser superior a 0. +Passe o número total de linhas no parâmetro *rowCount*. \*rowCount tem de ser superior a 0. In the optional *sheet* parameter, you can designate a specific spreadsheet where the *rowCount* will be applied (counting begins at 0). Se omitido, a planilha atual será utilizada por padrão. Você pode selecionar explicitamente a planilha atual com a seguinte constante: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-values.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-values.md index a51f5d23cd043e..19a22c57737b82 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-values.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/ViewPro/commands/vp-set-values.md @@ -20,7 +20,7 @@ O comando `VP SET VALUES` atribui um Em *rangeObj*, passe um intervalo para a célula (criada com [`VP Cell`](vp-cell.md)) cujo valor você deseja especificar. The cell defined in the *rangeObj* is used to determine the starting point. -> - If *rangeObj* is not a cell range, only the first cell of the range is used. +> - Se *rangeObj* não for um intervalo de células, somente a primeira célula do intervalo será usada. > - If *rangeObj* includes multiple ranges, only the first cell of the first range is used. O parâmetro *valuesCol* é bidimensional: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md index 09d84d7baaf1c3..1d59d2899523cb 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WebServer/http-request-handler.md @@ -280,7 +280,7 @@ O arquivo **HTTPHandlers.json**: The called URL is: http://127.0.0.1:8044/putFile?fileName=testFile -The binary content of the file is put in the body of the request and a POST verb is used. The file name is given as parameter (*fileName*) in the URL. Ele é recebido no objeto [`urlQuery`](../API/IncomingMessageClass.md#urlquery) na solicitação. +The binary content of the file is put in the body of the request and a POST verb is used. O nome do arquivo é fornecido como parâmetro (*fileName*) no URL. Ele é recebido no objeto [`urlQuery`](../API/IncomingMessageClass.md#urlquery) na solicitação. ```4d //UploadFile class diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WebServer/httpRequests.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WebServer/httpRequests.md index a4717b81501315..322909f79b5c2b 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WebServer/httpRequests.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WebServer/httpRequests.md @@ -88,7 +88,7 @@ The $BrowserIP parameter receives the IP address of the browser’s machine. Ess ### $ServerIP - Endereço IP do servidor -The $ServerIP parameter receives the IP address requested by the 4D Web Server. 4D permite multi-home que você pode usar máquinas com mais de um endereço IP. Para más información, consulte la [página Configuración](webServerConfig.html#ip-address-to-listen). +O parâmetro $ServerIP recebe o endereço IP solicitado pelo 4D Web Server. 4D permite multi-home que você pode usar máquinas com mais de um endereço IP. Para más información, consulte la [página Configuración](webServerConfig.html#ip-address-to-listen). ### $user e $password - Nome de usuário e senha diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-add-picture.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-add-picture.md index ee873457210eac..761b0c8a747c61 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-add-picture.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-add-picture.md @@ -22,13 +22,13 @@ displayed_sidebar: docs The **WP Add picture** command anchors the picture passed as parameter at a fixed location within the specified *wpDoc* and returns its reference. The returned reference can then be passed to the [WP SET ATTRIBUTES](wp-set-attributes.md) command to move the picture to any location in *wpDoc* (page, section, header, footer, etc.) with a defined layer, size, etc. -In *wpDoc*, pass the name of a 4D Write Pro document object. +Em *wpDoc*, passe o nome de um objeto documento 4D Write Pro. For the optional second parameter, you can pass either: - Em *picture*: uma imagem 4D - In *picturePath*: A string containing a path to a picture file stored on disk (system syntax). You can pass a full pathname, or a pathname relative to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. If you pass a file name, you need to indicate the file extension. -- In *PictureFileObj*: a `4D.File` object representing a picture file. +- Em *PictureFileObj*: um objeto `4D.File` que representa um arquivo imagem. :::note @@ -48,8 +48,8 @@ The location, layer (inline, in front/behind text), visibility, and any properti **Nota:** o comando [WP Selection range](../commands-legacy/wp-selection-range.md) retorna um objeto *referência de imagem* se uma imagem ancorada for selecionada e um objeto *alcance* se uma imagem em linha for selecionada. You can determine if a selected object is a picture object by checking the `wk type` attribute: -- **Value = 2**: The selected object is a picture object. -- **Value = 0**: The selected object is a range object. +- **Value = 2**: o objeto selecionado é um objeto imagem. +- **Value = 0**: o objeto selecionado é um objeto intervalo. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-delete-subsection.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-delete-subsection.md index ca2d3938b2e6b1..3014efd3e287df 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-delete-subsection.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-delete-subsection.md @@ -23,7 +23,7 @@ The **WP DELETE SUBSECTION** command exports the *wpDoc* 4D Write Pro object to a document on disk according to the *filePath* or *fileObj* parameter as well as any optional parameters. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +Em *wpDoc*, passe o objeto 4D Write Pro que você deseja exportar. Você pode passar um *filePath* ou *fileObj*: @@ -62,7 +62,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Used for resampling (reducing) images to preferred resolution. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values: wk print (default value for wk pdf and wk svg) Bitmap pictures may be downscaled using the DPI defined by wk max picture DPI or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by wk max picture DPI or 300 (Windows only) If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg) wk screen (default value for wk web page complete and wk mime html) Bitmap pictures may be downscaled using the DPI defined by wk max picture DPI or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by wk max picture DPI or 192 (Windows only) If a picture contains more than one format, the format for screen rendering is used. **Note:** Documents exported in wk docx format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Nota:** o índice de páginas é independente da numeração de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values: wk pdfa2: Exports to version "PDF/A-2" wk pdfa3: Exports to version "PDF/A-3" **Note:** On macOS, wk pdfa2 may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, wk pdfa3 means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values: true - Default value. All formulas are recomputed false - Do not recompute formulas | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Possible values: True/False | @@ -71,7 +71,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk visible headers | visibleHeaders | Displays or exports the headers (for display, visible effect in Page view mode only). Possible values: True/False | | wk visible references | visibleReferences | Displays or exports all 4D expressions inserted in the document as references. Possible values: True/False | -The following table indicates the *option* available per export *format*: +A tabela a seguir indica a *option* disponível por *format* de exportação: | | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page html 4D** | **wk svg** | | | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | - | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-get-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-get-attributes.md index a3a5416a6caaf2..52ec157e5d1a03 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-get-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-get-attributes.md @@ -28,7 +28,7 @@ Em *targetObj*, você pode passar: - an element (header / footer / body / table / paragraph / anchored or inline picture / section / subsection / style sheet), or - um documento 4D Write Pro -In *attribName*, pass the name of the attribute you want to retrieve. +Em *attribName*, passe o nome do atributo que você deseja recuperar. You can also pass a collection of attribute names in *attribColl*, in which case the command will return an object containing the attribute names passed in *attribColl* along with their corresponding values. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-import-document.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-import-document.md index c480e4732d474a..9ff1017e383ae1 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-import-document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-import-document.md @@ -37,7 +37,7 @@ The following types of documents are supported: An error is returned if the *filePath* or *fileObj* parameter is invalid, if the file is missing, or if the file format is not supported. -The optional *option* parameter allows defining import options for: +O parâmetro *option* opcional permite definir opções de importação para: - **longint** @@ -51,21 +51,21 @@ By default, HTML expressions inserted in legacy 4D Write documents are not impor You can pass an object to define how the following attributes are handled during the import operation: -| **Attribute** | **Tipo** | **Description** | -| ----------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| anchoredTextAreas | Text | Somente para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- As áreas de texto ancoradas são ignoradas. **Note**: The layout and the number of pages in the document may change. See also *How to import .docx format* | -| anchoredImages | Text | Somente para documentos MS Word (.docx). Specifies how anchored images are handled. Available values:

    **all** (default) - All anchored images are imported as anchored images with their text wrapping properties (exception: the .docx wrapping option "tight" is imported as wrap square). **ignoreWrap** \- Anchored images are imported, but any text wrapping around the image is ignored. **ignore** \- Imagens ancoradas não são importadas. | -| sections | Text | Somente para documentos MS Word (.docx). Specifies how section are handled. Valores disponíveis:

    **all** (padrão) - Todas as seções são importadas. Continuous, even, or odd sections are converted to standard sections. **ignore** \- Sections are converted to default 4D Write Pro sections (A4 portrait layout without header or footer). **Note**: Section breaks of any type but continuous are converted to section breaks with page break. Continuous section breaks are imported as continuous section breaks. | -| fields | Text | Somente para documentos MS Word (.docx). Specifies how .docx fields that can't be converted to 4D Write Pro formulas are handled. Available values:

    **ignore** \- .docx fields are ignored. **label** \- .docx field references are imported as labels within double curly braces ("{{ }}"). Ex: The "ClientName" field would be imported as {{ClientName}}. **value** (default) - The last computed value for the .docx field (if available) is imported. **Note**: If a .docx field corresponds to a 4D Write Pro variable, the field is imported as a formula and this option is ignored. | -| borderRules | Text | Somente para documentos MS Word (.docx). Specifies how paragraph borders are handled. Available values:

    **collapse** \- Paragraph formatting is modified to mimic automatically collapsed borders. Note that the collapse property only applies during the import operation. If a stylesheet with a automatic border collapse setting is reapplied after the import operation, the setting will be ignored. **noCollapse** (default) - Paragraph formatting is not modified. | -| preferredFontScriptType | Text | Somente para documentos MS Word (.docx). Specifies the preferred typeface to use when different typefaces are defined for a single font property in OOXML. Available values:

    **latin** (default) - Latin script **bidi** \- Bidrectional script. Suitable if document is mainly bidirectional left-to-right (LTR) or right-to-left (RTL) text (e.g., Arabic or Hebrew). **eastAsia** \- East Asian script. Suitable if document is mainly Asian text. | -| htmlExpressions | Text | Somente para documentos 4D Write (.4w7). Specifies how HTML expressions are handled. Available values:

    **rawText** \- HTML expressions are imported as raw text within ##htmlBegin## and ##htmlEnd## tags **ignore** (default) - HTML expressions are ignored. | -| importDisplayMode | Text | Somente para documentos 4D Write (.4w7). Specifies how image display is handled. Available values:

    **legacy -** 4W7 image display mode is converted using a background image if different than scaled to fit. **noLegacy** (default) - 4W7 image display mode is converted to the *imageDisplayMode* attribute if different than scaled to fit. | +| **Attribute** | **Tipo** | **Description** | +| ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| anchoredTextAreas | Text | Somente para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- As áreas de texto ancoradas são ignoradas. **Note**: The layout and the number of pages in the document may change. See also *How to import .docx format* | +| anchoredImages | Text | Somente para documentos MS Word (.docx). Specifies how anchored images are handled. Available values:

    **all** (default) - All anchored images are imported as anchored images with their text wrapping properties (exception: the .docx wrapping option "tight" is imported as wrap square). **ignoreWrap** \- Anchored images are imported, but any text wrapping around the image is ignored. **ignore** \- Imagens ancoradas não são importadas. | +| sections | Text | Somente para documentos MS Word (.docx). Specifies how section are handled. Valores disponíveis:

    **all** (padrão) - Todas as seções são importadas. Continuous, even, or odd sections are converted to standard sections. **ignore** \- Sections are converted to default 4D Write Pro sections (A4 portrait layout without header or footer). **Note**: Section breaks of any type but continuous are converted to section breaks with page break. Continuous section breaks are imported as continuous section breaks. | +| fields | Text | Somente para documentos MS Word (.docx). Specifies how .docx fields that can't be converted to 4D Write Pro formulas are handled. Valores disponíveis:

    **ignore** \- Os campos .docx são ignorados. **label** \- .docx field references are imported as labels within double curly braces ("{{ }}"). Ex: The "ClientName" field would be imported as {{ClientName}}. **value** (default) - The last computed value for the .docx field (if available) is imported. **Note**: If a .docx field corresponds to a 4D Write Pro variable, the field is imported as a formula and this option is ignored. | +| borderRules | Text | Somente para documentos MS Word (.docx). Specifies how paragraph borders are handled. Available values:

    **collapse** \- Paragraph formatting is modified to mimic automatically collapsed borders. Note that the collapse property only applies during the import operation. If a stylesheet with a automatic border collapse setting is reapplied after the import operation, the setting will be ignored. **noCollapse** (padrão) - A formatação do parágrafo não é modificada. | +| preferredFontScriptType | Text | Somente para documentos MS Word (.docx). Specifies the preferred typeface to use when different typefaces are defined for a single font property in OOXML. Available values:

    **latin** (default) - Latin script **bidi** \- Bidrectional script. Suitable if document is mainly bidirectional left-to-right (LTR) or right-to-left (RTL) text (e.g., Arabic or Hebrew). **eastAsia** \- East Asian script. Suitable if document is mainly Asian text. | +| htmlExpressions | Text | Somente para documentos 4D Write (.4w7). Specifies how HTML expressions are handled. Available values:

    **rawText** \- HTML expressions are imported as raw text within ##htmlBegin## and ##htmlEnd## tags **ignore** (default) - HTML expressions are ignored. | +| importDisplayMode | Text | Somente para documentos 4D Write (.4w7). Specifies how image display is handled. Available values:

    **legacy -** 4W7 image display mode is converted using a background image if different than scaled to fit. **noLegacy** (default) - 4W7 image display mode is converted to the *imageDisplayMode* attribute if different than scaled to fit. | **Notas de compatibilidade** - *Character style sheets in legacy 4D Write documents use a proprietary mechanism, which is not supported by 4D Write Pro. To get the best result for imported text, style sheet attributes are converted to "hard coded" style attributes. Legacy character style sheets are not imported and are no longer referenced in the document.* -- *Support for importing in .docx format is only certified for Microsoft Word 2010 and newer. Older versions, particularly Microsoft Word 2007, may not import correctly.* +- *Support for importing in .docx format is only certified for Microsoft Word 2010 and newer. As versões mais antigas, especialmente Microsoft Word 2007, podem não ser importadas corretamente.* ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-break.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-break.md index 87891d6748d4bf..cf72c3ff293f20 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-break.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-break.md @@ -56,7 +56,7 @@ In the *mode* parameter, pass a constant to indicate the insertion mode to be us If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-document-body.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-document-body.md index 96d5611f269f97..239c8e669184cd 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-document-body.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-document-body.md @@ -54,7 +54,7 @@ In the *rangeUpdate* parameter (Optional); if *targetObj* is a range, you can pa If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-formula.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-formula.md index 0d5beddaf223df..45918a3118092e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-formula.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-formula.md @@ -28,7 +28,7 @@ No parâmetro *targetObj*, você pode passar: - an element (table / row / cell(s) / paragraph / body / header / footer / section / subsection / inline picture), or - um documento 4D Write Pro. -In the *formula* parameter, pass the 4D formula to evaluate. Pode passar: +No parâmetro *formula*, passe a fórmula 4D a ser avaliada. Pode passar: - either a [formula object](../../commands/formula.md-objects) created by the [**Formula**](../../commands/formula.md) or [**Formula from string**](../../commands/formula.md-from-string) command, - or an object containing two properties: @@ -57,7 +57,7 @@ In the *mode* parameter, pass one of the following constants to indicate the ins If you do not pass a *rangeUpdate* parameter, by default the inserted *formula* is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. :::note diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-picture.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-picture.md index 7e5eb462367b75..919ad9fa7f90e0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-picture.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-insert-picture.md @@ -35,7 +35,7 @@ For the second parameter, you can pass either: - A picture field or variable - A string containing a path to a picture file stored on disk, in the system syntax. If you use a string, you can pass either a full pathname, or a pathname relative to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. -- In *pictureFileObj* : a `File` object representing a picture file. +- Em *pictureFileObj*: um objeto `File` que representa um arquivo imagem. Qualquer formato imagem [suportado por 4D](../../FormEditor/pictures.md#native-formats-supported) pode ser usado. You can get the list of available picture formats using the [PICTURE CODEC LIST](../../commands-legacy/picture-codec-list.md) command. If the picture encapsulates several formats (codecs), 4D Write Pro only keeps one format for display and one format for printing (if different) in the document; the "best" formats are automatically selected. @@ -56,7 +56,7 @@ If *targetObj* is a range, you can optionally use the *rangeUpdate* parameter to If you do not pass a *rangeUpdate* parameter, by default the inserted picture is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-reset-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-reset-attributes.md index 3ddf67de5ec4ec..7e0414b17be314 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-reset-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/WritePro/commands/wp-reset-attributes.md @@ -23,13 +23,13 @@ The **WP RESET ATTRIBUTES** command Printing page devolvido o número da página em impressão. Pode ser utilizado só quando esteja imprimindo com [PRINT SELECTION](print-selection.md) ou com o menu Impressão no ambiente Usuário. +Printing page devolvido o número da página em impressão. ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/dialog.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/dialog.md index bdca6b3a37d7e4..97caecc03743db 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/dialog.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/dialog.md @@ -8,12 +8,12 @@ displayed_sidebar: docs -| Parâmetro | Tipo | | Descrição | -| --------- | ------------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| aTable | Tabela | → | Tabela possuindo o formulário ou se omitido: tabela padrão ou uso do formulário projeto | -| form | Text, Object | → | Name (string) of table or project form, or a POSIX path (string) to a .json file describing the form, or an object describing the form | -| formData | Object | → | Data to associate to the form | -| \* | Operador | → | Usar o mesmo processo | +| Parâmetro | Tipo | | Descrição | +| --------- | ------------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| aTable | Tabela | → | Tabela possuindo o formulário ou se omitido: tabela padrão ou uso do formulário projeto | +| form | Text, Object | → | Nome (string) da tabela ou formulário do projeto, ou um caminho POSIX (string) para um arquivo .json descrevendo o formulário, ou um objeto descrevendo o formulário | +| formData | Object | → | Dados para associar ao formulário | +| \* | Operador | → | Usar o mesmo processo | @@ -21,43 +21,43 @@ displayed_sidebar: docs The **DIALOG** command presents the *form* to the user, along with *formData* parameter(s) (optional). -This command is designed to work with customized and advanced user interfaces based on forms. You can use it to display information coming from the database or other locations, or to provide data entry features. Unlike [ADD RECORD](../commands-legacy/add-record.md) or [MODIFY RECORD](../commands-legacy/modify-record.md), **DIALOG** gives you full control over the form, its contents and the navigation and validation buttons. +This command is designed to work with customized and advanced user interfaces based on forms. Você pode usá-lo para exibir informações provenientes do banco de dados ou de outros locais, ou para fornecer recursos de entrada de dados. Unlike [ADD RECORD](../commands-legacy/add-record.md) or [MODIFY RECORD](../commands-legacy/modify-record.md), **DIALOG** gives you full control over the form, its contents and the navigation and validation buttons. -This command is typically called along with the [Open form window](../commands-legacy/open-form-window.md) to display sophisticated forms, as shown in the following example: +Normalmente, esse comando é chamado junto com [Open form window](../commands-legacy/open-form-window.md) para exibir formulários sofisticados, conforme mostrado no exemplo a seguir: ![](../assets/en/commands/pict3541609.en.png) -The **DIALOG** command can also be used instead of [ALERT](../commands-legacy/alert.md), [CONFIRM](../commands-legacy/confirm.md) or [Request](../commands-legacy/request.md) when the information to be presented or gathered is more complex than those commands can manage. +O comando **DIALOG** também pode ser usado em vez de [ALERT](../commands-legacy/alert.md), [CONFIRM](../commands-legacy/confirm.md) ou [Request](../commands-legacy/request.md) quando as informações a serem apresentadas ou reunidas são mais complexas do que esses comandos podem gerir. -In the *form* parameter, you can pass: +No parâmetro *form*, você pode passar: -- the name of a form (project form or table form) to use; -- the path (in POSIX syntax) to a valid .json file containing a description of the form to use; -- an object containing a description of the form to use. +- o nome de um formulário (formulário de projeto ou formulário de tabela) a ser usado; +- o caminho (na sintaxe POSIX) para um arquivo .json válido que contém uma descrição do formulário a ser usado; +- um objeto que contém uma descrição do formulário a ser usado. -Optionally, you can pass parameter(s) to the *form* using a "form data" object. Any properties of the form data object will then be available from within the form context through the [Form](form.md) command. For example, if you use a form data object containing {"version";"12"}, you will be able to get or set the value of the "version" property in the form by calling: +Opcionalmente, você pode passar parâmetro(s) para o *formulário* usando um objeto "dados do formulário". Todas as propriedades do objeto de dados do formulário estarão disponíveis no contexto do formulário por meio do comando [Form](form.md). Por exemplo, se você usar um objeto de dados de formulário contendo {"version"; "12"}, poderá obter ou definir o valor da propriedade "version" no formulário chamando: ```4d $v:=Form.version //"12" Form.version:=13 ``` -To fill the "form data" object, you have two possibilities: +Para preencher o objeto "form data", você tem duas possibilidades: -- use o parâmetro *formData*. Using a local variable for *formData* allows you to safely pass parameters to your forms, whatever the calling context. In particular, if the same form is called from different places in the same process, you will always be able to access its specific values by simply calling [Form](form.md).myProperty. Moreover, since objects are passed by reference, if the user modifies a property value in the form, it will automatically be saved in the object itself. +- use o parâmetro *formData*. O uso de uma variável local para *formData* permite que você passe parâmetros com segurança para seus formulários, independentemente do contexto de chamada. Em particular, se o mesmo formulário for chamado de diferentes lugares no mesmo processo, você sempre poderá acessar seus valores específicos simplesmente chamando [Form](form.md).myProperty. Além disso, uma vez que os objetos são passados por referência, se o usuário modifica um valor de propriedade no formulário, ele será automaticamente salvo no objeto em si. -- [associate a user class to the form](../FormEditor/properties_FormProperties.md#form-class), in which case 4D will automatically instantiate an object of this class when the form will be loaded. The object properties and functions will be automatically available through the object returned by [Form](form.md). You could write for example `Form.myFunction()`. +- [associar uma classe de usuário ao formulário](../FormEditor/properties_FormProperties.md#form-class), caso em que o 4D instanciará automaticamente um objeto dessa classe quando o formulário for carregado. As propriedades e funções do objeto estarão automaticamente disponíveis através do objeto retornado por [Form](form.md). Você poderia escrever por exemplo `Form.myFunction()`. :::note -- The *formData* parameter has priority over a form class (the class object is not instantiated if a *formData* parameter is passed). -- If you do not pass the *formData* parameter (or if you pass an undefined object) and no user class is associated to the form, **DIALOG** creates a new empty object bound to the *form*. +- O parâmetro *formData* tem prioridade sobre uma classe de formulário (o objeto de classe não é instanciado se um parâmetro *formData* for passado). +- Se você não passar o parâmetro *formData* (ou se passar um objeto indefinido) e nenhuma classe de usuário estiver associada ao formulário, **DIALOG** criará um novo objeto vazio vinculado ao *formulário*. ::: -The dialog is closed by the user either with an "accept" action (triggered by the ak accept standard action, the Enter key, or the [ACCEPT](../commands-legacy/accept.md) command), or with a "cancel" action (triggered by the ak cancel standard action, the Escape key, or the [CANCEL](../commands-legacy/cancel.md) command). An accept action will set the OK system variable to 1, while a cancel action will set OK to 0\. +A caixa de diálogo é fechada pelo usuário com uma ação de "aceitação" (acionada pela ação padrão ak accept, pela tecla Enter ou pelo comando [ACCEPT](../commands-legacy/accept.md)) ou com uma ação de "cancelamento" (acionada pela ação padrão ak cancel, pela tecla Escape ou pelo comando [CANCEL](../commands-legacy/cancel.md)). Uma ação de aceitação definirá a variável de sistema OK como 1, enquanto uma ação de cancelamento definirá OK como 0\. -Keep in mind that validation does not equal saving: if the dialog includes fields, you must explicitly call the [SAVE RECORD](../commands-legacy/save-record.md) command to save any data that has been modified. +Lembre-se de que a validação não é igual a gravação: se o diálogo incluir campos, você deve chamar explicitamente o comando [SAVE RECORD](../commands-legacy/save-record.md) para salvar todos os dados que foram modificados. If you pass the optional *\** parameter, the form is loaded and displayed in the last open window of the current process and the command finishes its execution while leaving the active form on the screen.\ If you pass the optional *\** parameter, the form is loaded and displayed in the last open window of the current process and the command finishes its execution while leaving the active form on the screen.\ @@ -65,76 +65,76 @@ If you pass the optional *\** parameter, the form is loaded and displayed in the This form then reacts “normally” to user actions and is closed using a standard action or when 4D code related to the form (object method or form method) calls the [CANCEL](../commands-legacy/cancel.md) or [ACCEPT](../commands-legacy/accept.md) command.\ If you pass the optional *\** parameter, the form is loaded and displayed in the last open window of the current process and the command finishes its execution while leaving the active form on the screen.\ If you pass the optional *\** parameter, the form is loaded and displayed in the last open window of the current process and the command finishes its execution while leaving the active form on the screen.\ -This form then reacts “normally” to user actions and is closed using a standard action or when 4D code related to the form (object method or form method) calls the [CANCEL](../commands-legacy/cancel.md) or [ACCEPT](../commands-legacy/accept.md) command. If the current process terminates, the forms created in this way are automatically closed in the same way as if a [CANCEL](../commands-legacy/cancel.md) command had been called. This opening mode is particularly useful for displaying a floating palette with a document, without necessarily requiring another process. +This form then reacts “normally” to user actions and is closed using a standard action or when 4D code related to the form (object method or form method) calls the [CANCEL](../commands-legacy/cancel.md) or [ACCEPT](../commands-legacy/accept.md) command. Se o processo atual for encerrado, os formulários criados dessa forma serão automaticamente fechados da mesma forma como se um comando [CANCEL](../commands-legacy/cancel.md) tivesse sido chamado. Esse modo de abertura é particularmente útil para exibir uma paleta flutuante com um documento, sem necessariamente exigir outro processo. **Notas:** -- You can combine the use of the **DIALOG**(form;\*) syntax with the [CALL FORM](../commands-legacy/call-form.md) command to establish communication between the forms. -- You must create a window before calling the **DIALOG**(form;\*) statement. It is not possible to use the current dialog window in the process nor the window created by default for each process. Otherwise, error -9909 is generated. -- When the *\** parameter is used, the window is closed automatically following a standard action or a call to the [CANCEL](../commands-legacy/cancel.md) or [ACCEPT](../commands-legacy/accept.md) command. You do not have to manage the closing of the window itself. +- Você pode combinar o uso da sintaxe **DIALOG**(formulário;\*) com o comando [CHAMAR FORM](../commands-legacy/call-form.md) para estabelecer a comunicação entre os formulários. +- Você deve criar uma janela antes de chamar a instrução **DIALOG**(formulário;\*). Não é possível usar a janela de diálogo atual no processo nem a janela criada por padrão para cada processo. Caso contrário, o erro -9909 é gerado. +- Quando o parâmetro *\** é usado, a janela é fechada automaticamente após uma ação padrão ou uma chamada para o comando [CANCEL](../commands-legacy/cancel.md) ou [ACCEPT](../commands-legacy/accept.md). Você não tem que gerenciar o fechamento da janela em si. ## Exemplo 1 -The following example can be used to create a tool palette: +O exemplo a seguir pode ser usado para criar uma paleta de ferramentas: ```4d - //Display tool palette + //Exibe a paleta de ferramentas $palette_window:=Open form window("tools";Palette form window) - DIALOG("tools";*) //Give back the control immediately - //Display main document windowl + DIALOG("tools";*) //Devolve o controle imediatamente + //Exibe a janela do documento principal $document_window:=Open form window("doc";Plain form window) DIALOG("doc") ``` ## Exemplo 2 -In a form displaying the record of a person, a "Check children" button opens a dialog to verify/modify the names and ages of their children: +Em um formulário que exibe o registro de uma pessoa, o botão "Check children" (Verificar filhos) abre uma caixa de diálogo para verificar/modificar os nomes e as idades dos filhos: ![](../assets/en/commands/pict3542015.en.png) -**Note:** The "Children" object field is represented only to show its structure for this example. +**Nota:** O campo de objeto "Children" é representado apenas para mostrar sua estrutura neste exemplo. No formulário de verificação, você atribuiu algumas propriedades do objeto [Form](form.md) a variáveis: ![](../assets/en/commands/pict3541682.en.png) -Here is the code for the "Check children" button: +Aqui está o código do botão "Check children": ```4d var $win;$n;$i : Integer var $save : Boolean - ARRAY OBJECT($children;0) - OB GET ARRAY([Person]Children;"children";$children) //get the children collection - $save:=False //initialize the save variable + ARRAY OBJECT($children; ) + OB GET ARRAY([Person]crianças;"crianças";$children) //get a coleção dos filhos + $save:=False //initialize a variável de salvamento $n:=Size of array($children) If($n>0) - $win:=Open form window("Edit_Children";Movable form dialog box) - SET WINDOW TITLE("Check children for "+[Person]Name) - For($i;1;$n) //for each child - DIALOG("Edit_Children";$children{$i}) //displays dialog filled with values - If(OK=1) //the user clicked OK - $save:=True - End if - End for + $win:=Abrir janela de forma ("Edit_Children"; Caixa de diálogo de formulário ovable) + SET WINDOW TITLE("Cheque os filhos para "+[Person]Nome) + For($i; ;$n) //para cada criança + DIALOG("Edit_Children";$children{$i}) //exibe um diálogo cheio de valores + If(OK=1) ///o usuário clicou em OK + $save:=Verdadeiro + End se + End para If($save=True) - [Person]Children:=[Person]Children //forces object field update - End if + [Person]Children:=[Person]Filhos//força atualização do campo de objeto + End se CLOSE WINDOW($win) Else - ALERT("No child to check.") - End if + ALERT("Não há filho para verificar. ) + finais, se ``` -The form displays information for each child: +O formulário exibe informações de cada criança: ![](../assets/en/commands/pict3515152.en.png) -If values are edited and the OK button is clicked, the field is updated (the parent record must be saved afterwards). +Se os valores forem editados e o botão OK for clicado, o campo será atualizado (o registro pai deverá ser salvo em seguida). ## Exemplo 3 -The following example uses the path to a .json form to display the records in an employee list: +O exemplo a seguir usa o caminho para um formulário .json para exibir os registros em uma lista de funcionários: ```4d Open form window("/RESOURCES/OutputPersonnel.json";Plain form window) @@ -142,13 +142,13 @@ The following example uses the path to a .json form to display the records in an DIALOG("/RESOURCES/OutputPersonnel.json";*) ``` -which displays: +que é exibido: ![](../assets/en/commands/pict3687439.en.png) ## Exemplo -The following example uses a .json file as an object and modifies a few properties: +O exemplo a seguir usa um arquivo .json como um objeto e modifica algumas propriedades: ```4d var $form : Object @@ -160,13 +160,13 @@ The following example uses a .json file as an object and modifies a few properti DIALOG($form;*) ``` -The altered form is displayed with the title, logo and border modified: +O formulário alterado é exibido com o título, o logotipo e a borda modificados: ![](../assets/en/commands/pict3688356.en.png) -## System variables and sets +## Variáveis e configurações do sistema -After a call to **DIALOG**, if the dialog is accepted, OK is set to 1; if it is canceled, OK is set to 0. +Depois de uma chamada para **DIALOG**, se a caixa de diálogo for aceita, OK está definido como 1; se for cancelado, OK está definido como 0. ## Veja também diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md index 8bfa3ddb40c583..bbb6dd27fa4203 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form-event.md @@ -17,11 +17,11 @@ displayed_sidebar: docs ## Descrição -**FORM Event** returns an object containing information about the form event that has just occurred.**FORM Event** returns an object containing information about the form event that has just occurred. Usually, you will use **FORM Event** from within a form or object method. +**FORM Event** returns an object containing information about the form event that has just occurred.O **FORM Event** retorna um objeto que contém informações sobre o evento de formulário que acabou de ocorrer. Normalmente, você usará **FORM Event** em um método formulário ou objeto. **Objeto devolvido** -Each returned object includes the following main properties: +Cada objeto retornado inclui as seguintes propriedades principais: | **Propriedade** | **Tipo** | **Description** | | --------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -29,22 +29,22 @@ Each returned object includes the following main properties: | code | integer | Valor numérico do evento de formulário. | | description | text | Nome do evento de formulário (\*por exemplo, \* "On After Edit"). Veja a seção [**Eventos Formulário**](../Events/overview.md). | -For example, in the case of a click on a button, the object contains the following properties: +Por exemplo, no caso de um clique em um botão, o objeto contém as seguintes propriedades: ```json {"code":4,"description":"On Clicked","objectName":"Button2"} ``` -The event object can contain additional properties, depending on the object for which the event occurs. For *eventObj* objects generated on: +O objeto evento pode conter propriedades adicionais, dependendo do objeto para o qual o evento ocorre. Para os objetos *eventObj* gerados em: - dos objetos list box ou coluna de list box, consulte [esta seção](../FormObjects/listbox_overview.md#additional-properties). - As areas 4D View Pro consulte no evento formulário [On VP Ready](../Events/onVpReady.md). -**Note:** If there is no current event, **FORM Event** returns a null object. +**Nota:** se não houver um evento atual, **FORM Event** retornará um objeto null. ## Exemplo 1 -You want to handle the On Clicked event on a button: +Você deseja manipular o evento On Clicked em um botão: ```4d  If(FORM Event.code=On Clicked) @@ -54,11 +54,11 @@ You want to handle the On Clicked event on a button: ## Exemplo 2 -If you set the column object name with a real attribute name of a dataclass like this: +Se você definir o nome do objeto coluna com um nome de atributo real de uma dataclass como esta: ![](../assets/en/commands/pict4843820.en.png) -You can sort the column using the On Header Click event: +Você pode classificar a coluna usando o evento On Header Click: ```4d  Form.event:=FORM Event @@ -72,11 +72,11 @@ You can sort the column using the On Header Click event: ## Exemplo 3 -You want to handle the On Display Details on a list box object with a method set in the *Meta info expression* property: +Você deseja tratar On Display Details em um objeto list box com um método definido na propriedade *Meta info expression*: ![](../assets/en/commands/pict4843812.en.png) -The *setColor* method: +O método *setColor*: ```4d  var $event;$0;$meta : Object @@ -92,7 +92,7 @@ The *setColor* method:  $0:=$meta ``` -The resulting list box when rows are selected: +O list box resultante quando as linhas são selecionadas: ![](../assets/en/commands/pict4843808.en.png) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form-load.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form-load.md index 5a1dfbabcc18e9..caede86c464802 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form-load.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form-load.md @@ -8,59 +8,59 @@ displayed_sidebar: docs -| Parâmetro | Tipo | | Descrição | -| --------- | ------------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| aTable | Tabela | → | Table form to load (if omitted, load a project form) | -| form | Text, Object | → | Name (string) of form (project or table), ora POSIX path (string) to a .json file describing the form, or an object describing the form to open | -| formData | Object | → | Data to associate to the form | -| \* | Operador | → | If passed = command applies to host database when it is executed from a component (parameter ignored outside of this context) | +| Parâmetro | Tipo | | Descrição | +| --------- | ------------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| aTable | Tabela | → | Formulário tabela a ser carregado (se omitido, carrega um formulário projeto) | +| form | Text, Object | → | Nome (string) do formulário (projeto ou tabela), ou caminho POSIX (string) para um arquivo .json que descreve o formulário, ou um objeto que descreve o formulário a ser aberto | +| formData | Object | → | Dados para associar ao formulário | +| \* | Operador | → | Se passado = o comando se aplica ao banco de dados do host quando é executado a partir de um componente (parâmetro ignorado fora desse contexto) | ## Descrição -The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents.The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents. There can only be one current form per process. +The **FORM LOAD** command is used to load the *form* in memory in the current process along with *formData* (optional) in order to print its data or parse its contents.O comando **FORM LOAD** é usado para carregar o *form* na memória no processo atual juntamente com *formData* (opcional) para imprimir seus dados ou analisar seu conteúdo. Só pode haver um formulário atual por processo. -In the *form* parameter, you can pass: +No parâmetro *form*, você pode passar: -- the name of a form, or -- the path (in POSIX syntax) to a valid .json file containing a description of the form to use, or -- an object containing a description of the form. +- o nome de um formulário, ou +- o caminho (na sintaxe POSIX) para um arquivo .json válido que contém uma descrição do formulário a ser usado, ou +- um objeto contendo uma descrição do formulário. -When the command is executed from a component, it loads the component forms by default. If you pass the *\** parameter, the method loads the host database forms. +Quando o comando for executado a partir de um componente, ele carrega os formulários de componente por padrão. Se você passar o parâmetro *\**, o método carrega os formulários do banco de dados de host. ### formData -Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). Any properties of the form data object will then be available from within the form context through the [Form](form.md) command. +Opcionalmente, é possível passar parâmetros para o *form* usando o objeto *formData* ou o objeto de classe de formulário instanciado automaticamente pelo 4D se você tiver [associado uma classe de usuário ao formulário] (../FormEditor/properties_FormProperties.md#form-class). Todas as propriedades do objeto de dados do formulário estarão disponíveis no contexto do formulário por meio do comando [Form](form.md). Any properties of the form data object will then be available from within the form context through the [Form](form.md) command. Para obter informações detalhadas sobre o objeto de dados do formulário, consulte o comando [`DIALOG`](dialog.md). -### Printing data +### Impressão de dados -In order to be able to execute this command, a print job must be opened beforehand using the [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md) command. The [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md) command makes an implicit call to the [FORM UNLOAD](../commands-legacy/form-unload.md) command, so in this context it is necessary to execute **FORM LOAD**. Once loaded, this *form* becomes the current printing form. Todos os comandos de gerenciamento de objetos e, em particular, o comando [Print object](../commands-legacy/print-object.md), funcionam com esse formulário. +Para poder executar este comando, uma tarefa de impressão deve ser aberta antes usando o comando [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md). O comando [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md) faz uma chamada implícita para o comando [FORM UNLOAD](../commands-legacy/form-unload.md), portanto, nesse contexto, é necessário executar **LOAD FORM**. Uma vez carregado, este *formulário* torna-se o formulário de impressão atual. Todos os comandos de gerenciamento de objetos e, em particular, o comando [Print object](../commands-legacy/print-object.md), funcionam com esse formulário. -If a printing form has already been loaded beforehand (via a previous call to the **FORM LOAD** command), it is closed and replaced by *form*. You can open and close several project forms in the same print session. Changing the printing form via the **FORM LOAD** command does not generate page breaks. It is up to the developer to manage page breaks. +Se um formulário de impressão já tiver sido carregado anteriormente (por meio de uma chamada anterior ao comando **FORM LOAD**), ele será fechado e substituído por *form*. Você pode abrir e fechar vários formulários de projeto na mesma sessão de impressão. A alteração do formulário de impressão por meio do comando **FORM LOAD** não gera quebras de página. Cabe ao desenvolvedor gerenciar as quebras de página. -Only the [`On Load` form event](../Events/onLoad.md) is executed during the opening of the project form, as well as any object methods of the form. Other form events are ignored. O evento formulário [`On Unload`](../Events/onUnload.md) é executado no final da impressão. +Apenas o [evento `No carregamento`](../Events/onLoad.md) é executado durante a abertura do formulário de projeto, bem como quaisquer métodos de objeto da forma. Outros eventos de formulário são ignorados. O evento formulário [`On Unload`](../Events/onUnload.md) é executado no final da impressão. -To preserve the graphic consistency of forms, it is recommended to apply the "Printing" appearance property regardless of the platform. +Para preservar a consistência gráfica das formas, é recomendado aplicar a propriedade de aparência "Imprimindo" independentemente da plataforma. O formulário de impressão atual é fechado automaticamente quando o comando [CLOSE PRINTING JOB] (../commands-legacy/close-printing-job.md) é chamado. -### Parsing form contents +### Analisar o conteúdo do formulário -This consists in loading an off-screen form for parsing purposes. To do this, just call **FORM LOAD** outside the context of a print job. In this case, form events are not executed. +Isso consiste em carregar um formulário fora da tela para fins de análise. Para fazer isso, basta chamar **FORM LOAD** fora do contexto de um trabalho de impressão. Nesse caso, os eventos de formulário não são executados. -**FORM LOAD** can be used with the [FORM GET OBJECTS](../commands-legacy/form-get-objects.md) and [OBJECT Get type](../commands-legacy/object-get-type.md) commands in order to perform any type of processing on the form contents. You must then call the [FORM UNLOAD](../commands-legacy/form-unload.md) command in order to release the form from memory. +O **FORM LOAD** pode ser usado com os comandos [FORM GET OBJECTS] (../commands-legacy/form-get-objects.md) e [OBJECT Get type] (../commands-legacy/object-get-type.md) para executar qualquer tipo de processamento no conteúdo do formulário. Em seguida, você deve chamar o comando [FORM UNLOAD](../commands-legacy/form-unload.md) para liberar o formulário da memória. -Note that in all cases, the form on screen remains loaded (it is not affected by the **FORM LOAD** command) so it is not necessary to reload it after calling [FORM UNLOAD](../commands-legacy/form-unload.md). +Observe que, em todos os casos, o formulário na tela permanece carregado (não é afetado pelo comando **FORM LOAD**), portanto, não é necessário recarregá-lo depois de chamar [FORM UNLOAD](../commands-legacy/form-unload.md). **Lembrete:** no contexto fora da tela, não se esqueça de chamar [FORM UNLOAD](../commands-legacy/form-unload.md) para evitar qualquer risco de estouro de memória. ## Exemplo 1 -Calling a project form in a print job: +Chamada de um formulário de projeto em um trabalho de impressão: ```4d OPEN PRINTING JOB @@ -70,43 +70,43 @@ OPEN PRINTING JOB ## Exemplo 2 -Calling a table form in a print job: +Chamar um formulário da tabela em um trabalho de impressão: ```4d - OPEN PRINTING JOB - FORM LOAD([People];"print_form") -  // execution of events and object methods +OPEN PRINTING JOB +FORM LOAD([People]; "print_form") +// execução de eventos e métodos de objeto ``` ## Exemplo 3 -Parsing of form contents to carry out processing on text input areas: +Analisar os conteúdos de formulário para executar o processamento nas áreas de entrada de texto: ```4d - FORM LOAD([People];"my_form") -  // selection of form without execution of events or methods - FORM GET OBJECTS(arrObjNames;arrObjPtrs;arrPages;*) - For($i;1;Size of array(arrObjNames)) -    If(OBJECT Get type(*;arrObjNames{$i})=Object type text input) -  //… processing -    End if - End for - FORM UNLOAD //do not forget to unload the form +FORM LOAD([People];"my_form") +// seleção de formulário sem execução de eventos ou métodos +FORM GET OBJECTS(arrObjNames; rrObjPtrs;arrPages;*) +For($i;1; tamanho da matriz (arrObjNames)) +If(OBJECT Obter tipo(*; rrObjNames{$i})=Entrada de texto do tipo objeto +//… processamento +Finaliza se +End para +FORM UNLOAD ///não se esqueça de descarregar o formulário ``` ## Exemplo -The following example returns the number of objects on a JSON form: +O exemplo a seguir retorna o número de objetos em um formato JSON: ```4d - ARRAY TEXT(objectsArray;0) //sort form items into arrays - ARRAY POINTER(variablesArray;0) - ARRAY INTEGER(pagesArray;0) -  - FORM LOAD("/RESOURCES/OutputForm.json") //load the form - FORM GET OBJECTS(objectsArray;variablesArray;pagesArray;Form all pages+Form inherited) -  - ALERT("The form contains "+String(size of array(objectsArray))+" objects") //return the object count +ARRAY TEXT(objectsArray;0) //classificar itens do formulário em arrays +ARRAY POINTER(variablesArray;0) +ARRAY INTEGER(pagesArray;0) + +FORM LOAD("/RESOURCES/OutputForm.json") //carrega o formulário +FORM GET OBJECTS(objectsArray;variablesArray;pagesArray;Form all pages+Form inherited) + +ALERT("The form contains "+String(size of array(objectsArray))+" objects") //retorna a contagem de objetos ``` o resultado mostrado é: @@ -115,43 +115,43 @@ o resultado mostrado é: ## Exemplo 2 -You want to print a form containing a list box. During the *on load* event, you want the contents of the list box to be modified. +Se quiser imprimir um formulário contendo uma caixa de lista. Durante o evento *on load*, você deseja que o conteúdo da caixa de listagem seja modificado. -1\. In the printing method, you write: +1\. No método de impressão, você escreve: ```4d - var $formData : Object - var $over : Boolean - var $full : Boolean -  - OPEN PRINTING JOB - $formData:=New object - $formData.LBcollection:=New collection() - ... //fill the collection with data -  - FORM LOAD("GlobalForm";$formData) //store the collection in $formData - $over:=False - Repeat -    $full:=Print object(*;"LB") // the datasource of this "LB" listbox is Form.LBcollection -    LISTBOX GET PRINT INFORMATION(*;"LB";lk printing is over;$over) -    If(Not($over)) -       PAGE BREAK -    End if - Until($over) - FORM UNLOAD - CLOSE PRINTING JOB +var $formData : Object +var $over : Boolean +var $full : Boolean + +OPEN PRINTING JOB +$formData:=New object +$formData.LBcollection:=New collection() +... //preencher a coleção com dados + +FORM LOAD("GlobalForm";$formData) //armazenar a coleção em $formData +$over:=False +Repetir +$full:=Print object(*; "LB") //a fonte de dados dessa caixa de listagem "LB" é Form.LBcollection +LISTBOX GET PRINT INFORMATION(*; "LB";lk a impressão terminou;$over) +If(Not($over)) +PAGE BREAK +End if +Until($over) +FORM UNLOAD +CLOSE PRINTING JOB ``` -2\. In the form method, you can write: +2\. No método de formulário, você pode escrever: ```4d - var $o : Object - Case of -    :(Form event code=On Load) -       For each($o;Form.LBcollection) //LBcollection is available -          $o.reference:=Uppercase($o.reference) -       End for each - End case +var $o : Object +Case of +:(Form event code=On Load) +For each($o;Form.LBcollection) //LBcollection está disponível +$o.reference:=Uppercase($o.reference) +End for each +End case ``` ## Veja também diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form.md index 81cdb5eaf0f9d7..553abd01066e54 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/form.md @@ -8,39 +8,39 @@ displayed_sidebar: docs -| Parâmetro | Tipo | | Descrição | -| --------- | ------ | --------------------------- | ----------------------------- | -| Resultado | Object | ← | Form data of the current form | +| Parâmetro | Tipo | | Descrição | +| --------- | ------ | --------------------------- | ------------------------- | +| Resultado | Object | ← | Dados do formulário atual |
    História -| Release | Mudanças | -| ------- | ------------------ | -| 20 R8 | Form class support | +| Release | Mudanças | +| ------- | ---------------------------------- | +| 20 R8 | Suporte das classes de formulários |
    ## Descrição -The **Form** command returns the object associated with the current form (instantiated from the *formData* parameter or the user class assigned in the Form editor).The **Form** command returns the object associated with the current form (instantiated from the *formData* parameter or the user class assigned in the Form editor). 4D automatically associates an object to the current form in the following cases: +The **Form** command returns the object associated with the current form (instantiated from the *formData* parameter or the user class assigned in the Form editor).O comando **Form** retorna o objeto associado ao formulário atual (instanciado a partir do parâmetro *formData* ou da classe usuário atribuída no editor de formulários). O 4D associa automaticamente um objeto ao formulário atual nos seguintes casos: - o formulário atual foi carregado por um dos comandos [`DIALOG`](dialog.md), [`Print form`](print-form.md) ou [`FORM LOAD`](form-load.md), -- the current form is a subform, -- a table form is currently displayed on screen. +- o formulário atual é um subformulário, +- um formulário de tabela é exibido na tela no momento. ### Comandos (DIALOG...) -If the current form is being displayed or loaded by a call to the [DIALOG](dialog.md), [`Print form`](print-form.md), or [`FORM LOAD`](form-load.md) commands, **Form** returns either: +Se o formulário atual estiver sendo exibido ou carregado por uma chamada aos comandos [DIALOG](dialog.md), [`Print form`](print-form.md) ou [`FORM LOAD`](form-load.md), **Form** retornará um dos dois: -- the *formData* object passed as parameter to this command, if any, +- o objeto *formData* passado como parâmetro para esse comando, se houver, - ou, um objeto instanciado da [classe de usuário associada ao formulário](../FormEditor/properties_FormProperties.md#form-class), se houver, -- or, an empty object. +- ou um objeto vazio. ### Subformulário -If the current form is a subform, the returned object depends on the parent container variable: +Se o formulário atual for um subformulário, o objeto retornado dependerá da variável do contêiner pai: - **Form** returns the object associated with the table form displayed on screen.\ **Form** returns the object associated with the table form displayed on screen.\ @@ -50,66 +50,66 @@ If the current form is a subform, the returned object depends on the parent cont (OBJECT Get pointer(Object subform container))-> ``` -- If the variable associated to the parent container has not been typed as an object, **Form** returns an empty object, maintained by 4D in the subform context. +- Se a variável associada ao contêiner pai não foi tipada como um objeto, **Forma** retorna um objeto vazio, mantido por 4D no contexto do subformulário. -For more information, please refer to the *Page subforms* section. +Para mais informações, consulte a seção *Subformulários de Páginas*. -### Table form +### Formulário de tabela **Form** returns the object associated with the table form displayed on screen.\ **Form** returns the object associated with the table form displayed on screen.\ In the context of an input form displayed from an output form (i.e. after a double-click on a record), the returned object contains the following property: **Form** returns the object associated with the table form displayed on screen.\ In the context of an input form displayed from an output form (i.e. after a double-click on a record), the returned object contains the following property: -| **Propriedade** | **Tipo** | **Description** | -| --------------- | -------- | ----------------------------------------- | -| parentForm | object | **Form** object of the parent output form | +| **Propriedade** | **Tipo** | **Description** | +| --------------- | -------- | ------------------------------------------ | +| parentForm | object | Objeto **form** do formulário de saída pai | ## Exemplo -In a form displaying the record of a person, a "Check children" button opens a dialog to verify/modify the names and ages of their children: +Em um formulário que exibe o registro de uma pessoa, o botão "Check children" (Verificar filhos) abre uma caixa de diálogo para verificar/modificar os nomes e as idades dos filhos: ![](../assets/en/commands/pict3542015.en.png) -**Note:** The "Children" object field is represented only to show its structure for this example. +**Nota:** O campo de objeto "Children" é representado apenas para mostrar sua estrutura neste exemplo. -In the verification form, you have assigned some Form object properties to inputs: +No formulário de verificação, você atribuiu algumas propriedades do objeto Form aos inputs: ![](../assets/en/commands/pict3541682.en.png) -Here is the code for the "Check children" button: +Aqui está o código do botão "Check children": ```4d var $win;$n;$i : Integer var $save : Boolean - ARRAY OBJECT($children;0) - OB GET ARRAY([Person]Children;"children";$children) //get the children collection - $save:=False //initialize the save variable + ARRAY OBJECT($children; ) + OB GET ARRAY([Person]crianças;"crianças";$children) //get a coleção dos filhos + $save:=False //initialize a variável de salvamento $n:=Size of array($children) If($n>0) - $win:=Open form window("Edit_Children";Movable form dialog box) - SET WINDOW TITLE("Check children for "+[Person]Name) - For($i;1;$n) //for each child - DIALOG("Edit_Children";$children{$i}) //displays dialog filled with values - If(OK=1) //the user clicked OK - $save:=True - End if - End for + $win:=Abrir janela de forma ("Edit_Children"; Caixa de diálogo de formulário ovable) + SET WINDOW TITLE("Cheque os filhos para "+[Person]Nome) + For($i; ;$n) //para cada criança + DIALOG("Edit_Children";$children{$i}) //exibe um diálogo cheio de valores + If(OK=1) ///o usuário clicou em OK + $save:=Verdadeiro + End se + End para If($save=True) - [Person]Children:=[Person]Children //forces object field update - End if + [Person]Children:=[Person]Filhos//força atualização do campo de objeto + End se CLOSE WINDOW($win) Else - ALERT("No child to check.") - End if + ALERT("Não há filho para verificar. ) + finais, se ``` -The form displays information for each child: +O formulário exibe informações de cada criança: ![](../assets/en/commands/pict3515152.en.png) -If values are edited and the OK button is clicked, the field is updated (the parent record must be saved afterwards). +Se os valores forem editados e o botão OK for clicado, o campo será atualizado (o registro pai deverá ser salvo em seguida). ## Veja também diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/mail-new-attachment.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/mail-new-attachment.md index e9dfca53ba2e27..a4b3715680325d 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/mail-new-attachment.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/mail-new-attachment.md @@ -46,7 +46,7 @@ Pode passar uma rota ou um Blob para definir o anexo. Se *name* for omitido e: - passar uma rota de arquivo, o nome e extensão do arquivo é usado, - passar um BLOB, um nome aleatório sem extensão é gerado automaticamente. -The optional *cid* parameter lets you pass an internal ID for the attachment. This ID is the value of the `Content-Id` header, it will be used in HTML messages only. The cid associates the attachment with a reference defined in the message body using an HTML tag such as `\`. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. O resultado final deve variar dependendo do cliente mail. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. +O parâmetro opcional *cid* permite passar uma ID interna para o anexo. This ID is the value of the `Content-Id` header, it will be used in HTML messages only. The cid associates the attachment with a reference defined in the message body using an HTML tag such as `\`. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. O resultado final deve variar dependendo do cliente mail. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. You can use the optional *type* parameter to explicitly set the `content-type` of the attachment file. Por exemplo, pode passar uma string definindo um tipo MIME ("video/mpeg"). Esse valor de content-type vai ser estabelecido para o anexo, independente de sua extensão. For more information about MIME types, please refer to the [MIME type page on Wikipedia](https://en.wikipedia.org/wiki/MIME). @@ -78,7 +78,7 @@ The optional *disposition* parameter lets you pass the `content-disposition` hea | mail disposition attachment | "attachment" | Estabelece o valor de cabeçalho Content-disposition para "attachment" que significa que o arquivo anexo deve ser fornecido como um link na mensagem. | | mail disposition inline | "inline" | Estabelece o valor de cabeçalho Content-disposition para "inline", o que significa que o anexo deve ser renderizado dentro do conteúdo da mensagem, no local "cid". A renderização depende do cliente mail. | -By default, if the *disposition* parameter is omitted: +Como padrão, se o parâmetro *disposition* for omisso: - if the *cid* parameter is used, the `Content-disposition` header is set to "inline", - if the *cid* parameter is not passed or empty, the `Content-disposition` header is set to "attachment". diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/new-log-file.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/new-log-file.md index d5aa84f2232da5..f2963de3de51b7 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/new-log-file.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/new-log-file.md @@ -16,7 +16,7 @@ displayed_sidebar: docs ## Descrição -**Preliminary note:** This command only works with 4D Server. It can only be executed via the [Execute on server](../commands-legacy/execute-on-server.md) command or in a stored procedure. +**Nota preliminar:** esse comando só funciona com 4D Server. It can only be executed via the [Execute on server](../commands-legacy/execute-on-server.md) command or in a stored procedure. The **New log file** command closes the current log file, renames it and creates a new one with the same name in the same location as the previous one. This command is meant to be used for setting up a backup system using a logical mirror (see the section *Setting up a logical mirror* in the [4D Server Reference Manual](https://doc/4d.com)). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md index 17df9d443e6912..49c36b87a136d4 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/print-form.md @@ -12,7 +12,7 @@ displayed_sidebar: docs | --------- | ------------ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | aTable | Tabela | → | Table owning the form, or Default table, if omitted | | form | Text, Object | → | Name (string) of the form, or a POSIX path (string) to a .json file describing the form, or an object describing the form to print | -| formData | Object | → | Data to associate to the form | +| formData | Object | → | Dados para associar ao formulário | | areaStart | Integer | → | Print marker, or Beginning area (if areaEnd is specified) | | areaEnd | Integer | → | Área final (se for especificado pela areaStart) | | Resultado | Integer | ← | Height of printed section | @@ -21,19 +21,19 @@ displayed_sidebar: docs ## Descrição -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*.The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. -In the *form* parameter, you can pass: +No parâmetro *form*, você pode passar: -- the name of a form, or +- o nome de um formulário, ou - the path (in POSIX syntax) to a valid .json file containing a description of the form to use (see *Form file path*), or -- an object containing a description of the form. +- um objeto contendo uma descrição do formulário. Since **Print form** does not issue a page break after printing the form, it is easy to combine different forms on the same page. Thus, **Print form** is perfect for complex printing tasks that involve different tables and different forms. Para forçar uma quebra de página entre os formulários, use o comando [PAGE BREAK](../commands-legacy/page-break.md). In order to carry printing over to the next page for a form whose height is greater than the available space, call the [CANCEL](../commands-legacy/cancel.md) command before the [PAGE BREAK](../commands-legacy/page-break.md) command. Three different syntaxes may be used: -- **Detail area printing** +- **Impressão da área de detalhe** Sintaxe: @@ -43,7 +43,7 @@ Sintaxe: In this case, **Print form** only prints the Detail area (the area between the Header line and the Detail line) of the form. -- **Form area printing** +- **Impressão da área de formulário** Sintaxe: @@ -51,7 +51,7 @@ Sintaxe:  height:=Print form(myTable;myForm;marker) ``` -In this case, the command will print the section designated by the *marker*. Pass one of the constants of the *Form Area* theme in the marker parameter: +Nesse caso, o comando imprimirá a seção designada pelo *marker*. Pass one of the constants of the *Form Area* theme in the marker parameter: | Parâmetros | Tipo | Valor | | ------------- | ------- | ----- | @@ -79,7 +79,7 @@ In this case, the command will print the section designated by the *marker*. Pas | Form header8 | Integer | 208 | | Form header9 | Integer | 209 | -- **Section printing** +- **Impressão da seção** Sintaxe: @@ -91,20 +91,20 @@ In this case, the command will print the section included between the *areaStart **formData** -Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). Any properties of the form data object will then be available from within the form context through the [Form](form.md) command. Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). +Opcionalmente, é possível passar parâmetros para o *form* usando o objeto *formData* ou o objeto de classe de formulário instanciado automaticamente pelo 4D se você tiver [associado uma classe de usuário ao formulário] (../FormEditor/properties_FormProperties.md#form-class). Todas as propriedades do objeto de dados do formulário estarão disponíveis no contexto do formulário por meio do comando [Form](form.md). Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). Para obter informações detalhadas sobre o objeto de dados do formulário, consulte o comando [`DIALOG`](dialog.md). **Valor retornado** -The value returned by **Print form** indicates the height of the printable area. Esse valor será automaticamente levado em conta pelo comando [Get printed height](../commands-legacy/get-printed-height.md). +O valor retornado por **Print form** indica a altura da área impressa. Esse valor será automaticamente levado em conta pelo comando [Get printed height](../commands-legacy/get-printed-height.md). -The printer dialog boxes do not appear when you use **Print form**. The report does not use the print settings that were assigned to the form in the Design environment. There are two ways to specify the print settings before issuing a series of calls to **Print form**: +As caixas de diálogo da impressora não são exibidas quando você usa **Print form**. The report does not use the print settings that were assigned to the form in the Design environment. There are two ways to specify the print settings before issuing a series of calls to **Print form**: - Chame [PRINT SETTINGS](../commands-legacy/print-settings.md). In this case, you let the user choose the settings. - Call [SET PRINT OPTION](../commands-legacy/set-print-option.md) and [GET PRINT OPTION](../commands-legacy/get-print-option.md). In this case, print settings are specified programmatically. -**Print form** builds each printed page in memory. Each page is printed when the page in memory is full or when you call [PAGE BREAK](../commands-legacy/page-break.md). To ensure the printing of the last page after any use of **Print form**, you must conclude with the [PAGE BREAK](../commands-legacy/page-break.md) command (except in the context of an [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), see note). Otherwise, if the last page is not full, it stays in memory and is not printed. +**Print form**\* cria cada página impressa na memória. Each page is printed when the page in memory is full or when you call [PAGE BREAK](../commands-legacy/page-break.md). To ensure the printing of the last page after any use of **Print form**, you must conclude with the [PAGE BREAK](../commands-legacy/page-break.md) command (except in the context of an [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), see note). Otherwise, if the last page is not full, it stays in memory and is not printed. **Warning:** If the command is called in the context of a printing job opened with [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), you must NOT call [PAGE BREAK](../commands-legacy/page-break.md) for the last page because it is automatically printed by the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command. Se você chamar [PAGE BREAK](../commands-legacy/page-break.md) nesse caso, uma página em branco será impressa. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/process-activity.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/process-activity.md index 841cd1340b0050..37ceed749a1e60 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/process-activity.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/process-activity.md @@ -26,7 +26,7 @@ displayed_sidebar: docs ## Descrição -The **Process activity** command returns a snapshot of running processes and/or (4D Server only) connected user sessions at a given time.The **Process activity** command returns a snapshot of running processes and/or (4D Server only) connected user sessions at a given time. Este comando retorna todos os processos, incluindo processos internos que não são alcançáveis pelo comando [Informações do processo](process-info.md). +The **Process activity** command returns a snapshot of running processes and/or (4D Server only) connected user sessions at a given time.O comando **Process activity** retorna um snapshot dos processos em execução e/ou (4D Server apenas) sessões usuário conectadas em um dado momento. Este comando retorna todos os processos, incluindo processos internos que não são alcançáveis pelo comando [Informações do processo](process-info.md). Por padrão quando usado sem quaisquer parâmetros, a **atividade de processo** retorna um objeto que contém as seguintes propriedades: @@ -76,18 +76,18 @@ No servidor, o comando `Process activity` retorna uma propriedade adicional de " Se quiser obter a coleção de todas as sessões de usuários: ```4d -  //To be executed on the server +  //Para ser executado no servidor    var $o : Object  var $i : Integer var $processName;$userName : Text   - $o:=Process activity //Get process & session info - For($i;0;($o.processes.length)-1) //Iterate over the "processes" collection + $o:=Process activity //obter informação de processo e sessão + For($i;0;($o.processes.length)-1) //Iterar sobre a coleção "processes" $processName:=$o.processes[$i].name - $userName:=String($o.processes[$i].session.userName) // Easy access to userName - //use String because session object might be undefined + $userName:=String($o.processes[$i].session.userName) // Acesso fácil a userName + //use String porque o objeto de sessão pode ser indefinido End for ``` diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md index d9a7ab2fbdae06..2a05cd4f7ea236 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/process-number.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## Descrição -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` retorna o número do processo cujo *name* ou *id* você passou no primeiro parâmetro. Se nenhum processo for encontrado, `Process number` retornará 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameterThe `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter. Se nenhum processo for encontrado, `Process number` retornará 0. O parâmetro opcional \* permite que você recupere, de um 4D remoto, o número de um processo executado no servidor. Nesse caso, o valor retornado é negativo. Essa opção é especialmente útil ao usar os comandos [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) e [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/select-log-file.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/select-log-file.md index cce95764920663..16634aa4ef2b12 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/select-log-file.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/select-log-file.md @@ -27,7 +27,7 @@ If you pass an empty string in *logFile*, **SELECT LOG FILE** presents an Save F If you pass *\** in *logFile*, **SELECT LOG FILE** closes the current log file for the database. The OK variable is set to 1 when the log file is closed. -## System variables and sets +## Variáveis e configurações do sistema OK is set to 1 if the log file is correctly created, or closed. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/session-storage.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/session-storage.md index 7f8ab3afef2fe1..2a2924b2cf9fc4 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/session-storage.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/session-storage.md @@ -28,7 +28,7 @@ displayed_sidebar: docs The **Session storage** command returns the storage object of the session whose unique identifier you passed in the *id* parameter. -In *id*, pass the UUID of the session for which you want to get the storage. It is automatically assigned by 4D (4D Server or, for standalone sessions, 4D single-user) and is stored in the [**.id**](../API/SessionClass.md#id) property of the [session object](../API/SessionClass.md). If the session does not exist, the command returns **Null**. +Em *id*, passe o UUID da sessão para a qual você deseja obter o armazenamento. It is automatically assigned by 4D (4D Server or, for standalone sessions, 4D single-user) and is stored in the [**.id**](../API/SessionClass.md#id) property of the [session object](../API/SessionClass.md). Se a sessão não existir, o comando retornará **Null**. **Nota:** você pode obter os identificadores de sessão usando o comando [Process activity](process-activity.md). @@ -39,8 +39,8 @@ O objeto retornado é a propriedade [**.storage**](../API/SessionClass.md#storag This method modifies the value of a "settings" property stored in the storage object of a specific session: ```4d -  //Set storage for a session -  //The "Execute On Server" method property is set +  //Definir armazenamento para uma sessão +  //A propriedade do método "Execute On Server" está definida    #DECLARE($id : Text; $text : Text)  var $obj : Object diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/session.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/session.md index 78b9bffa3ab39b..69430b6913a1f4 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/session.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/session.md @@ -33,7 +33,7 @@ Dependendo do processo a partir do qual o comando é chamado, a sessão atual do - uma sessão web (quando [sessões escaláveis são ativadas](WebServer/sessions.md#enabling-web-sessions)), - uma sessão de cliente remoto, - a sessão de procedimentos armazenados, -- the *designer* session in a standalone application. +- a sessão *designer* em um aplicativo autônomo. Para obter mais informações, consulte [Tipos de sessão](../API/SessionClass.md#session-types). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/set-allowed-methods.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/set-allowed-methods.md index 6bbba46b36c2b7..085ec6706e4f86 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/set-allowed-methods.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/set-allowed-methods.md @@ -38,7 +38,7 @@ If you would like the user to be able to call 4D commands that are unauthorized :::warning -This command only filters the **input** of methods, not their **execution**. It does not control the execution of formulas created outside the application. +Esse comando filtra apenas a **entrada** dos métodos, não sua **execução**. It does not control the execution of formulas created outside the application. ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/this.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/this.md index 0141edb9c8c369..82ce7c40ed3672 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/this.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/this.md @@ -161,7 +161,7 @@ Note que: - *This.ID*, *This.Title* and *This.Date* directly refers to the corresponding attributes in the ds.Event dataclass. - *This.meetings* is a related attribute (based upon the One To Many relation name) that returns an entity selection of the ds.Meeting dataclass. -- **Form.eventList** is the entity selection that is attached to the list box. The initialization code can be put in the on load form event: +- **Form.eventList** é a entity selection que está anexada à list box. The initialization code can be put in the on load form event: ```4d Case of diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/zip-create-archive.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/zip-create-archive.md index 7f63efdf317524..61f41a74b7d699 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/zip-create-archive.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R8/commands/zip-create-archive.md @@ -34,7 +34,7 @@ The `ZIP Create archive` command retorna um Em um armazém de dados remoto: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1114,7 +1114,7 @@ Pode aninhar várias transações (subtransações). Cada transação ou subtran ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/Directory.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/Directory.md index 379c061cbb1eaa..6ba7788bfee2b7 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/Directory.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/Directory.md @@ -446,9 +446,9 @@ Essa propriedade é **somente leitura**. A função `.copyTo()` copia o objeto `Folder` para a *destinationFolder* especificada. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. -Como padrão, a pasta é copiada com o nome da pasta original. If you want to rename the copy, pass the new name in the *newName* parameter. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. +Como padrão, a pasta é copiada com o nome da pasta original. Se quiser renomear a cópia, passe o novo nome no parâmetro *newName*. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. If a folder with the same name already exists in the *destinationFolder*, by default 4D generates an error. You can pass the `fk overwrite` constant in the *overwrite* parameter to ignore and overwrite the existing file diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/Document.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/Document.md index 19c3b8fbe7f867..71991997a789a3 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/Document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/Document.md @@ -446,9 +446,9 @@ Essa propriedade é **somente leitura**. A função `.copyTo()` copia o objeto `File` para a *destinationFolder*. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. -Como padrão, o arquivo é copiado com o nome do arquivo original. If you want to rename the copy, pass the new name in the *newName* parameter. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. +Como padrão, o arquivo é copiado com o nome do arquivo original. Se quiser renomear a cópia, passe o novo nome no parâmetro *newName*. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. If a file with the same name already exists in the *destinationFolder*, by default 4D generates an error. You can pass the `fk overwrite` constant in the *overwrite* parameter to ignore and overwrite the existing file diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md index 4d87506d1a6fae..8de7433b28508b 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/EntityClass.md @@ -614,15 +614,14 @@ O seguinte código genérico duplica qualquer entidade: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parâmetro | Tipo | | Descrição | | ---------- | ------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------- | | mode | Integer | -> | `dk key as string`: a chave primária é retornada como uma string, independentemente do tipo de chave primária | -| Resultados | Text | <- | Valor do texto chave primária da entidade | -| Resultados | Integer | <- | Valor da chave primária numérica da entidade | +| Resultados | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1637,11 +1636,11 @@ Retorna: #### Descrição -A função `.touched()` testa se um atributo de entidade foi ou não modificado desde que a entidade foi carregada na memória ou salva. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -Se um atributo for modificado ou calculado, a função retorna True, senão retorna False. Pode usar essa função para determinar se precisar salvar a entidade. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". -Essa função retorna False para uma nova entidade que acabou de ser criada (com [`.new( )`](DataClassClass.md#new)). No entanto, observe que se você usar uma função que calcule um atributo da entidade, a função `.touched()` então retornará Verdade. Por exemplo, se você chamar [`.getKey()`](#getkey) para calcular a chave primária, `.touched()` retornará True. +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. #### Exemplo @@ -1685,7 +1684,7 @@ Neste exemplo, vemos se é necessário salvar a entidade: A função `.touchedAttributes()` retorna os nomes dos atributos que foram modificados desde que a entidade foi carregada na memória. -Isso se aplica para atributos [kind](DataClassClass.md#attributename) `storage` ou `relatedEntity`. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". No caso de uma entidade relacionada que foi tocada (touched) \*ou seja, a chave primária) o nome da entidade relacionada e sua chave primária são retornados. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md index a983821ff49214..e16a68b117beb0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/FileClass.md @@ -417,7 +417,7 @@ Resultado em *$info*: A função `.moveTo()` move ou renomeia o objeto `File` para a *destinationFolder* especificada. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. Por padrão, o arquivo mantém o seu nome quando é movido. Se quiser renomear o arquivo movido, passe o novo nome completo no parâmetro *newName*. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. @@ -590,7 +590,7 @@ Se quiser renomear "ReadMe.txt" em "ReadMe_new.txt": A função `.setAppInfo()` escreve as propriedades *info* como o conteúdo da informação de um arquivo de aplicação. -The function must be used with an existing, supported file: **.plist** (all platforms), **.exe**/**.dll** (Windows), or **macOS executable**. If the file does not exist on disk or is not a supported file, the function does nothing (no error is generated). +The function can only be used with the following file types: **.plist** (all platforms), existing **.exe**/**.dll** (Windows), or **macOS executable**. If used with another file type or with *.exe*\*/**.dll** files that do not already exist on disk, the function does nothing (no error is generated). Parâmetro ***info* com um arquivo .plist (todas as plataformas)** @@ -600,6 +600,8 @@ A função apenas é compatível com arquivos .plist em formato xml (baseado em ::: +If the .plist file already exists on the disk, it is updated. Otherwise, it is created. + Each valid property set in the *info* object parameter is written in the .plist file as a key. Qualquer nome chave é aceito. Os tipos de valores são preservados sempre que possível. If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Outras chaves existentes no arquivo .plist são deixadas intocadas. @@ -610,7 +612,7 @@ Para definir um valor de tipo de data, o formato a utilizar é uma string de car ::: -Parâmetro ***info* com um arquivo .exe ou .dll (somente Windows)** +**Parâmetro objeto *info* com um arquivo .exe ou .dll (somente Windows)** Each valid property set in the *info* object parameter is written in the version resource of the .exe or .dll file. As propriedades disponíveis são (qualquer outra propriedade será ignorada): @@ -630,9 +632,9 @@ For all properties except `WinIcon`, if you pass a null or empty text as value, For the `WinIcon` property, if the icon file does not exist or has an incorrect format, an error is generated. -Parâmetro ***info* com um arquivo executável macOS (somente macOS)** +**Parâmetro *info* com um arquivo macOS executável (somente macOS)** -*info* deve ser um objeto com uma única propriedade denominada `archs` que é uma coleção de objetos no formato retornado por [`getAppInfo()`](#getappinfo). Cada objeto deve conter pelo menos as propriedades `type` e `uuid` (`name` não é usado). +*info* must be an object with a single property named `archs` that is a collection of objects in the format returned by [`getAppInfo()`](#getappinfo). Each object must contain at least the `type` and `uuid` properties (`name` is not used). Every object in the *info*.archs collection must contain the following properties: @@ -645,26 +647,29 @@ Every object in the *info*.archs collection must contain the following propertie ```4d // set some keys in an info.plist file (all platforms) -var $infoPlistFile : 4D. File +var $infoPlistFile : 4D.File var $info : Object $infoPlistFile:=File("/RESOURCES/info.plist") $info:=New object -$info. Copyright:="Copyright 4D 2021" //text -$info. ProductVersion:=12 //integer -$info. ShipmentDate:="2021-04-22T06:00:00Z" //timestamp +$info.Copyright:="Copyright 4D 2023" //text +$info.ProductVersion:=12 //integer +$info.ShipmentDate:="2023-04-22T06:00:00Z" //timestamp +$info.CFBundleIconFile:="myApp.icns" //for macOS $infoPlistFile.setAppInfo($info) ``` #### Exemplo 2 ```4d - // set copyright and version of a .exe file (Windows) -var $exeFile : 4D. File + // set copyright, version and icon of a .exe file (Windows) +var $exeFile; $iconFile : 4D.File var $info : Object $exeFile:=File(Application file; fk platform path) +$iconFile:=File("/RESOURCES/myApp.ico") $info:=New object -$info. LegalCopyright:="Copyright 4D 2021" -$info. ProductVersion:="1.0.0" +$info.LegalCopyright:="Copyright 4D 2023" +$info.ProductVersion:="1.0.0" +$info.WinIcon:=$iconFile.path $exeFile.setAppInfo($info) ``` @@ -706,15 +711,15 @@ $app.setAppInfo($info) -| Parâmetro | Tipo | | Descrição | -| --------- | ---- | -- | ------------------------------ | -| content | BLOB | -> | Novos conteúdos para o arquivo | +| Parâmetro | Tipo | | Descrição | +| --------- | ---- | -- | ------------------------- | +| content | BLOB | -> | New contents for the file | #### Descrição -A função `.setContent( )` reescreve todo o conteúdo do arquivo usando os dados armazenados no BLOB *content*. Para obter informações sobre BLOBs, consulte a seção [BLOB](Concepts/dt_blob.md). +The `.setContent( )` function rewrites the entire content of the file using the data stored in the *content* BLOB. Para obter informações sobre BLOBs, consulte a seção [BLOB](Concepts/dt_blob.md). #### Exemplo @@ -753,11 +758,11 @@ A função `.setContent( )` reescrev #### Descrição -A função `.setText()` escreve *text* como o novo conteúdo do arquivo. +The `.setText()` function writes *text* as the new contents of the file. If the file referenced in the `File` object does not exist on the disk, it is created by the function. Quando o ficheiro já existir no disco, o seu conteúdo anterior é apagado, exceto se já estiver aberto, caso em que o seu conteúdo é bloqueado e é gerado um erro. -Em *text,* passe o texto a escrever no arquivo. Pode ser um texto literal ("my text"), ou um campo/variável texto 4D. +In *text*, pass the text to write to the file. Pode ser um texto literal ("my text"), ou um campo/variável texto 4D. Opcionalmente, pode designar o conjunto de caracteres a utilizar para escrever o conteúdo. Você pode passar também: @@ -780,7 +785,7 @@ In *breakMode*, you can pass a number indicating the processing to apply to end- By default, when you omit the *breakMode* parameter, line breaks are processed in native mode (1). -> **Nota de compatibilidade**: as opções de compatibilidade estão disponíveis para a gerenciamento da EOL e da BOM. Consulte a [página Compatibilidade](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) em doc.4d.com. +> **Compatibility Note**: Compatibility options are available for EOL and BOM management. See [Compatibility page](https://doc.4d.com/4Dv20/4D/20.2/Compatibility-page.300-6750362.en.html) on doc.4d.com. #### Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/FolderClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/FolderClass.md index 2eb9c22137110e..ea72658ed2bb85 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/FolderClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/FolderClass.md @@ -295,7 +295,7 @@ Quando `Delete with contents` é passado: A função `.moveTo( )` move ou renomeia o objeto `Folder` (pasta de origem) para a *destinationFolder* especificada. -The *destinationFolder* must exist on disk, otherwise an error is generated. +A *destinationFolder* deve existir em disco, senão um erro é gerado. Por padrão, a pasta mantém o seu nome quando movida. Por padrão, a pasta mantém o seu nome quando movida. O novo nome deve cumprir com as regras de nomenclatura (por exemplo, não deve conter caracteres como ":", "/", etc.), do contrário se devolve um erro. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/HTTPRequestClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/HTTPRequestClass.md index de1c95bb4630c8..94fa2781bf18e7 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/HTTPRequestClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/HTTPRequestClass.md @@ -96,7 +96,7 @@ A função `4D.HTTPRequest.new()` cria The returned `HTTPRequest` object is used to process responses from the HTTP server and call methods. -In *url*, pass the URL where you want to send the request. A sintaxe a utilizar é: +Em *url*, passe o URL para onde pretende enviar o pedido. A sintaxe a utilizar é: ``` {http://}[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/POP3TransporterClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/POP3TransporterClass.md index f2910ed60951aa..963ca2cd8afb13 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/POP3TransporterClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/POP3TransporterClass.md @@ -200,7 +200,7 @@ O objeto `boxInfo` retornado contém as seguintes propriedades: A função `.getMail()` retorna o objeto `Email` correspondente ao *msgNumber* na caixa de correio designada pelo [`transporter POP3`](#pop3-transporter-object). Essa função permite manejar localmente os conteúdos de email. -Pass in *msgNumber* the number of the message to retrieve. Esse número é retornado na propriedade `number` pela função [`.getMailInfoList()`](#getmailinfolist). +Passe em *msgNumber* o número da mensagem a recuperar. Esse número é retornado na propriedade `number` pela função [`.getMailInfoList()`](#getmailinfolist). Optionally, you can pass `true` in the *headerOnly* parameter to exclude the body parts from the returned `Email` object. Somente propriedades de cabeçalhos ([`headers`](EmailObjectClass.md#headers), [`to`](EmailObjectClass.md#to), [`from`](EmailObjectClass.md#from)...) são então retornados. Esta opção permite-lhe optimizar a etapa de descarregamento quando muitos e-mails estão no servidor. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SessionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SessionClass.md index 96571164ad47a2..2e0ef560f0ee5b 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SessionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SessionClass.md @@ -584,7 +584,7 @@ A função `.setPrivileges()` - In the *privileges* parameter, pass a collection of strings containing privilege names. -- In the *settings* parameter, pass an object containing the following properties: +- No parâmetro *settings*, passe um objeto que contenha as seguintes propriedades: | Propriedade | Tipo | Descrição | | ----------- | ------------------ | -------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md index 41cfce983dbefd..41e9a0ecb6c854 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SignalClass.md @@ -195,8 +195,8 @@ Se o sinal já estiver no estado de sinalização (ou seja, a propriedade `.sign A função devolve o valor da propriedade .signaled: -- **true** if the signal was triggered (`.trigger()` was called). -- **false** if the timeout expired before the signal was triggered. +- **true** se o sinal foi acionado (`.trigger()` foi chamado). +- **false** se o tempo limite expirou antes de o sinal ser acionado. :::note Aviso diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SystemWorkerClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SystemWorkerClass.md index 605650ba9d090c..337c6b66be8a87 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SystemWorkerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/SystemWorkerClass.md @@ -89,7 +89,7 @@ In the *options* parameter, pass an object that can contain the following proper | ---------------- | ---------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | onResponse | Formula | indefinido | Chamada de retorno para mensagens de worker do sistema. Esta chamada de retorno é chamada assim que a resposta completa é recebida. Recebe dois objectos como parâmetros (ver abaixo) | | onData | Formula | indefinido | Chamada de retorno para os dados do worker do sistema. Esta chamada de retorno é chamada cada vez que o worker do sistema recebe dados. Recebe dois objectos como parâmetros (ver abaixo) | -| onDataError | Formula | indefinido | Callback for the external process errors (*stderr* of the external process). Recebe dois objectos como parâmetros (ver abaixo) | +| onDataError | Formula | indefinido | Callback para os erros do processo externo (*stderr* do processo externo). Recebe dois objectos como parâmetros (ver abaixo) | | onError | Formula | indefinido | Chamada de retorno para erros de execução, devolvida pelo worker do sistema em caso de condições anormais de tempo de execução (erros de sistema). Recebe dois objectos como parâmetros (ver abaixo) | | onTerminate | Formula | indefinido | Chamada de retorno quando o processo externo é terminado. Recebe dois objectos como parâmetros (ver abaixo) | | timeout | Number | indefinido | Tempo em segundos antes de o processo ser terminado se ainda estiver vivo | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md index cdccf359cd37d9..61625d3a731576 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/TCPListenerClass.md @@ -90,8 +90,8 @@ In the *options* parameter, pass an object to configure the listener and all the | Propriedade | Tipo | Descrição | Por padrão | | ------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | | onConnection | Formula | Callback when a new connection is established. The Formula receives two parameters (*$listener* and *$event*, see below) and must return either null/undefined to prevent the connection or an *option* object that will be used to create the [`TCPConnection`](./TCPConnectionClass.md). | Indefinido | -| onError | Formula | Callback triggered in case of an error. The Formula receives the `TCPListener` object in *$listener* | Indefinido | -| onTerminate | Formula | Callback triggered just before the TCPListener is closed. The Formula receives the `TCPListener` object in *$listener* | Indefinido | +| onError | Formula | Callback triggered in case of an error. A fórmula recebe o objeto `TCPListener` em *$listener* | Indefinido | +| onTerminate | Formula | Callback triggered just before the TCPListener is closed. A fórmula recebe o objeto `TCPListener` em *$listener* | Indefinido | #### Funções Callback diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebFormClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebFormClass.md index c951c844cd5ed3..898fcc11824905 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebFormClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebFormClass.md @@ -55,7 +55,7 @@ A função `.disableState()` de Essa função não faz nada se: -- the *state* is currently not enabled in the web form, +- o *estado* não está habilitado no momento no formulário Web, - o *estado* não existe para o formulário Web. Se você [enable](#enablestate) ou desativar vários estados na mesma função de usuário, todas as modificações são enviadas em simultâneo, para o cliente quando a função termina. @@ -80,7 +80,7 @@ A função `.enableState()` ativ Essa função não faz nada se: -- the *state* has already been enabled on the web form, +- o *estado* já foi ativado no formulário Web, - o *estado* não existe para o formulário Web. Se você ativar ou [desativar](#disablestate) vários estados dentro da mesma função de usuário, todas as modificações serão enviadas ao mesmo tempo, para o cliente quando a função terminar. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md index bb84e91a77bbb4..bb13c55ccf95d6 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebServerClass.md @@ -568,7 +568,7 @@ The `.start()` function starts the w The web server starts with default settings defined in the settings file of the project or (host database only) using the `WEB SET OPTION` command. However, using the *settings* parameter, you can define customized properties for the web server session. -All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). As configurações de sessão personalizadas serão redefinidas quando a função [`.stop()`](#stop) for chamada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketClass.md index afa0684d1b339f..4b0cb3d6d3d393 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/API/WebSocketClass.md @@ -239,7 +239,7 @@ In *code*, you can pass a status code explaining why the connection is being clo - If unspecified, a close code for the connection is automatically set to 1000 for a normal closure, or otherwise to another standard value in the range 1001-1015 that indicates the actual reason the connection was closed. - Se especificado, o valor desse parâmetro de código substitui a configuração automática. O valor deve ser um número inteiro. Ou 1000, ou um código personalizado no intervalo 3000-4999. Se você especificar um valor *code*, também deverá especificar um valor *reason*. -In *reason*, you can pass a string describing why the connection is being closed. +Em *reason*, você pode passar uma frase descrevendo porque a conexão está sendo fechada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Admin/licenses.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Admin/licenses.md index 4d430ef88037cd..7d32d0d13bf48c 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Admin/licenses.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Admin/licenses.md @@ -7,12 +7,12 @@ title: Licenças To use 4D products and features, you need to install appropriate licenses on your computer. 4D provides two categories of licenses: -- **Development licenses**, required for working with 4D and 4D Server IDE. +- **Licenças de desenvolvimento**, necessárias para trabalhar com o IDE de 4D e 4D Server. - **Deployment licenses**, required for deploying your custom applications built with 4D. ### Development licenses -Development licenses are required to access the 4D Design environment and features. For example, *4D Developer Pro* is a single-user development license. Registered development licenses are automatically installed [when you log](GettingStarted/Installation.md) in the Welcome Wizard, or you can add them using the [Instant activation](#instant-activation) dialog box. +Development licenses are required to access the 4D Design environment and features. Por exemplo, *4D Developer Pro* é uma licença de desenvolvimento para um único usuário. Registered development licenses are automatically installed [when you log](GettingStarted/Installation.md) in the Welcome Wizard, or you can add them using the [Instant activation](#instant-activation) dialog box. ### Deployment licenses diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md index b534ee53938b36..8c3e71ae58d7f6 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Concepts/classes.md @@ -748,7 +748,7 @@ Você declara classes singleton adicionando a(s) palavra(s)-chave apropriada(s) :::note - Session singletons are automatically shared singletons (there's no need to use the `shared` keyword in the class constructor). -- As funções compartilhadas Singleton suportam a palavra-chave `onHTTPGet`(../ORDA/ordaClasses.md#onhttpget-keyword). +- Singleton shared functions support [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_number.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_number.md index ddeff6b566be3f..17b4572bc5da7e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_number.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Concepts/dt_number.md @@ -121,7 +121,7 @@ Os operadores bitwise operam com expressões ou valores inteiros (Long). While using the bitwise operators, you must think about a Long value as an array of 32 bits. Os bits são numerados de 0 a 31, da direita para a esquerda. -Já que cada bit pode ser igual a 0 ou 1, também se pode pensar num valor Long Integer como um valor onde se pode armazenar 32 valores booleanos. A bit equal to 1 means **True** and a bit equal to 0 means **False**. +Já que cada bit pode ser igual a 0 ou 1, também se pode pensar num valor Long Integer como um valor onde se pode armazenar 32 valores booleanos. Um bit igual a 1 significa **True** e um bit igual a 0 significa **False**. An expression that uses a bitwise operator returns a Long value, except for the Bit Test operator, where the expression returns a Boolean value. A tabela a seguir lista os operadores bitwise e sua sintaxe: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugger.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugger.md index 58065552397688..34b679b7896abb 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugger.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugger.md @@ -456,7 +456,7 @@ O menu contextual do painel Código-fonte fornece acesso a várias funções que - **Show documentation**: Opens the documentation for the target element. Este comando está disponível para: - *Project methods*, *user classes*: Selects the method in the Explorer and switches to the documentation tab - - *4D commands, functions, class names:* Displays the online documentation. + - *Comandos 4D, funções e nomes de classes:* exibe a documentação on-line. - **Search References** (também disponível no Editor de código): Pesquisa todos os objetos do projeto (métodos e formulários) nos quais o elemento atual do método é referenciado. O elemento atual é o elemento selecionado ou o elemento onde se encontra o cursor. Pode ser o nome de um campo, variável, comando, cadeia de caracteres, etc. Os resultados da pesquisa são apresentados numa nova janela de resultados padrão. - **Cópia**: Cópia padrão da expressão selecionada para a área de transferência. - **Copiar para o Painel de Expressão**: Copia a expressão selecionada para o painel de observação personalizado. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugging-remote.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugging-remote.md index 3e0a32f3367113..7831bcc26ce0a0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugging-remote.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Debugging/debugging-remote.md @@ -62,7 +62,7 @@ O depurador é então ligado ao cliente 4D remoto: Para ligar o depurador de novo ao servidor: 1. On the remote 4D client that has the debugger attached, select **Run** > **Detach Remote Debugger**. -2. In the 4D Server menu bar, select **Edit** > **Attach debugger**. +2. Na barra de menu de 4D Server, selecione **Editar** > **Anexar depurador**. > Quando o depurador estiver conectado ao servidor (padrão), todos os processos do servidor são executados automaticamente no modo cooperativo para permitir a depuração. Este fato pode ter um impacto significativo no desempenho. Quando não for necessário depurar na máquina do servidor, recomenda-se desconectar o depurador e anexá-lo a uma máquina remota, se necessário. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md index f2be320ee4708c..2dd7a791fb9829 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Desktop/labels.md @@ -110,8 +110,8 @@ The left-hand side of the tool bar includes commands for selecting and inserting There are shortcuts available to move or resize objects more precisely using the keyboard arrow keys: - Keyboard arrow keys move the selection of objects 1 pixel at a time. -- **Shift** + arrow keys move the selection of objects 10 pixels at a time. -- **Ctrl** + arrow keys enlarge or reduce the selection of objects by 1 pixel. +- **Shift** + teclas de seta movem a seleção de objetos 10 píxeis por vez. +- **Ctrl** + teclas de seta ampliam ou reduzem a seleção de objetos em 1 píxel. - **Ctrl** + **Maj** + arrow keys enlarge or reduce the selection of objects by 10 pixels. The right-hand side of the tool bar contains commands used to modify items of the label template: @@ -138,7 +138,7 @@ The Layout page contains controls for printing labels based on the requirements **Note:** The sheet created by the editor is based on the logical page of the printer, i.e. the physical page (for instance, an A4 page) less the margins that cannot be used on each side of the sheet. The physical margins of the page are shown by blue lines in the preview area. - **Unit**: Changes the units in which you specify your label and label page measurements. You can use points, millimeters, centimeters, or inches. - **Automatic resizing**: Means that 4D automatically calculates the size of the labels (i.e. the Width and Height parameters) according to the values set in all the other parameters. When this option is checked, the label size is adjusted each time you modify a page parameter. The Width and Height parameters can no longer be set manually. -- **Width** and **Height**: Sets the height and width of each label manually. They cannot be edited when the **Automatic resizing** option is checked. +- **Largura** e **Altura**: define a altura e a largura de cada etiqueta manualmente. Eles não podem ser editados quando a opção **Redimensionamento automático** estiver marcada. - **Margins** (Top, Right, Left, Bottom): Sets the margins of your sheet. These margins are symbolized by blue lines in the preview area. Clicking on **Use printer margins** replicates, in the preview area, the margin information provided by the selected printer (these values can be modified). - **Gaps**: Set the amount of vertical and/or horizontal space between label rows and columns. - **Method**: Lets you trigger a specific method that will be run at print time. For example, you can execute a method that posts the date and time that each label was printed. This feature is also useful when you print labels using a dedicated table form, in which case you can fill variables from a method. @@ -195,13 +195,13 @@ Then you can print your labels: The Label editor includes an advanced feature allowing you to restrict which project forms and methods (within "allowed" methods) can be selected in the dialog box: -- in the **Form to use** menu on the "Label" page and/or +- no menu **Formulário para usar** na página "Etiqueta" e/ou - in the **Apply (method)** menu on the "Layout" page. 1. Crie um arquivo JSON chamado **labels.json** e coloque-o na pasta [Resources] (../Project/architecture.md#resources) do projeto. 2. In this file, add the names of forms and/or project methods that you want to be able to select in the Label editor menus. -The contents of the **labels.json** file should be similar to: +O conteúdo do arquivo **labels.json** deve ser semelhante a: ```json [ @@ -210,7 +210,7 @@ The contents of the **labels.json** file should be similar to: ] ``` -If no **labels.json** file has been defined, then no filtering is applied. +Se nenhum arquivo **labels.json** tiver sido definido, nenhuma filtragem será aplicada. ## Managing label files diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/FormObjects/properties_Text.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/FormObjects/properties_Text.md index 73f8c7a3d87be4..c447b8c489bebb 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/FormObjects/properties_Text.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/FormObjects/properties_Text.md @@ -28,7 +28,7 @@ Define o texto selecionado para aparecer mais escuro e mais pesado. Você pode definir essa propriedade usando o comando [**OBJECT SET FONT STYLE**] (../commands-legacy/object-set-font-style.md). > This is normal text.
    -> **This is bold text.** +> **Este é um texto em negrito.** #### Gramática JSON diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md index f667709d8ee8c6..4bb148d375ff05 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Notes/updates.md @@ -63,7 +63,7 @@ Leia [**O que há de novo no 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d- - Agora você pode [adicionar e remover componentes usando a interface do gerenciador de componentes](../Project/components.md#monitoring-project-dependencies). - Novo modo [**direct typing mode**] (../Project/compiler.md#enabling-direct-typing) no qual você declara todas as variáveis e parâmetros em seu código usando as palavras-chave `var` e `#DECLARE`/`Function` (somente o modo suportado em novos projetos). A [funcionalidade verificação de sintaxe](../Project/compiler.md#check-syntax) foi aprimorado de acordo. - Suporte a [Session singletons] (../Concepts/classes.md#singleton-classes) e à nova propriedade de classe [`.isSessionSingleton`] (../API/ClassClass.md#issessionsingleton). -- Nova palavra-chave de função [`onHTTPGet`] (../ORDA/ordaClasses.md#onhttpget-keyword) para definir funções singleton ou ORDA que podem ser chamadas por meio de solicitações [HTTP REST GET] (../REST/ClassFunctions.md#function-calls). +- New [`onHTTPGet` function keyword](../ORDA/ordaClasses.md#onhttpget-keyword) to define singleton or ORDA functions that can be called through [HTTP REST GET requests](../REST/ClassFunctions.md#function-calls). - Nova classe [`4D.OutgoingMessage`](../API/OutgoingMessageClass.md) para que o servidor REST retorne qualquer conteúdo Web. - Qodly Studio: agora você pode [anexar o depurador Qodly a 4D Server](../WebServer/qodly-studio.md#using-qodly-debugger-on-4d-server). - New Build Application keys para aplicativos 4D remotos para validar a autoridade de certificação do servidor [signatures](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateAuthoritiesCertificates.300-7425900.en.html) e/ou [domain](https://doc.4d.com/4Dv20R7/4D/20-R7/CertificateDomainName.300-7425906.en.html). @@ -124,7 +124,7 @@ Leia [**O que há de novo no 4D 20 R5**](https://blog.4d.com/en-whats-new-in-4d- - Soporte de [clases compartidas](../Concepts/classes.md#shared-classes) y de [clases singleton](../Concepts/classes.md#singleton-classes). Novas propriedades de classe: [`isShared`](../API/ClassClass.md#isshared), [`isSingleton`](../API/ClassClass.md#issingleton), [`me`](../API/ClassClass.md#me). - Suporte à [inicializando uma propriedade de classe em sua linha de declaração](../Concepts/classes.md#initializing-the-property-in-the-declaration-line). - Novo modo [forçar login para solicitações REST](../REST/authUsers.md#force-login-mode) com um suporte específico [no Qodly Studio para 4D](../WebServer/qodly-studio.md#force-login). -- Nuevo parámetro REST [$format](../REST/$format.md). +- New [$format](../REST/$format.md) REST parameter. - O objeto [`Session`](../commands/session.md) agora está disponível em sessões de usuários remotos e sessões de procedimentos armazenados. - Comandos da linguagem 4D: [página Novidades](https://doc.4d.com/4Dv20R5/4D/20-R5/What-s-new.901-6817247.en.html) em doc.4d.com. - 4D Write Pro: [Página de novidades](https://doc.4d.com/4Dv20R5/4D/20-R5/What-s-new.901-6851780.en.html) em doc.4d.com. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ORDA/entities.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ORDA/entities.md index 07b8b9b4d3064f..544356bf5530ed 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ORDA/entities.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ORDA/entities.md @@ -99,7 +99,7 @@ Com as entidades, não há o conceito de "registro atual" como na linguagem 4D. Os atributos de entidade armazenam dados e mapeiam os campos correspondentes na tabela correspondente. - attributes of the **storage** kind can be set or get as simple properties of the entity object, -- attributes of the **relatedEntity** kind will return an entity, +- atributos do tipo **relatedEntity** retornarão uma entidade, - attributes of the **relatedEntities** kind will return an entity selection, - attributes of the **computed** and **alias** kind can return any type of data, depending on how they are configured. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md index 2929c6fa950b83..cf4f77b8efc2bf 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ORDA/ordaClasses.md @@ -844,7 +844,7 @@ As this type of call is an easy offered action, the developer must ensure no sen ### params -Uma função com a palavra-chave `onHTTPGet` aceita [parâmetros](../Concepts/parameters.md). +A function with `onHTTPGet` keyword accepts [parameters](../Concepts/parameters.md). In the HTTP GET request, parameters must be passed directly in the URL and declared using the `$params` keyword (they must be enclosed in a collection). @@ -856,7 +856,7 @@ Consulte a seção [Parâmetros](../REST/classFunctions#parameters) na documenta ### resultado -Uma função com a palavra-chave `onHTTPGet` pode retornar qualquer valor de um tipo compatível (o mesmo que para [parâmetros](../REST/classFunctions#parameters) REST). +A function with `onHTTPGet` keyword can return any value of a supported type (same as for REST [parameters](../REST/classFunctions#parameters)). :::info diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/code-overview.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/code-overview.md index d006efe9ed37e1..e8662445e9b179 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/code-overview.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/code-overview.md @@ -30,7 +30,7 @@ Para más información, consulte la sección [Clases](../Concepts/classes.md). To delete an existing method or class, you can: -- on your disk, remove the *.4dm* file from the "Sources" folder, +- em seu disco, remova o arquivo *.4dm* da pasta "Sources", - in the 4D Explorer, select the method or class and click ![](../assets/en/Users/MinussNew.png) or choose **Move to Trash** from the contextual menu. > To delete an object method, choose **Clear Object Method** from the [Form editor](../FormEditor/formEditor.md) (**Object** menu or context menu). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/compiler.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/compiler.md index 2de8b9b8d97a3b..5f9d76c68da801 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/compiler.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/compiler.md @@ -67,7 +67,7 @@ Este botão só será exibido em projetos convertidos se as **variáveis forem d ### Limpar código compilado -The **Clear compiled code** button deletes the compiled code of the project. Al hacer clic en él, se borra todo el [código generado durante la compilación](#classic-compiler), se desactiva el comando **Reiniciar compilado** del menú **Ejecutar** y la opción "Proyecto compilado" no está disponible al inicio. +O botão **Limpar o código compilado** exclui o código compilado do projeto. Al hacer clic en él, se borra todo el [código generado durante la compilación](#classic-compiler), se desactiva el comando **Reiniciar compilado** del menú **Ejecutar** y la opción "Proyecto compilado" no está disponible al inicio. ### Mostrar/ocultar avisos diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/components.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/components.md index e77b96b631581c..542a48f7410d46 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/components.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/Project/components.md @@ -484,7 +484,7 @@ The Dependency manager provides an integrated handling of updates on GitHub. The - Automatic and manual checking of available versions - Automatic and manual updating of components -Manual operations can be done **per dependency** or **for all dependencies**. +As operações manuais podem ser feitas **por dependência** ou **para todas as dependências**. #### Checking for new versions diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/$attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/$attributes.md index b4e2685a5cc855..0eaa8b3771feb5 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/$attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/$attributes.md @@ -22,7 +22,7 @@ Puede aplicar `$attributes` a una entidad (*p. Ej.*, People(1)) o una entity sel - `$attributes=relatedEntities.*`: se devuelven todas las propiedades de todas las entidades relacionadas - `$attributes=relatedEntities.attributePath1, relatedEntities.attributePath2, ...`: sólo se devuelven los atributos de las entidades relacionadas. -- If `$attributes` is specified for **storage** attributes: +- Se `$attributes` for especificado para os atributos **storage**: - `$attributes=attribute1, attribute2, ...`: somente os atributos das entidades são retornados. ## Exemplo com entidades relacionadas diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md index 2ef76aa2cb1e73..ee873d00f18b30 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/$singleton.md @@ -27,7 +27,7 @@ Tenha em mente que somente funções com a [palavra-chave `exposed`](../ORDA/ord ## Chamadas funções -Singleton functions can be called using REST **POST** or **GET** requests. +As funções singleton podem ser chamadas usando solicitações REST **POST** ou **GET**. A sintaxe formal é: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md index e799c6c8f22b53..a6c1d79893d65d 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/REST/ClassFunctions.md @@ -7,8 +7,8 @@ You can call [data model class functions](ORDA/ordaClasses.md) defined for the O Functions can be called in two ways: -- using **POST requests**, with data parameters passed in the body of the request. -- using **GET requests**, with parameters directly passed in the URL. +- usando **POST requests**, com parâmetros de dados passados no corpo da solicitação. +- usando solicitações **GET**, com parâmetros passados diretamente no URL. POST requests provide a better security level because they avoid running sensitive code through an action as simple as clicking on a link. However, GET requests can be more compliant with user experience, allowing to call functions by entering an URL in a browser (note: the developer must ensure no sensitive action is done in such functions). @@ -49,7 +49,7 @@ with data in the body of the POST request: `["Aguada"]` :::note -A função `getCity()` deve ter sido declarada com a palavra-chave `onHTTPGet` (veja [Configuração da função](#function-configuration) abaixo). +The `getCity()` function must have been declared with the `onHTTPGet` keyword (see [Function configuration](#function-configuration) below). ::: @@ -73,7 +73,7 @@ Consulte a seção [Funções expostas vs. não expostas](../ORDA/ordaClasses.md ### `onHTTPGet` -As funções que podem ser chamadas a partir de solicitações HTTP `GET` também devem ser especificamente declaradas com a palavra-chave [`onHTTPGet`](../ORDA/ordaClasses.md#onhttpget-keyword). Por exemplo: +Functions allowed to be called from HTTP `GET` requests must also be specifically declared with the [`onHTTPGet` keyword](../ORDA/ordaClasses.md#onhttpget-keyword). Por exemplo: ```4d //allowing GET requests diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ServerWindow/processes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ServerWindow/processes.md index 9adfaac90e6f98..7a0279e36e9626 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ServerWindow/processes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ServerWindow/processes.md @@ -87,7 +87,7 @@ A página também tem cinco botões de controle que atuam nos processos selecion > You can also abort the selected process(es) directly without displaying the confirmation dialog box by holding down the **Alt** key while clicking on this button, or by using the [`ABORT PROCESS BY ID`](../commands-legacy/abort-process-by-id.md) command. -- **Pause Process**: can be used to pause the selected process(es). +- **Pausar processo**: pode ser usado para pausar os processos selecionados. - **Activar proceso**: permite reactivar los procesos seleccionados. Os processos devem ter sido colocados em pausa anteriormente (utilizando o botão acima ou por programação); caso contrário, este botão não tem qualquer efeito. - **Depurar proceso**: permite abrir en el equipo servidor una o varias ventanas de depuración para el proceso o procesos seleccionados. Quando clicar neste botão, aparece uma caixa de diálogo de aviso para que se possa confirmar ou cancelar a operação. Note que a janela do depurador só é exibida quando o código 4D for realmente executado na máquina do servidor (por exemplo, em um gatilho ou na execução de um método com o atributo "Execute on Server"). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-export-document.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-export-document.md index 600eeaa838bfbc..af86e0eae0c7f2 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-export-document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-export-document.md @@ -51,7 +51,7 @@ O parâmetro opcional *paramObj* permite que você defina várias propriedades p | valuesOnly | | boolean | Especifica que somente os valores das fórmulas (se houver) serão exportados. | | includeFormatInfo | | boolean | Verdadeiro para incluir informações de formatação; caso contrário, falso (o padrão é verdadeiro). As informações de formatação são úteis em alguns casos, por exemplo, para exportação para SVG. On the other hand, setting this property to **false** allows reducing export time. | | includeBindingSource | | boolean | 4DVP e Microsoft Excel apenas. True (padrão) para exportar os valores do contexto de dados atual como valores de célula no documento exportado (os contextos de dados em si não são exportados). Caso contrário, false. Cell binding sempre é exportada. For data context and cell binding management, see [VP SET DATA CONTEXT](vp-set-data-context.md) and [VP SET BINDING PATH](vp-set-binding-path.md). | -| sheetIndex | | number | Somente PDF (opcional) - Índice da planilha a ser exportada (a partir de 0). -2=all visible sheets (**default**), -1=current sheet only | +| sheetIndex | | number | Somente PDF (opcional) - Índice da planilha a ser exportada (a partir de 0). -2=todas as planilhas visíveis (**padrão**), -1=apenas a planilha atual | | pdfOptions | | object | PDF only (optional) - Options for pdf | | | creator | text | nome do aplicativo que criou o documento original a partir do qual ele foi convertido. | | | title | text | título do documento. | @@ -89,7 +89,7 @@ O parâmetro opcional *paramObj* permite que você defina várias propriedades p - Ao exportar um documento do 4D View Pro para um arquivo no formato Microsoft Excel, algumas configurações podem ser perdidas. Por exemplo, os métodos e fórmulas 4D não são suportados pelo Excel. You can verify other settings with [this list from SpreadJS](https://developer.mescius.com/spreadjs/docs/excelimpexp/excelexport). - Exporting in this format is run asynchronously, use the `formula` property of the *paramObj* for code to be executed after the export. -- Using *excelOptions* object is recommended when exporting in ".xlsx" format. Make sure to not mix this object with legacy first level properties (*password*, *includeBindingSource*...) to avoid potiental issues. +- Usando o objeto *excelOptions* é recomendado ao exportar no formato ".xlsx". Make sure to not mix this object with legacy first level properties (*password*, *includeBindingSource*...) to avoid potiental issues. **Notas sobre o formato PDF**: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-find.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-find.md index b5676661bb0bbf..137ba0c03f919e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-find.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-find.md @@ -21,7 +21,7 @@ title: VP Find O comando `VP Find` pesquisa o *rangeObj* para o *searchValue*. Podem ser utilizados parâmetros opcionais para refinar a pesquisa e/ou substituir quaisquer resultados encontrados. -In the *rangeObj* parameter, pass an object containing a range to search. +No parâmetro *rangeObj*, passe um objeto que contenha um intervalo a ser pesquisado. The *searchValue* parameter lets you pass the text to search for within the *rangeObj*. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-sheet-index.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-sheet-index.md index f365f58e49f89a..a19f207f6010ce 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-sheet-index.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-sheet-index.md @@ -21,7 +21,7 @@ The `VP Get sheet index` command re Em *vpAreaName*, passe o nome da área 4D View Pro. -In *sheet*, pass the index of the sheet whose name will be returned. +Em *sheet*, passe o índice da folha cujo nome será devolvido. Se o índice de folha passado não existir, o método devolve um nome vazio. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-stylesheet.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-stylesheet.md index d473d99eb756a6..de73d2b35c5611 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-stylesheet.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-stylesheet.md @@ -22,7 +22,7 @@ The `VP Get stylesheet` command Em *vpAreaName*, passe o nome da área 4D View Pro. Se passar um nome que não existe, é devolvido um erro. -In *styleName*, pass the name of the style sheet to get. +Em *styleName*, passe o nome da folha de estilo a obter. You can define where to get the style sheet in the optional *sheet* parameter using the sheet index (counting begins at 0) or with the following constants: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-table-column-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-table-column-attributes.md index 29f3d674f75e18..32e07b51591a82 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-table-column-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-table-column-attributes.md @@ -35,7 +35,7 @@ Em *sheet*, passe o índice da folha de destino. Se nenhum indice for especcific > A indexação começa em 0. -The command returns an object describing the current attributes of the *column*: +O comando retorna um objeto descrevendo os atributos atuais da *column*: | Propriedade | Tipo | Descrição | | ------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-table-column-index.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-table-column-index.md index d61e9beadc8951..ccc9a3d8dedaf8 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-table-column-index.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-get-table-column-index.md @@ -37,7 +37,7 @@ Em *sheet*, passe o índice da folha de destino. Se nenhum indice for especcific > A indexação começa em 0. -If *tableName* or *columnName* is not found, the command returns -1. +Se *tableName* ou *columnName* não for encontrado, o comando retornará -1. ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-document.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-document.md index 139fe4d0d06b6d..0845ae3fba1715 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-document.md @@ -75,7 +75,7 @@ The optional *paramObj* parameter allows you to define properties for the import - Importar arquivos em formatos .xslx, .csv, e .sjs é **assíncrona**. With these formats, you must use the `formula` attribute if you want to start an action at the end of the document processing. - Quando importar um arquivo formatado em Excel em um documento 4D View Pro, algumas configurações podem ser perdidas. You can verify your settings with [this list from SpreadJS](https://developer.mescius.com/spreadjs/docs/excelimpexp/excelexport). - For more information on the CSV format and delimiter-separated values in general, see [this article on Wikipedia](https://en.wikipedia.org/wiki/Delimiter-separated_values) -- Using *excelOptions* object is recommended when importing ".xlsx" format. Make sure to not mix this object with legacy first level property *password* to avoid potiental issues. +- Usando o objeto *excelOptions* é recomendado ao importar o formato ".xlsx". Make sure to not mix this object with legacy first level property *password* to avoid potiental issues. - The callback function specified in the `formula` attribute is triggered after all [4D custom functions](../formulas.md#4d-functions) within the imported content have completed their calculations. This ensures that any dependent processes, such as document modifications or exports, are performed only after all formula-based computations are fully resolved. ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-from-object.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-from-object.md index 8896eadda76ab2..47c29b7fbcc1ec 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-from-object.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-import-from-object.md @@ -33,9 +33,9 @@ Em *vpAreaName*, passe o nome da área 4D View Pro. Se passar um nome que não e Em *viewPro*, passe um objeto 4D View Pro válido. Esse objeto pode ter sido criado usando [VP Export to object] (vp-export-to-object.md) ou manualmente. Para mais informações sobre objetos 4D View Pro, consulte a seção [4D View Pro](../configuring.md#4d-view-pro-object). -An error is returned if the *viewPro* object is invalid. +Um erro é retornado se o objeto *viewPro* for inválido. -In *paramObj*, you can pass the following property: +Em *paramObj*, você pode passar a seguinte propriedade: | Propriedade | Tipo | Descrição | | ----------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-insert-table-columns.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-insert-table-columns.md index dbd3731fc02f3c..e352eac6b36788 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-insert-table-columns.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-insert-table-columns.md @@ -34,12 +34,12 @@ When a column has been inserted with this command, you typically modify its cont In the *insertAfter* parameter, you can pass one of the following constants to indicate if the column(s) must be inserted before or after the *column* index: -| Parâmetros | Valor | Descrição | -| ------------------------ | ----- | ----------------------------------------------------------------------------------------------- | -| `vk table insert before` | 0 | Insert column(s) before the *column* (default if omitted) | -| `vk table insert after` | 1 | Inserir coluna(s) após a *coluna* | +| Parâmetros | Valor | Descrição | +| ------------------------ | ----- | --------------------------------------------------------------------------------------------------------------------- | +| `vk table insert before` | 0 | Inserir a(s) coluna(s) antes da *column* (padrão se omitida) | +| `vk table insert after` | 1 | Inserir coluna(s) após a *coluna* | -This command inserts some columns in the *tableName* table, NOT in the sheet. O número total de colunas da folha não é impactado pelo comando. Dados presentes à direita da tabela (se houver) são movidos para a direita automaticamente de acordo com o número de colunas adicionadas. +Este comando insere algumas colunas na tabela *tableName*, NÂO na folha. O número total de colunas da folha não é impactado pelo comando. Dados presentes à direita da tabela (se houver) são movidos para a direita automaticamente de acordo com o número de colunas adicionadas. If *tableName* does not exist or if there is not enough space in the sheet, nothing happens. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-remove-table-rows.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-remove-table-rows.md index 6ad68b1d1f85c9..346ceaa7ebe702 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-remove-table-rows.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-remove-table-rows.md @@ -29,7 +29,7 @@ title: VP REMOVE TABLE ROWS The `VP REMOVE TABLE ROWS` command removes one or *count* row(s) from the specified *tableName* at the specified *row* index. O comando remove valores e estilos. -This command removes rows from the *tableName* table, NOT from the sheet. O número total de linhas da folha não é impactado pelo comando. Dados presentes abaixo da tabela (se houver) são movidos automaticamente de acordo com o número de linhas removidas. +Este comando remove linhas da tabela *tableName*, não da folha. O número total de linhas da folha não é impactado pelo comando. Dados presentes abaixo da tabela (se houver) são movidos automaticamente de acordo com o número de linhas removidas. If the *tableName* table is bound to a [data context](vp-set-data-context.md), the command removes element(s) from the collection. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-remove-table.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-remove-table.md index 15a813c9962132..98341fc00e5aec 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-remove-table.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-remove-table.md @@ -30,7 +30,7 @@ The `VP REMOVE TABLE` command remo Em *vpAreaName*, passe o nome da área onde a tabela a ser removida está localizada. -In *tableName*, pass the name of the table to remove. +Em *tableName*, passe o nome da tabela para remover. Em *options*, você pode especificar o comportamento adicional. Valores possíveis: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-binding-path.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-binding-path.md index 728ee24eb15c6a..8e5b2f4ff5f926 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-binding-path.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-binding-path.md @@ -31,7 +31,7 @@ In *rangeObj*, pass an object that is either a cell range or a combined range of - If *rangeObj* is a range with several cells, the command binds the attribute to the first cell of the range. - If *rangeObj* contains several ranges of cells, the command binds the attribute to the first cell of each range. -In *dataContextAttribute*, pass the name of the attribute to bind to *rangeObj*. If *dataContextAttribute* is an empty string, the function removes the current binding. +No *dataContextAttribute*, passe o nome do atributo para vincular a *rangeObj*. If *dataContextAttribute* is an empty string, the function removes the current binding. > Os atributos do tipo coleção não são suportados. Quando você passar o nome de uma coleção, o comando não faz nada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-border.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-border.md index 955cb60589e9af..d4a6ad6fb8f783 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-border.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-border.md @@ -19,9 +19,9 @@ title: VP SET BORDER The `VP SET BORDER` command applies the border style(s) defined in *borderStyleObj* and *borderPosObj* to the range defined in the *rangeObj*. -In *rangeObj*, pass a range of cells where the border style will be applied. If the *rangeObj* contains multiple cells, borders applied with `VP SET BORDER` will be applied to the *rangeObj* as a whole (as opposed to the [`VP SET CELL STYLE`](vp-set-cell-style.md) command which applies borders to each cell of the *rangeObj*). If a style sheet has already been applied, `VP SET BORDER` will override the previously applied border settings for the *rangeObj*. +Em *rangeObj*, passe um intervalo de células em que o estilo de borda será aplicado. If the *rangeObj* contains multiple cells, borders applied with `VP SET BORDER` will be applied to the *rangeObj* as a whole (as opposed to the [`VP SET CELL STYLE`](vp-set-cell-style.md) command which applies borders to each cell of the *rangeObj*). If a style sheet has already been applied, `VP SET BORDER` will override the previously applied border settings for the *rangeObj*. -The *borderStyleObj* parameter allows you to define the style for the lines of the border. The *borderStyleObj* supports the following properties: +The *borderStyleObj* parameter allows you to define the style for the lines of the border. O *borderStyleObj* oferece suporte às seguintes propriedades: | Propriedade | Tipo | Descrição | Valores possíveis | | ----------- | ------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-cell-style.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-cell-style.md index ac45ffb6c5f11b..1496208625ca76 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-cell-style.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-cell-style.md @@ -18,7 +18,7 @@ title: VP SET CELL STYLE The `VP SET CELL STYLE` command applies the style(s) defined in the *styleObj* to the cells defined in the *rangeObj*. -Em *rangeObj*, passe um intervalo de células em que o estilo será aplicado. If the *rangeObj* contains multiple cells, the style is applied to each cell. +Em *rangeObj*, passe um intervalo de células em que o estilo será aplicado. Se *rangeObj* contiver várias células, o estilo será aplicado a cada célula. > Borders applied with `VP SET CELL STYLE` will be applied to each cell of the *rangeObj*, as opposed to the [VP SET BORDER](vp-set-border.md) command which applies borders to the *rangeObj* as a whole. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-date-value.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-date-value.md index ea4f4cceecc2d8..0a052177915432 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-date-value.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-date-value.md @@ -23,7 +23,7 @@ Em *rangeObj*, passe um intervalo dá(s) célula(s) cujo valor pretende especifi The *dateValue* parameter specifies a date value to be assigned to the *rangeObj*. -The optional *formatPattern* defines a pattern for the *dateValue* parameter. Passe qualquer formato personalizado ou você pode usar uma das seguintes constantes: +O parâmetro *formatPattern* opcional define um padrão para o parâmetro *dateValue*. Passe qualquer formato personalizado ou você pode usar uma das seguintes constantes: | Parâmetros | Descrição | Padrão predefinido dos EUA | | ----------------------- | -------------------------------------- | -------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-field.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-field.md index a93fde65783adf..c60070c4e9e1df 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-field.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-field.md @@ -23,7 +23,7 @@ Em *rangeObj*, passe um intervalo dá(s) célula(s) cujo valor pretende especifi O parâmetro *field* especifica um [campo virtual](../formulas.md#referencing-fields-using-the-virtual-structure) de banco de dados 4D a ser atribuído ao *rangeObj*. O nome da estrutura virtual do *field* pode ser visualizado na barra de fórmulas. If any of the cells in *rangeObj* have existing content, it will be replaced by *field*. -The optional *formatPattern* defines a pattern for the *field* parameter. Você pode passar qualquer [formato personalizado] válido(../configuring.md#cell-format). +O *formatPattern* opcional define um padrão para o parâmetro de campo. Você pode passar qualquer [formato personalizado] válido(../configuring.md#cell-format). ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-row-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-row-attributes.md index 4425ab9eb910e9..40ffe6fb8255ca 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-row-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-row-attributes.md @@ -18,7 +18,7 @@ title: VP SET ROW ATTRIBUTES O comando `VP SET ROW ATTRIBUTES` aplica os atributos definidos na *propriedadeObj* às linhas no *intervaloObj*. -In the *rangeObj*, pass an object containing a range. Se o intervalo contiver colunas e linhas, os atributos são aplicados apenas às linhas. +Em *rangeObj*, passe um objeto que contenha um intervalo. Se o intervalo contiver colunas e linhas, os atributos são aplicados apenas às linhas. The *propertyObj* parameter lets you specify the attributes to apply to the rows in the *rangeObj*. Estes atributos são: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-row-count.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-row-count.md index 5fac8fd3466ec0..989f3ced6b826a 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-row-count.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-row-count.md @@ -21,7 +21,7 @@ O comando `VP SET ROW COUNT` def Em *vpAreaName*, passe o nome da área 4D View Pro. Se passar um nome que não existe, é devolvido um erro. -Pass the total number of rows in the *rowCount* parameter. \*rowCount tem de ser superior a 0. +Passe o número total de linhas no parâmetro *rowCount*. \*rowCount tem de ser superior a 0. In the optional *sheet* parameter, you can designate a specific spreadsheet where the *rowCount* will be applied (counting begins at 0). Se omitido, a planilha atual será utilizada por padrão. Você pode selecionar explicitamente a planilha atual com a seguinte constante: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-values.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-values.md index a51f5d23cd043e..19a22c57737b82 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-values.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/ViewPro/commands/vp-set-values.md @@ -20,7 +20,7 @@ O comando `VP SET VALUES` atribui um Em *rangeObj*, passe um intervalo para a célula (criada com [`VP Cell`](vp-cell.md)) cujo valor você deseja especificar. The cell defined in the *rangeObj* is used to determine the starting point. -> - If *rangeObj* is not a cell range, only the first cell of the range is used. +> - Se *rangeObj* não for um intervalo de células, somente a primeira célula do intervalo será usada. > - If *rangeObj* includes multiple ranges, only the first cell of the first range is used. O parâmetro *valuesCol* é bidimensional: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md index 09d84d7baaf1c3..1d59d2899523cb 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WebServer/http-request-handler.md @@ -280,7 +280,7 @@ O arquivo **HTTPHandlers.json**: The called URL is: http://127.0.0.1:8044/putFile?fileName=testFile -The binary content of the file is put in the body of the request and a POST verb is used. The file name is given as parameter (*fileName*) in the URL. Ele é recebido no objeto [`urlQuery`](../API/IncomingMessageClass.md#urlquery) na solicitação. +The binary content of the file is put in the body of the request and a POST verb is used. O nome do arquivo é fornecido como parâmetro (*fileName*) no URL. Ele é recebido no objeto [`urlQuery`](../API/IncomingMessageClass.md#urlquery) na solicitação. ```4d //UploadFile class diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md index 2be74c9094f677..fb1b536ff6ae54 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WebServer/qodly-studio.md @@ -236,7 +236,7 @@ The project must be running in interpreted mode so that **Qodly Studio** menu it ::: -2. In the Qodly Studio toolbar, click on the **Debug** button.
    +2. Na barra de ferramentas Qodly Studio, clique no botão **Debug**.
    ![qodly-debug](../assets/en/WebServer/qodly-debug.png) If the debug session starts successfully, a green bullet appears on the button label ![qodly-debug](../assets/en/WebServer/debug2.png) and you can use the Qodly Studio debugger. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md index ee873457210eac..761b0c8a747c61 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-add-picture.md @@ -22,13 +22,13 @@ displayed_sidebar: docs The **WP Add picture** command anchors the picture passed as parameter at a fixed location within the specified *wpDoc* and returns its reference. The returned reference can then be passed to the [WP SET ATTRIBUTES](wp-set-attributes.md) command to move the picture to any location in *wpDoc* (page, section, header, footer, etc.) with a defined layer, size, etc. -In *wpDoc*, pass the name of a 4D Write Pro document object. +Em *wpDoc*, passe o nome de um objeto documento 4D Write Pro. For the optional second parameter, you can pass either: - Em *picture*: uma imagem 4D - In *picturePath*: A string containing a path to a picture file stored on disk (system syntax). You can pass a full pathname, or a pathname relative to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. If you pass a file name, you need to indicate the file extension. -- In *PictureFileObj*: a `4D.File` object representing a picture file. +- Em *PictureFileObj*: um objeto `4D.File` que representa um arquivo imagem. :::note @@ -48,8 +48,8 @@ The location, layer (inline, in front/behind text), visibility, and any properti **Nota:** o comando [WP Selection range](../commands-legacy/wp-selection-range.md) retorna um objeto *referência de imagem* se uma imagem ancorada for selecionada e um objeto *alcance* se uma imagem em linha for selecionada. You can determine if a selected object is a picture object by checking the `wk type` attribute: -- **Value = 2**: The selected object is a picture object. -- **Value = 0**: The selected object is a range object. +- **Value = 2**: o objeto selecionado é um objeto imagem. +- **Value = 0**: o objeto selecionado é um objeto intervalo. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-delete-subsection.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-delete-subsection.md index ca2d3938b2e6b1..3014efd3e287df 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-delete-subsection.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-delete-subsection.md @@ -23,7 +23,7 @@ The **WP DELETE SUBSECTION** command exports the *wpDoc* 4D Write Pro object to a document on disk according to the *filePath* or *fileObj* parameter as well as any optional parameters. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +Em *wpDoc*, passe o objeto 4D Write Pro que você deseja exportar. Você pode passar um *filePath* ou *fileObj*: @@ -62,7 +62,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Used for resampling (reducing) images to preferred resolution. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Nota:** o índice de páginas é independente da numeração de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Possible values: True/False | @@ -72,7 +72,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk visible references | visibleReferences | Displays or exports all 4D expressions inserted in the document as references. Possible values: True/False | | wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` and `wk web page complete` export formats. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | -The following table indicates the *option* available per export *format*: +A tabela a seguir indica a *option* disponível por *format* de exportação: | | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page complete** | **wk svg** | | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md index c91e9fcb72904b..36aa9b48594897 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-export-variable.md @@ -22,7 +22,7 @@ displayed_sidebar: docs The **WP EXPORT VARIABLE** command exports the *wpDoc* 4D Write Pro object to the 4D *destination* variable in the specified *format*. -In *wpDoc*, pass the 4D Write Pro object that you want to export. +Em *wpDoc*, passe o objeto 4D Write Pro que você deseja exportar. In *destination*, pass the variable that you want to fill with the exported 4D Write Pro object. The type of this variable depends on the export format specified in the *format* parameter: @@ -62,7 +62,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk HTML pretty print | htmlPrettyPrint | HTML code is formatted to be easier to read. | | wk max picture DPI | maxPictureDPI | Used for resampling (reducing) images to preferred resolution. For SVG images in Windows, used for rasterization. Default values: 300 (for wk optimized for \= wk print) 192 (for wk optimized for \= wk screen) Maximum possible value: 1440 | | wk optimized for | optimizedFor | Defines how an exported document is optimized based on its intended medium. Possible values:
  • `wk print` (default value for `wk pdf` and `wk svg`) Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 300 (default value) and may be converted to PNG if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 300 (Windows only). If a picture contains more than one format, the best format for printing is used (*e.g.*, .tiff instead or .jpg)
  • `wk screen` (default value for `wk web page complete` and `wk mime html`). Bitmap pictures may be downscaled using the DPI defined by `wk max picture DPI` or 192 (default value) and may be converted to JPEG (opaque images) or PNG (transparent images) if codec is not supported for the export type. Vectorial pictures are converted to PNG using the DPI defined by `wk max picture DPI` or 192 (Windows only). If a picture contains more than one format, the format for screen rendering is used.
  • **Note:** Documents exported in `wk docx` format are always optimized for wk print (wk optimized for option is ignored). | -| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Note:** Page index is independent from page numbering. | +| wk page index | pageIndex | For SVG export only. Index of the page to export to svg format (default is 1). Page index starts at 1 for the first page of the document. **Nota:** o índice de páginas é independente da numeração de páginas. | | wk pdfa version | pdfaVersion | Exports PDF with conformance to a PDF/A version. For more information on PDF/A properties and versions, please refer to the [PDF/A page on Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Possible values:
  • `wk pdfa2`: Exports to version "PDF/A-2"
  • `wk pdfa3`: Exports to version "PDF/A-3"
  • **Note:** On macOS, `wk pdfa2` may export to PDF/A-2 or PDF/A-3 or higher, depending on platform implementation. Also, `wk pdfa3` means "exports to *at least* PDF/A-3". On Windows, the output PDF file will always be equal to the desired conformance. | | wk recompute formulas | recomputeFormulas | Defines if formulas must be recomputed when exported. Possible values:
  • true - Default value. All formulas are recomputed
  • false - Do not recompute formulas
  • | | wk visible background and anchored elements | visibleBackground | Displays or exports background images/color, anchored images and text boxes (for display, visible effect in Page or Embedded view mode only). Possible values: True/False | @@ -72,7 +72,7 @@ Pass an [object](# "Data structured as a native 4D object") in *option* containi | wk visible references | visibleReferences | Displays or exports all 4D expressions inserted in the document as references. Possible values: True/False | | wk whitespace | whitespace | Sets the "white-space" css value for `wk mime html` export format. The [white-space css style](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) is applied to paragraphs. Possible values: "normal", "nowrap", "pre", "pre-wrap" (default), "pre-line", "break-spaces". | -The following table indicates the *option* available per export *format*: +A tabela a seguir indica a *option* disponível por *format* de exportação: | | **wk 4wp** | **wk docx** | **wk mime html** | **wk pdf** | **wk web page html 4d** | **wk svg** | | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-get-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-get-attributes.md index a3a5416a6caaf2..52ec157e5d1a03 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-get-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-get-attributes.md @@ -28,7 +28,7 @@ Em *targetObj*, você pode passar: - an element (header / footer / body / table / paragraph / anchored or inline picture / section / subsection / style sheet), or - um documento 4D Write Pro -In *attribName*, pass the name of the attribute you want to retrieve. +Em *attribName*, passe o nome do atributo que você deseja recuperar. You can also pass a collection of attribute names in *attribColl*, in which case the command will return an object containing the attribute names passed in *attribColl* along with their corresponding values. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-import-document.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-import-document.md index c480e4732d474a..9ff1017e383ae1 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-import-document.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-import-document.md @@ -37,7 +37,7 @@ The following types of documents are supported: An error is returned if the *filePath* or *fileObj* parameter is invalid, if the file is missing, or if the file format is not supported. -The optional *option* parameter allows defining import options for: +O parâmetro *option* opcional permite definir opções de importação para: - **longint** @@ -51,21 +51,21 @@ By default, HTML expressions inserted in legacy 4D Write documents are not impor You can pass an object to define how the following attributes are handled during the import operation: -| **Attribute** | **Tipo** | **Description** | -| ----------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| anchoredTextAreas | Text | Somente para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- As áreas de texto ancoradas são ignoradas. **Note**: The layout and the number of pages in the document may change. See also *How to import .docx format* | -| anchoredImages | Text | Somente para documentos MS Word (.docx). Specifies how anchored images are handled. Available values:

    **all** (default) - All anchored images are imported as anchored images with their text wrapping properties (exception: the .docx wrapping option "tight" is imported as wrap square). **ignoreWrap** \- Anchored images are imported, but any text wrapping around the image is ignored. **ignore** \- Imagens ancoradas não são importadas. | -| sections | Text | Somente para documentos MS Word (.docx). Specifies how section are handled. Valores disponíveis:

    **all** (padrão) - Todas as seções são importadas. Continuous, even, or odd sections are converted to standard sections. **ignore** \- Sections are converted to default 4D Write Pro sections (A4 portrait layout without header or footer). **Note**: Section breaks of any type but continuous are converted to section breaks with page break. Continuous section breaks are imported as continuous section breaks. | -| fields | Text | Somente para documentos MS Word (.docx). Specifies how .docx fields that can't be converted to 4D Write Pro formulas are handled. Available values:

    **ignore** \- .docx fields are ignored. **label** \- .docx field references are imported as labels within double curly braces ("{{ }}"). Ex: The "ClientName" field would be imported as {{ClientName}}. **value** (default) - The last computed value for the .docx field (if available) is imported. **Note**: If a .docx field corresponds to a 4D Write Pro variable, the field is imported as a formula and this option is ignored. | -| borderRules | Text | Somente para documentos MS Word (.docx). Specifies how paragraph borders are handled. Available values:

    **collapse** \- Paragraph formatting is modified to mimic automatically collapsed borders. Note that the collapse property only applies during the import operation. If a stylesheet with a automatic border collapse setting is reapplied after the import operation, the setting will be ignored. **noCollapse** (default) - Paragraph formatting is not modified. | -| preferredFontScriptType | Text | Somente para documentos MS Word (.docx). Specifies the preferred typeface to use when different typefaces are defined for a single font property in OOXML. Available values:

    **latin** (default) - Latin script **bidi** \- Bidrectional script. Suitable if document is mainly bidirectional left-to-right (LTR) or right-to-left (RTL) text (e.g., Arabic or Hebrew). **eastAsia** \- East Asian script. Suitable if document is mainly Asian text. | -| htmlExpressions | Text | Somente para documentos 4D Write (.4w7). Specifies how HTML expressions are handled. Available values:

    **rawText** \- HTML expressions are imported as raw text within ##htmlBegin## and ##htmlEnd## tags **ignore** (default) - HTML expressions are ignored. | -| importDisplayMode | Text | Somente para documentos 4D Write (.4w7). Specifies how image display is handled. Available values:

    **legacy -** 4W7 image display mode is converted using a background image if different than scaled to fit. **noLegacy** (default) - 4W7 image display mode is converted to the *imageDisplayMode* attribute if different than scaled to fit. | +| **Attribute** | **Tipo** | **Description** | +| ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| anchoredTextAreas | Text | Somente para documentos MS Word (.docx). Specifies how Word anchored text areas are handled. Available values:

    **anchored** (default) - Anchored text areas are treated as text boxes. **inline** \- Anchored text areas are treated as inline text at the position of the anchor. **ignore** \- As áreas de texto ancoradas são ignoradas. **Note**: The layout and the number of pages in the document may change. See also *How to import .docx format* | +| anchoredImages | Text | Somente para documentos MS Word (.docx). Specifies how anchored images are handled. Available values:

    **all** (default) - All anchored images are imported as anchored images with their text wrapping properties (exception: the .docx wrapping option "tight" is imported as wrap square). **ignoreWrap** \- Anchored images are imported, but any text wrapping around the image is ignored. **ignore** \- Imagens ancoradas não são importadas. | +| sections | Text | Somente para documentos MS Word (.docx). Specifies how section are handled. Valores disponíveis:

    **all** (padrão) - Todas as seções são importadas. Continuous, even, or odd sections are converted to standard sections. **ignore** \- Sections are converted to default 4D Write Pro sections (A4 portrait layout without header or footer). **Note**: Section breaks of any type but continuous are converted to section breaks with page break. Continuous section breaks are imported as continuous section breaks. | +| fields | Text | Somente para documentos MS Word (.docx). Specifies how .docx fields that can't be converted to 4D Write Pro formulas are handled. Valores disponíveis:

    **ignore** \- Os campos .docx são ignorados. **label** \- .docx field references are imported as labels within double curly braces ("{{ }}"). Ex: The "ClientName" field would be imported as {{ClientName}}. **value** (default) - The last computed value for the .docx field (if available) is imported. **Note**: If a .docx field corresponds to a 4D Write Pro variable, the field is imported as a formula and this option is ignored. | +| borderRules | Text | Somente para documentos MS Word (.docx). Specifies how paragraph borders are handled. Available values:

    **collapse** \- Paragraph formatting is modified to mimic automatically collapsed borders. Note that the collapse property only applies during the import operation. If a stylesheet with a automatic border collapse setting is reapplied after the import operation, the setting will be ignored. **noCollapse** (padrão) - A formatação do parágrafo não é modificada. | +| preferredFontScriptType | Text | Somente para documentos MS Word (.docx). Specifies the preferred typeface to use when different typefaces are defined for a single font property in OOXML. Available values:

    **latin** (default) - Latin script **bidi** \- Bidrectional script. Suitable if document is mainly bidirectional left-to-right (LTR) or right-to-left (RTL) text (e.g., Arabic or Hebrew). **eastAsia** \- East Asian script. Suitable if document is mainly Asian text. | +| htmlExpressions | Text | Somente para documentos 4D Write (.4w7). Specifies how HTML expressions are handled. Available values:

    **rawText** \- HTML expressions are imported as raw text within ##htmlBegin## and ##htmlEnd## tags **ignore** (default) - HTML expressions are ignored. | +| importDisplayMode | Text | Somente para documentos 4D Write (.4w7). Specifies how image display is handled. Available values:

    **legacy -** 4W7 image display mode is converted using a background image if different than scaled to fit. **noLegacy** (default) - 4W7 image display mode is converted to the *imageDisplayMode* attribute if different than scaled to fit. | **Notas de compatibilidade** - *Character style sheets in legacy 4D Write documents use a proprietary mechanism, which is not supported by 4D Write Pro. To get the best result for imported text, style sheet attributes are converted to "hard coded" style attributes. Legacy character style sheets are not imported and are no longer referenced in the document.* -- *Support for importing in .docx format is only certified for Microsoft Word 2010 and newer. Older versions, particularly Microsoft Word 2007, may not import correctly.* +- *Support for importing in .docx format is only certified for Microsoft Word 2010 and newer. As versões mais antigas, especialmente Microsoft Word 2007, podem não ser importadas corretamente.* ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-break.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-break.md index 16e5c2cdd3da25..34541810e5be15 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-break.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-break.md @@ -56,7 +56,7 @@ In the *mode* parameter, pass a constant to indicate the insertion mode to be us If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-document-body.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-document-body.md index 96d5611f269f97..239c8e669184cd 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-document-body.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-document-body.md @@ -54,7 +54,7 @@ In the *rangeUpdate* parameter (Optional); if *targetObj* is a range, you can pa If you do not pass a *rangeUpdate* parameter, by default the inserted contents are included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-formula.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-formula.md index 3722c7a3edee18..45918a3118092e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-formula.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-formula.md @@ -22,13 +22,13 @@ displayed_sidebar: docs The **WP Insert formula** command inserts a *formula* in *targetObj* according to the specified insertion *mode* and returns the resulting text range. -In the *targetObj* parameter, you can pass: +No parâmetro *targetObj*, você pode passar: - um intervalo, ou - an element (table / row / cell(s) / paragraph / body / header / footer / section / subsection / inline picture), or - um documento 4D Write Pro. -In the *formula* parameter, pass the 4D formula to evaluate. Pode passar: +No parâmetro *formula*, passe a fórmula 4D a ser avaliada. Pode passar: - either a [formula object](../../commands/formula.md-objects) created by the [**Formula**](../../commands/formula.md) or [**Formula from string**](../../commands/formula.md-from-string) command, - or an object containing two properties: @@ -57,7 +57,7 @@ In the *mode* parameter, pass one of the following constants to indicate the ins If you do not pass a *rangeUpdate* parameter, by default the inserted *formula* is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. :::note diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md index 7e5eb462367b75..b43ad59fc85a40 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-insert-picture.md @@ -21,7 +21,7 @@ displayed_sidebar: docs ## Descrição -The **WP Insert picture** command inserts a *picture* or a *pictureFileObj* in the specified *targetObj* according to the passed insertion *mode* and *rangeUpdate* parameters, and returns a reference to the picture element. The picture will be inserted as a character in the *targetObj*. +The **WP Insert picture** command inserts a *picture* or a *pictureFileObj* in the specified *targetObj* according to the passed insertion *mode* and *rangeUpdate* parameters, and returns a reference to the picture element. A imagem será inserida como um caractere no *targetObj*. Em *targetObj*, você pode passar: @@ -35,7 +35,7 @@ For the second parameter, you can pass either: - A picture field or variable - A string containing a path to a picture file stored on disk, in the system syntax. If you use a string, you can pass either a full pathname, or a pathname relative to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. You can also pass a file name, in which case the file must be located next to the database structure file. -- In *pictureFileObj* : a `File` object representing a picture file. +- Em *pictureFileObj*: um objeto `File` que representa um arquivo imagem. Qualquer formato imagem [suportado por 4D](../../FormEditor/pictures.md#native-formats-supported) pode ser usado. You can get the list of available picture formats using the [PICTURE CODEC LIST](../../commands-legacy/picture-codec-list.md) command. If the picture encapsulates several formats (codecs), 4D Write Pro only keeps one format for display and one format for printing (if different) in the document; the "best" formats are automatically selected. @@ -56,7 +56,7 @@ If *targetObj* is a range, you can optionally use the *rangeUpdate* parameter to If you do not pass a *rangeUpdate* parameter, by default the inserted picture is included in the resulting range. -- If *targetObj* is not a range, *rangeUpdate* is ignored. +- Se *targetObj* não for um intervalo, *rangeUpdate* será ignorado. ## Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-reset-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-reset-attributes.md index 3ddf67de5ec4ec..7e0414b17be314 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-reset-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/WritePro/commands/wp-reset-attributes.md @@ -23,13 +23,13 @@ The **WP RESET ATTRIBUTES** command Printing page devolvido o número da página em impressão. Pode ser utilizado só quando esteja imprimindo com [PRINT SELECTION](print-selection.md) ou com o menu Impressão no ambiente Usuário. +Printing page devolvido o número da página em impressão. ## Exemplo diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md index ba59d793bd9505..b3ed05a76ea744 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/command-name.md @@ -34,11 +34,11 @@ The **Command name** command returns t Two optional parameters are available: -- *info*: propriedades do comando. The returned value is a *bit field*, where the following bits are meaningful: +- *info*: propriedades do comando. O valor retornado é um *campo de bits*, em que os seguintes bits são significativos: - First bit (bit 0): set to 1 if the command is [**thread-safe**](../Develop/preemptive.md#thread-safe-vs-thread-unsafe-code) (i.e., compatible with execution in a preemptive process) and 0 if it is **thread-unsafe**. Only thread-safe commands can be used in [preemptive processes](../Develop/preemptive.md). - Second bit (bit 1): set to 1 if the command is **deprecated**, and 0 if it is not. A deprecated command will continue to work normally as long as it is supported, but should be replaced whenever possible and must no longer be used in new code. Deprecated commands in your code generate warnings in the [live checker and the compiler](../code-editor/write-class-method.md#warnings-and-errors). -*theme*: name of the 4D language theme for the command. +*theme*: nome do tema da linguagem 4D para o comando. The **Command name** command sets the *OK* variable to 1 if *command* corresponds to an existing command number, and to 0 otherwise. Note, however, that some existing commands have been disabled, in which case **Command name** returns an empty string (see last example). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/mail-new-attachment.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/mail-new-attachment.md index e9dfca53ba2e27..a4b3715680325d 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/mail-new-attachment.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/mail-new-attachment.md @@ -46,7 +46,7 @@ Pode passar uma rota ou um Blob para definir o anexo. Se *name* for omitido e: - passar uma rota de arquivo, o nome e extensão do arquivo é usado, - passar um BLOB, um nome aleatório sem extensão é gerado automaticamente. -The optional *cid* parameter lets you pass an internal ID for the attachment. This ID is the value of the `Content-Id` header, it will be used in HTML messages only. The cid associates the attachment with a reference defined in the message body using an HTML tag such as `\`. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. O resultado final deve variar dependendo do cliente mail. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. +O parâmetro opcional *cid* permite passar uma ID interna para o anexo. This ID is the value of the `Content-Id` header, it will be used in HTML messages only. The cid associates the attachment with a reference defined in the message body using an HTML tag such as `\`. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. O resultado final deve variar dependendo do cliente mail. Isso significa que os conteúdos do anexo (por exemplo uma imagem) deve ser exibida dentro da mensagem do cliente mail. You can use the optional *type* parameter to explicitly set the `content-type` of the attachment file. Por exemplo, pode passar uma string definindo um tipo MIME ("video/mpeg"). Esse valor de content-type vai ser estabelecido para o anexo, independente de sua extensão. For more information about MIME types, please refer to the [MIME type page on Wikipedia](https://en.wikipedia.org/wiki/MIME). @@ -78,7 +78,7 @@ The optional *disposition* parameter lets you pass the `content-disposition` hea | mail disposition attachment | "attachment" | Estabelece o valor de cabeçalho Content-disposition para "attachment" que significa que o arquivo anexo deve ser fornecido como um link na mensagem. | | mail disposition inline | "inline" | Estabelece o valor de cabeçalho Content-disposition para "inline", o que significa que o anexo deve ser renderizado dentro do conteúdo da mensagem, no local "cid". A renderização depende do cliente mail. | -By default, if the *disposition* parameter is omitted: +Como padrão, se o parâmetro *disposition* for omisso: - if the *cid* parameter is used, the `Content-disposition` header is set to "inline", - if the *cid* parameter is not passed or empty, the `Content-disposition` header is set to "attachment". diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/new-log-file.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/new-log-file.md index d5aa84f2232da5..f2963de3de51b7 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/new-log-file.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/new-log-file.md @@ -16,7 +16,7 @@ displayed_sidebar: docs ## Descrição -**Preliminary note:** This command only works with 4D Server. It can only be executed via the [Execute on server](../commands-legacy/execute-on-server.md) command or in a stored procedure. +**Nota preliminar:** esse comando só funciona com 4D Server. It can only be executed via the [Execute on server](../commands-legacy/execute-on-server.md) command or in a stored procedure. The **New log file** command closes the current log file, renames it and creates a new one with the same name in the same location as the previous one. This command is meant to be used for setting up a backup system using a logical mirror (see the section *Setting up a logical mirror* in the [4D Server Reference Manual](https://doc/4d.com)). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md index e9bbf4b94df6e7..55d0f4a2f45def 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/print-form.md @@ -12,7 +12,7 @@ displayed_sidebar: docs | --------- | ------------ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | aTable | Tabela | → | Table owning the form, or Default table, if omitted | | form | Text, Object | → | Name (string) of the form, or a POSIX path (string) to a .json file describing the form, or an object describing the form to print | -| formData | Object | → | Data to associate to the form | +| formData | Object | → | Dados para associar ao formulário | | areaStart | Integer | → | Print marker, or Beginning area (if areaEnd is specified) | | areaEnd | Integer | → | Área final (se for especificado pela areaStart) | | Resultado | Integer | ← | Height of printed section | @@ -21,19 +21,19 @@ displayed_sidebar: docs ## Descrição -**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*.**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. -In the *form* parameter, you can pass: +No parâmetro *form*, você pode passar: -- the name of a form, or +- o nome de um formulário, ou - the path (in POSIX syntax) to a valid .json file containing a description of the form to use (see *Form file path*), or -- an object containing a description of the form. +- um objeto contendo uma descrição do formulário. Since **Print form** does not issue a page break after printing the form, it is easy to combine different forms on the same page. Thus, **Print form** is perfect for complex printing tasks that involve different tables and different forms. Para forçar uma quebra de página entre os formulários, use o comando [PAGE BREAK](../commands-legacy/page-break.md). In order to carry printing over to the next page for a form whose height is greater than the available space, call the [CANCEL](../commands-legacy/cancel.md) command before the [PAGE BREAK](../commands-legacy/page-break.md) command. Three different syntaxes may be used: -- **Detail area printing** +- **Impressão da área de detalhe** Sintaxe: @@ -43,7 +43,7 @@ Sintaxe: In this case, **Print form** only prints the Detail area (the area between the Header line and the Detail line) of the form. -- **Form area printing** +- **Impressão da área de formulário** Sintaxe: @@ -51,7 +51,7 @@ Sintaxe:  height:=Print form(myTable;myForm;marker) ``` -In this case, the command will print the section designated by the *marker*. Pass one of the constants of the *Form Area* theme in the marker parameter: +Nesse caso, o comando imprimirá a seção designada pelo *marker*. Pass one of the constants of the *Form Area* theme in the marker parameter: | Parâmetros | Tipo | Valor | | ------------- | ------- | ----- | @@ -79,7 +79,7 @@ In this case, the command will print the section designated by the *marker*. Pas | Form header8 | Integer | 208 | | Form header9 | Integer | 209 | -- **Section printing** +- **Impressão da seção** Sintaxe: @@ -91,20 +91,20 @@ In this case, the command will print the section included between the *areaStart **formData** -Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). Any properties of the form data object will then be available from within the form context through the [Form](form.md) command. Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). +Opcionalmente, é possível passar parâmetros para o *form* usando o objeto *formData* ou o objeto de classe de formulário instanciado automaticamente pelo 4D se você tiver [associado uma classe de usuário ao formulário] (../FormEditor/properties_FormProperties.md#form-class). Todas as propriedades do objeto de dados do formulário estarão disponíveis no contexto do formulário por meio do comando [Form](form.md). Optionally, you can pass parameters to the *form* using either the *formData* object or the form class object automatically instantiated by 4D if you have [associated a user class to the form](../FormEditor/properties_FormProperties.md#form-class). Para obter informações detalhadas sobre o objeto de dados do formulário, consulte o comando [`DIALOG`](dialog.md). **Valor retornado** -The value returned by **Print form** indicates the height of the printable area. Esse valor será automaticamente levado em conta pelo comando [Get printed height](../commands-legacy/get-printed-height.md). +O valor retornado por **Print form** indica a altura da área impressa. Esse valor será automaticamente levado em conta pelo comando [Get printed height](../commands-legacy/get-printed-height.md). -The printer dialog boxes do not appear when you use **Print form**. The report does not use the print settings that were assigned to the form in the Design environment. There are two ways to specify the print settings before issuing a series of calls to **Print form**: +As caixas de diálogo da impressora não são exibidas quando você usa **Print form**. The report does not use the print settings that were assigned to the form in the Design environment. There are two ways to specify the print settings before issuing a series of calls to **Print form**: - Chame [PRINT SETTINGS](../commands-legacy/print-settings.md). In this case, you let the user choose the settings. - Call [SET PRINT OPTION](../commands-legacy/set-print-option.md) and [GET PRINT OPTION](../commands-legacy/get-print-option.md). In this case, print settings are specified programmatically. -**Print form** builds each printed page in memory. Each page is printed when the page in memory is full or when you call [PAGE BREAK](../commands-legacy/page-break.md). To ensure the printing of the last page after any use of **Print form**, you must conclude with the [PAGE BREAK](../commands-legacy/page-break.md) command (except in the context of an [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), see note). Otherwise, if the last page is not full, it stays in memory and is not printed. +**Print form**\* cria cada página impressa na memória. Each page is printed when the page in memory is full or when you call [PAGE BREAK](../commands-legacy/page-break.md). To ensure the printing of the last page after any use of **Print form**, you must conclude with the [PAGE BREAK](../commands-legacy/page-break.md) command (except in the context of an [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), see note). Otherwise, if the last page is not full, it stays in memory and is not printed. **Warning:** If the command is called in the context of a printing job opened with [OPEN PRINTING JOB](../commands-legacy/open-printing-job.md), you must NOT call [PAGE BREAK](../commands-legacy/page-break.md) for the last page because it is automatically printed by the [CLOSE PRINTING JOB](../commands-legacy/close-printing-job.md) command. Se você chamar [PAGE BREAK](../commands-legacy/page-break.md) nesse caso, uma página em branco será impressa. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md index da5cdb5d756eaf..00c5a2e1b49375 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/process-number.md @@ -28,7 +28,7 @@ displayed_sidebar: docs ## Descrição -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter`Process number` retorna o número do processo cujo *name* ou *id* você passou no primeiro parâmetro. Se nenhum processo for encontrado, `Process number` retornará 0. +O comando `Process number` retorna o número do processo cujo *name* ou *id* você passou no primeiro parâmetro. Se nenhum processo for encontrado, `Process number` retornará 0. O parâmetro opcional \* permite que você recupere, de um 4D remoto, o número de um processo executado no servidor. Nesse caso, o valor retornado é negativo. Essa opção é especialmente útil ao usar os comandos [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) e [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md index 873b1555b773f1..a2c677204a4870 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/select-log-file.md @@ -27,7 +27,7 @@ If you pass an empty string in *logFile*, **SELECT LOG FILE** presents an Save F If you pass *\** in *logFile*, **SELECT LOG FILE** closes the current log file for the database. The OK variable is set to 1 when the log file is closed. -## System variables and sets +## Variáveis e configurações do sistema OK is set to 1 if the log file is correctly created, or closed. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/session-storage.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/session-storage.md index 82f273c3c62115..3db9a8c14962cd 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/session-storage.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/session-storage.md @@ -8,35 +8,35 @@ displayed_sidebar: docs -| Parâmetro | Tipo | | Descrição | -| --------- | ------ | --------------------------- | ---------------------------------------------------------- | -| id | Text | → | Unique identifier (UUID) of the session | -| Resultado | Object | ← | Storage object of the session | +| Parâmetro | Tipo | | Descrição | +| --------- | ------ | --------------------------- | ------------------------------------------------------- | +| id | Text | → | Identificador único (UUID) da sessão | +| Resultado | Object | ← | Objeto de armazenamento da sessão |
    História -| Release | Mudanças | -| ------- | ------------------------------ | -| 20 R8 | Support of standalone sessions | -| 20 R6 | Adicionado | +| Release | Mudanças | +| ------- | --------------------------- | +| 20 R8 | Suporte a sessões autônomas | +| 20 R6 | Adicionado |
    ## Descrição -The **Session storage** command returns the storage object of the session whose unique identifier you passed in the *id* parameter. +O comando **Session storage** retorna o objeto de armazenamento da sessão cujo identificador exclusivo você passou no parâmetro *id*. -In *id*, pass the UUID of the session for which you want to get the storage. It is automatically assigned by 4D (4D Server or, for standalone sessions, 4D single-user) and is stored in the [**.id**](../API/SessionClass.md#id) property of the [session object](../API/SessionClass.md). If the session does not exist, the command returns **Null**. +Em *id*, passe o UUID da sessão para a qual você deseja obter o armazenamento. Ele é atribuído automaticamente pelo 4D (4D Server ou, para sessões autônomas, 4D single-user) e é armazenado na propriedade [**.id**](../API/SessionClass.md#id) do [objeto sessão](../API/SessionClass.md). Se a sessão não existir, o comando retornará **Null**. **Nota:** você pode obter os identificadores de sessão usando o comando [Process activity](process-activity.md). -O objeto retornado é a propriedade [**.storage**](../API/SessionClass.md#storage) da sessão. It is a shared object used to store information available to all processes of the session. It is a shared object used to store information available to all processes of the session. +O objeto retornado é a propriedade [**.storage**](../API/SessionClass.md#storage) da sessão. It is a shared object used to store information available to all processes of the session. É um objeto compartilhado usado para armazenar informações disponíveis para todos os processos da sessão. ## Exemplo -This method modifies the value of a "settings" property stored in the storage object of a specific session: +Esse método modifica o valor de uma propriedade "settings" armazenada no objeto de armazenamento de uma sessão específica: ```4d   //Definir armazenamento para uma sessão diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/session.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/session.md index 78b9bffa3ab39b..69430b6913a1f4 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/session.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/session.md @@ -33,7 +33,7 @@ Dependendo do processo a partir do qual o comando é chamado, a sessão atual do - uma sessão web (quando [sessões escaláveis são ativadas](WebServer/sessions.md#enabling-web-sessions)), - uma sessão de cliente remoto, - a sessão de procedimentos armazenados, -- the *designer* session in a standalone application. +- a sessão *designer* em um aplicativo autônomo. Para obter mais informações, consulte [Tipos de sessão](../API/SessionClass.md#session-types). diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md index 6bbba46b36c2b7..085ec6706e4f86 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/set-allowed-methods.md @@ -38,7 +38,7 @@ If you would like the user to be able to call 4D commands that are unauthorized :::warning -This command only filters the **input** of methods, not their **execution**. It does not control the execution of formulas created outside the application. +Esse comando filtra apenas a **entrada** dos métodos, não sua **execução**. It does not control the execution of formulas created outside the application. ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/this.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/this.md index 0141edb9c8c369..82ce7c40ed3672 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/this.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/this.md @@ -161,7 +161,7 @@ Note que: - *This.ID*, *This.Title* and *This.Date* directly refers to the corresponding attributes in the ds.Event dataclass. - *This.meetings* is a related attribute (based upon the One To Many relation name) that returns an entity selection of the ds.Meeting dataclass. -- **Form.eventList** is the entity selection that is attached to the list box. The initialization code can be put in the on load form event: +- **Form.eventList** é a entity selection que está anexada à list box. The initialization code can be put in the on load form event: ```4d Case of diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/wa-get-context.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/wa-get-context.md index 34ebd075f2b10a..76382c88f49d8c 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/wa-get-context.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/wa-get-context.md @@ -7,11 +7,11 @@ title: WA Get context -| Parâmetro | Tipo | | Descrição | -| ---------- | --------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| \* | Operador | → | If specified, *object* is an object name (string). If omitted, *object* is a variable. | -| object | Objecto de formulário | → | Object name (if \* is specified) or Variable (if \* is omitted). | -| contextObj | Object | ← | Context object if previously defined, otherwise `null`. | +| Parâmetro | Tipo | | Descrição | +| ---------- | --------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| \* | Operador | → | Se especificado, *object* é um nome de objeto (string). If omitted, *object* is a variable. | +| object | Objecto de formulário | → | Nome do objeto (se \* for especificado) ou Variável (se \* for omitido). | +| contextObj | Object | ← | Context object if previously defined, otherwise `null`. | diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md index 97064ef20c4b8c..1286093800666f 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/wa-set-context.md @@ -7,11 +7,11 @@ title: WA SET CONTEXT -| Parâmetro | Tipo | | Descrição | -| ---------- | --------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| \* | Operador | → | If specified, *object* is an object name (string). If omitted, *object* is a variable. | -| object | Objecto de formulário | → | Object name (if \* is specified) or Variable (if \* is omitted). | -| contextObj | Object | → | Object containing the functions that can be called with `$4d`. | +| Parâmetro | Tipo | | Descrição | +| ---------- | --------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| \* | Operador | → | Se especificado, *object* é um nome de objeto (string). If omitted, *object* is a variable. | +| object | Objecto de formulário | → | Nome do objeto (se \* for especificado) ou Variável (se \* for omitido). | +| contextObj | Object | → | Object containing the functions that can be called with `$4d`. | @@ -27,7 +27,7 @@ The command is only usable with an embedded web area where the [**Use embedded w Pass in *contextObj* user class instances or formulas to be allowed in `$4d` as objects. Class functions that begin with `_` are considered hidden and cannot be used with `$4d`. -- If *contextObj* is null, `$4d` has access to all 4D methods. +- Se *contextObj* for null, `$4d` terá acesso a todos os métodos 4D. - Se *contextObj* estiver vazio, `$4d` não terá acesso. ### Exemplo 1 diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/zip-create-archive.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/zip-create-archive.md index 7f63efdf317524..61f41a74b7d699 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/zip-create-archive.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R9/commands/zip-create-archive.md @@ -34,7 +34,7 @@ The `ZIP Create archive` command **.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any | Parâmetro | Tipo | | Descrição | | ---------- | ------- |:--:| ------------------------------------------------------------------------------------------------------ | | mode | Integer | -> | `dk key as string`: a chave primária se devolve como uma string, sem importar o tipo de chave primária | -| Resultados | Text | <- | Valor do texto chave primária da entidade | -| Resultados | Integer | <- | Valor da chave primária numérica da entidade | +| Resultados | any | <- | Value of the primary key of the entity (Integer or Text) | @@ -1614,7 +1613,7 @@ Retorna: A função `.isNew()` retorna True se a entidade a qual for aplicada foi recém criada e não foi ainda salva na datastore.. -Se um atributo for modificado ou calculado, a função retorna True, senão retorna False. Pode usar essa função para determinar se precisar salvar a entidade. +Se um atributo for modificado ou calculado, a função retorna True, senão retorna False. You can use this function to determine if you need to save the entity. Esta função retorna False para uma nova entidade que foi criada (com [`.new( )`](DataClassClass.md#new)). Note entretanto que se usar uma função que calcule um atributo da entidade, a função `.touched()` vai retornar True. Por exemplo se chamar [`.getKey()`](#getkey) para calcular a chave primária, `.touched()` retorna True. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FileClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FileClass.md index c452ac046095b7..869d37b78e5f5f 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FileClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FileClass.md @@ -606,12 +606,12 @@ Se quiser renomear "ReadMe.txt" em "ReadMe_new.txt": A função `.setAppInfo()` escreve as propriedades de *info* como conteúdo informativo de um arquivo **.exe**, **.dll** ou **.plist**. -A função deve ser utilizada com um arquivo .exe, .dll ou .plist existente. Se o ficheiro não existir no disco ou não for um ficheiro .exe, .dll ou .plist válido, a função não faz nada (não é gerado qualquer erro). - -> A função apenas é compatível com arquivos .plist em formato xml (baseado em texto). Um erro é retornado se usado com um arquivo .plist em formato binário. **Parâmetro *info* com um arquivo .exe ou .dll** +The function must be used with an existing and valid .exe or .dll file, otherwise it does nothing (no error is generated). + + > A escrita de um arquivo .exe ou .dll só é possível no Windows. Cada propriedade válida definida no parâmetro objeto *info* está escrita no recurso de versão do arquivo .exe ou .dll. As propriedades disponíveis são (qualquer outra propriedade será ignorada): @@ -634,6 +634,8 @@ Para a propriedade `WinIcon`, se o ficheiro de ícones não existir ou tiver um **Parâmetro *info* com um arquivo .plist** +> A função apenas é compatível com arquivos .plist em formato xml (baseado em texto). Um erro é retornado se usado com um arquivo .plist em formato binário. + Cada propriedade válida definida no parâmetro objeto *info* está escrita no arquivo .plist como uma chave. Qualquer nome chave é aceito. Os tipos de valores são preservados sempre que possível. Se um conjunto de chaves no parâmetro *info* já estiver definido no arquivo .plist, o seu valor é atualizado, mantendo o seu tipo original. Outras chaves existentes no arquivo .plist são deixadas intocadas. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md index c17b451b478fe1..02a23a41e9d8ca 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md @@ -701,7 +701,7 @@ A função `.start()` inicia o servi O servidor web começa com as definições padrão definidas no ficheiro de definições do projecto ou (apenas base de dados anfitriã) usando o comando `WEB SET OPTION`. No entanto, utilizando o parâmetro *settings*, pode definir propriedades personalizadas para a sessão do servidor web. -Todas as definições dos objectos do [Web Server](#web-server-object) podem ser personalizadas, excepto propriedades só de leitura ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), e [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). As definições personalizadas da sessão serão reiniciadas quando a função [`.stop()`](#stop) for chamada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20/Notes/updates.md b/i18n/pt/docusaurus-plugin-content-docs/version-20/Notes/updates.md index a00bf97711e96d..8cca2465e06290 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20/Notes/updates.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20/Notes/updates.md @@ -10,13 +10,22 @@ Leia [**O que há de novo no 4D 20**](https://blog.4d.com/en-whats-new-in-4d-v20 ::: + +## 4D 20.7 LTS + +#### Destaques + +- [**Lista de bugs corrigidos**](https://bugs.4d.com/fixes?version=20.7): lista de todos os erros corrigidos no 4D 20.7 LTS. + + + ## 4D 20.6 LTS #### Destaques :::info Evaluation applications -Starting with nightly build **101734**, the Build application dialog box has a new option allowing to build evaluation applications. See [description in the 4D Rx documentation](../../../docs/Desktop/building.md#build-an-evaluation-application). +Starting with nightly build **101734**, the Build application dialog box has a new option allowing to build evaluation applications. See [description in the 4D Rx documentation](../../../docs/Desktop/building#build-an-evaluation-application). ::: diff --git a/sidebars.js b/sidebars.js index e612332ba93fed..0f29de15c34fb4 100644 --- a/sidebars.js +++ b/sidebars.js @@ -87,8 +87,24 @@ module.exports = "Debugging/debugging-remote" ] }, - "Debugging/debugLogFiles" - ] + "Debugging/debugLogFiles", + { + type: "category", + label: "Preferences", + link: { + type: "doc", + id: "Preferences/overview" + }, + items: [ + "Preferences/general", + "Preferences/structure", + "Preferences/forms", + "Preferences/methods", + "Preferences/shortcuts" + ] + } + + ] }, { type: "category", @@ -116,22 +132,8 @@ module.exports = "Develop/preemptive-processes" ] }, - "Tags/transformation-tags", - { - type: "category", - label: "Preferences", - link: { - type: "doc", - id: "Preferences/overview" - }, - items: [ - "Preferences/general", - "Preferences/structure", - "Preferences/forms", - "Preferences/methods", - "Preferences/shortcuts" - ] - } + "Develop-legacy/transactions", + "Tags/transformation-tags" ] }, { @@ -781,7 +783,7 @@ module.exports = "commands-legacy/asserted", "commands-legacy/filter-event", "commands-legacy/get-assert-enabled", - "commands-legacy/last-errors", + "commands/last-errors", "commands-legacy/method-called-on-error", "commands-legacy/method-called-on-event", "commands-legacy/on-err-call", @@ -2255,7 +2257,8 @@ module.exports = "commands-legacy/xml-get-options", "commands-legacy/xml-set-options" ] - } + }, + "commands-legacy/constant-list" ] }, { diff --git a/versioned_docs/version-19/API/DataStoreClass.md b/versioned_docs/version-19/API/DataStoreClass.md index d188dc162a37e1..e29ddf0e852cb9 100644 --- a/versioned_docs/version-19/API/DataStoreClass.md +++ b/versioned_docs/version-19/API/DataStoreClass.md @@ -161,7 +161,7 @@ Connection to a remote datastore without user / password: ```4d var $connectTo : Object - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation $connectTo:=New object("type";"4D Server";"hostname";"192.168.18.11:8044") $remoteDS:=Open datastore($connectTo;"students") ALERT("This remote datastore contains "+String($remoteDS.Students.all().length)+" students") @@ -173,7 +173,7 @@ Connection to a remote datastore with user / password / timeout / tls: ```4d var $connectTo : Object - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation $connectTo:=New object("type";"4D Server";"hostname";\"192.168.18.11:4443";\ "user";"marie";"password";$pwd;"idleTimeout";70;"tls";True) $remoteDS:=Open datastore($connectTo;"students") @@ -387,7 +387,7 @@ The `.getInfo()` function returns On a remote datastore: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -726,7 +726,7 @@ You can nest several transactions (sub-transactions). Each transaction or sub-tr ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/versioned_docs/version-19/API/EntityClass.md b/versioned_docs/version-19/API/EntityClass.md index 25d5c638938576..6b30601379a099 100644 --- a/versioned_docs/version-19/API/EntityClass.md +++ b/versioned_docs/version-19/API/EntityClass.md @@ -594,15 +594,14 @@ The following generic code duplicates any entity: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any |Parameter|Type||Description| |---------|--- |:---:|------| |mode|Integer|->|`dk key as string`: primary key is returned as a string, no matter the primary key type| -|Result|Text|<-|Value of the text primary key of the entity| -|Result|Integer|<-|Value of the numeric primary key of the entity| +|Result|any|<-|Value of the primary key of the entity (Integer or Text)| @@ -1512,11 +1511,12 @@ Returns: #### Description -The `.touched()` function tests whether or not an entity attribute has been modified since the entity was loaded into memory or saved. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -If an attribute has been modified or calculated, the function returns True, else it returns False. You can use this function to determine if you need to save the entity. +This only applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. + +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. -This function returns False for a new entity that has just been created (with [`.new( )`](DataClassClass.md#new)). Note however that if you use a function which calculates an attribute of the entity, the `.touched()` function will then return True. For example, if you call [`.getKey()`](#getkey) to calculate the primary key, `.touched()` returns True. #### Example @@ -1557,7 +1557,7 @@ In this example, we check to see if it is necessary to save the entity: The `.touchedAttributes()` function returns the names of the attributes that have been modified since the entity was loaded into memory. -This applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. +This only applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. In the case of a related entity having been touched (i.e., the foreign key), the name of the related entity and its primary key's name are returned. diff --git a/versioned_docs/version-19/API/FileClass.md b/versioned_docs/version-19/API/FileClass.md index cd0e1303e012cc..383d9e51eb712a 100644 --- a/versioned_docs/version-19/API/FileClass.md +++ b/versioned_docs/version-19/API/FileClass.md @@ -503,12 +503,12 @@ You want to rename "ReadMe.txt" in "ReadMe_new.txt": The `.setAppInfo()` function writes the *info* properties as information contents of a **.exe**, **.dll** or **.plist** file. -The function must be used with an existing .exe, .dll or .plist file. If the file does not exist on disk or is not a valid .exe, .dll or .plist file, the function does nothing (no error is generated). - -> The function only supports .plist files in xml format (text-based). An error is returned if it is used with a .plist file in binary format. ***info* parameter object with a .exe or .dll file** +The function must be used with an existing and valid .exe or .dll file, otherwise it does nothing (no error is generated). + + > Writing a .exe or .dll file information is only possible on Windows. Each valid property set in the *info* object parameter is written in the version resource of the .exe or .dll file. Available properties are (any other property will be ignored): @@ -528,6 +528,8 @@ If you pass a null or empty text as value, an empty string is written in the pro ***info* parameter object with a .plist file** +> The function only supports .plist files in xml format (text-based). An error is returned if it is used with a .plist file in binary format. + Each valid property set in the *info* object parameter is written in the .plist file as a key. Any key name is accepted. Value types are preserved when possible. If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Other existing keys in the .plist file are left untouched. diff --git a/versioned_docs/version-19/API/WebServerClass.md b/versioned_docs/version-19/API/WebServerClass.md index bfb0a01408ea13..cbeeb54bdcc3b6 100644 --- a/versioned_docs/version-19/API/WebServerClass.md +++ b/versioned_docs/version-19/API/WebServerClass.md @@ -699,7 +699,7 @@ The `.start()` function starts the w The web server starts with default settings defined in the settings file of the project or (host database only) using the `WEB SET OPTION` command. However, using the *settings* parameter, you can define customized properties for the web server session. -All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Customized session settings will be reset when the [`.stop()`](#stop) function is called. diff --git a/versioned_docs/version-20-R8/API/DataStoreClass.md b/versioned_docs/version-20-R8/API/DataStoreClass.md index 0baaf3cb90a667..c12fb730e956ee 100644 --- a/versioned_docs/version-20-R8/API/DataStoreClass.md +++ b/versioned_docs/version-20-R8/API/DataStoreClass.md @@ -467,7 +467,7 @@ The `.getInfo()` function returns On a remote datastore: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1128,7 +1128,7 @@ You can nest several transactions (sub-transactions). Each transaction or sub-tr ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/versioned_docs/version-20-R8/API/EntityClass.md b/versioned_docs/version-20-R8/API/EntityClass.md index 011c64dba89be0..f76d5fedaf589c 100644 --- a/versioned_docs/version-20-R8/API/EntityClass.md +++ b/versioned_docs/version-20-R8/API/EntityClass.md @@ -600,15 +600,14 @@ The following generic code duplicates any entity: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any |Parameter|Type||Description| |---------|--- |:---:|------| |mode|Integer|->|`dk key as string`: primary key is returned as a string, no matter the primary key type| -|Result|Text|<-|Value of the text primary key of the entity| -|Result|Integer|<-|Value of the numeric primary key of the entity| +|Result|any|<-|Value of the primary key of the entity (Integer or Text)| @@ -1603,11 +1602,11 @@ Returns: #### Description -The `.touched()` function tests whether or not an entity attribute has been modified since the entity was loaded into memory or saved. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -If an attribute has been modified or calculated, the function returns True, else it returns False. You can use this function to determine if you need to save the entity. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". -This function returns False for a new entity that has just been created (with [`.new( )`](DataClassClass.md#new)). Note however that if you use a function which calculates an attribute of the entity, the `.touched()` function will then return True. For example, if you call [`.getKey()`](#getkey) to calculate the primary key, `.touched()` returns True. +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. #### Example @@ -1649,7 +1648,7 @@ In this example, we check to see if it is necessary to save the entity: The `.touchedAttributes()` function returns the names of the attributes that have been modified since the entity was loaded into memory. -This applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". In the case of a related entity having been touched (i.e., the foreign key), the name of the related entity and its primary key's name are returned. diff --git a/versioned_docs/version-20-R8/API/FileClass.md b/versioned_docs/version-20-R8/API/FileClass.md index 44e74c5587ed22..240d5ce25d531b 100644 --- a/versioned_docs/version-20-R8/API/FileClass.md +++ b/versioned_docs/version-20-R8/API/FileClass.md @@ -514,12 +514,12 @@ You want to rename "ReadMe.txt" in "ReadMe_new.txt": The `.setAppInfo()` function writes the *info* properties as information contents of a **.exe**, **.dll** or **.plist** file. -The function must be used with an existing .exe, .dll or .plist file. If the file does not exist on disk or is not a valid .exe, .dll or .plist file, the function does nothing (no error is generated). - -> The function only supports .plist files in xml format (text-based). An error is returned if it is used with a .plist file in binary format. ***info* parameter object with a .exe or .dll file** +The function must be used with an existing and valid .exe or .dll file, otherwise it does nothing (no error is generated). + + > Writing a .exe or .dll file information is only possible on Windows. Each valid property set in the *info* object parameter is written in the version resource of the .exe or .dll file. Available properties are (any other property will be ignored): @@ -542,6 +542,8 @@ For the `WinIcon` property, if the icon file does not exist or has an incorrect ***info* parameter object with a .plist file** +> The function only supports .plist files in xml format (text-based). An error is returned if it is used with a .plist file in binary format. + Each valid property set in the *info* object parameter is written in the .plist file as a key. Any key name is accepted. Value types are preserved when possible. If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Other existing keys in the .plist file are left untouched. diff --git a/versioned_docs/version-20-R8/API/WebServerClass.md b/versioned_docs/version-20-R8/API/WebServerClass.md index 2a402494b44870..e72477524ae3d6 100644 --- a/versioned_docs/version-20-R8/API/WebServerClass.md +++ b/versioned_docs/version-20-R8/API/WebServerClass.md @@ -607,7 +607,7 @@ The `.start()` function starts the w The web server starts with default settings defined in the settings file of the project or (host database only) using the `WEB SET OPTION` command. However, using the *settings* parameter, you can define customized properties for the web server session. -All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Customized session settings will be reset when the [`.stop()`](#stop) function is called. diff --git a/versioned_docs/version-20-R8/Extensions/develop-components.md b/versioned_docs/version-20-R8/Extensions/develop-components.md index e4a64a27d1f505..82813f9141fd05 100644 --- a/versioned_docs/version-20-R8/Extensions/develop-components.md +++ b/versioned_docs/version-20-R8/Extensions/develop-components.md @@ -33,7 +33,7 @@ Except for [Unusable commands](#unusable-commands), a component can use any comm When commands are called from a component, they are executed in the context of the component, except for the [`EXECUTE METHOD`](https://doc.4d.com/4dv20/help/command/en/page1007.html) or [`EXECUTE FORMULA`](https://doc.4d.com/4dv20/help/command/en/page63.html) command that use the context of the method specified by the command. Also note that the read commands of the “Users and Groups” theme can be used from a component but will read the users and groups of the host project (a component does not have its own users and groups). -The [`SET DATABASE PARAMETER`](https://doc.4d.com/4dv20/help/command/en/page642.html) and [`Get database parameter`](https://doc.4d.com/4dv20/help/command/en/page643.html) commands are an exception: their scope is global to the application. When these commands are called from a component, they are applied to the host application project. +The [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands are an exception: their scope is global to the application. When these commands are called from a component, they are applied to the host application project. Furthermore, specific measures have been specified for the `Structure file` and `Get 4D folder` commands when they are used in the framework of components. diff --git a/versioned_docs/version-20-R8/commands-legacy/last-errors.md b/versioned_docs/version-20-R8/commands-legacy/last-errors.md index 005ea51cd9b5b2..de434ad33de51c 100644 --- a/versioned_docs/version-20-R8/commands-legacy/last-errors.md +++ b/versioned_docs/version-20-R8/commands-legacy/last-errors.md @@ -31,7 +31,7 @@ For a description of component signatures, please refer to the [Error codes](../ ::: -This command must be called from an on error call method installed by the [ON ERR CALL](on-err-call.md) command. +This command must be called from an on error call method installed by the [ON ERR CALL](on-err-call.md) command or within a [Try or Try/Catch](../Concepts/error-handling.md#tryexpression) context. ## See also diff --git a/versioned_docs/version-20-R8/commands-legacy/object-get-coordinates.md b/versioned_docs/version-20-R8/commands-legacy/object-get-coordinates.md index 990f6a6b158fec..e360948bd864b8 100644 --- a/versioned_docs/version-20-R8/commands-legacy/object-get-coordinates.md +++ b/versioned_docs/version-20-R8/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ For interface needs, you want to surround the clicked area with a red rectangle: In the object method of the list box, you can write: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //initialize a red rectangle + OBJECT SET VISIBLE(*;"RedRect";False) //initialize a red rectangle  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/versioned_docs/version-20-R8/commands-legacy/printing-page.md b/versioned_docs/version-20-R8/commands-legacy/printing-page.md index 360358ce5adc39..fc4773f8eb2ba6 100644 --- a/versioned_docs/version-20-R8/commands-legacy/printing-page.md +++ b/versioned_docs/version-20-R8/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Description -**Printing page** returns the printing page number. It can be used only when you are printing with [PRINT SELECTION](print-selection.md) or the Print menu in the Design environment. +The **Printing page** command returns the printing page number. ## Example diff --git a/versioned_docs/version-20-R8/commands/print-form.md b/versioned_docs/version-20-R8/commands/print-form.md index 7543ada19bb045..53f37c6f1b41e4 100644 --- a/versioned_docs/version-20-R8/commands/print-form.md +++ b/versioned_docs/version-20-R8/commands/print-form.md @@ -19,7 +19,7 @@ displayed_sidebar: docs ## Description -**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. In the *form* parameter, you can pass: diff --git a/versioned_docs/version-20-R8/commands/process-number.md b/versioned_docs/version-20-R8/commands/process-number.md index 21f03d4aab9998..2ba12522cbf5a6 100644 --- a/versioned_docs/version-20-R8/commands/process-number.md +++ b/versioned_docs/version-20-R8/commands/process-number.md @@ -27,7 +27,7 @@ displayed_sidebar: docs ## Description -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter. If no process is found, `Process number` returns 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter. If no process is found, `Process number` returns 0. The optional parameter \* allows you to retrieve, from a remote 4D, the number of a process that is executed on the server. In this case, the returned value is negative. This option is especially useful when using the [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) and [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md) commands. diff --git a/versioned_docs/version-20-R8/settings/compatibility.md b/versioned_docs/version-20-R8/settings/compatibility.md index 36993781e047c2..46c0e638c1fec6 100644 --- a/versioned_docs/version-20-R8/settings/compatibility.md +++ b/versioned_docs/version-20-R8/settings/compatibility.md @@ -18,9 +18,9 @@ The Compatibility page groups together parameters related to maintaining compati Although not standard, you might want to keep using these features so that your code continues to work as before -- in this case, just set the option *unchecked*. On the other hand, if your code does not rely on the non-standard implementation and if you want to benefit from the extended XPath features in your databases (as described in the [`DOM Find XML element`](https://doc.4d.com/4dv20/help/command/en/page864.html) command), make sure the **Use standard XPath** option is *checked*. -- **Use LF for end of line on macOS:** Starting with 4D v19 R2 (and 4D v19 R3 for XML files), 4D writes text files with line feed (LF) as default end of line (EOL) character instead of CR (CRLF for xml SAX) on macOS in new projects. If you want to benefit from this new behavior on projects converted from previous 4D versions, check this option. See [`TEXT TO DOCUMENT`](https://doc.4d.com/4dv20/help/command/en/page1237.html), [`Document to text`](https://doc.4d.com/4dv19R/help/command/en/page1236.html), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- **Use LF for end of line on macOS:** Starting with 4D v19 R2 (and 4D v19 R3 for XML files), 4D writes text files with line feed (LF) as default end of line (EOL) character instead of CR (CRLF for xml SAX) on macOS in new projects. If you want to benefit from this new behavior on projects converted from previous 4D versions, check this option. See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). -- **Don't add a BOM when writing a unicode text file by default:** Starting with 4D v19 R2 (and 4D v19 R3 for XML files), 4D writes text files without a byte order mark (BOM) by default. In previous versions, text files were written with a BOM by default. Select this option if you want to enable the new behavior in converted projects. See [`TEXT TO DOCUMENT`](https://doc.4d.com/4dv20/help/command/en/page1237.html), [`Document to text`](https://doc.4d.com/4dv20/help/command/en/page1236.html), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). +- **Don't add a BOM when writing a unicode text file by default:** Starting with 4D v19 R2 (and 4D v19 R3 for XML files), 4D writes text files without a byte order mark (BOM) by default. In previous versions, text files were written with a BOM by default. Select this option if you want to enable the new behavior in converted projects. See [`TEXT TO DOCUMENT`](../commands-legacy/text-to-document.md), [`Document to text`](../commands-legacy/document-to-text.md), and [XML SET OPTIONS](../commands-legacy/xml-set-options.md). - **Map NULL values to blank values unchecked by default a field creation**: For better compliance with ORDA specifications, in databases created with 4D v19 R4 and higher the **Map NULL values to blank values** field property is unchecked by default when you create fields. You can apply this default behavior to your converted databases by checking this option (working with Null values is recommended since they are fully supported by [ORDA](../ORDA/overview.md). diff --git a/versioned_docs/version-20-R8/settings/php.md b/versioned_docs/version-20-R8/settings/php.md index 31497cb1fdbc8e..a73e3be5f6ae9e 100644 --- a/versioned_docs/version-20-R8/settings/php.md +++ b/versioned_docs/version-20-R8/settings/php.md @@ -8,7 +8,7 @@ You can [execute PHP scripts in 4D](https://doc.4d.com/4Dv20/4D/20.1/Executing-P :::note -These settings are specified for all connected machines and all sessions. You can also modify and read them separately for each machine and each session using the [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](https://doc.4d.com/4dv20/help/command/en/page643.html) commands. The parameters modified by the `SET DATABASE PARAMETER` command have priority for the current session. +These settings are specified for all connected machines and all sessions. You can also modify and read them separately for each machine and each session using the [`SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md) and [`Get database parameter`](../commands-legacy/get-database-parameter.md) commands. The parameters modified by the `SET DATABASE PARAMETER` command have priority for the current session. ::: diff --git a/versioned_docs/version-20-R9/API/DataStoreClass.md b/versioned_docs/version-20-R9/API/DataStoreClass.md index 0baaf3cb90a667..c12fb730e956ee 100644 --- a/versioned_docs/version-20-R9/API/DataStoreClass.md +++ b/versioned_docs/version-20-R9/API/DataStoreClass.md @@ -467,7 +467,7 @@ The `.getInfo()` function returns On a remote datastore: ```4d - var $remoteDS : cs.DataStore + var $remoteDS : 4D.DataStoreImplementation var $info; $connectTo : Object $connectTo:=New object("hostname";"111.222.33.44:8044";"user";"marie";"password";"aaaa") @@ -1128,7 +1128,7 @@ You can nest several transactions (sub-transactions). Each transaction or sub-tr ```4d var $connect; $status : Object var $person : cs.PersonsEntity - var $ds : cs.DataStore + var $ds : 4D.DataStoreImplementation var $choice : Text var $error : Boolean diff --git a/versioned_docs/version-20-R9/API/EntityClass.md b/versioned_docs/version-20-R9/API/EntityClass.md index 011c64dba89be0..f76d5fedaf589c 100644 --- a/versioned_docs/version-20-R9/API/EntityClass.md +++ b/versioned_docs/version-20-R9/API/EntityClass.md @@ -600,15 +600,14 @@ The following generic code duplicates any entity: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any |Parameter|Type||Description| |---------|--- |:---:|------| |mode|Integer|->|`dk key as string`: primary key is returned as a string, no matter the primary key type| -|Result|Text|<-|Value of the text primary key of the entity| -|Result|Integer|<-|Value of the numeric primary key of the entity| +|Result|any|<-|Value of the primary key of the entity (Integer or Text)| @@ -1603,11 +1602,11 @@ Returns: #### Description -The `.touched()` function tests whether or not an entity attribute has been modified since the entity was loaded into memory or saved. +The `.touched()` function returns True if at least one entity attribute has been modified since the entity was loaded into memory or saved. You can use this function to determine if you need to save the entity. -If an attribute has been modified or calculated, the function returns True, else it returns False. You can use this function to determine if you need to save the entity. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". -This function returns False for a new entity that has just been created (with [`.new( )`](DataClassClass.md#new)). Note however that if you use a function which calculates an attribute of the entity, the `.touched()` function will then return True. For example, if you call [`.getKey()`](#getkey) to calculate the primary key, `.touched()` returns True. +For a new entity that has just been created (with [`.new()`](DataClassClass.md#new)), the function returns False. However in this context, if you access an attribute whose [`autoFilled` property](./DataClassClass.md#returned-object) is True, the `.touched()` function will then return True. For example, after you execute `$id:=ds.Employee.ID` for a new entity (assuming the ID attribute has the "Autoincrement" property), `.touched()` returns True. #### Example @@ -1649,7 +1648,7 @@ In this example, we check to see if it is necessary to save the entity: The `.touchedAttributes()` function returns the names of the attributes that have been modified since the entity was loaded into memory. -This applies for attributes of the [kind](DataClassClass.md#attributename) `storage` or `relatedEntity`. +This only applies to attributes of [`kind`](DataClassClass.md#returned-object) "storage" or "relatedEntity". In the case of a related entity having been touched (i.e., the foreign key), the name of the related entity and its primary key's name are returned. diff --git a/versioned_docs/version-20-R9/API/FileClass.md b/versioned_docs/version-20-R9/API/FileClass.md index fc8c5df82529c3..68fac3cb8c9f36 100644 --- a/versioned_docs/version-20-R9/API/FileClass.md +++ b/versioned_docs/version-20-R9/API/FileClass.md @@ -572,7 +572,7 @@ You want to rename "ReadMe.txt" in "ReadMe_new.txt": The `.setAppInfo()` function writes the *info* properties as information contents of an application file. -The function must be used with an existing, supported file: **.plist** (all platforms), **.exe**/**.dll** (Windows), or **macOS executable**. If the file does not exist on disk or is not a supported file, the function does nothing (no error is generated). +The function can only be used with the following file types: **.plist** (all platforms), existing **.exe**/**.dll** (Windows), or **macOS executable**. If used with another file type or with *.exe**/**.dll** files that do not already exist on disk, the function does nothing (no error is generated). ***info* parameter object with a .plist file (all platforms)** @@ -582,6 +582,8 @@ The function only supports .plist files in xml format (text-based). An error is ::: +If the .plist file already exists on the disk, it is updated. Otherwise, it is created. + Each valid property set in the *info* object parameter is written in the .plist file as a key. Any key name is accepted. Value types are preserved when possible. If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Other existing keys in the .plist file are left untouched. diff --git a/versioned_docs/version-20-R9/API/WebServerClass.md b/versioned_docs/version-20-R9/API/WebServerClass.md index 2a402494b44870..e72477524ae3d6 100644 --- a/versioned_docs/version-20-R9/API/WebServerClass.md +++ b/versioned_docs/version-20-R9/API/WebServerClass.md @@ -607,7 +607,7 @@ The `.start()` function starts the w The web server starts with default settings defined in the settings file of the project or (host database only) using the `WEB SET OPTION` command. However, using the *settings* parameter, you can define customized properties for the web server session. -All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](../commands/web-server.md-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Customized session settings will be reset when the [`.stop()`](#stop) function is called. diff --git a/versioned_docs/version-20-R9/commands-legacy/last-errors.md b/versioned_docs/version-20-R9/commands-legacy/last-errors.md index 005ea51cd9b5b2..de434ad33de51c 100644 --- a/versioned_docs/version-20-R9/commands-legacy/last-errors.md +++ b/versioned_docs/version-20-R9/commands-legacy/last-errors.md @@ -31,7 +31,7 @@ For a description of component signatures, please refer to the [Error codes](../ ::: -This command must be called from an on error call method installed by the [ON ERR CALL](on-err-call.md) command. +This command must be called from an on error call method installed by the [ON ERR CALL](on-err-call.md) command or within a [Try or Try/Catch](../Concepts/error-handling.md#tryexpression) context. ## See also diff --git a/versioned_docs/version-20-R9/commands-legacy/object-get-coordinates.md b/versioned_docs/version-20-R9/commands-legacy/object-get-coordinates.md index 990f6a6b158fec..e360948bd864b8 100644 --- a/versioned_docs/version-20-R9/commands-legacy/object-get-coordinates.md +++ b/versioned_docs/version-20-R9/commands-legacy/object-get-coordinates.md @@ -60,7 +60,7 @@ For interface needs, you want to surround the clicked area with a red rectangle: In the object method of the list box, you can write: ```4d - OBJECT SET VISIBLE(*;"rectangleInfo";False) //initialize a red rectangle + OBJECT SET VISIBLE(*;"RedRect";False) //initialize a red rectangle  $ptr:=OBJECT Get pointer(Object current)  OBJECT GET COORDINATES($ptr->;$x1;$y1;$x2;$y2)  OBJECT SET VISIBLE(*;"RedRect";True) diff --git a/versioned_docs/version-20-R9/commands-legacy/printing-page.md b/versioned_docs/version-20-R9/commands-legacy/printing-page.md index 360358ce5adc39..fc4773f8eb2ba6 100644 --- a/versioned_docs/version-20-R9/commands-legacy/printing-page.md +++ b/versioned_docs/version-20-R9/commands-legacy/printing-page.md @@ -15,7 +15,7 @@ displayed_sidebar: docs ## Description -**Printing page** returns the printing page number. It can be used only when you are printing with [PRINT SELECTION](print-selection.md) or the Print menu in the Design environment. +The **Printing page** command returns the printing page number. ## Example diff --git a/versioned_docs/version-20-R9/commands/call-chain.md b/versioned_docs/version-20-R9/commands/call-chain.md index ce0b1c5fdd5688..1db9a7354b0918 100644 --- a/versioned_docs/version-20-R9/commands/call-chain.md +++ b/versioned_docs/version-20-R9/commands/call-chain.md @@ -33,7 +33,7 @@ The command facilitates debugging by enabling the identification of the method o | database | Text | Name of the database calling the method (to distinguish host methods and component methods) | "database":"contactInfo" | | formula|Text (if any)| Contents of the current line of code at the current level of the call chain (raw text). Corresponds to the contents of the line referenced by the `line` property in the source file indicated by method. If the source code is not available, `formula` property is omitted (Undefined).|"var $stack:=Call chain"| | line | Integer | Line number of call to the method | "line":6 | -| name | Ttext | Name of the called method | "name":"On Load" | +| name | Text | Name of the called method | "name":"On Load" | | type | Text | Type of the method:
  • "projectMethod"
  • "formObjectMethod"
  • "formmethod"
  • "databaseMethod"
  • "triggerMethod"
  • "executeOnServer" (when calling a project method with the *Execute on Server attribute*)
  • "executeFormula" (when executing a formula via [PROCESS 4D TAGS](../commands-legacy/process-4d-tags.md) or the evaluation of a formula in a 4D Write Pro document)
  • "classFunction"
  • "formMethod"
  • | "type":"formMethod" | :::note diff --git a/versioned_docs/version-20-R9/commands/print-form.md b/versioned_docs/version-20-R9/commands/print-form.md index 7543ada19bb045..53f37c6f1b41e4 100644 --- a/versioned_docs/version-20-R9/commands/print-form.md +++ b/versioned_docs/version-20-R9/commands/print-form.md @@ -19,7 +19,7 @@ displayed_sidebar: docs ## Description -**Print form** simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. +The **Print form** command simply prints *form* with the current values of fields and variables of *aTable*. It is usually used to print very complex reports that require complete control over the printing process. **Print form** does not do any record processing, break processing or page breaks. These operations are your responsibility. **Print form** prints fields and variables in a fixed size frame only. In the *form* parameter, you can pass: diff --git a/versioned_docs/version-20-R9/commands/process-number.md b/versioned_docs/version-20-R9/commands/process-number.md index 21f03d4aab9998..2ba12522cbf5a6 100644 --- a/versioned_docs/version-20-R9/commands/process-number.md +++ b/versioned_docs/version-20-R9/commands/process-number.md @@ -27,7 +27,7 @@ displayed_sidebar: docs ## Description -`Process number` returns the number of the process whose *name* or *id* you pass in the first parameter. If no process is found, `Process number` returns 0. +The `Process number` command returns the number of the process whose *name* or *id* you pass in the first parameter. If no process is found, `Process number` returns 0. The optional parameter \* allows you to retrieve, from a remote 4D, the number of a process that is executed on the server. In this case, the returned value is negative. This option is especially useful when using the [GET PROCESS VARIABLE](../commands-legacy/get-process-variable.md), [SET PROCESS VARIABLE](../commands-legacy/set-process-variable.md) and [VARIABLE TO VARIABLE](../commands-legacy/variable-to-variable.md) commands. diff --git a/versioned_docs/version-20/API/EntityClass.md b/versioned_docs/version-20/API/EntityClass.md index a503da7e7adac3..2ce1bcfafb0b1e 100644 --- a/versioned_docs/version-20/API/EntityClass.md +++ b/versioned_docs/version-20/API/EntityClass.md @@ -594,15 +594,14 @@ The following generic code duplicates any entity: -**.getKey**( { *mode* : Integer } ) : Text
    **.getKey**( { *mode* : Integer } ) : Integer +**.getKey**( { *mode* : Integer } ) : any |Parameter|Type||Description| |---------|--- |:---:|------| |mode|Integer|->|`dk key as string`: primary key is returned as a string, no matter the primary key type| -|Result|Text|<-|Value of the text primary key of the entity| -|Result|Integer|<-|Value of the numeric primary key of the entity| +|Result|any|<-|Value of the primary key of the entity (Integer or Text)| diff --git a/versioned_docs/version-20/API/FileClass.md b/versioned_docs/version-20/API/FileClass.md index 1235ce38992912..11b7d9a0a5ebe1 100644 --- a/versioned_docs/version-20/API/FileClass.md +++ b/versioned_docs/version-20/API/FileClass.md @@ -584,12 +584,12 @@ You want to rename "ReadMe.txt" in "ReadMe_new.txt": The `.setAppInfo()` function writes the *info* properties as information contents of a **.exe**, **.dll** or **.plist** file. -The function must be used with an existing .exe, .dll or .plist file. If the file does not exist on disk or is not a valid .exe, .dll or .plist file, the function does nothing (no error is generated). - -> The function only supports .plist files in xml format (text-based). An error is returned if it is used with a .plist file in binary format. ***info* parameter object with a .exe or .dll file** +The function must be used with an existing and valid .exe or .dll file, otherwise it does nothing (no error is generated). + + > Writing a .exe or .dll file information is only possible on Windows. Each valid property set in the *info* object parameter is written in the version resource of the .exe or .dll file. Available properties are (any other property will be ignored): @@ -612,6 +612,8 @@ For the `WinIcon` property, if the icon file does not exist or has an incorrect ***info* parameter object with a .plist file** +> The function only supports .plist files in xml format (text-based). An error is returned if it is used with a .plist file in binary format. + Each valid property set in the *info* object parameter is written in the .plist file as a key. Any key name is accepted. Value types are preserved when possible. If a key set in the *info* parameter is already defined in the .plist file, its value is updated while keeping its original type. Other existing keys in the .plist file are left untouched. diff --git a/versioned_docs/version-20/API/WebServerClass.md b/versioned_docs/version-20/API/WebServerClass.md index ca24c4a72d293f..4a1f648d78a994 100644 --- a/versioned_docs/version-20/API/WebServerClass.md +++ b/versioned_docs/version-20/API/WebServerClass.md @@ -701,7 +701,7 @@ The `.start()` function starts the w The web server starts with default settings defined in the settings file of the project or (host database only) using the `WEB SET OPTION` command. However, using the *settings* parameter, you can define customized properties for the web server session. -All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName(#sessioncookiename)]). +All settings of [Web Server objects](#web-server-object) can be customized, except read-only properties ([.isRunning](#isrunning), [.name](#name), [.openSSLVersion](#opensslversion), [.perfectForwardSecrecy](#perfectforwardsecrecy), and [.sessionCookieName](#sessioncookiename)). Customized session settings will be reset when the [`.stop()`](#stop) function is called. diff --git a/versioned_docs/version-20/Notes/updates.md b/versioned_docs/version-20/Notes/updates.md index 46cd8c7697012d..d3845e6eaf4529 100644 --- a/versioned_docs/version-20/Notes/updates.md +++ b/versioned_docs/version-20/Notes/updates.md @@ -25,7 +25,7 @@ Read [**What’s new in 4D 20**](https://blog.4d.com/en-whats-new-in-4d-v20/), t :::info Evaluation applications -Starting with nightly build **101734**, the Build application dialog box has a new option allowing to build evaluation applications. See [description in the 4D Rx documentation](../../../docs/Desktop/building.md#build-an-evaluation-application). +Starting with nightly build **101734**, the Build application dialog box has a new option allowing to build evaluation applications. See [description in the 4D Rx documentation](../../../docs/Desktop/building#build-an-evaluation-application). :::