Fix i18n for boolean filter (also fixes #2170)

Similar to commit 47fe4c5 but fixes regression that caused untranslated
labels for boolean filters.
Merge pull request #2221 from dmfrancisco/pr-fix-boolean-filter-i18n

Fix i18n for boolean filter (updates the fix for #2170)