From 397c90275f04991b46f0b9f83ea2e463763c59a6 Mon Sep 17 00:00:00 2001 From: newtextdoc1111 Date: Wed, 12 Nov 2025 21:37:14 +0900 Subject: [PATCH] docs: Add auto insert comma setting to README --- README.md | 1 + docs/README_jp.md | 1 + locales/en/settings.json | 2 +- web/js/main.js | 4 ++-- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aa42875..f632368 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,7 @@ For example, by preparing the following CSV, you can quickly insert correspondin - **Enable Autocomplete**: Enable/disable the autocomplete feature. - **Max suggestions**: Maximum number of autocomplete suggestions to display. +- **Auto-Insert Comma**: Automatically insert a comma after tags when inserting from autocomplete. - **Replace '_' with 'Space'**: Replaces underscores with spaces when inserting tags. This setting also affects related tag display. - **Enable Loras and Embeddings**: Display Lora and Embedding in the suggestions. - **Use Fast Search**: Switch autocomplete suggestions search to fast processing (see [About Fast Search for Autocomplete](#about-fast-search-for-autocomplete) for details). diff --git a/docs/README_jp.md b/docs/README_jp.md index aa62f5a..8c1bc10 100644 --- a/docs/README_jp.md +++ b/docs/README_jp.md @@ -148,6 +148,7 @@ worst_quality,5,9999999, - **Enable Autocomplete**: オートコンプリート機能の有効化/無効化 - **Max Suggestions**: オートコンプリート候補の最大表示件数 +- **Auto-Insert Comma**: タグの挿入時、末尾にカンマを追加する - **Replace '_' with 'Space'**: タグ挿入時にアンダースコアをスペースに置き換えます。この設定は関連タグ表示にも影響します - **Enable Loras and Embeddings**: LoraとEmbeddingを候補に表示する - **Use Fast Search**: オートコンプリート候補の検索を高速な処理に切り替える(詳細は [オートコンプリートの高速検索について](#オートコンプリートの高速検索について) を確認してください) diff --git a/locales/en/settings.json b/locales/en/settings.json index 3b552fa..06b9665 100644 --- a/locales/en/settings.json +++ b/locales/en/settings.json @@ -36,7 +36,7 @@ "tooltip": "This setting also affects related tags display." }, "AutocompletePlus_Autocompletion_AutoInsertComma": { - "name": "Auto Insert Comma", + "name": "Auto-Insert Comma", "tooltip": "Automatically insert a comma after tags when inserting from autocomplete." }, "AutocompletePlus_Autocompletion_MaxSuggestions": { diff --git a/web/js/main.js b/web/js/main.js index ae50e02..9facef4 100644 --- a/web/js/main.js +++ b/web/js/main.js @@ -318,11 +318,11 @@ app.registerExtension({ }, { id: id + ".Autocompletion.AutoInsertComma", - name: "Auto Insert Comma", + name: "Auto-Insert Comma", tooltip: "Automatically insert a comma after tags when inserting from autocomplete.", type: "boolean", defaultValue: true, - category: [name, "Autocompletion", "Auto Insert Comma"], + category: [name, "Autocompletion", "Auto-Insert Comma"], onChange: (newVal, oldVal) => { settingValues.autoInsertComma = newVal; }