Skip to content

Commit

Permalink
Revert "Output guessed target language when debug"
Browse files Browse the repository at this point in the history
This reverts commit 2aecf2e.
  • Loading branch information
kojix2 committed Apr 3, 2024
1 parent 21c32e5 commit 6ab38eb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/deepl/translator.cr
Original file line number Diff line number Diff line change
Expand Up @@ -348,13 +348,6 @@ module DeepL
end

def guess_target_language : String
_guess_target_language
if DeepL.debug?
STDERR.puts("[deepl.cr] Guessed target language: #{_guess_target_language}")
end
end

private def _guess_target_language : String
tl = ENV["DEEPL_TARGET_LANG"]?
return tl if tl
# The language of the current locale
Expand Down

0 comments on commit 6ab38eb

Please sign in to comment.