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:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user