-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(base-map): Add support for i18n on map controls #718
feat(base-map): Add support for i18n on map controls #718
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need all of these strings?
Good point about the strings, I've removed the ones I'm pretty sure we don't use! |
ResetBearing: Reset bearing to north | ||
ZoomIn: Zoom in | ||
ZoomOut: Zoom out | ||
ScaleControl: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does the scale control get used? I don't see a scale on most maps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in the "with optional controls" story, but we can always remove that scale from the map if it's not representative of how we use it?
Co-authored-by: Binh Dam <56846598+binh-dam-ibigroup@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions to make i18n checks pass.
Thanks for the help and the French translations, @binh-dam-ibigroup! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nitpicks
@amy-corson-ibigroup Let me add partial translations as requested before merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
@binh-dam-ibigroup @miles-grant-ibigroup translations have been provided. I'll merge today provided everything looks okay! |
Passes translated strings to MapLibre to override their default map controls.