SubtitleEdit/libse/Translate/ITranslator.cs

14 lines
371 B
C#

using System.Collections.Generic;
using System.Text;
namespace Nikse.SubtitleEdit.Core.Translate
{
public interface ITranslator
{
List<TranslationPair> GetTranslationPairs();
string GetName();
string GetUrl();
List<string> Translate(string sourceLanguage, string targetLanguage, List<string> texts, StringBuilder log);
}
}