bullhorn/career-portal

NO_MATCHING_JOBS not translating

Opened this issue · 0 comments

On job-list.component.html, NO_MATCHING_JOBS is not translating.

Current behavior

  • On compile, the output shows NO_MATCHING_JOBS

Expected behavior

  • On compile, the output should show the translated version. e.g., for English, it should show No matching jobs from the en.json file.

Steps to replicate behavior

  1. Compile and load the site with no jobs.

Screenshots

Current
Screenshot 2024-01-02 at 10 22 17 AM
Screenshot 2024-01-02 at 10 22 43 AM

Expected
Screenshot 2024-01-02 at 10 22 27 AM
Screenshot 2024-01-02 at 10 22 51 AM

Resolution

  1. In src/app/job-list/job-list.component.html, line 34, there is an extra space: 'NO_MATCHING_JOBS '.
  2. Remove the extra space: 'NO_MATCHING_JOBS'
Screenshot 2024-01-02 at 10 25 49 AM