-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTranslatorBing.cs
More file actions
28 lines (25 loc) · 869 Bytes
/
TranslatorBing.cs
File metadata and controls
28 lines (25 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace VPet.Plugin.AutoMTL
{
// Not implemented yet, needs quite a bit more work than the google one
// CBA to do it right now
/*class TranslatorBing : TranslatorBase
{
public static new string providerName = "Bing Translate";
public static new string providerId = "bing";
public static new Dictionary<string, string> providedLanguages => JsonConvert.DeserializeObject<Dictionary<string, string>>(Constants.bingLangJSON);
public TranslatorBing(string srcLang, string dstLang, string cacheBase) : base(srcLang, dstLang, cacheBase)
{
}
// https://github.com/dmytrovoytko/SublimeText-Translate/blob/master/Translator.py
public override string TranslateString(string input)
{
return null;
}
}*/
}