ita-social-projects / GreenCity

The main aim of “GreenCity” project is to teach people in a playful and challenging way to have an eco-friendly lifestyle. A user can view on the map places that have some eco-initiatives or suggest discounts for being environmentally aware (for instance, coffee shops that give a discount if a customer comes with their own cup). А user can start doing an environment-friendly habit and track their progress with a habit tracker.
MIT License
65 stars 80 forks source link

[UBS] Ukrainian and English languages in street names are switched when user adding Garbage collection address on the English version of the site #7028

Closed OlenaKhita closed 2 weeks ago

OlenaKhita commented 7 months ago

Environment: Windows 10 Pro Google Chrome 109.0.5414.168. Reproducible: always Build found:18/03/2024

Preconditions

  1. User_1 is logged in
  2. "UBS Courier" page is opened
  3. User_1's order details are filled with valid data
  4. The English language page version is choosen

Steps to reproduce

  1. Go to the "Personal data" block on the "UBS Courier" page
  2. Scroll to the "Garbage collection address" block
  3. Click on "Add another address"/"Add address" bttn
  4. Fill the field in "New address" window with valid data (e.g. city Kyiv
    Pecherskyi district
    Vasylia Tiutiunnyka Street, house 7, Kyiv Oblast)
  5. Click on "Add address" bttn

Actual result The name of the street is displayed in Ukrainian. When changing the language to Ukrainian, the street name is translated to English Screenshot_50

Expected result The name of the street is displayed in English on the English version of the site

User story and test case links E.g.: "User story #2199

dimoybiyca commented 7 months ago

Fixed #2947

Daria811 commented 5 months ago

The name of the street is displayed in Ukrainian on the English localization. image The name of the street is displayed in English on the Ukrainian localization. image