Skip to content
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

fixed tooltip #4524

Closed
wants to merge 6 commits into from
Closed

fixed tooltip #4524

wants to merge 6 commits into from

Conversation

SharanRP
Copy link

closes #4446

@SharanRP
Copy link
Author

also closes #4446

@@ -1367,6 +1367,7 @@ en-GB:
image size hint: (square images at least 100x100 work best)
home location: Home Location
no home location: You have not entered your home location.
home location warning : This location will be revealed to other users.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You only need to edit config/locales/en.yml.

@AntonKhorev
Copy link
Contributor

You wanted to say that it also closes #4507. But why didn't you make two pull requests instead? Those are different issues that don't depend on each other.

@@ -3095,7 +3095,7 @@ en:
site:
edit_tooltip: Edit the map
edit_disabled_tooltip: Zoom in to edit the map
createnote_tooltip: Add a note to the map
createnote_tooltip: Move the marker and write a note to fix map errors.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are writing about the marker in a tooltip that is shown before the marker is visible.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what should be written then?

@tomhughes
Copy link
Member

As @AntonKhorev says these should be two separate PRs so please remove the second commit and submit it separately.

Copy link
Author

@SharanRP SharanRP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made the required changes

@@ -2098,7 +2098,7 @@ en-GB:
site:
edit_tooltip: Edit the map
edit_disabled_tooltip: Zoom in to edit the map
createnote_tooltip: Add a note to the map
createnote_tooltip: Add a note to the map.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't make changes to en-GB.yml or any other locale file other than en.yml as translations need to be done on Translatewiki not here.

@@ -3095,7 +3096,7 @@ en:
site:
edit_tooltip: Edit the map
edit_disabled_tooltip: Zoom in to edit the map
createnote_tooltip: Add a note to the map
createnote_tooltip: Add a note to the map.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was correct as it was - none of the other tooltips have a full stop.

@@ -43,6 +43,9 @@
<fieldset>
<legend><%= t ".home location" -%></legend>
<p id="home_message" class="text-muted m-0<% if current_user.home_location? %> invisible<% end %>"><%= t ".no home location" %></p>
<p class="text-muted m-0<% if current_user.home_location? %> invisible<% end %>">
<b><%= t(".home_location_warning") %></b>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will no longer work as you've removed the home_location_warning string from the locale file - you were asked to move this to a separate PR which would have required moving both this and the string but instead you just removed the string from this PR and left this.

@SharanRP
Copy link
Author

ok I will open a new PR

@SharanRP SharanRP closed this Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename the "Add a note to the map button" to "Report an error on map"
3 participants