Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add label_news (singular) for languages where this can be distinguished (e.g. German)

Henriette Dinger5018d5d62ea9
diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb
index 50ab85026c8..bef03d82051 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') %>
- <span class="button--text"><%= t('activerecord.models.news') %></span>
+ <span class="button--text"><%= t(:label_news) %></span>
<% end %>
</li>
<% end %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index a61457cd4f5..1cb4cb3e0cc 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"