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:
@@ -300,5 +300,7 @@ export const languageChinese = {
|
||||
activationProbability: "概率",
|
||||
shareCloud: "分享到RisuRealm",
|
||||
hub: "RisuRealm",
|
||||
tags: "标签"
|
||||
tags: "标签",
|
||||
copied: "已复制",
|
||||
useChatCopy: "使用聊天复制",
|
||||
}
|
||||
@@ -304,5 +304,7 @@ export const languageEnglish = {
|
||||
shareCloud: "Share to RisuRealm",
|
||||
hub: "RisuRealm",
|
||||
tags: "Tags",
|
||||
backgroundHTML: "Background Embedding"
|
||||
backgroundHTML: "Background Embedding",
|
||||
copied: "Copied",
|
||||
useChatCopy: "Use Chat Message Copy",
|
||||
}
|
||||
@@ -276,5 +276,7 @@ export const languageKorean = {
|
||||
active: "활성화",
|
||||
loreRandomActivation: "확률 조건 사용",
|
||||
activationProbability: "발동 확률",
|
||||
backgroundHTML: "백그라운드 임베딩"
|
||||
backgroundHTML: "백그라운드 임베딩",
|
||||
copied: "복사됨",
|
||||
useChatCopy: "채팅 메시지 복사 사용",
|
||||
}
|
||||
Reference in New Issue
Block a user