diff --git a/src/lang/en.ts b/src/lang/en.ts index ce9d06df..8904e03a 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -176,6 +176,7 @@ export const languageEnglish = { comfyWorkflow: "Put the API workflow of comfy UI. you can get your API workflow in comfy UI by pressing the 'Workflow > Export (API)' button. you must also put {{risu_prompt}} in you workflow text. the {{risu_prompt}} will be replaced with the prompt provided by the Risu.", automaticCachePoint: "Automatically creates cache point after the chat ends, if the caching point doesn't exist.", experimentalChatCompressionDesc: "Compresses the unused chat data and saves in seperate file. this greatly reduces the size of the chat data, and greatly improves the performance, however its experimental and can be unstable, causing issues in backup feature and more.", + promptInfoInsideChatDesc: "When enabled, this stores prompt preset information in the chat metadata. The stored data includes the preset name, active toggles, and the prompt text. This may slightly increase processing time and storage usage.", }, setup: { chooseProvider: "Choose AI Provider", @@ -1122,4 +1123,9 @@ export const languageEnglish = { hypaMemoryV2Modal: "Hypa V2 Modal", hypaMemoryV3Modal: "Hypa V3 Modal", showMenuHypaMemoryModal: "Show Menu Hypa Modal", + promptInfoInsideChat: "Add Prompt Info to Chat", + promptTextInfoInsideChat: "Add Prompt Info to Chat", + promptInfoEmptyMessage: "No prompt information is available for this message.", + promptInfoEmptyToggle: "No custom toggles are currently active.", + promptInfoEmptyText: "No prompt text has been saved.", } diff --git a/src/lang/ko.ts b/src/lang/ko.ts index 7382e505..5702a696 100644 --- a/src/lang/ko.ts +++ b/src/lang/ko.ts @@ -125,6 +125,7 @@ export const languageKorean = { "groupOtherBotRole": "This defines a role that is used in group chat for characters that isn't speaker.", "chatHTML": "A HTML that would be inserted as each chat.\n\nYou can use CBS and special tags.\n- ``: a textbox that would be used to render text\n- ``: an icon for user or assistant\n- ``: icon buttons for chat edit, translations and etc.\n- ``: generation information button.", "autoTranslateCachedOnly": "자동 번역 옵션이 켜진 상태에서 활성화하면, 사용자가 이전에 번역한 메시지만 자동으로 번역됩니다.", + "promptInfoInsideChatDesc": "활성화되면 채팅 메타데이터에 프롬프트 프리셋 정보를 저장합니다. 저장되는 정보는 프롬프트 프리셋 이름과 활성화된 토글, 그리고 프롬프트 텍스트입니다. 약간의 처리 시간과 용량을 차지할 수 있습니다.", }, "setup": { "chooseProvider": "AI 제공자를 선택해 주세요", @@ -989,4 +990,9 @@ export const languageKorean = { "hypaMemoryV2Modal": "하이파 V2 모달", "hypaMemoryV3Modal": "하이파 V3 모달", "showMenuHypaMemoryModal": "메뉴에서 하이파 모달 보이기", + "promptInfoInsideChat": "채팅에 프롬프트 정보 추가하기", + "promptTextInfoInsideChat": "채팅에 프롬프트 텍스트 정보 추가하기", + "promptInfoEmptyMessage": "이 메시지에 대한 프롬프트 정보가 없습니다.", + "promptInfoEmptyToggle": "활성화된 커스텀 토글이 없습니다.", + "promptInfoEmptyText": "저장된 프롬프트 텍스트가 없습니다.", } diff --git a/src/lib/Others/AlertComp.svelte b/src/lib/Others/AlertComp.svelte index 7801aee6..2262faee 100644 --- a/src/lib/Others/AlertComp.svelte +++ b/src/lib/Others/AlertComp.svelte @@ -225,6 +225,9 @@ +