feat(i18n): more footer translations

This commit is contained in:
Colin Darie 2022-11-30 16:46:03 +01:00
parent daefdc19af
commit 70d4d7848b
7 changed files with 23 additions and 18 deletions

View file

@ -1,4 +1,2 @@
.fr-footer__bottom-copy .fr-footer__bottom-copy
%p %p= t("links.footer.copy_html", link: link_to(t("links.footer.license"), "https://github.com/etalab/licence-ouverte/blob/master/LO.md", title: new_tab_suffix("licence etalab-2.0"), **external_link_attributes))
Sauf mention contraire, tous les contenus de ce site sont sous
%a{ href: "https://github.com/etalab/licence-ouverte/blob/master/LO.md", target:"_blank", rel: "noopener", title: new_tab_suffix("licence etalab-2.0") } licence etalab-2.0

View file

@ -4,4 +4,4 @@
%li.fr-footer__bottom-item %li.fr-footer__bottom-item
= link_to t("links.footer.mentions_legales.label"), t("links.footer.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"), t("links.footer.mentions_legales.url"), title: t("links.footer.mentions_legales.title"), class: "fr-footer__bottom-link", rel: "noopener noreferrer"
%li.fr-footer__bottom-item %li.fr-footer__bottom-item
= link_to t("links.footer.cookies.title"), suivi_path, title: t("links.footer.aide.title"), class: "fr-footer__bottom-link" = link_to t("links.footer.cookies.label"), suivi_path, title: t("links.footer.cookies.title"), class: "fr-footer__bottom-link"

View file

@ -66,9 +66,10 @@
.fr-footer__content .fr-footer__content
%p.fr-footer__content-desc %p.fr-footer__content-desc
= I18n.t('users.procedure_footer.managed_by.header') = I18n.t('users.procedure_footer.managed_by.header')
%span{ lang: :fr }
= "#{service.nom}," = "#{service.nom},"
= "#{service.organisme}," = "#{service.organisme},"
= string_to_html(service.adresse, wrapper_tag = 'span') = string_to_html(service.adresse, 'span')
= render partial: "shared/footer_content_list" = render partial: "shared/footer_content_list"
.fr-footer__bottom .fr-footer__bottom

View file

@ -16,12 +16,12 @@ en:
link_1_url: "https://www.numerique.gouv.fr/dinum/" link_1_url: "https://www.numerique.gouv.fr/dinum/"
link_2_label: The source code link_2_label: The source code
description_2: is available under a free license. description_2: is available under a free license.
copy_html: "Unless otherwise stated, all content on this site is %{link}"
license: "licensed under etalab 2.0"
accessibilite: accessibilite:
label: "Accessibility: partially compliant" label: "Accessibility: partially compliant"
title: "Accessibility declaration" title: "Accessibility declaration"
url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite" url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite"
aide:
title: "Frequently Asked Questions"
api_doc: api_doc:
label: "API Documentation" label: "API Documentation"
title: "API Documentation" title: "API Documentation"
@ -58,7 +58,7 @@ en:
title: "Legal notices regarding our platform" title: "Legal notices regarding our platform"
url: "https://doc.demarches-simplifiees.fr/mentions-legales" url: "https://doc.demarches-simplifiees.fr/mentions-legales"
releases: releases:
label: "Releases" label: "Releases notes"
title: "Our last updates" title: "Our last updates"
url: "https://github.com/demarches-simplifiees/demarches-simplifiees.fr/releases" url: "https://github.com/demarches-simplifiees/demarches-simplifiees.fr/releases"
security: security:
@ -76,6 +76,9 @@ en:
label: "Online workshop registration" label: "Online workshop registration"
title: "Registration for our online workshop" title: "Registration for our online workshop"
url: "https://app.livestorm.co/demarches-simplifiees" url: "https://app.livestorm.co/demarches-simplifiees"
cookies:
label: Cookies
title: Cookies
contact: contact:
label: Contactez-nous label: Contact
title: Contactez-nous title: Contact

View file

@ -16,14 +16,12 @@ fr:
link_1_url: "https://www.numerique.gouv.fr/dinum/" link_1_url: "https://www.numerique.gouv.fr/dinum/"
link_2_label: Le code source link_2_label: Le code source
description_2: est disponible en licence libre. description_2: est disponible en licence libre.
copy_html: "Sauf mention contraire, tous les contenus de ce site sont sous %{link}"
license: "licence etalab 2.0"
accessibilite: accessibilite:
label: "Accessibilité : partiellement conforme" label: "Accessibilité : partiellement conforme"
title: "Consulter notre déclaration daccessibilité" title: "Consulter notre déclaration daccessibilité"
url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite" url: "https://doc.demarches-simplifiees.fr/declaration-daccessibilite"
aide:
label: "Aide"
title: "Foire aux Questions"
url: "https://faq.demarches-simplifiees.fr"
api_doc: api_doc:
label: "Documentation de lAPI" label: "Documentation de lAPI"
title: "Documentation graphql de lAPI" title: "Documentation graphql de lAPI"

View file

@ -8,7 +8,7 @@ en:
in_app_mail: in_app_mail:
link: "Direclty via the chat" link: "Direclty via the chat"
email: email:
link: "Direcly by email %{service_email}" link: "Directly by email %{service_email}"
phone: phone:
link: 'By phone %{service_telephone}' link: 'By phone %{service_telephone}'
schedule: schedule:
@ -20,3 +20,8 @@ en:
data_retention: "%{application_name} : %{duree_conservation_dossiers_dans_ds} months" data_retention: "%{application_name} : %{duree_conservation_dossiers_dans_ds} months"
terms: "Laws regarding this data collection" terms: "Laws regarding this data collection"
dpo: "Contact the Data Protection Officer" dpo: "Contact the Data Protection Officer"
dematerialisation:
header: Paperless
title_1: Access to the printable PDF form
title_2: Online administrative procedures
link: "https://www.solidarite-numerique.fr/cartographie/"

View file

@ -35,7 +35,7 @@ fr:
title: data.gouv.fr title: data.gouv.fr
url: "https://data.gouv.fr" url: "https://data.gouv.fr"
dematerialisation: dematerialisation:
header: Dematérialisation header: Dématérialisation
title_1: Accès au formulaire PDF à imprimer title_1: Accès au formulaire PDF à imprimer
title_2: Les démarches administratives en ligne title_2: Les démarches administratives en ligne
link: "https://www.solidarite-numerique.fr/cartographie/" link: "https://www.solidarite-numerique.fr/cartographie/"