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

Returns empty value of corresponding type in case of empty string.
Exactly!
Thanks for comment, I've updated the code.