From 1d872fb28f505b6873d79d7ab57396bff974861c Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Fri, 21 Jun 2024 15:02:50 +0200 Subject: [PATCH] Remove useless titles --- app/views/application/_general_footer_row.html.haml | 6 +++--- app/views/root/_footer.html.haml | 10 +++++----- config/locales/links.en.yml | 6 ------ config/locales/links.fr.yml | 7 ------- 4 files changed, 8 insertions(+), 21 deletions(-) diff --git a/app/views/application/_general_footer_row.html.haml b/app/views/application/_general_footer_row.html.haml index e1fe2d44f..5c2643039 100644 --- a/app/views/application/_general_footer_row.html.haml +++ b/app/views/application/_general_footer_row.html.haml @@ -8,11 +8,11 @@ %li.fr-footer__bottom-item = link_to t("links.footer.vote_feature.label"), FEATURE_UPVOTE_URL, title: t("links.footer.vote_feature.title"), class: "fr-footer__bottom-link", target: "_blank", rel: "noopener noreferrer" %li.fr-footer__bottom-item - = link_to t("links.footer.accessibilite.label"), ACCESSIBILITE_URL, title: t("links.footer.accessibilite.title"), class: "fr-footer__bottom-link", rel: "noopener noreferrer" + = link_to t("links.footer.accessibilite.label"), ACCESSIBILITE_URL, class: "fr-footer__bottom-link", rel: "noopener noreferrer" %li.fr-footer__bottom-item - = link_to t("links.footer.mentions_legales.label"), MENTIONS_LEGALES_URL, title: t("links.footer.mentions_legales.title"), class: "fr-footer__bottom-link", rel: "noopener noreferrer" + = link_to t("links.footer.mentions_legales.label"), MENTIONS_LEGALES_URL, class: "fr-footer__bottom-link", rel: "noopener noreferrer" %li.fr-footer__bottom-item - = link_to t("links.footer.cookies.label"), suivi_path, title: t("links.footer.cookies.title"), class: "fr-footer__bottom-link" + = link_to t("links.footer.cookies.label"), suivi_path, class: "fr-footer__bottom-link" %li.fr-footer__bottom-item %button.fr-footer__bottom-link.fr-icon-theme-fill.fr-btn--icon-left{ aria: {controls: "fr-theme-modal" }, data: {'fr-opened': "false" } } = t('links.footer.display_params') diff --git a/app/views/root/_footer.html.haml b/app/views/root/_footer.html.haml index 224289bc2..efa25aa7b 100644 --- a/app/views/root/_footer.html.haml +++ b/app/views/root/_footer.html.haml @@ -9,16 +9,16 @@ %li = link_to t("links.footer.releases.label"), t("links.footer.releases.url"), title: t("links.footer.releases.title"), class: "fr-footer__top-link", hreflang: "fr" %li - = link_to t("links.footer.contact.label"), contact_path, title: t("links.footer.contact.title"), class: "fr-footer__top-link" + = link_to t("links.footer.contact.label"), contact_path, class: "fr-footer__top-link" .fr-col-12.fr-col-sm-3.fr-col-md-3 %h3.fr-footer__top-cat= t("links.footer.top_labels.legals") %ul.fr-footer__top-list %li - = link_to t("links.footer.mentions_legales.label"), MENTIONS_LEGALES_URL, title: t("links.footer.mentions_legales.title"), class: "fr-footer__top-link", rel: "noopener noreferrer" + = link_to t("links.footer.mentions_legales.label"), MENTIONS_LEGALES_URL, class: "fr-footer__top-link", rel: "noopener noreferrer" %li - = link_to t("links.footer.suivi.label"), suivi_path, title: t("links.footer.suivi.title"), class: "fr-footer__top-link", hreflang: "fr" + = link_to t("links.footer.suivi.label"), suivi_path, class: "fr-footer__top-link", hreflang: "fr" %li - = link_to t("links.footer.stats.label"), stats_path, title: t("links.footer.stats.title"), class: "fr-footer__top-link", hreflang: "fr" + = link_to t("links.footer.stats.label"), stats_path, class: "fr-footer__top-link", hreflang: "fr" %li = link_to t("links.footer.carte.label"), carte_path, title: t("links.footer.carte.title"), class: "fr-footer__top-link" %li @@ -37,7 +37,7 @@ %abbr{ title: t("links.common.faq.title") } = t("links.common.faq.label") %li - = link_to t("links.footer.code.label"), t("links.footer.code.url"), title: t("links.footer.code.title"), class: "fr-footer__top-link", rel: "noopener noreferrer", hreflang: "fr" + = link_to t("links.footer.code.label"), t("links.footer.code.url"), class: "fr-footer__top-link", rel: "noopener noreferrer", hreflang: "fr" .fr-col-12.fr-col-sm-3.fr-col-md-3 %h3.fr-footer__top-cat= t("links.footer.top_labels.diagnostic") %ul.fr-footer__top-list diff --git a/config/locales/links.en.yml b/config/locales/links.en.yml index b7697d43a..0e743d030 100644 --- a/config/locales/links.en.yml +++ b/config/locales/links.en.yml @@ -29,7 +29,6 @@ en: license: "licensed under etalab 2.0" accessibilite: label: "Accessibility: partially compliant" - title: "Accessibility declaration" api_doc: label: "API Documentation" title: "API Documentation" @@ -40,7 +39,6 @@ en: alt: "Direction interministérielle du numérique" code: label: "Source code" - title: "Our Source code is open source" url: "https://github.com/demarches-simplifiees/demarches-simplifiees.fr" cgu: label: "ToS" @@ -55,7 +53,6 @@ en: title: "Vote for your priority improvements or share your own ideas" mentions_legales: label: "Legal notices" - title: "Legal notices regarding our platform" releases: label: "Releases notes" title: "Our last updates" @@ -73,11 +70,8 @@ en: url: "https://status.demarches-simplifiees.fr" suivi: label: "Audience tracking and privacy" - title: "Tracking and privacy of demarches-simplifiees" cookies: label: Cookies - title: Cookies contact: label: Contact - title: Contact display_params: Display params diff --git a/config/locales/links.fr.yml b/config/locales/links.fr.yml index 1923776f9..15581f614 100644 --- a/config/locales/links.fr.yml +++ b/config/locales/links.fr.yml @@ -31,7 +31,6 @@ fr: license: "licence etalab 2.0" accessibilite: label: "Accessibilité : partiellement conforme" - title: "Consulter notre déclaration d’accessibilité" api_doc: label: "Documentation de l’API" title: "Documentation graphql de l’API" @@ -46,7 +45,6 @@ fr: url: "https://doc.demarches-simplifiees.fr/cgu" code: label: "Code source" - title: "Le code ouvert de demarches-simplifiees" url: "https://github.com/demarches-simplifiees/demarches-simplifiees.fr" contact_technique: label: "Contact technique" @@ -60,7 +58,6 @@ fr: title: "Votez pour vos améliorations prioritaires ou proposez votre propre idée" mentions_legales: label: "Mentions légales" - title: "Consulter nos Mentions légales" releases: label: "Nouveautés" title: "Les dernière mises à jour de la plateforme" @@ -71,7 +68,6 @@ fr: url: "https://github.com/betagouv/demarches-simplifiees.fr/blob/main/SECURITY.md" stats: label: "Statistiques" - title: "Statistiques d’usage" carte: label: "Carte de déploiement" title: "Carte de déploiement par département" @@ -81,15 +77,12 @@ fr: url: "https://status.demarches-simplifiees.fr" suivi: label: "Suivi d’audience et vie privée" - title: "Consulter notre politique de respect de la vie privée" solidarite_numerique: label: "Besoin d’aide avec vos démarches en ligne ?" title: "Avez-vous besoin d’aide concernant vos démarchez informatisées, essayez solidarite-numerique.fr" url: "https://www.solidarite-numerique.fr/cartographie/" cookies: label: Gestion des cookies - title: Gestion des cookies contact: label: Nous contacter - title: Nous contacter display_params: Paramètres d'affichage