Skip to content

Commit

Permalink
Merge branch 'translate-starter' of https://github.com/hedyorg/hedy i…
Browse files Browse the repository at this point in the history
…nto translate-starter
  • Loading branch information
Felienne committed Jan 25, 2024
2 parents e6bd89d + 051e55e commit 82e83c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hedy_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def translate_keywords(input_string, from_lang="en", to_lang="nl", level=1, tran
else:
if translate_strings:
# this is a text string that needs to be translated
lines = result.splitlines() # do we need to do this for each rule??
lines = result.splitlines() # do we need to do this for each rule??
line = lines[rule.line - 1]
original = rule.value
target = translate(original)
Expand Down

0 comments on commit 82e83c4

Please sign in to comment.