gitlab-org--gitlab-foss/app/views/projects/pipelines/charts/_overall.haml
Z.J. van de Weg c7661f04d0 Strings ready for translation; Pipeline charts
Earlier, this was part of another MR, but that got split. Didn't pick
that commit, as there were many merge conflicts. Vim macros seemed faster.
2017-07-03 09:34:29 +02:00

15 lines
517 B
Text

%h4= s_("PipelineCharts|Overall statistics")
%ul
%li
= s_("PipelineCharts|Total:")
%strong= n_("1 pipeline", "%d pipelines", @counts[:total]) % @counts[:total]
%li
= s_("PipelineCharts|Successful:")
%strong= n_("1 pipeline", "%d pipelines", @counts[:success]) % @counts[:success]
%li
= s_("PipelineCharts|Failed:")
%strong= n_("1 pipeline", "%d pipelines", @counts[:failed]) % @counts[:failed]
%li
= s_("PipelineCharts|Success ratio:")
%strong
#{success_ratio(@counts)}%