summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_limit_exceeded_message.html.haml
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2019-01-25 14:05:19 +0200
committerGeorge Tsiolis <tsiolis.g@gmail.com>2019-02-18 13:50:43 +0200
commit2998d420e4d781ac7b54c6d5f6efb595d58aa56d (patch)
treef6738f1f13ceaa75179f141588a2f7730e4657d0 /app/views/projects/commit/_limit_exceeded_message.html.haml
parent1d229689588e0e22b5cee57f6c8d2ddcc7f0822b (diff)
downloadgitlab-ce-2998d420e4d781ac7b54c6d5f6efb595d58aa56d.tar.gz
Externalize strings from `/app/views/projects/commit`
Diffstat (limited to 'app/views/projects/commit/_limit_exceeded_message.html.haml')
-rw-r--r--app/views/projects/commit/_limit_exceeded_message.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/commit/_limit_exceeded_message.html.haml b/app/views/projects/commit/_limit_exceeded_message.html.haml
index a264f3517c4..7d3c0582d0b 100644
--- a/app/views/projects/commit/_limit_exceeded_message.html.haml
+++ b/app/views/projects/commit/_limit_exceeded_message.html.haml
@@ -1,8 +1,8 @@
-.has-tooltip{ class: "limit-box limit-box-#{objects} prepend-left-5", data: { title: "Project has too many #{label_for_message} to search"} }
+.has-tooltip{ class: "limit-box limit-box-#{objects} prepend-left-5", data: { title: _('Project has too many %{label_for_message} to search') % { label_for_message: label_for_message } } }
.limit-icon
- if objects == :branch
= sprite_icon('fork', size: 12)
- else
= icon('tag')
.limit-message
- %span #{label_for_message.capitalize} unavailable
+ %span= _('%{label_for_message} unavailable') % { label_for_message: label_for_message.capitalize }