File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ namespace AutoResxTranslator
16
16
{
17
17
public class GTranslateService
18
18
{
19
- private const string RequestUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70 .0) Gecko/20100101 Firefox/70 .0" ;
19
+ private const string RequestUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91 .0) Gecko/20100101 Firefox/91 .0" ;
20
20
private const string RequestGoogleTranslatorUrl = "https://translate.googleapis.com/translate_a/single?client=gtx&sl={0}&tl={1}&hl=en&dt=t&dt=bd&dj=1&source=icon&tk=467103.467103&q={2}" ;
21
21
22
22
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ namespace AutoResxTranslator
16
16
/// </summary>
17
17
public class MsTranslateService
18
18
{
19
- private const string MsCognitiveServicesApiUrl = "https://api-apc .cognitive.microsofttranslator.com" ;
19
+ private const string MsCognitiveServicesApiUrl = "https://api.cognitive.microsofttranslator.com" ;
20
20
21
21
public static async Task < ResultHolder < string > > TranslateAsync ( string text ,
22
22
string fromLanguage ,
Original file line number Diff line number Diff line change 17
17
[ assembly: AssemblyConfiguration ( "" ) ]
18
18
[ assembly: AssemblyCompany ( "Salar Khalilzadeh" ) ]
19
19
[ assembly: AssemblyProduct ( "AutoResxTranslator" ) ]
20
- [ assembly: AssemblyCopyright ( "Copyright © Salar Khalilzadeh 2019 " ) ]
20
+ [ assembly: AssemblyCopyright ( "Copyright © Salar Khalilzadeh 2021 " ) ]
21
21
[ assembly: AssemblyTrademark ( "" ) ]
22
22
[ assembly: AssemblyCulture ( "" ) ]
23
23
29
29
// The following GUID is for the ID of the typelib if this project is exposed to COM
30
30
[ assembly: Guid ( "b7bafe70-b0e7-494a-aa38-49b8eee414f1" ) ]
31
31
32
- [ assembly: AssemblyVersion ( "2.1 .0.0" ) ]
33
- [ assembly: AssemblyFileVersion ( "2.1 .0.0" ) ]
32
+ [ assembly: AssemblyVersion ( "2.2 .0.0" ) ]
33
+ [ assembly: AssemblyFileVersion ( "2.2 .0.0" ) ]
You can’t perform that action at this time.
0 commit comments