summaryrefslogtreecommitdiff
path: root/app/views/projects/network
diff options
context:
space:
mode:
authorShah El-Rahman <selrahman@gitlab.com>2018-02-08 03:46:58 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-02-08 03:46:58 +0000
commitfc63d6c0af8173a24fa1894b4d1531dee286ab3a (patch)
tree3d4646d1fb76c82f364090e04e20901337bb593a /app/views/projects/network
parent15762319e94457cc82dba8d15d5d9507ad527503 (diff)
downloadgitlab-ce-fc63d6c0af8173a24fa1894b4d1531dee286ab3a.tar.gz
Annotate graph page for internationalization
Diffstat (limited to 'app/views/projects/network')
-rw-r--r--app/views/projects/network/_head.html.haml2
-rw-r--r--app/views/projects/network/show.html.haml4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/network/_head.html.haml b/app/views/projects/network/_head.html.haml
index 8f6805268d5..f08526f485e 100644
--- a/app/views/projects/network/_head.html.haml
+++ b/app/views/projects/network/_head.html.haml
@@ -6,4 +6,4 @@
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
.oneline
- You can move around the graph by using the arrow keys.
+ = _("You can move around the graph by using the arrow keys.")
diff --git a/app/views/projects/network/show.html.haml b/app/views/projects/network/show.html.haml
index 8a19497c55b..2efb7fc719f 100644
--- a/app/views/projects/network/show.html.haml
+++ b/app/views/projects/network/show.html.haml
@@ -7,14 +7,14 @@
.project-network
.controls
= form_tag project_network_path(@project, @id), method: :get, class: 'form-inline network-form' do |f|
- = text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Git revision", class: 'search-input form-control input-mx-250 search-sha'
+ = text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: _("Git revision"), class: 'search-input form-control input-mx-250 search-sha'
= button_tag class: 'btn btn-success' do
= icon('search')
.inline.prepend-left-20
.checkbox.light
= label_tag :filter_ref do
= check_box_tag :filter_ref, 1, @options[:filter_ref]
- %span Begin with the selected commit
+ %span= _("Begin with the selected commit")
- if @commit
.network-graph{ data: { url: @url, commit_url: @commit_url, ref: @ref, commit_id: @commit.id } }