Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,11 @@ Cuando se crea una lista utilizando una acción estándar (`listStyleType` o `li

When the list is created using [the WP SET ATTRIBUTE command](../commands-legacy/4d-write-pro-attributes.md#lists), no specific margin is managed, by default the marker is added at the left boundary of the paragraph. El desarrollador puede añadir un margen personalizado si es necesario.

añada una parte sobre el hecho de que usted define dónde empieza su lista ordenada.

:::tip Entrada de blog relacionada

[4D Write Pro – Adding a margin automatically when bullets are set using standard actions](https://blog.4d.com/4d-write-pro-adding-a-margin-automatically-when-bullets-are-set-using-standard-actions)

:::
y el nivel se gestionan con (acciones estándar)

### Listas de múltiples niveles

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,11 @@ Lorsqu'une liste est créée à l'aide d'une action standard (`listStyleType` ou

Lorsque la liste est créée à l'aide de la commande WP SET ATTRIBUTE(../commands-legacy/4d-write-pro-attributes.md#lists), aucune marge spécifique n'est gérée ; par défaut, le marqueur est ajouté à la limite gauche du paragraphe. Le développeur peut ajouter une marge personnalisée si nécessaire.

add a part about the fact that you define where your ordered list start.

:::tip Article(s) de blog sur le sujet

[4D Write Pro - Ajout automatique d'une marge lorsque des puces sont définies à l'aide d'actions standard](https://blog.4d.com/4d-write-pro-adding-a-margin-automatically-when-bullets-are-set-using-standard-actions)

:::
and the level are managed with (standard actions)

### Multi-level lists

Expand Down
36 changes: 18 additions & 18 deletions i18n/ja/docusaurus-plugin-content-docs/current/API/MethodClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,18 @@ End if

:::tip

Giving a *name* to your method is recommended if you want to:
以下のような場合には、 *name* 引数を使用してメソッドに名前をつけることが推奨されます:

- use persistent method name in the [Custom watch pane of the Debugger](../Debugging/debugger#custom-watch-pane) (anonymous methods are not persistent in the debugger).
- handle the volatile method using commands such as [`Method get path`](../commands/method-get-path) and [`Method resolve path`](../commands/method-resolve-path) (anonymous methods don't have paths).
- [デバッガのカスタムウォッチエリア](../Debugging/debugger#カスタムウォッチエリア) 内で一貫したメソッド名を使用する(anonymous なメソッドはデバッガでは永続的ではありません)。
- [`Method get path`](../commands/method-get-path) [`Method resolve path`](../commands/method-resolve-path) などのコマンドを使用して揮発性のメソッドを管理する(anonymous なメソッドはパスを持ちません)。

:::

The resulting 4D.Method object can be checked using [`checkSyntax()`](#checksyntax) and executed using `()`, [`.apply()`](#apply) or [`.call()`](#call).
返される4D.Method オブジェクトは、[`checkSyntax()`](#checksyntax) を使用してチェックできる他、 `()` [`.apply()`](#apply) あるいは [`.call()`](#call) を使用して実行可能です。

:::note

Named volatile method objects are not project methods, they are not stored in disk files and cannot be called by commands such as [`EXECUTE METHOD`](../commands/execute-method). On the other hand, since they inherit from the [`4D.Function`](./FunctionClass.md) class, they can be used wherever a `4D.Function` object is expected.
命名された揮発性のメソッドオブジェクトはプロジェクトメソッドではありません。これらはディスクファイル内に保存はされず、[`EXECUTE METHOD`](../commands/execute-method) などのコマンドで呼び出すことはできません。 その一方で、これらは[`4D.Function`](./FunctionClass.md) クラスを継承するため、 `4D.Function` オブジェクトが想定されているところであればどこでも使用可能です。

:::

Expand Down Expand Up @@ -190,26 +190,26 @@ var $result:=$m.call(Null; 10; 5) //50

<div class="no-index">

| 引数 | 型 | | 説明 |
| --- | ------ | --------------------------- | -------------------------- |
| 戻り値 | Object | <- | Syntax check result object |
| 引数 | 型 | | 説明 |
| --- | ------ | --------------------------- | ------------------- |
| 戻り値 | Object | <- | シンタックスチェックの結果オブジェクト |

</div>
<!-- END REF -->

#### 説明

The `.checkSyntax()` function <!-- REF #MethodClass.checkSyntax().Summary -->checks the syntax of the source code of the `4D.Method` object and returns a result object<!-- END REF -->.
`.checkSyntax()` 関数は <!-- REF #MethodClass.checkSyntax().Summary -->`4D.Method` オブジェクトのソースコードに対してシンタックスをチェックし、その結果のオブジェクトを返します<!-- END REF -->

The Result object contains the following properties:
結果オブジェクトには、以下のプロパティが格納されています:

| プロパティ | | 型 | 説明 |
| ------- | --------------------------------------------------------------------------------- | ------------------- | ---------------------------------------------------------------------------------------- |
| success | | Boolean | True if no syntax error was detected, false otherwise |
| errors | | Object の Collection | **以下はerror または warningの場合にのみ返されます**。 Collection of objects describing errors or warnings |
| | [].isError | Boolean | エラーならTrue、それ以外の場合は警告 |
| | [].message | Text | Error or warning message |
| | [].lineNumber | Integer | Line number of error in the code |
| プロパティ | | 型 | 説明 |
| ------- | --------------------------------------------------------------------------------- | ------------------- | ------------------------------------------------------------------ |
| success | | Boolean | シンタックスエラーが何も検出されなかった場合にはTrue、それ以外の場合にはFalse |
| errors | | Object の Collection | **以下はerror または warningの場合にのみ返されます**。 エラーまたは警告の詳細を格納したオブジェクトのコレクション |
| | [].isError | Boolean | エラーならTrue、それ以外の場合は警告 |
| | [].message | Text | エラーならTrue、それ以外の場合は警告 |
| | [].lineNumber | Integer | コード内でのエラーが発生した行番号 |

#### 例題

Expand Down Expand Up @@ -237,7 +237,7 @@ End if

#### 説明

The `.name` property <!-- REF #MethodClass.name.Summary -->contains the name of the `4D.Method` object, if it was declared in the *name* parameter of the `new()` constructor<!-- END REF -->. Otherwise, the property is not returned.
`.name` プロパティには、<!-- REF #MethodClass.name.Summary -->`new()` コンストラクターの *name* 引数内で宣言されていれば、`4D.Method` オブジェクトの名前が格納されています<!-- END REF -->。 それ以外の場合、プロパティは返されません。

このプロパティは **読み取り専用** です。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: SessionClass
title: Session
---

Session オブジェクトは [`Session`](../commands/session) コマンドによって返されます。 These objects provide the developer with an interface allowing to manage the current session and execute actions such as store contextual data, share information between session processes, launch session-related preemptive processes, or (web context only) manage [privileges](../ORDA/privileges.md).
Session オブジェクトは [`Session`](../commands/session) コマンドによって返されます。 このオブジェクトは、カレントセッションを管理するためのインターフェースをデベロッパーに対して提供し、コンテキストデータの保存、プロセス間の情報共有、セッションに関連したプリエンプティブプロセスの開始などのアクションの実行や、[アクセス権](../ORDA/privileges.md) の管理(web コンテキストのみ)を可能にします。

:::tip 関連したblog 記事

Expand All @@ -19,7 +19,7 @@ Session オブジェクトは [`Session`](../commands/session) コマンドに
このクラスは以下の種類のセッションをサポートしています:

- [**Webユーザーセッション**](WebServer/sessions.md): [プロジェクトにおいてスケーラブルセッションが有効化されている](WebServer/sessions.md#webセッションの有効化) 場合、Webユーザーセッションが利用可能です。 これらは(REST アクセスを含めた)Web 接続に使用され、割り当てられた[権限](../ORDA/privileges.md) によって管理されます。
- [**Remote user sessions**](../Desktop/sessions.md#remote-user-sessions): In client/server applications, remote users have their own sessions, managed from the client and from the server.
- [**リモートユーザー セッション**](../Desktop/sessions.md#リモートユーザーセッション): クライアント/サーバーアプリケーションでは、リモートユーザーは、クライアントおよびサーバーから管理される独自のセッションを持ちます。
- [**ストアドプロシージャーセッション**](../Desktop/sessions.md#ストアドプロシージャーセッション): サーバー上で実行される全てのストアドプロシージャーセッションの仮想ユーザーセッション。
- [**スタンドアロンセッション**](../Desktop/sessions.md#standalone-sessions): シングルユーザーアプリケーションで返されるローカルのセッションオブジェクト(クライアント/サーバーアプリケーションの開発およびテストフェーズにおいて有用です)。

Expand Down Expand Up @@ -83,7 +83,7 @@ Session オブジェクトは [`Session`](../commands/session) コマンドに

- 権限は、この関数が実行された[セッションの種類](#セッションの種類) に関わらず、Web アクセスを通して実行されたコードにのみ適用されるという点に注意してください。
- この関数は [roles.json](../ORDA/privileges.md#rolesjsonファイル) ファイルで追加されたものであれ [`promote()`](#promote) 関数で追加されたものであれ、Web プロセスから**昇格された権限** を削除しません。
- For security reasons, this function cannot be called from the client side of a remote user session (an error is returned).
- セキュリティ上の理由から、この関数はリモートユーザーセッションのクライアント側から呼び出すことはできません(エラーが返されます)。

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,11 @@ When a list is created using a standard action (`listStyleType` or `listStyleIma

When the list is created using [the WP SET ATTRIBUTE command](../commands-legacy/4d-write-pro-attributes.md#lists), no specific margin is managed, by default the marker is added at the left boundary of the paragraph. The developer can add a custom margin if necessary.

add a part about the fact that you define where your ordered list start.

:::tip 関連したblog 記事

[4D Write Pro – Adding a margin automatically when bullets are set using standard actions](https://blog.4d.com/4d-write-pro-adding-a-margin-automatically-when-bullets-are-set-using-standard-actions)

:::
and the level are managed with (standard actions)

### Multi-level lists

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: SessionClass
title: Session
---

Session オブジェクトは [`Session`](../commands/session.md) コマンドによって返されます。 These objects provide the developer with an interface allowing to manage the current session and execute actions such as store contextual data, share information between session processes, launch session-related preemptive processes, or (web context only) manage [privileges](../ORDA/privileges.md).
Session オブジェクトは [`Session`](../commands/session.md) コマンドによって返されます。 このオブジェクトは、カレントセッションを管理するためのインターフェースをデベロッパーに対して提供し、コンテキストデータの保存、プロセス間の情報共有、セッションに関連したプリエンプティブプロセスの開始などのアクションの実行や、[アクセス権](../ORDA/privileges.md) の管理(web コンテキストのみ)を可能にします。

:::tip 関連したblog 記事

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,11 @@ When a list is created using a standard action (`listStyleType` or `listStyleIma

When the list is created using [the WP SET ATTRIBUTE command](../commands-legacy/4d-write-pro-attributes.md#lists), no specific margin is managed, by default the marker is added at the left boundary of the paragraph. The developer can add a custom margin if necessary.

add a part about the fact that you define where your ordered list start.

:::tip Related blog post

[4D Write Pro – Adding a margin automatically when bullets are set using standard actions](https://blog.4d.com/4d-write-pro-adding-a-margin-automatically-when-bullets-are-set-using-standard-actions)

:::
and the level are managed with (standard actions)

### Multi-level lists

Expand Down
Loading