translation/Parser: fix inverted checks after the IsValidString() transition
translation/Parser: fix inverted checks after the IsValidString() transition

CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy