RubénEu
commited on
Commit
·
98f02df
1
Parent(s):
6cfdf62
fixed translate_words in Linguee and Pons providers.
Browse files- deep_translator/linguee.py +1 -1
- deep_translator/pons.py +1 -1
deep_translator/linguee.py
CHANGED
|
@@ -125,6 +125,6 @@ class LingueeTranslator(BaseTranslator):
|
|
| 125 |
|
| 126 |
translated_words = []
|
| 127 |
for word in words:
|
| 128 |
-
translated_words.append(self.translate(
|
| 129 |
return translated_words
|
| 130 |
|
|
|
|
| 125 |
|
| 126 |
translated_words = []
|
| 127 |
for word in words:
|
| 128 |
+
translated_words.append(self.translate(word=word))
|
| 129 |
return translated_words
|
| 130 |
|
deep_translator/pons.py
CHANGED
|
@@ -131,6 +131,6 @@ class PonsTranslator(BaseTranslator):
|
|
| 131 |
|
| 132 |
translated_words = []
|
| 133 |
for word in words:
|
| 134 |
-
translated_words.append(self.translate(
|
| 135 |
return translated_words
|
| 136 |
|
|
|
|
| 131 |
|
| 132 |
translated_words = []
|
| 133 |
for word in words:
|
| 134 |
+
translated_words.append(self.translate(word=word))
|
| 135 |
return translated_words
|
| 136 |
|