Fix usage of gettext with context