From c0b9d125fd6fff469964b51658fa44e7d6cbe825 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Tue, 13 Sep 2016 16:50:14 +0200 Subject: [PATCH] Use translation for NodeInfo services closes #7102 --- Changelog.md | 1 + app/views/node_info/_statistics.haml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 0ff25f0a6..780a11514 100644 --- a/Changelog.md +++ b/Changelog.md @@ -8,6 +8,7 @@ * Liking a post will no longer update its interacted timestamp [#7030](https://github.com/diaspora/diaspora/pull/7030) * Improve W3C compliance [#7068](https://github.com/diaspora/diaspora/pull/7068) [#7082](https://github.com/diaspora/diaspora/pull/7082) [#7091](https://github.com/diaspora/diaspora/pull/7091) [#7092](https://github.com/diaspora/diaspora/pull/7092) * Load jQuery in the head on mobile [#7086](https://github.com/diaspora/diaspora/pull/7086) +* Use translation for NodeInfo services [#7102](https://github.com/diaspora/diaspora/pull/7102) ## Bug fixes * Post comments no longer get collapsed when interacting with a post [#7040](https://github.com/diaspora/diaspora/pull/7040) diff --git a/app/views/node_info/_statistics.haml b/app/views/node_info/_statistics.haml index 4c3d46c2f..2598ce93b 100644 --- a/app/views/node_info/_statistics.haml +++ b/app/views/node_info/_statistics.haml @@ -28,4 +28,7 @@ %h1= t("statistics.services") - Configuration::KNOWN_SERVICES.each do |service| .col-md-3 - = render "statistic", name: "#{service.capitalize}", value: service_status(service, @statistics.available_services), activated: service_class(service, @statistics.available_services) + = render "statistic", + name: t("services.provider.#{service}"), + value: service_status(service, @statistics.available_services), + activated: service_class(service, @statistics.available_services)