From 03c8e07cb1c2ed13d760569702f0a3033027394d Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Thu, 10 Aug 2017 15:13:11 -0400 Subject: [PATCH] Remove the link to the osm wiki changeset page (doesn't really add anything and not written for newbies) --- data/core.yaml | 1 - dist/locales/en.json | 1 - modules/ui/commit.js | 9 ++------- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/data/core.yaml b/data/core.yaml index c49a0afd4..daad1e943 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -259,7 +259,6 @@ 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_link: "http://wiki.openstreetmap.org/wiki/Changeset" save: Upload cancel: Cancel changes: "{count} Changes" diff --git a/dist/locales/en.json b/dist/locales/en.json index 2428c59bc..f9fa2bdfe 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -333,7 +333,6 @@ "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_link": "http://wiki.openstreetmap.org/wiki/Changeset", "save": "Upload", "cancel": "Cancel", "changes": "{count} Changes", diff --git a/modules/ui/commit.js b/modules/ui/commit.js index 20c20b862..72e23306e 100644 --- a/modules/ui/commit.js +++ b/modules/ui/commit.js @@ -174,17 +174,12 @@ export function uiCommit(context) { var prose = saveSection .append('p') .attr('class', 'commit-info') - .html(t('commit.upload_explanation')); + .text(t('commit.upload_explanation')); var requestReview = saveSection .append('p') .attr('class', 'request-review') - .html( t('commit.request_review')) - .append('a') - .attr('target', '_blank') - .attr('tabindex', -1) - .call(svgIcon('#icon-out-link', 'inline')) - .attr('href', t('commit.request_review_link')); + .text(t('commit.request_review')); requestReview .append('input')