summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/charts/_pipelines.haml
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-06-28 14:36:04 +0200
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-07-03 09:34:29 +0200
commitc7661f04d02316d48856c0b9693887228dc054d0 (patch)
tree8cb7527b5ff46cc63e12639585962393370a0f73 /app/views/projects/pipelines/charts/_pipelines.haml
parent4596ab5b6b2cb7a2f78babe62268bb66b6fd2449 (diff)
downloadgitlab-ce-c7661f04d02316d48856c0b9693887228dc054d0.tar.gz
Strings ready for translation; Pipeline chartszj-i18n-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.
Diffstat (limited to 'app/views/projects/pipelines/charts/_pipelines.haml')
-rw-r--r--app/views/projects/pipelines/charts/_pipelines.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/projects/pipelines/charts/_pipelines.haml b/app/views/projects/pipelines/charts/_pipelines.haml
index b6f453b9736..be884448087 100644
--- a/app/views/projects/pipelines/charts/_pipelines.haml
+++ b/app/views/projects/pipelines/charts/_pipelines.haml
@@ -1,29 +1,29 @@
-%h4 Pipelines charts
+%h4= _("Pipelines charts")
%p
&nbsp;
%span.cgreen
= icon("circle")
- success
+ = s_("Pipeline|success")
&nbsp;
%span.cgray
= icon("circle")
- all
+ = s_("Pipeline|all")
.prepend-top-default
%p.light
- Jobs for last week
+ = _("Jobs for last week")
(#{date_from_to(Date.today - 7.days, Date.today)})
%canvas#weekChart{ height: 200 }
.prepend-top-default
%p.light
- Jobs for last month
+ = _("Jobs for last month")
(#{date_from_to(Date.today - 30.days, Date.today)})
%canvas#monthChart{ height: 200 }
.prepend-top-default
%p.light
- Jobs for last year
+ = _("Jobs for last year")
%canvas#yearChart.padded{ height: 250 }
- [:week, :month, :year].each do |scope|