summaryrefslogtreecommitdiff
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
parent86cd00b5d26779150edab84e434b88ce3b985a0f (diff)
downloadgitlab-ce-5f78cbd9c072c1aefebaa841917de2d683828495.tar.gz
Add context to the `with_stage` strings
-rw-r--r--app/views/projects/commit/_commit_box.html.haml2
-rw-r--r--locale/en/gitlab.po11
-rw-r--r--locale/es/gitlab.po13
-rw-r--r--locale/gitlab.pot15
4 files changed, 22 insertions, 19 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
diff --git a/locale/en/gitlab.po b/locale/en/gitlab.po
index 874698382ed..a4683069a75 100644
--- a/locale/en/gitlab.po
+++ b/locale/en/gitlab.po
@@ -562,6 +562,12 @@ msgstr ""
msgid "PipelineSheduleIntervalPattern|Custom"
msgstr ""
+msgid "Pipeline|with stage"
+msgstr ""
+
+msgid "Pipeline|with stages"
+msgstr ""
+
msgid "Project '%{project_name}' queued for deletion."
msgstr ""
@@ -1020,8 +1026,3 @@ msgid "parent"
msgid_plural "parents"
msgstr[0] ""
msgstr[1] ""
-
-msgid "with stage"
-msgid_plural "with stages"
-msgstr[0] ""
-msgstr[1] ""
diff --git a/locale/es/gitlab.po b/locale/es/gitlab.po
index 2f4ec24e720..2e1bfab877d 100644
--- a/locale/es/gitlab.po
+++ b/locale/es/gitlab.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2017-06-15 13:46+0200\n"
+"PO-Revision-Date: 2017-06-15 14:00+0200\n"
"Language-Team: Spanish\n"
"Language: es\n"
"MIME-Version: 1.0\n"
@@ -562,6 +562,12 @@ msgstr "Destino"
msgid "PipelineSheduleIntervalPattern|Custom"
msgstr "Personalzado"
+msgid "Pipeline|with stage"
+msgstr "con etapa"
+
+msgid "Pipeline|with stages"
+msgstr "con etapas"
+
msgid "Project '%{project_name}' queued for deletion."
msgstr "Proyecto ‘%{project_name}’ en cola para eliminación."
@@ -1023,8 +1029,3 @@ msgid "parent"
msgid_plural "parents"
msgstr[0] "padre"
msgstr[1] "padres"
-
-msgid "with stage"
-msgid_plural "with stages"
-msgstr[0] "con etapa"
-msgstr[1] "con etapas"
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 82b3c163571..2cb9be2f7ce 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-06-15 13:42+0200\n"
-"PO-Revision-Date: 2017-06-15 13:42+0200\n"
+"POT-Creation-Date: 2017-06-15 13:55+0200\n"
+"PO-Revision-Date: 2017-06-15 13:55+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@@ -563,6 +563,12 @@ msgstr ""
msgid "PipelineSheduleIntervalPattern|Custom"
msgstr ""
+msgid "Pipeline|with stage"
+msgstr ""
+
+msgid "Pipeline|with stages"
+msgstr ""
+
msgid "Project '%{project_name}' queued for deletion."
msgstr ""
@@ -1021,8 +1027,3 @@ msgid "parent"
msgid_plural "parents"
msgstr[0] ""
msgstr[1] ""
-
-msgid "with stage"
-msgid_plural "with stages"
-msgstr[0] ""
-msgstr[1] ""