Add context to the `with_stage` strings

This commit is contained in:
Bob Van Landuyt 2017-06-15 14:05:30 +02:00
parent 86cd00b5d2
commit 5f78cbd9c0
4 changed files with 22 additions and 19 deletions

View File

@ -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

View File

@ -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] ""

View File

@ -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"

View File

@ -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] ""