From 5018d5d62ea952575b6a54388dec64323256b1c9 Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Tue, 24 Mar 2020 13:03:28 +0100 Subject: [PATCH] Add label_news (singular) for languages where this can be distinguished (e.g. German) [ci skip] --- app/views/news/index.html.erb | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index 50ab85026c..bef03d8205 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -40,7 +40,7 @@ See docs/COPYRIGHT.rdoc for more details. aria: {label: t(:label_news_new)}, title: t(:label_news_new)} do %> <%= op_icon('button--icon icon-add') %> - <%= t('activerecord.models.news') %> + <%= t(:label_news) %> <% end %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index a61457cd4f..1cb4cb3e0c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1493,6 +1493,7 @@ en: label_new: "New" label_new_features: "New features" label_new_statuses_allowed: "New statuses allowed" + label_news: "News" label_news_added: "News added" label_news_comment_added: "Comment added to a news" label_news_latest: "Latest news"