Skip to content

Commit

Permalink
Update TranslationService.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Oceania2018 committed May 14, 2024
1 parent c5dd863 commit c29e76c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public async Task<T> Translate<T>(Agent router, string messageId, T data, string

for (var i = 0; i < texts.Count; i++)
{
map.Add(keys[0], translatedTexts[i]);
map[keys[i]] = translatedTexts[i];
}

clonedData = Assign(clonedData, map);
Expand Down

0 comments on commit c29e76c

Please sign in to comment.