code-for-chapel-hill / NC-COVID-Support

Community support site, supporting COVID-19 business opening hours, Food Banks, School Meals, Farms and Social Services.
https://nccovidsupport.org
GNU General Public License v3.0
16 stars 39 forks source link

Zoom in and out icon's "title" should be translatable. #273

Open readingdancer opened 4 years ago

readingdancer commented 4 years ago

Describe the bug The zoom icons have their title's hard coded in English.

To Reproduce Steps to reproduce the behavior:

  1. Go to the site on a desktop or laptop and search for something so that you can see the map
  2. Change the language to anything other than English
  3. Hover your mouse over the zoom in and out icons and look at the title text that should pop up
  4. The pop up text will be in English

Expected behavior The pop up text should be in the language you selected in step 2.

This functionality is provided by the LeafletJS plugin, so I am not sure how we are going to pass in the translatable variable... this is something you will need to find out :)

aevix commented 4 years ago

I can try this problem!