fixed new line push
parent
fc419b5c40
commit
c068350316
|
@ -17,10 +17,10 @@ impl DeeplResponse {
|
|||
for translation in self.translations.iter() {
|
||||
trans.push_str(&format!(
|
||||
"--- Detected Source Language {} -------------------------\n",
|
||||
translation.detected_source_language)
|
||||
);
|
||||
translation.detected_source_language
|
||||
));
|
||||
trans.push_str(&format!("{}: {}", target_language, translation.text));
|
||||
trans.push_str("\n");
|
||||
trans.push('\n');
|
||||
trans.push_str("---------------------------------------------------------\n");
|
||||
}
|
||||
trans
|
||||
|
|
Loading…
Reference in New Issue