Commit fc2e0726 authored by Gilang Gumilar's avatar Gilang Gumilar Committed by Enrique Alcántara

Externalize strings in user deletion guidance tpl

Also includes changelog entry
parent 7e96802c
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
%ul %ul
%li %li
%p %p
Certain user content will be moved to a system-wide "Ghost User" in order to maintain content for posterity. For further information, please refer to the - link_start = '<a href="%{url}">'.html_safe % { url: help_page_path("user/profile/account/delete_account", anchor: "associated-records") }
= link_to 'user account deletion documentation.', help_page_path("user/profile/account/delete_account", anchor: "associated-records") = _('Certain user content will be moved to a system-wide "Ghost User" in order to maintain content for posterity. For further information, please refer to the %{link_start}user account deletion documentation.%{link_end}').html_safe % { link_start: link_start, link_end: '</a>'.html_safe }
- personal_projects_count = user.personal_projects.count - personal_projects_count = user.personal_projects.count
- unless personal_projects_count.zero? - unless personal_projects_count.zero?
%li #{pluralize(personal_projects_count, 'personal project')} will be removed and cannot be restored %li
= n_('personal project will be removed and cannot be restored', '%d personal projects will be removed and cannot be restored', personal_projects_count)
---
title: Externalize i18n strings from ./app/views/users/_deletion_guidance.html.haml
merge_request: 32097
author: Gilang Gumilar
type: changed
...@@ -3722,6 +3722,9 @@ msgstr "" ...@@ -3722,6 +3722,9 @@ msgstr ""
msgid "Capacity threshold" msgid "Capacity threshold"
msgstr "" msgstr ""
msgid "Certain user content will be moved to a system-wide \"Ghost User\" in order to maintain content for posterity. For further information, please refer to the %{link_start}user account deletion documentation.%{link_end}"
msgstr ""
msgid "Certificate" msgid "Certificate"
msgstr "" msgstr ""
...@@ -26191,6 +26194,11 @@ msgstr "" ...@@ -26191,6 +26194,11 @@ msgstr ""
msgid "personal access tokens" msgid "personal access tokens"
msgstr "" msgstr ""
msgid "personal project will be removed and cannot be restored"
msgid_plural "%d personal projects will be removed and cannot be restored"
msgstr[0] ""
msgstr[1] ""
msgid "pipeline" msgid "pipeline"
msgstr "" msgstr ""
......
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