🐛 Fixes of translation api
This commit is contained in:
@@ -2,5 +2,5 @@ namespace DysonNetwork.Sphere.Translation;
|
||||
|
||||
public interface ITranslationProvider
|
||||
{
|
||||
public Task<string> Translate(string text, string targetLanguage);
|
||||
public Task<string> Translate(string text, string targetLanguage, string? sourceLanguage = null);
|
||||
}
|
Reference in New Issue
Block a user