summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Bajao <ebajao@gitlab.com>2019-04-02 18:07:59 +0800
committerPatrick Bajao <ebajao@gitlab.com>2019-04-02 22:07:16 +0800
commitf4c206d5b79afcda5b817c48293b880aeac7bb9a (patch)
tree176e4090ac5a9bd30d3d014d464eaa2bc7585138
parentfa45f8e46aed2b8f09e09244d6585854bb6c29c9 (diff)
downloadgitlab-ce-f4c206d5b79afcda5b817c48293b880aeac7bb9a.tar.gz
Don't translate file extensions
-rw-r--r--app/views/projects/buttons/_download.html.haml16
-rw-r--r--locale/gitlab.pot12
2 files changed, 8 insertions, 20 deletions
diff --git a/app/views/projects/buttons/_download.html.haml b/app/views/projects/buttons/_download.html.haml
index 1cba2ea6b8d..e3f5a2990ba 100644
--- a/app/views/projects/buttons/_download.html.haml
+++ b/app/views/projects/buttons/_download.html.haml
@@ -12,26 +12,26 @@
%li.dropdown-menu-content
%ul
%li.d-inline-block.m-0.p-0
- = link_to _('zip'), project_archive_path(project, id: tree_join(ref, archive_prefix), format: 'zip'), rel: 'nofollow', download: '', class: 'btn btn-primary btn-xs'
+ = link_to 'zip', project_archive_path(project, id: tree_join(ref, archive_prefix), format: 'zip'), rel: 'nofollow', download: '', class: 'btn btn-primary btn-xs'
%li.d-inline-block.m-0.p-0
- = link_to _('tar.gz'), project_archive_path(project, id: tree_join(ref, archive_prefix), format: 'tar.gz'), rel: 'nofollow', download: '', class: 'btn btn-xs'
+ = link_to 'tar.gz', project_archive_path(project, id: tree_join(ref, archive_prefix), format: 'tar.gz'), rel: 'nofollow', download: '', class: 'btn btn-xs'
%li.d-inline-block.m-0.p-0
- = link_to _('tar.bz2'), project_archive_path(project, id: tree_join(ref, archive_prefix), format: 'tar.bz2'), rel: 'nofollow', download: '', class: 'btn btn-xs'
+ = link_to 'tar.bz2', project_archive_path(project, id: tree_join(ref, archive_prefix), format: 'tar.bz2'), rel: 'nofollow', download: '', class: 'btn btn-xs'
%li.d-inline-block.m-0.p-0
- = link_to _('tar'), project_archive_path(project, id: tree_join(ref, archive_prefix), format: 'tar'), rel: 'nofollow', download: '', class: 'btn btn-xs'
+ = link_to 'tar', project_archive_path(project, id: tree_join(ref, archive_prefix), format: 'tar'), rel: 'nofollow', download: '', class: 'btn btn-xs'
- if directory?
%li.separator
%li.dropdown-bold-header= _('Download this directory')
%li.dropdown-menu-content
%ul
%li.d-inline-block.m-0.p-0
- = link_to _('zip'), project_archive_path(project, id: tree_join(ref, archive_prefix), path: @path, format: 'zip'), rel: 'nofollow', download: '', class: 'btn btn-primary btn-xs'
+ = link_to 'zip', project_archive_path(project, id: tree_join(ref, archive_prefix), path: @path, format: 'zip'), rel: 'nofollow', download: '', class: 'btn btn-primary btn-xs'
%li.d-inline-block.m-0.p-0
- = link_to _('tar.gz'), project_archive_path(project, id: tree_join(ref, archive_prefix), path: @path, format: 'tar.gz'), rel: 'nofollow', download: '', class: 'btn btn-xs'
+ = link_to 'tar.gz', project_archive_path(project, id: tree_join(ref, archive_prefix), path: @path, format: 'tar.gz'), rel: 'nofollow', download: '', class: 'btn btn-xs'
%li.d-inline-block.m-0.p-0
- = link_to _('tar.bz2'), project_archive_path(project, id: tree_join(ref, archive_prefix), path: @path, format: 'tar.bz2'), rel: 'nofollow', download: '', class: 'btn btn-xs'
+ = link_to 'tar.bz2', project_archive_path(project, id: tree_join(ref, archive_prefix), path: @path, format: 'tar.bz2'), rel: 'nofollow', download: '', class: 'btn btn-xs'
%li.d-inline-block.m-0.p-0
- = link_to _('tar'), project_archive_path(project, id: tree_join(ref, archive_prefix), path: @path, format: 'tar'), rel: 'nofollow', download: '', class: 'btn btn-xs'
+ = link_to 'tar', project_archive_path(project, id: tree_join(ref, archive_prefix), path: @path, format: 'tar'), rel: 'nofollow', download: '', class: 'btn btn-xs'
- if pipeline && pipeline.latest_builds_with_artifacts.any?
%li.separator
%li.dropdown-bold-header= _('Download artifacts')
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 40bf85d32d0..57bcedc1e15 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -9983,15 +9983,6 @@ msgstr ""
msgid "syntax is incorrect"
msgstr ""
-msgid "tar"
-msgstr ""
-
-msgid "tar.bz2"
-msgstr ""
-
-msgid "tar.gz"
-msgstr ""
-
msgid "this document"
msgstr ""
@@ -10026,6 +10017,3 @@ msgstr[1] ""
msgid "yaml invalid"
msgstr ""
-
-msgid "zip"
-msgstr ""