mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update Image Generation
This commit is contained in:
@ -1,4 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"sd_prompt_0": "角色(你自己)",
|
||||||
|
"sd_prompt_1": "使用者(我)",
|
||||||
|
"sd_prompt_2": "情境(整篇故事)",
|
||||||
|
"sd_prompt_3": "原始最後訊息",
|
||||||
|
"sd_prompt_4": "最後訊息",
|
||||||
|
"sd_prompt_5": "肖像(你的臉)",
|
||||||
|
"sd_prompt_7": "背景",
|
||||||
|
"sd_prompt_8": "角色(多模態模型)",
|
||||||
|
"sd_prompt_9": "使用者(多模態模型)",
|
||||||
|
"sd_prompt_10": "肖像(多模態模型)",
|
||||||
" messages": " 訊息",
|
" messages": " 訊息",
|
||||||
" words": " 文字",
|
" words": " 文字",
|
||||||
"# Messages to Load": "個要載入的訊息數量",
|
"# Messages to Load": "個要載入的訊息數量",
|
||||||
@ -365,7 +375,7 @@
|
|||||||
"Delete World Info": "刪除世界資訊",
|
"Delete World Info": "刪除世界資訊",
|
||||||
"Delete": "刪除",
|
"Delete": "刪除",
|
||||||
"Deleting:": "刪除中:",
|
"Deleting:": "刪除中:",
|
||||||
"Denoising strength ": "重繪幅度 ",
|
"Denoising strength": "重繪幅度 ",
|
||||||
"Depth ↗": "深度 ↗",
|
"Depth ↗": "深度 ↗",
|
||||||
"Depth ↘": "深度 ↘",
|
"Depth ↘": "深度 ↘",
|
||||||
"Depth:": "深度:",
|
"Depth:": "深度:",
|
||||||
@ -535,7 +545,7 @@
|
|||||||
"guikoboldaisettings": "GUI KoboldAI 設定",
|
"guikoboldaisettings": "GUI KoboldAI 設定",
|
||||||
"Handle:": "控制代碼:",
|
"Handle:": "控制代碼:",
|
||||||
"HD": "高畫質",
|
"HD": "高畫質",
|
||||||
"Height": "高度",
|
"Height": "高度(H)",
|
||||||
"Helps to ban or reenforce the usage of certain words": "有助於禁止或強化某些詞語的使用",
|
"Helps to ban or reenforce the usage of certain words": "有助於禁止或強化某些詞語的使用",
|
||||||
"Hide avatars in chat messages.": "在聊天訊息中隱藏頭像",
|
"Hide avatars in chat messages.": "在聊天訊息中隱藏頭像",
|
||||||
"Hide character definitions from the editor panel behind a spoiler button": "在編輯器面板中將角色定義隱藏在劇透按鈕後面",
|
"Hide character definitions from the editor panel behind a spoiler button": "在編輯器面板中將角色定義隱藏在劇透按鈕後面",
|
||||||
@ -544,7 +554,7 @@
|
|||||||
"Hint": "提示訊息",
|
"Hint": "提示訊息",
|
||||||
"Hint: Save an API key in Horde KoboldAI API settings to use it here.": "提示訊息:在 Horde KoboldAI API 設定中儲存一個 API 金鑰,以便在此使用。",
|
"Hint: Save an API key in Horde KoboldAI API settings to use it here.": "提示訊息:在 Horde KoboldAI API 設定中儲存一個 API 金鑰,以便在此使用。",
|
||||||
"Hint: Save an API key in the NovelAI API settings to use it here.": "提示訊息:在 NovelAI API 設定中儲存一個 API 金鑰,以便在此使用。",
|
"Hint: Save an API key in the NovelAI API settings to use it here.": "提示訊息:在 NovelAI API 設定中儲存一個 API 金鑰,以便在此使用。",
|
||||||
"Hires steps (2nd pass) ": "高解析步驟 (2nd pass) ",
|
"Hires steps (2nd pass)": "高解析步驟 (2nd pass) ",
|
||||||
"Hires. Fix": "高解析度修正",
|
"Hires. Fix": "高解析度修正",
|
||||||
"How do I use this?": "我該如何使用這個?",
|
"How do I use this?": "我該如何使用這個?",
|
||||||
"How many messages before the current end of the chat.": "在聊天目前結束前有多少訊息。",
|
"How many messages before the current end of the chat.": "在聊天目前結束前有多少訊息。",
|
||||||
@ -887,8 +897,8 @@
|
|||||||
"response legth(tokens)": "回應長度(符記數)",
|
"response legth(tokens)": "回應長度(符記數)",
|
||||||
"Restore collage avatar": "還原預設頭像",
|
"Restore collage avatar": "還原預設頭像",
|
||||||
"Restore current preset": "還原目前預設",
|
"Restore current preset": "還原目前預設",
|
||||||
"Restore default prompt": "恢復預設提示詞",
|
|
||||||
"Restore default prompt": "還原預設提示詞",
|
"Restore default prompt": "還原預設提示詞",
|
||||||
|
"Restore default": "還原預設",
|
||||||
"Restore Faces": "修復臉部",
|
"Restore Faces": "修復臉部",
|
||||||
"Restore new group chat prompt": "還原新群組聊天提示詞",
|
"Restore new group chat prompt": "還原新群組聊天提示詞",
|
||||||
"Restore Previous": "恢復上一個",
|
"Restore Previous": "恢復上一個",
|
||||||
@ -946,7 +956,7 @@
|
|||||||
"sd_multimodal_captioning_txt": "對肖像使用多模態模型描述",
|
"sd_multimodal_captioning_txt": "對肖像使用多模態模型描述",
|
||||||
"sd_prompt_prefix_placeholder": "使用 {prompt} 指定生成的提示詞將被插入的位置。",
|
"sd_prompt_prefix_placeholder": "使用 {prompt} 指定生成的提示詞將被插入的位置。",
|
||||||
"sd_refine_mode": "允許在傳送至生成 API 前,手動編輯提示詞字串",
|
"sd_refine_mode": "允許在傳送至生成 API 前,手動編輯提示詞字串",
|
||||||
"sd_refine_mode_txt": "生成前顯示提示詞",
|
"sd_refine_mode_txt": "生成前編輯提示詞",
|
||||||
"sd_snap": "對於具有特定長寬比的生成請求(如肖像、背景),將其調整至最接近的已知解析度,同時儘量保持絕對像素數(建議用於SDXL)。",
|
"sd_snap": "對於具有特定長寬比的生成請求(如肖像、背景),將其調整至最接近的已知解析度,同時儘量保持絕對像素數(建議用於SDXL)。",
|
||||||
"sd_snap_txt": "自動調整解析度",
|
"sd_snap_txt": "自動調整解析度",
|
||||||
"sd_vlad_url": "範例: {{vlad_url}}",
|
"sd_vlad_url": "範例: {{vlad_url}}",
|
||||||
@ -1165,7 +1175,7 @@
|
|||||||
"Update every": "每次更新",
|
"Update every": "每次更新",
|
||||||
"Update frequency": "更新頻率",
|
"Update frequency": "更新頻率",
|
||||||
"Update speed of streamed text.": "更新串流文字的速度",
|
"Update speed of streamed text.": "更新串流文字的速度",
|
||||||
"Upscale by ": "放大倍率 ",
|
"Upscale by": "放大倍率 ",
|
||||||
"Upscaler": "放大演算法",
|
"Upscaler": "放大演算法",
|
||||||
"Usage Stats": "使用統計",
|
"Usage Stats": "使用統計",
|
||||||
"Use AI21 Tokenizer": "使用 AI21 符記器",
|
"Use AI21 Tokenizer": "使用 AI21 符記器",
|
||||||
@ -1235,7 +1245,7 @@
|
|||||||
"When this is off, responses will be displayed all at once when they are complete.": "關閉時,回應將在完成後一次性顯示。",
|
"When this is off, responses will be displayed all at once when they are complete.": "關閉時,回應將在完成後一次性顯示。",
|
||||||
"WI Entry Status:🔵 Constant🟢 Normal🔗 Vectorized❌ Disabled": "WI條目狀態:🔵常數🟢正常🔗向量❌停用",
|
"WI Entry Status:🔵 Constant🟢 Normal🔗 Vectorized❌ Disabled": "WI條目狀態:🔵常數🟢正常🔗向量❌停用",
|
||||||
"Width of the main chat window in % of screen width": "主聊天視窗寬度占螢幕寬度的百分比",
|
"Width of the main chat window in % of screen width": "主聊天視窗寬度占螢幕寬度的百分比",
|
||||||
"Width": "寬度",
|
"Width": "寬度(W)",
|
||||||
"Will be automatically added as the Author's Note for all new chats.": "將自動新增為所有新聊天的作者備註",
|
"Will be automatically added as the Author's Note for all new chats.": "將自動新增為所有新聊天的作者備註",
|
||||||
"Will be automatically added as the author's note for this character. Will be used in groups, but can't be modified when a group chat is open.": "將自動新增為此角色的作者備註。將在群組中使用,但在群組聊天開啟時無法修改",
|
"Will be automatically added as the author's note for this character. Will be used in groups, but can't be modified when a group chat is open.": "將自動新增為此角色的作者備註。將在群組中使用,但在群組聊天開啟時無法修改",
|
||||||
"Will be automatically added as the CFG for this character.": "將自動新增為此角色的 CFG",
|
"Will be automatically added as the CFG for this character.": "將自動新增為此角色的 CFG",
|
||||||
|
@ -476,7 +476,8 @@ function addPromptTemplates() {
|
|||||||
for (const [name, prompt] of Object.entries(extension_settings.sd.prompts)) {
|
for (const [name, prompt] of Object.entries(extension_settings.sd.prompts)) {
|
||||||
const label = $('<label></label>')
|
const label = $('<label></label>')
|
||||||
.text(modeLabels[name])
|
.text(modeLabels[name])
|
||||||
.attr('for', `sd_prompt_${name}`);
|
.attr('for', `sd_prompt_${name}`)
|
||||||
|
.attr('data-i18n', `sd_prompt_${name}`);
|
||||||
const textarea = $('<textarea></textarea>')
|
const textarea = $('<textarea></textarea>')
|
||||||
.addClass('textarea_compact text_pole')
|
.addClass('textarea_compact text_pole')
|
||||||
.attr('id', `sd_prompt_${name}`)
|
.attr('id', `sd_prompt_${name}`)
|
||||||
@ -488,6 +489,7 @@ function addPromptTemplates() {
|
|||||||
const button = $('<button></button>')
|
const button = $('<button></button>')
|
||||||
.addClass('menu_button fa-solid fa-undo')
|
.addClass('menu_button fa-solid fa-undo')
|
||||||
.attr('title', 'Restore default')
|
.attr('title', 'Restore default')
|
||||||
|
.attr('data-i18n', 'Restore default')
|
||||||
.on('click', () => {
|
.on('click', () => {
|
||||||
textarea.val(promptTemplates[name]);
|
textarea.val(promptTemplates[name]);
|
||||||
extension_settings.sd.prompts[name] = promptTemplates[name];
|
extension_settings.sd.prompts[name] = promptTemplates[name];
|
||||||
|
@ -239,7 +239,7 @@
|
|||||||
<input id="sd_hr_scale" type="range" min="{{hr_scale_min}}" max="{{hr_scale_max}}" step="{{hr_scale_step}}" value="{{hr_scale}}" />
|
<input id="sd_hr_scale" type="range" min="{{hr_scale_min}}" max="{{hr_scale_max}}" step="{{hr_scale_step}}" value="{{hr_scale}}" />
|
||||||
<label for="sd_denoising_strength"><span data-i18n="Denoising strength">Denoising strength</span> (<span id="sd_denoising_strength_value"></span>)</label>
|
<label for="sd_denoising_strength"><span data-i18n="Denoising strength">Denoising strength</span> (<span id="sd_denoising_strength_value"></span>)</label>
|
||||||
<input id="sd_denoising_strength" type="range" min="{{denoising_strength_min}}" max="{{denoising_strength_max}}" step="{{denoising_strength_step}}" value="{{denoising_strength}}" />
|
<input id="sd_denoising_strength" type="range" min="{{denoising_strength_min}}" max="{{denoising_strength_max}}" step="{{denoising_strength_step}}" value="{{denoising_strength}}" />
|
||||||
<label for="sd_hr_second_pass_steps"><span data-i18n="Hires steps (2nd pass) ">Hires steps (2nd pass)</span> (<span id="sd_hr_second_pass_steps_value"></span>)</label>
|
<label for="sd_hr_second_pass_steps"><span data-i18n="Hires steps (2nd pass)">Hires steps (2nd pass)</span> (<span id="sd_hr_second_pass_steps_value"></span>)</label>
|
||||||
<input id="sd_hr_second_pass_steps" type="range" min="{{hr_second_pass_steps_min}}" max="{{hr_second_pass_steps_max}}" step="{{hr_second_pass_steps_step}}" value="{{hr_second_pass_steps}}" />
|
<input id="sd_hr_second_pass_steps" type="range" min="{{hr_second_pass_steps_min}}" max="{{hr_second_pass_steps_max}}" step="{{hr_second_pass_steps_step}}" value="{{hr_second_pass_steps}}" />
|
||||||
</div>
|
</div>
|
||||||
<div data-sd-source="novel">
|
<div data-sd-source="novel">
|
||||||
|
Reference in New Issue
Block a user