File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ public class CustomAPI
1818
1919 private struct ToTrans
2020 {
21- public string name ;
22- public string text ;
23- public string target ;
24- public string source ;
21+ public string name { get ; set ; }
22+ public string text { get ; set ; }
23+ public string target { get ; set ; }
24+ public string source { get ; set ; }
2525 }
2626
2727 private readonly CustomApiPresetService _customApiPresetService ;
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ public class DeepLAPITranslateAPI
1818
1919 private struct ToTrans
2020 {
21- public string [ ] text ;
22- public string target_lang ;
23- public string source_lang ;
21+ public string [ ] text { get ; set ; }
22+ public string target_lang { get ; set ; }
23+ public string source_lang { get ; set ; }
2424 }
2525
2626 public void InitApiKey ( string apiKey )
You can’t perform that action at this time.
0 commit comments