diff --git a/httpdocs/templates/host_report.html b/httpdocs/templates/host_report.html
index 415025ae91..61de47269b 100644
--- a/httpdocs/templates/host_report.html
+++ b/httpdocs/templates/host_report.html
@@ -1,18 +1,25 @@
{{report.title}}
{{report.subtitle}}
-
+
- {% for _, name in ipairs(report.series) do %}
- | {{name}} |
+ {{report.series[1]}} |
+ {% for j in range(2, #report.series) do %}
+ {{report.series[j]}} |
{% end %}
{% for i in range(report.rows) do %}
- {% for j in range(#report.values) do %}
- | {{report.values[j][i]}} |
+ {% if i == report.rows then %}
+ {{report.values[1][i]}} |
+ {% else %}
+ {{report.values[1][i]}} |
+ {% end %}
+
+ {% for j in range(2, #report.values) do %}
+ {{report.values[j][i]}} |
{% end %}
{% end %}
diff --git a/scripts/locales/en.lua b/scripts/locales/en.lua
index fce62fd5a1..e4656b63f4 100644
--- a/scripts/locales/en.lua
+++ b/scripts/locales/en.lua
@@ -1,6 +1,29 @@
local en = {
welcome = "Welcome",
version = "Your version is %{vers}.",
+ error = "Error",
+ host = "Host %{host}",
+ day = "Day",
+ time = "Time",
+ sent = "Sent",
+ received = "Received",
+ difference = "Difference",
+ total = "Total",
+ today = "Today",
+ host_report = {
+ daily = "Daily",
+ weekly = "Weekly",
+ monthly = "Monthly",
+ header_daily = "Daily \"%{date}\" report",
+ header_weekly = "Weekly #%{week} \"%{date}\" report",
+ header_monthly = "Monthly \"%{date}\" report",
+ error_rrd_resolution = "You are asking to fetch data at lower resolution than the one available on RRD, which will lead to invalid data."..
+ "
If you still want data with such granularity, please tune Protocol/Networks Timeseries preferences",
+ current = "Current",
+ previous_day = "Previous day",
+ previous_week = "Previous week",
+ previous_month = "Previous month",
+ },
report = {
period = "Interval",
date = "%{month}-%{day}-%{year}"}
@@ -8,3 +31,4 @@ local en = {
return {en = en}
+