i18n: Show ticket numbers bold when open

Compare the database `state` field rather than the admin editable status name.