i18n: Allow empty translations

Check for 'trans is None' (= no translation found) instead of
for 'not trans' (= no translation found, or empty translation)

Can be relevant for empty configuration variables.

Change-Id: Icf8ca6a76d1fdcbe7be3a4ac276a5e9d0688108b