Add combineTranslation feature that merging and translating separated HTML sentences

This commit is contained in:
sub-hub
2024-05-05 11:49:15 +09:00
parent a7509c4a35
commit 07eb230be3
5 changed files with 15 additions and 4 deletions

View File

@@ -121,6 +121,7 @@ export const languageEnglish = {
antiClaudeOverload: "If Claude overload happens, RisuAI would try to prevent it by continuing with same prompt, making it less likely to happen. works only for streamed responses. this could not work for non-official api endpoints.",
triggerScript: "Trigger Script is a custom script that runs when a condition is met. it can be used to modify the chat data, run a command, change variable, and etc. the type depends when it is triggered. it can also be run by buttons, which can be used with {{button::Display::TriggerName}}, or HTML buttons with `risu-trigger=\"<TriggerName>\"` attribute.",
autoContinueChat: "If enabled, it will try to continue the chat if it doesn't ends with a punctuation. DONT USE THIS WITH LANGUAGES THAT DOESN'T USE PUNCTUATION.",
combineTranslation: "If enabled, text that is one sentence but separated by HTML tags will be combined together and translated, then Lorebook will be reapplied to the translated output.\nThis helps the translator to make the correct translation.\nIf the UI becomes weird when you enable this option, please turn off the option and report it.",
},
setup: {
chooseProvider: "Choose AI Provider",
@@ -588,4 +589,5 @@ export const languageEnglish = {
syntax: "Syntax",
run: "Run",
noMessage: "Type something to start the chat.",
combineTranslation : "Combine Translation",
}