From 0d2e5adc3c59e1a7efee7b9c38f9b58c7aa8ff03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Thu, 30 Nov 2023 13:31:58 +0100 Subject: [PATCH] fix indentation --- R/translate.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/R/translate.R b/R/translate.R index 7180909..95251c1 100644 --- a/R/translate.R +++ b/R/translate.R @@ -275,10 +275,10 @@ fakify_xml <- function(nodes_list) { #' ) #' } deepl_translate_markdown_string <- function(markdown_string, - glossary_name = NULL, - source_lang, - target_lang, - formality = c("default", "more", "less", "prefer_more", "prefer_less")) { + glossary_name = NULL, + source_lang, + target_lang, + formality = c("default", "more", "less", "prefer_more", "prefer_less")) { file <- withr::local_tempfile() brio::write_lines(markdown_string, file) deepl_translate(