Remove unneeded _html suffix

Although this translation has HTML, we aren't marking them as HTML safe
since we're using `I18n.t` instead of Rails' helper `t` method. So using
the `_html` suffix is counterintuitive in this case.
This commit is contained in:
Javi Martín
2019-10-05 23:28:27 +02:00
parent acce50ada2
commit 7782ed73b6
3 changed files with 3 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ en:
description_column: Decreases text size
compatibility:
title: Compatibility with standards and visual design
description_html: 'All pages of this website comply with the <strong>Accessibility Guidelines</strong> or General Principles of Accessible Design established by the Working Group <abbr title="Web Accessibility Initiative" lang="en">WAI</abbr> belonging to W3C.'
description: 'All pages of this website comply with the <strong>Accessibility Guidelines</strong> or General Principles of Accessible Design established by the Working Group <abbr title="Web Accessibility Initiative" lang="en">WAI</abbr> belonging to W3C.'
titles:
help: "What is %{org}? - Citizen participation"
verify:

View File

@@ -157,7 +157,7 @@ es:
description_column: para reducir el tamaño del texto
compatibility:
title: Compatibilidad con estándares y diseño visual
description_html: 'Todas las páginas de este sitio web cumplen con las <strong>Pautas de Accesibilidad</strong> o Principios Generales de Diseño Accesible establecidas por el Grupo de Trabajo <abbr title="Web Accessibility Initiative" lang="en">WAI</abbr> perteneciente al W3C.'
description: 'Todas las páginas de este sitio web cumplen con las <strong>Pautas de Accesibilidad</strong> o Principios Generales de Diseño Accesible establecidas por el Grupo de Trabajo <abbr title="Web Accessibility Initiative" lang="en">WAI</abbr> perteneciente al W3C.'
titles:
help: "¿Qué es %{org}? - Participación ciudadana"
verify:

View File

@@ -89,7 +89,7 @@ if SiteCustomization::Page.find_by_slug("accessibility").nil?
end
content << "</ul>
<h2>#{I18n.t("pages.accessibility.compatibility.title")}</h2>
<p>#{I18n.t("pages.accessibility.compatibility.description_html")}</p>"
<p>#{I18n.t("pages.accessibility.compatibility.description")}</p>"
page.content = content
page.save!