summaryrefslogtreecommitdiff
path: root/app/views/projects/commit
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-06-15 14:05:30 +0200
committerBob Van Landuyt <bob@gitlab.com>2017-06-15 14:47:05 +0200
commit5f78cbd9c072c1aefebaa841917de2d683828495 (patch)
treea0aee4816cafcdb3cca9dce2dd16ba572e16fc6c /app/views/projects/commit
parent86cd00b5d26779150edab84e434b88ce3b985a0f (diff)
downloadgitlab-ce-5f78cbd9c072c1aefebaa841917de2d683828495.tar.gz
Add context to the `with_stage` strings
Diffstat (limited to 'app/views/projects/commit')
-rw-r--r--app/views/projects/commit/_commit_box.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index 6da2e94e218..df97b4d9c13 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -73,7 +73,7 @@
= link_to "##{last_pipeline.id}", namespace_project_pipeline_path(@project.namespace, @project, last_pipeline.id)
= ci_label_for_status(last_pipeline.status)
- if last_pipeline.stages_count.nonzero?
- #{ n_('with stage', 'with stages', last_pipeline.stages_count) }
+ #{ n_(s_('Pipeline|with stage'), s_('Pipeline|with stages'), last_pipeline.stages_count) }
.mr-widget-pipeline-graph
= render 'shared/mini_pipeline_graph', pipeline: last_pipeline, klass: 'js-commit-pipeline-graph'
in