Skip to content

Commit c29e76c

Browse files
authored
Update TranslationService.cs
1 parent c5dd863 commit c29e76c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Infrastructure/BotSharp.Core/Translation/TranslationService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public async Task<T> Translate<T>(Agent router, string messageId, T data, string
7676

7777
for (var i = 0; i < texts.Count; i++)
7878
{
79-
map.Add(keys[0], translatedTexts[i]);
79+
map[keys[i]] = translatedTexts[i];
8080
}
8181

8282
clonedData = Assign(clonedData, map);

0 commit comments

Comments
 (0)