-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
clear labels for OSM hyperlinks in history panel (OSM history & OSM Profile) #8834
clear labels for OSM hyperlinks in history panel (OSM history & OSM Profile) #8834
Conversation
…istory panel to minimize confusion
this is for issue #8784 |
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.
Can you please also change the label of the changeset link to osm as well (currently line 79)?
I'm wondering if we should make these texts translatable. I think it would not hurt. I can change that for you if you're not feeling comfortable, but it would need additional entries in data/core.yaml
and the translated text needs to be appended here using .call(t.append(…))
instead of .text(…)
. See line 24 for an example.
//edit: there are also a few minor code style issues (a missing ;
and some superfluous space) to be fixed, see: https://github.com/openstreetmap/iD/pull/8834/files
…tion; removed trailing spaces in modules/operations/split.js & modules/ui/fields/input.js; fixed if statement with brackets on line 224 in modules/ui/fields/input.js
Hi, |
…)) and added a corresponding entry point in core/yaml
I was referring to the texts of the links in the history panel. I've just written a small tutorial about how to do that here: https://github.com/openstreetmap/iD/wiki/How-to-use-iD%27s-localizer-module |
…r each link in OSM history panel
Thanks for the clarification. Let me know how this looks. |
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 like it's almost done! Only two more things:
- drop the
.text('…')
lines (lines 44, 81 and 204). The text adding is done already with the.call(t.append(…));
- start all new strings in capital letters perhaps?
Hi! I saw that there were no accepted pull requests to this issue, so I decided to take a stab at it to make it a little clearer in the history panel. I hope this works!