Skip to content

Commit 4f5df7f

Browse files
authored
Merge pull request #424 from hchen2020/master
update language.
2 parents 15c5dd1 + e93fa66 commit 4f5df7f

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/Infrastructure/BotSharp.Core/Routing/Handlers/ResponseToUserRoutingHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class ResponseToUserRoutingHandler : RoutingHandlerBase, IRoutingHandler
2323
new ParameterPropertyDef("user_message_in_english",
2424
"Translate user message from non-English to English"),
2525
new ParameterPropertyDef("language",
26-
"Language name detected based on user last message, the name may be English, Spanish or Chinese.",
26+
"Language detected based on the latest message that USER sent, could be English, Spanish or Chinese.",
2727
required: true),
2828
};
2929

src/Infrastructure/BotSharp.Core/Routing/Handlers/RouteToAgentRoutingHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class RouteToAgentRoutingHandler : RoutingHandlerBase, IRoutingHandler
3232
new ParameterPropertyDef("user_message_in_english",
3333
"Translate user message from non-English to English"),
3434
new ParameterPropertyDef("language",
35-
"Language name detected based on user last message, the name may be English, Spanish or Chinese.",
35+
"Language detected based on the latest message that USER sent, could be English, Spanish or Chinese.",
3636
required: true),
3737
};
3838

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{{ text_list }}
22

33
=====
4-
Translate the sentences in the list into {{ language }}, output the translated text list.
5-
4+
Translate the sentences in the list into {{ language }}, only output the translated text in string list [""].

0 commit comments

Comments
 (0)