Add copy chat message feature in Chat panel and enable usage in 'use chat copy' setting.

- Added 'copied' string to language translation in multiple translations file.
- Added 'CopyIcon' to svelte import.
- Defined a new status message variable in Chat.svelte.
- Created a new function 'setStatusMessage' to display the current panel's state after certain action.
- Added a new setting 'useChatCopy' in 'DisplaySettings.svelte'.
- Created a checkbox with label 'useChatCopy' to toggle the Chat message copy.
- Integrated Clipboard API in Chat code to handle chat message copy via button click.
This commit is contained in:
LL
2023-06-06 12:36:37 +09:00
parent f771fe3890
commit 54c6a9ef9c
6 changed files with 37 additions and 7 deletions

View File

@@ -276,5 +276,7 @@ export const languageKorean = {
active: "활성화",
loreRandomActivation: "확률 조건 사용",
activationProbability: "발동 확률",
backgroundHTML: "백그라운드 임베딩"
backgroundHTML: "백그라운드 임베딩",
copied: "복사됨",
useChatCopy: "채팅 메시지 복사 사용",
}