forked from MapComplete/MapComplete
Fix: add check for missing 'noopener' attributes; add missing noopener attributes
This commit is contained in:
parent
39572f4767
commit
6e8617c93f
11 changed files with 470 additions and 468 deletions
|
@ -610,23 +610,30 @@
|
|||
"he": "האם יש אתר אינטרנט עם מידע נוסף על היצירה הזו?"
|
||||
},
|
||||
"render": {
|
||||
"en": "More information on <a href='{website}' target='_blank'>this website</a>",
|
||||
"nl": "Meer informatie op <a href='{website}' target='_blank'>deze website</a>",
|
||||
"fr": "Plus d'info <a href='{website}' target='_blank'>sûr ce site web</a>",
|
||||
"de": "Weitere Informationen auf <a href='{website}' target='_blank'>dieser Webseite</a>",
|
||||
"id": "Info lanjut tersedia di <a href='{website}' target='_blank'>laman web</a> ini",
|
||||
"it": "Ulteriori informazioni su <a href='{website}' target='_blank'>questo sito web</a>",
|
||||
"ru": "Больше информации на <a href='{website}' target='_blank'>этом сайте</a>",
|
||||
"ja": "<a href='{website}' target='_blank'>Webサイト</a>に詳細情報がある",
|
||||
"zh_Hant": "<a href='{website}' target='_blank'>這個網站</a>有更多資訊",
|
||||
"nb_NO": "Mer info er å finne på <a href='{website}' target='_blank'>denne nettsiden</a>",
|
||||
"pt": "Mais informações <a href='{website}' target='_blank'>neste site</a>",
|
||||
"hu": "További információ <a href='{website}' target='_blank'>ezen a weboldalon</a>",
|
||||
"pl": "Więcej informacji na <a href='{website}' target='_blank'>tej stronie</a>",
|
||||
"es": "Más información en <a href='{website}' target='_blank'>este sitio web</a>",
|
||||
"da": "Yderligere oplysninger på <a href='{website}' target='_blank'> dette websted</a>",
|
||||
"cs": "Více informací na <a href='{website}' target='_blank'>této webové stránce</a>",
|
||||
"ca": "Més informació a <a href='{website}' target='_blank'>aquesta pàgina web</a>"
|
||||
"special": {
|
||||
"type": "link",
|
||||
"href": "{website}",
|
||||
"text": {
|
||||
"en": "More information on this website",
|
||||
"nl": "Meer informatie op deze website",
|
||||
"fr": "Plus d'info sûr ce site web",
|
||||
"de": "Weitere Informationen auf dieser Webseite",
|
||||
"id": "Info lanjut tersedia di laman web ini",
|
||||
"it": "Ulteriori informazioni su questo sito web",
|
||||
"ru": "Больше информации на этом сайте",
|
||||
"ja": "Webサイトに詳細情報がある",
|
||||
"zh_Hant": "這個網站有更多資訊",
|
||||
"nb_NO": "Mer info er å finne på denne nettsiden",
|
||||
"pt": "Mais informações neste site",
|
||||
"hu": "További információ ezen a weboldalon",
|
||||
"pl": "Więcej informacji na tej stronie",
|
||||
"es": "Más información en este sitio web",
|
||||
"da": "Yderligere oplysninger på dette websted",
|
||||
"cs": "Více informací na této webové stránce",
|
||||
"ca": "Més informació a aquesta pàgina web"
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
"freeform": {
|
||||
"key": "website",
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"club="
|
||||
]
|
||||
},
|
||||
"render": "<a href='{url}' target='_blank'>{url}</a>",
|
||||
"render": "<a href='{url}' target='_blank' rel='noopener'>{url}</a>",
|
||||
"freeform": {
|
||||
"key": "url",
|
||||
"type": "url"
|
||||
|
|
|
@ -360,14 +360,7 @@
|
|||
"ca": "A quina adreça de correu electrònic es pot enviar amb preguntes i problemes amb aquest parc natural?"
|
||||
},
|
||||
"render": {
|
||||
"nl": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"en": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"ca": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"de": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"fr": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"it": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"ru": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"id": "<a href='mailto:{email}' target='_blank'>{email}</a>"
|
||||
"*": "<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "email",
|
||||
|
@ -393,7 +386,7 @@
|
|||
"ca": "A quin número de telèfon es pot trucar amb preguntes i problemes amb aquest parc natural?"
|
||||
},
|
||||
"render": {
|
||||
"*": "<a href='tel:{phone}' target='_blank'>{phone}</a>"
|
||||
"*": "<a href='tel:{phone}' target='_blank' rel='noopener'>{phone}</a>"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "phone",
|
||||
|
|
|
@ -208,7 +208,7 @@
|
|||
{
|
||||
"id": "osmlink",
|
||||
"render": {
|
||||
"*": "<a href='https://openstreetmap.org/{id}' target='_blank'><img src='./assets/svg/osm-logo-us.svg'/></a>"
|
||||
"*": "<a href='https://openstreetmap.org/{id}' target='_blank' rel='noopener'F><img src='./assets/svg/osm-logo-us.svg'/></a>"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
|
@ -220,7 +220,7 @@
|
|||
{
|
||||
"id": "email",
|
||||
"render": {
|
||||
"*": "<a href='mailto:{email}' target='_blank'>{email}</a>"
|
||||
"*": "<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>"
|
||||
},
|
||||
"icon": "./assets/svg/envelope.svg",
|
||||
"labels": [
|
||||
|
@ -255,7 +255,7 @@
|
|||
{
|
||||
"if": "contact:email~*",
|
||||
"icon": "./assets/svg/envelope.svg",
|
||||
"then": "<a href='mailto:{contact:email}' target='_blank'>{contact:email}</a>",
|
||||
"then": "<a href='mailto:{contact:email}' target='_blank' rel='noopener'>{contact:email}</a>",
|
||||
"hideInAnswer": true
|
||||
}
|
||||
],
|
||||
|
|
|
@ -491,7 +491,7 @@
|
|||
"key": "email",
|
||||
"type": "email"
|
||||
},
|
||||
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
|
||||
"render": "<a href='mailto:{email}' target='_blank' rel='noopener'>{email}</a>",
|
||||
"id": "sport_pitch-email"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -406,7 +406,7 @@
|
|||
"special": {
|
||||
"type": "multi",
|
||||
"key": "_translation_links",
|
||||
"tagrendering": "<a href='{link}' target='_blank'>Translate entries of {id}</a>"
|
||||
"tagrendering": "<a href='{link}' target='_blank' rel='noopener'>Translate entries of {id}</a>"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -416,20 +416,20 @@
|
|||
{
|
||||
"if": "_mastodon_link~*",
|
||||
"then": {
|
||||
"en": "A link to your Mastodon-profile has been been found: <a href='{_mastodon_link}' target='_blank'>{_mastodon_link}</a>",
|
||||
"de": "Es wurde ein Link zu deinem Mastodon-Profil gefunden: <a href='{_mastodon_link}' target='_blank'>{_mastodon_link}</a>",
|
||||
"nl": "Een link naar je Mastodon-profiel werd gevonden: <a href='{_mastodon_link}' target='_blank'>{_mastodon_link}</a>",
|
||||
"fr": "Un lien vers votre profil Mastodon a été trouvé : <a href='{_mastodon_link}' target='_blank'>{_mastodon_link}</a>",
|
||||
"ca": "S'ha trobat un enllaç al vostre perfil de Mastodon: <a href='{_mastodon_link}' target='_blank'>{_mastodon_link}</a>"
|
||||
"en": "A link to your Mastodon-profile has been been found: <a href='{_mastodon_link}' target='_blank' rel='noopener'>{_mastodon_link}</a>",
|
||||
"de": "Es wurde ein Link zu deinem Mastodon-Profil gefunden: <a href='{_mastodon_link}' target='_blank' rel='noopener'>{_mastodon_link}</a>",
|
||||
"nl": "Een link naar je Mastodon-profiel werd gevonden: <a href='{_mastodon_link}' target='_blank' rel='noopener'>{_mastodon_link}</a>",
|
||||
"fr": "Un lien vers votre profil Mastodon a été trouvé : <a href='{_mastodon_link}' target='_blank' rel='noopener'>{_mastodon_link}</a>",
|
||||
"ca": "S'ha trobat un enllaç al vostre perfil de Mastodon: <a href='{_mastodon_link}' target='_blank' rel='noopener'>{_mastodon_link}</a>"
|
||||
},
|
||||
"icon": "mastodon"
|
||||
},
|
||||
{
|
||||
"if": "_mastodon_candidate~*",
|
||||
"then": {
|
||||
"en": "We found a link to what looks to be a mastodon account, but it is unverified. <a href='https://www.openstreetmap.org/profile/edit' target='_blank'>Edit your profile description</a> and place the following there: <span class='code'><a href=\"{_mastodon_candidate}\" rel=\"me\">Mastodon</a>",
|
||||
"de": "Wir haben einen Link gefunden, der aussieht wie ein Mastodon-Konto, aber nicht verifiziert ist. <a href='https://www.openstreetmap.org/profile/edit' target='_blank'>Bearbeiten Sie Ihre Profilbeschreibung</a> und fügen Sie dort Folgendes ein: <span class='code'><a href=\"{_mastodon_candidate}\" rel=\"me\">Mastodon</a>",
|
||||
"nl": "Je profielbeschrijving bevat een link die vermoedelijk naar je Mastodon gaat, maar deze link is niet verifieerdbaar voor Mastodon.<a href='https://www.openstreetmap.org/profile/edit' target='_blank'>Pas je profielbeschrijving aan</a> en plaats er de volgende code: <span class='code'><a href=\"{_mastodon_candidate}\" rel=\"me\">Mastodon</a>"
|
||||
"en": "We found a link to what looks to be a mastodon account, but it is unverified. <a href='https://www.openstreetmap.org/profile/edit' target='_blank' rel='noopener'>Edit your profile description</a> and place the following there: <span class='code'><a href=\"{_mastodon_candidate}\" rel=\"me\">Mastodon</a>",
|
||||
"de": "Wir haben einen Link gefunden, der aussieht wie ein Mastodon-Konto, aber nicht verifiziert ist. <a href='https://www.openstreetmap.org/profile/edit' target='_blank' rel='noopener'>Bearbeiten Sie Ihre Profilbeschreibung</a> und fügen Sie dort Folgendes ein: <span class='code'><a href=\"{_mastodon_candidate}\" rel=\"me\">Mastodon</a>",
|
||||
"nl": "Je profielbeschrijving bevat een link die vermoedelijk naar je Mastodon gaat, maar deze link is niet verifieerdbaar voor Mastodon.<a href='https://www.openstreetmap.org/profile/edit' target='_blank' rel='noopener'>Pas je profielbeschrijving aan</a> en plaats er de volgende code: <span class='code'><a href=\"{_mastodon_candidate}\" rel=\"me\">Mastodon</a>"
|
||||
},
|
||||
"icon": "invalid"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue