From 488a0f2015bca3f540c06cfb2f31f5b82ba12868 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Wed, 10 Apr 2024 11:26:20 +0900 Subject: [PATCH] Update triggerScript description in en.ts to fix button attribute example --- src/lang/en.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lang/en.ts b/src/lang/en.ts index b1d0f15f..4c66623d 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -119,7 +119,7 @@ export const languageEnglish = { removePunctuationHypa: "If enabled, it will remove punctuation before executing HypaMemory.", additionalParams: "Additional parameters that would be added to the request body. if you want to exclude some parameters, you can put `{{none}}` to the value. if you want to add a header instead of body, you can put `header::` in front of the key like `header::Authorization`. if you want value as json, you can put `json::` in front of the value like `json::{\"key\":\"value\"}`. otherwise, type of the value would be determined automatically.", 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` attribute.", + 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=\"\"` attribute.", }, setup: { chooseProvider: "Choose AI Provider",