From 54efeb52004d497ec6358fda60dd98c203795146 Mon Sep 17 00:00:00 2001 From: Benjamin Altpeter Date: Tue, 19 Sep 2023 16:24:50 +0200 Subject: [PATCH] Suggest: Hide required elements and comments We never know whether people are just guessing for the required elements and usually end up removing them anyway for that reason. And as for the comments: Records should only have comments in very rare cases. This field just encouraged people to leave the kinds of comments that should be left on the company pages instead. --- src/i18n/cs.json | 2 -- src/i18n/de.json | 2 -- src/i18n/en.json | 2 -- src/i18n/es.json | 2 -- src/i18n/fr.json | 2 -- src/i18n/hr.json | 2 -- src/i18n/nl.json | 2 -- src/i18n/pl.json | 2 -- src/i18n/pt.json | 2 -- src/suggest-edit.js | 2 ++ 10 files changed, 2 insertions(+), 18 deletions(-) diff --git a/src/i18n/cs.json b/src/i18n/cs.json index 4620c89b0..ee4200955 100644 --- a/src/i18n/cs.json +++ b/src/i18n/cs.json @@ -617,10 +617,8 @@ "email": "Email", "letter": "Dopis", "sources": "Zdroje", - "required-elements": "Vyžadované prvky", "request-language": "Jazyk pro žádosti", "suggested-transport-medium": "Navrhovné médium přenosu", - "comments": "Komentáře", "quality": "Kvalita", "add-item": "Přidat prvek", "true": "ano", diff --git a/src/i18n/de.json b/src/i18n/de.json index 7942d97b5..8b4971d8f 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.json @@ -562,12 +562,10 @@ "letter": "Brief", "website": "Webseite", "sources": "Quellen", - "required-elements": "Erforderliche Elemente", "request-language": "Sprache für Anfragen", "needs-id-document": "Identitätsnachweis erforderlich?", "required-id-document-elements": "Erforderliche Elemente auf dem Identitätsnachweis", "suggested-transport-medium": "Empfohlenes Medium für Anfragen", - "comments": "Kommentare", "quality": "Qualität", "add-item": "Element hinzufügen", "true": "ja", diff --git a/src/i18n/en.json b/src/i18n/en.json index e49ac953b..db0c85401 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -561,12 +561,10 @@ "letter": "Letter", "website": "Website", "sources": "Sources", - "required-elements": "Required elements", "request-language": "Language for requests", "needs-id-document": "ID document necessary for requests?", "required-id-document-elements": "Required elements on the ID document", "suggested-transport-medium": "Suggested transport medium", - "comments": "Comments", "quality": "Quality", "add-item": "Add element", "true": "yes", diff --git a/src/i18n/es.json b/src/i18n/es.json index e03886408..3498a57cc 100644 --- a/src/i18n/es.json +++ b/src/i18n/es.json @@ -763,11 +763,9 @@ "false": "no", "true": "sí", "add-item": "Añadir un elemento", - "comments": "Comentarios", "suggested-transport-medium": "Medio de transporte sugerido", "needs-id-document": "¿Se requiere un documento de identificación para las solicitudes?", "request-language": "Idioma de las solicitudes", - "required-elements": "Elementos obligatorios", "sources": "Fuentes", "website": "Sitio web", "letter": "Carta", diff --git a/src/i18n/fr.json b/src/i18n/fr.json index 5db98e5d7..5a95852dd 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -215,11 +215,9 @@ "letter": "Lettre", "website": "Site Web", "sources": "Sources", - "required-elements": "Éléments requis", "request-language": "Langue pour les demandes", "needs-id-document": "Document d'identité requis pour les demandes ?", "suggested-transport-medium": "Mode d'envoi suggéré", - "comments": "Commentaires", "add-item": "Ajouter un élément", "true": "oui", "false": "non", diff --git a/src/i18n/hr.json b/src/i18n/hr.json index 4886fec19..f2f02f39c 100644 --- a/src/i18n/hr.json +++ b/src/i18n/hr.json @@ -393,12 +393,10 @@ "true": "da", "add-item": "Dodaj element", "quality": "Kvaliteta", - "comments": "Komentari", "suggested-transport-medium": "Predloženi medij za prijenos", "required-id-document-elements": "Potrebni elementi na identifikacijskom dokumentu", "needs-id-document": "Je li za zahtjeve potreban identifikacijski dokument?", "request-language": "Jezik za zahtjeve", - "required-elements": "Obavezni elementi", "sources": "Izvori", "website": "Web-stranica", "letter": "Pismo", diff --git a/src/i18n/nl.json b/src/i18n/nl.json index 46cde6394..426f3d21e 100644 --- a/src/i18n/nl.json +++ b/src/i18n/nl.json @@ -634,10 +634,8 @@ "phone": "Telefoonnummer", "fax": "Fax", "pgp-url": "URL van PGP-sleutel", - "required-elements": "Vereiste elementen", "needs-id-document": "Identiteitsbewijs nodig voor aanvragen?", "required-id-document-elements": "Vereiste elementen op het identiteitsbewijs", - "comments": "Reacties", "add-item": "Element toevoegen", "true": "ja", "description": "Omschrijving", diff --git a/src/i18n/pl.json b/src/i18n/pl.json index 907ba4ff8..c54782d25 100644 --- a/src/i18n/pl.json +++ b/src/i18n/pl.json @@ -670,7 +670,6 @@ }, "schema": { "sources": "Źródła", - "comments": "Uwagi", "quality": "Jakość", "input": "Wartość wejściowa", "textarea": "Obszar tekstowy", @@ -696,7 +695,6 @@ "type": "Rodzaj", "optional": "Opcjonalnie?", "name": "Nazwa", - "required-elements": "Wymagane elementy", "request-language": "Język wniosków" }, "categories": { diff --git a/src/i18n/pt.json b/src/i18n/pt.json index 7c1f5a482..3131e36d3 100644 --- a/src/i18n/pt.json +++ b/src/i18n/pt.json @@ -399,11 +399,9 @@ "letter": "Carta", "website": "Sítio Web", "sources": "Fontes", - "required-elements": "Elementos requeridos", "request-language": "Idioma para as solicitações", "needs-id-document": "Documentos de identificação necessários para as solicitações?", "suggested-transport-medium": "Modo de envio sugerido", - "comments": "Comentários", "add-item": "Adicionar elemento", "true": "sim", "false": "não", diff --git a/src/suggest-edit.js b/src/suggest-edit.js index 94af36f36..a1eba9ae4 100644 --- a/src/suggest-edit.js +++ b/src/suggest-edit.js @@ -65,9 +65,11 @@ function renderForm(schema, company_data = undefined) { 'custom-erasure-template', 'custom-rectification-template', 'custom-objection-template', + 'required-elements', 'request-language', 'pgp-fingerprint', 'pgp-url', + 'comments', 'quality', 'facet-group', 'needs-id-document',