Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/project_was_exported_email.html.haml')
-rw-r--r--app/views/notify/project_was_exported_email.html.haml10
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.')