Commit 8c2efcb8 authored by Josianne Hyson's avatar Josianne Hyson

Remove HTML from help message translations

Replace usage of HTML in these translations with variables so that they
can be removed from the todolist and translated again.

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/228846
parent 02a207b1
......@@ -147,7 +147,7 @@ class BuildDetailsEntity < JobEntity
end
def help_message(docs_url)
_("Please refer to <a href=\"%{docs_url}\">%{docs_url}</a>") % { docs_url: docs_url }
html_escape(_("Please refer to %{docs_url}")) % { docs_url: "<a href=\"#{docs_url}\">#{html_escape(docs_url)}</a>".html_safe }
end
end
......
......@@ -241,13 +241,6 @@
- "Учасники <strong>%{project_name}</strong>"
- "Miembros de <strong>%{project_name}</strong>"
- "<strong>%{project_name}</strong> projesinin üyeleri"
"Please refer to <a href=\\\"%{docs_url}\\\">%{docs_url}</a>":
plural_id:
translations:
- "<a href=\\\"%{docs_url}\\\">%{docs_url}</a>を参照してください"
- "请参考<a href=\\\"%{docs_url}\\\">%{docs_url}</a>"
- "Будь ласка перегляньте <a href=\\\"%{docs_url}\\\">%{docs_url}</a>"
- "Por favor, consulte <a href=\\\"%{docs_url}\\\">%{docs_url}</a>"
"PrometheusService|<p class=\\\"text-tertiary\\\">No <a href=\\\"%{docsUrl}\\\">common metrics</a> were found</p>":
plural_id:
translations:
......@@ -1053,3 +1046,10 @@
- "Для того, чтобы адаптировать ваш опыт работы с GitLab<br>, мы хотели бы узнать о вас немного больше."
- "Con el fin de adaptar su experiencia con GitLab<br>nos gustaría saber un poco más sobre usted."
- "Для того, щоб персоналізувати ваш досвід роботи з GitLab<br>,ми хотіли б дізнатися більше про вас."
"Please refer to <a href=\\\"%{docs_url}\\\">%{docs_url}</a>":
plural_id:
translations:
- "<a href=\\\"%{docs_url}\\\">%{docs_url}</a>を参照してください"
- "请参考<a href=\\\"%{docs_url}\\\">%{docs_url}</a>"
- "Будь ласка перегляньте <a href=\\\"%{docs_url}\\\">%{docs_url}</a>"
- "Por favor, consulte <a href=\\\"%{docs_url}\\\">%{docs_url}</a>"
......@@ -17713,7 +17713,7 @@ msgstr ""
msgid "Please provide attributes to update"
msgstr ""
msgid "Please refer to <a href=\"%{docs_url}\">%{docs_url}</a>"
msgid "Please refer to %{docs_url}"
msgstr ""
msgid "Please retype the email address."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment