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
1616{
1717 public class GTranslateService
1818 {
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" ;
2020 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}" ;
2121
2222
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ namespace AutoResxTranslator
1616 /// </summary>
1717 public class MsTranslateService
1818 {
19- private const string MsCognitiveServicesApiUrl = "https://api-apc .cognitive.microsofttranslator.com" ;
19+ private const string MsCognitiveServicesApiUrl = "https://api.cognitive.microsofttranslator.com" ;
2020
2121 public static async Task < ResultHolder < string > > TranslateAsync ( string text ,
2222 string fromLanguage ,
Original file line number Diff line number Diff line change 1717[ assembly: AssemblyConfiguration ( "" ) ]
1818[ assembly: AssemblyCompany ( "Salar Khalilzadeh" ) ]
1919[ assembly: AssemblyProduct ( "AutoResxTranslator" ) ]
20- [ assembly: AssemblyCopyright ( "Copyright © Salar Khalilzadeh 2019 " ) ]
20+ [ assembly: AssemblyCopyright ( "Copyright © Salar Khalilzadeh 2021 " ) ]
2121[ assembly: AssemblyTrademark ( "" ) ]
2222[ assembly: AssemblyCulture ( "" ) ]
2323
2929// The following GUID is for the ID of the typelib if this project is exposed to COM
3030[ assembly: Guid ( "b7bafe70-b0e7-494a-aa38-49b8eee414f1" ) ]
3131
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