From 42f889316938f2ecd090f8964e503759f6d34800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Wed, 28 Oct 2026 23:23:16 +0900 Subject: [PATCH] =?UTF-8?q?enchant=20=E3=82=92=E5=8E=9F=E6=96=87=E3=81=AE?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E3=81=AB=E8=BF=BD=E5=BE=93=20(22=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/enchant/entities.ent | 31 +++++++++++++++++++ .../functions/enchant-broker-describe.xml | 7 ++++- .../functions/enchant-broker-dict-exists.xml | 18 ++++++++++- .../functions/enchant-broker-free-dict.xml | 7 ++++- .../enchant/functions/enchant-broker-free.xml | 11 ++++++- .../functions/enchant-broker-get-error.xml | 7 ++++- .../enchant/functions/enchant-broker-init.xml | 5 +-- .../functions/enchant-broker-list-dicts.xml | 7 ++++- .../functions/enchant-broker-request-dict.xml | 14 +++++++-- .../enchant-broker-request-pwl-dict.xml | 10 ++++-- .../functions/enchant-broker-set-ordering.xml | 18 ++++++++++- .../functions/enchant-dict-add-to-session.xml | 7 ++++- .../enchant/functions/enchant-dict-add.xml | 9 ++++-- .../enchant/functions/enchant-dict-check.xml | 7 ++++- .../functions/enchant-dict-describe.xml | 11 +++++-- .../functions/enchant-dict-get-error.xml | 7 ++++- .../functions/enchant-dict-is-added.xml | 7 ++++- .../functions/enchant-dict-quick-check.xml | 7 ++++- .../enchant-dict-remove-from-session.xml | 7 ++++- .../enchant/functions/enchant-dict-remove.xml | 7 ++++- .../enchant-dict-store-replacement.xml | 9 ++++-- .../functions/enchant-dict-suggest.xml | 6 +++- 22 files changed, 192 insertions(+), 27 deletions(-) create mode 100644 reference/enchant/entities.ent diff --git a/reference/enchant/entities.ent b/reference/enchant/entities.ent new file mode 100644 index 0000000000..c3f1ab2e7a --- /dev/null +++ b/reference/enchant/entities.ent @@ -0,0 +1,31 @@ + + + + + + + + + broker が初期化されていないか、 + enchant_broker_free + で既に解放されているなどの理由で使用できない場合、 + ValueError がスローされます。 + + + + + + dictionary が初期化されていないか、 + enchant_broker_free_dict + で既に解放されているなどの理由で使用できない場合、 + ValueError がスローされます。 + + + + diff --git a/reference/enchant/functions/enchant-broker-describe.xml b/reference/enchant/functions/enchant-broker-describe.xml index 7211082fbc..aa47f003fd 100644 --- a/reference/enchant/functions/enchant-broker-describe.xml +++ b/reference/enchant/functions/enchant-broker-describe.xml @@ -1,6 +1,6 @@ - + @@ -33,6 +33,11 @@ + + &reftitle.errors; + &ext.enchant.broker-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-broker-dict-exists.xml b/reference/enchant/functions/enchant-broker-dict-exists.xml index d13f7011be..6375f88364 100644 --- a/reference/enchant/functions/enchant-broker-dict-exists.xml +++ b/reference/enchant/functions/enchant-broker-dict-exists.xml @@ -1,6 +1,6 @@ - + @@ -40,6 +40,15 @@ + + &reftitle.errors; + &ext.enchant.broker-valueerror; + + tag が空の場合、 + ValueError がスローされます。 + + + &reftitle.changelog; @@ -51,6 +60,13 @@ + + 8.5.0 + + tag が空の場合、 + ValueError をスローするようになりました。 + + &enchant.changelog.broker-param; diff --git a/reference/enchant/functions/enchant-broker-free-dict.xml b/reference/enchant/functions/enchant-broker-free-dict.xml index 431b662fab..d1a5989f1e 100644 --- a/reference/enchant/functions/enchant-broker-free-dict.xml +++ b/reference/enchant/functions/enchant-broker-free-dict.xml @@ -1,6 +1,6 @@ - + @@ -38,6 +38,11 @@ + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-broker-free.xml b/reference/enchant/functions/enchant-broker-free.xml index 322828c63a..3175550d0f 100644 --- a/reference/enchant/functions/enchant-broker-free.xml +++ b/reference/enchant/functions/enchant-broker-free.xml @@ -1,6 +1,6 @@ - + @@ -39,6 +39,15 @@ + + &reftitle.errors; + &ext.enchant.broker-valueerror; + + broker にまだ開いている辞書がある場合、 + Error がスローされます。 + + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-broker-get-error.xml b/reference/enchant/functions/enchant-broker-get-error.xml index 81d3211eca..2a006f38a7 100644 --- a/reference/enchant/functions/enchant-broker-get-error.xml +++ b/reference/enchant/functions/enchant-broker-get-error.xml @@ -1,6 +1,6 @@ - + @@ -32,6 +32,11 @@ + + &reftitle.errors; + &ext.enchant.broker-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-broker-init.xml b/reference/enchant/functions/enchant-broker-init.xml index 1333765e61..03b2179de3 100644 --- a/reference/enchant/functions/enchant-broker-init.xml +++ b/reference/enchant/functions/enchant-broker-init.xml @@ -1,6 +1,6 @@ - + enchant_broker_init @@ -22,7 +22,8 @@ &reftitle.returnvalues; - 成功した場合にブローカーリソース、それ以外の場合に &false; を返します。 + 成功した場合に EnchantBroker クラスのインスタンスを返します。 + &return.falseforfailure;。 diff --git a/reference/enchant/functions/enchant-broker-list-dicts.xml b/reference/enchant/functions/enchant-broker-list-dicts.xml index 340a079003..b8b5da7681 100644 --- a/reference/enchant/functions/enchant-broker-list-dicts.xml +++ b/reference/enchant/functions/enchant-broker-list-dicts.xml @@ -1,6 +1,6 @@ - + @@ -32,6 +32,11 @@ + + &reftitle.errors; + &ext.enchant.broker-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-broker-request-dict.xml b/reference/enchant/functions/enchant-broker-request-dict.xml index 2d04cb54cc..b8fb2cc3b4 100644 --- a/reference/enchant/functions/enchant-broker-request-dict.xml +++ b/reference/enchant/functions/enchant-broker-request-dict.xml @@ -1,6 +1,6 @@ - + @@ -37,7 +37,17 @@ &reftitle.returnvalues; - 成功した場合に辞書リソース、&return.falseforfailure;。 + 成功した場合に EnchantDictionary クラスのインスタンスを返します。 + &return.falseforfailure;。 + + + + + &reftitle.errors; + &ext.enchant.broker-valueerror; + + tag が空の場合、 + ValueError がスローされます。 diff --git a/reference/enchant/functions/enchant-broker-request-pwl-dict.xml b/reference/enchant/functions/enchant-broker-request-pwl-dict.xml index 8b7b63febd..9cc1ec61bf 100644 --- a/reference/enchant/functions/enchant-broker-request-pwl-dict.xml +++ b/reference/enchant/functions/enchant-broker-request-pwl-dict.xml @@ -1,6 +1,6 @@ - + @@ -39,10 +39,16 @@ &reftitle.returnvalues; - 成功した場合に辞書リソース、&return.falseforfailure;。 + 成功した場合に EnchantDictionary クラスのインスタンスを返します。 + &return.falseforfailure;。 + + &reftitle.errors; + &ext.enchant.broker-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-broker-set-ordering.xml b/reference/enchant/functions/enchant-broker-set-ordering.xml index 6bc13f2875..355da403a6 100644 --- a/reference/enchant/functions/enchant-broker-set-ordering.xml +++ b/reference/enchant/functions/enchant-broker-set-ordering.xml @@ -1,6 +1,6 @@ - + @@ -55,6 +55,15 @@ + + &reftitle.errors; + &ext.enchant.broker-valueerror; + + tag または ordering が空の場合、 + ValueError がスローされます。 + + + &reftitle.changelog; @@ -66,6 +75,13 @@ + + 8.5.0 + + tag または ordering が空の場合、 + ValueError をスローするようになりました。 + + &enchant.changelog.broker-param; diff --git a/reference/enchant/functions/enchant-dict-add-to-session.xml b/reference/enchant/functions/enchant-dict-add-to-session.xml index 8cda3dd2a0..3e8add06c7 100644 --- a/reference/enchant/functions/enchant-dict-add-to-session.xml +++ b/reference/enchant/functions/enchant-dict-add-to-session.xml @@ -1,6 +1,6 @@ - + @@ -42,6 +42,11 @@ + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-dict-add.xml b/reference/enchant/functions/enchant-dict-add.xml index c9e51dd0ab..842ebdfcc7 100644 --- a/reference/enchant/functions/enchant-dict-add.xml +++ b/reference/enchant/functions/enchant-dict-add.xml @@ -1,6 +1,6 @@ - + enchant_dict_add @@ -34,10 +34,15 @@ &reftitle.returnvalues; - &return.success; + &return.void; + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-dict-check.xml b/reference/enchant/functions/enchant-dict-check.xml index e325f534e0..f496c855be 100644 --- a/reference/enchant/functions/enchant-dict-check.xml +++ b/reference/enchant/functions/enchant-dict-check.xml @@ -1,6 +1,6 @@ - + @@ -42,6 +42,11 @@ + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-dict-describe.xml b/reference/enchant/functions/enchant-dict-describe.xml index 474089a47c..33340d3e9e 100644 --- a/reference/enchant/functions/enchant-dict-describe.xml +++ b/reference/enchant/functions/enchant-dict-describe.xml @@ -1,6 +1,6 @@ - + @@ -28,10 +28,17 @@ &reftitle.returnvalues; - &return.success; + 辞書についての情報を配列で返します。配列のキーは + lang、name、desc、 + file です。 + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-dict-get-error.xml b/reference/enchant/functions/enchant-dict-get-error.xml index 0da7ac9549..8ea9889605 100644 --- a/reference/enchant/functions/enchant-dict-get-error.xml +++ b/reference/enchant/functions/enchant-dict-get-error.xml @@ -1,6 +1,6 @@ - + @@ -32,6 +32,11 @@ + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-dict-is-added.xml b/reference/enchant/functions/enchant-dict-is-added.xml index 9af31051e4..8d059fd4a0 100644 --- a/reference/enchant/functions/enchant-dict-is-added.xml +++ b/reference/enchant/functions/enchant-dict-is-added.xml @@ -1,6 +1,6 @@ - + enchant_dict_is_added @@ -39,6 +39,11 @@ + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-dict-quick-check.xml b/reference/enchant/functions/enchant-dict-quick-check.xml index 0011f57547..163ec64a0d 100644 --- a/reference/enchant/functions/enchant-dict-quick-check.xml +++ b/reference/enchant/functions/enchant-dict-quick-check.xml @@ -1,6 +1,6 @@ - + @@ -52,6 +52,11 @@ + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-dict-remove-from-session.xml b/reference/enchant/functions/enchant-dict-remove-from-session.xml index 3a5782346b..bad47b5a8e 100644 --- a/reference/enchant/functions/enchant-dict-remove-from-session.xml +++ b/reference/enchant/functions/enchant-dict-remove-from-session.xml @@ -1,6 +1,6 @@ - + enchant_dict_remove_from_session @@ -41,6 +41,11 @@ + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.seealso; diff --git a/reference/enchant/functions/enchant-dict-remove.xml b/reference/enchant/functions/enchant-dict-remove.xml index a5fe812bdd..7f946449fa 100644 --- a/reference/enchant/functions/enchant-dict-remove.xml +++ b/reference/enchant/functions/enchant-dict-remove.xml @@ -1,6 +1,6 @@ - + enchant_dict_remove @@ -43,6 +43,11 @@ + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.seealso; diff --git a/reference/enchant/functions/enchant-dict-store-replacement.xml b/reference/enchant/functions/enchant-dict-store-replacement.xml index a821c089b6..2819b90a16 100644 --- a/reference/enchant/functions/enchant-dict-store-replacement.xml +++ b/reference/enchant/functions/enchant-dict-store-replacement.xml @@ -1,6 +1,6 @@ - + @@ -47,10 +47,15 @@ &reftitle.returnvalues; - &return.success; + &return.void; + + &reftitle.errors; + &ext.enchant.dict-valueerror; + + &reftitle.changelog; diff --git a/reference/enchant/functions/enchant-dict-suggest.xml b/reference/enchant/functions/enchant-dict-suggest.xml index e2fb79ebca..5123ee2a5c 100644 --- a/reference/enchant/functions/enchant-dict-suggest.xml +++ b/reference/enchant/functions/enchant-dict-suggest.xml @@ -1,6 +1,6 @@ - + @@ -38,6 +38,10 @@ + + &reftitle.errors; + &ext.enchant.dict-valueerror; + &reftitle.changelog;