Fix empty string being passed to gettext on effect message

Fixes #8523.
Thanks to BevapDin.