diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 03:14:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 03:14:10 +0300 |
commit | 07da184d5f8b0382f63d1aa16a54aa02ea41c294 (patch) | |
tree | d492305007ce6777e64a287c0287c8e39d360244 /app/views/notify | |
parent | 0302293341e9481507236824a8ef14525982e4bb (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/notify')
-rw-r--r-- | app/views/notify/project_was_exported_email.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/notify/project_was_exported_email.html.haml b/app/views/notify/project_was_exported_email.html.haml index 71c62f6be4e..11d761414ff 100644 --- a/app/views/notify/project_was_exported_email.html.haml +++ b/app/views/notify/project_was_exported_email.html.haml @@ -1,8 +1,8 @@ %p - Project #{@project.name} was exported successfully. + = s_('Notify|Project %{project_name} was exported successfully.') % {project_name: @project.name} %p - The project export can be downloaded from: - = link_to download_export_project_url(@project), rel: 'nofollow', download: '' do - = @project.full_name + " export" + - project_link_url = download_export_project_url(@project) + - project_link_start = '<a href="%{url}" target="_blank" rel="nofollow" download="">'.html_safe % { url: project_link_url } + = html_escape(s_('Notify|%{project_link_start}Download%{project_link_end} the project export.')) % {project_link_start: project_link_start, project_link_end: '</a>'.html_safe} %p - The download link will expire in 24 hours. + = s_('Notify|The download link will expire in 24 hours.') |