i18n improvements

- Use predefined strings for posts and pages (post types), and a
variable strings for other post types
- Add translations functions around additional strings
- Replace entities with html codes in translation strings
- use esc_attr_e when outputting a translation inside an html attribute