noi-techpark / webcomp-activity-poi

GNU Affero General Public License v3.0
0 stars 3 forks source link

Error message displays in the wrong language #34

Open johannest03 opened 3 years ago

johannest03 commented 3 years ago

Describe the issue After searching for something with less than 3 and more than 0 characters, an error message gets displayed saying "Almeno 3 caratteri" despite other language setting.

To Reproduce Steps to reproduce the behavior:

  1. Go to the search bar and enter 1 or 2 chars and search.
  2. See the not translated error message.

Expected behavior Error message displays in the selected language.

Screenshots ItalErrorMessage

Additional context File with hardcoded language: https://github.com/noi-techpark/webcomp-activity-poi/blob/master/src/SearchComponent.js#L134

Additional On the right side of the error message is a grey scrollbar which gets partly covered by the error message's white container. Yellow warning box covers the scrollbar too and should not be displayed when no category is selected.