Fixed #23196 -- Don't translate empty string as gettext metadata

Returns empty value of corresponding type in case of empty string.
All this if nesting is semantically equivalent to:

```python
t = getattr(_active, "value", None) or _default or translation(settings.LANGUAGE_CODE)
result = getattr(t, translation_function)(eol_message)
```