summaryrefslogtreecommitdiff
path: root/app/helpers/button_helper.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-06-07 20:13:44 +0000
committerDouwe Maan <douwe@gitlab.com>2017-06-07 20:13:44 +0000
commitbdebe849b8251f390378dd446d9022fca1b2d55c (patch)
tree770a9e8312e376c46fd8a2d033de81bc5184a6e2 /app/helpers/button_helper.rb
parentc17c7c29d7e562b1661397ac4c1af4044c3ac7cb (diff)
downloadgitlab-ce-bdebe849b8251f390378dd446d9022fca1b2d55c.tar.gz
Translate project & repository pages
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r--app/helpers/button_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb
index 0081bbd92b3..00464810054 100644
--- a/app/helpers/button_helper.rb
+++ b/app/helpers/button_helper.rb
@@ -61,7 +61,7 @@ module ButtonHelper
html: true,
placement: placement,
container: 'body',
- title: "Set a password on your account<br>to pull or push via #{protocol}"
+ title: _("Set a password on your account to pull or push via %{protocol}") % { protocol: protocol }
}
end
@@ -76,7 +76,7 @@ module ButtonHelper
html: true,
placement: placement,
container: 'body',
- title: 'Add an SSH key to your profile<br>to pull or push via SSH.'
+ title: _('Add an SSH key to your profile to pull or push via SSH.')
}
end
end