mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Add tooltip to the review request checkbox (close #7227)
This commit is contained in:
@@ -580,6 +580,7 @@ en:
|
||||
upload_explanation: "The changes you upload will be visible on all maps that use OpenStreetMap data."
|
||||
upload_explanation_with_user: "The changes you upload as {user} will be visible on all maps that use OpenStreetMap data."
|
||||
request_review: "I would like someone to review my edits."
|
||||
request_review_info: "Unsure about something? Invite an experienced mapper to check your work once it's live."
|
||||
save: Upload
|
||||
cancel: Cancel
|
||||
changes: Changes
|
||||
|
||||
1
dist/locales/en.json
vendored
1
dist/locales/en.json
vendored
@@ -769,6 +769,7 @@
|
||||
"upload_explanation": "The changes you upload will be visible on all maps that use OpenStreetMap data.",
|
||||
"upload_explanation_with_user": "The changes you upload as {user} will be visible on all maps that use OpenStreetMap data.",
|
||||
"request_review": "I would like someone to review my edits.",
|
||||
"request_review_info": "Unsure about something? Invite an experienced mapper to check your work once it's live.",
|
||||
"save": "Upload",
|
||||
"cancel": "Cancel",
|
||||
"changes": "Changes",
|
||||
|
||||
@@ -323,6 +323,11 @@ export function uiCommit(context) {
|
||||
.append('label')
|
||||
.attr('for', requestReviewDomId);
|
||||
|
||||
if (!labelEnter.empty()) {
|
||||
labelEnter
|
||||
.call(uiTooltip().title(t.html('commit.request_review_info')).placement('top'));
|
||||
}
|
||||
|
||||
labelEnter
|
||||
.append('input')
|
||||
.attr('type', 'checkbox')
|
||||
|
||||
Reference in New Issue
Block a user