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: "使用聊天复制",
|
||||
}
|
||||
Reference in New Issue
Block a user