From 99cab276fa8d6b10391a1d38ee1d4024004df404 Mon Sep 17 00:00:00 2001 From: Mic Date: Fri, 13 Dec 2024 00:23:00 +0100 Subject: [PATCH] add_tags_maxnum option added. see #183 --- _locales/en/messages.json | 8 ++++++++ options/mzta-options-default.js | 1 + options/mzta-options.html | 11 ++++++++++- options/mzta-options.js | 12 ++++++++++-- 4 files changed, 29 insertions(+), 3 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index cb3f3238..07582a63 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -766,5 +766,13 @@ "placeholder_full_tags_list": { "message": "Existing tags", "description": "" + }, + "prefs_OptionText_add_tags_maxnum": { + "message": "Maximum number of tags", + "description": "" + }, + "prefs_OptionText_add_tags_maxnum_Info": { + "message": "The maximum number of tags proposed by the AI.", + "description": "" } } \ No newline at end of file diff --git a/options/mzta-options-default.js b/options/mzta-options-default.js index 34b51b14..5f5470cf 100644 --- a/options/mzta-options-default.js +++ b/options/mzta-options-default.js @@ -38,4 +38,5 @@ export const prefs_default = { placeholders_use_default_value: false, max_prompt_length: 30000, // max string length for prompt add_tags: false, + add_tags_maxnum: 3, } \ No newline at end of file diff --git a/options/mzta-options.html b/options/mzta-options.html index 015da2cc..980dc23c 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -266,7 +266,7 @@ - + __MSG_prefs_OptionText_add_tags__ + + __MSG_prefs_OptionText_add_tags_maxnum__ + + + +