statikbe / craft-deepl

Apache License 2.0
3 stars 0 forks source link

Empty string error #11

Closed HannahDeWachter closed 4 months ago

HannahDeWachter commented 7 months ago

Matrix block with following fields:

When leaving the Text field empty and trying to translate it gives following error:

DeepL-error

Craft version: 4.8.9 DeepL version: 1.2.0

janhenckens commented 7 months ago

We should probably check in https://github.com/statikbe/craft-deepl/blob/develop/src/services/ApiService.php#L24 if we actually have text to translate

janhenckens commented 4 months ago

Fixed in 1.4.0