Merge pull request #8181 from opf/fix/31674-Inconsistent-translation-of-News-in-German

[31674] Add missing caption for "News" in modules menu
pull/8182/head
Henriette Dinger 5 years ago committed by GitHub
commit 5ecbde1e99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      config/initializers/menus.rb

@ -45,6 +45,7 @@ Redmine::MenuManager.map :top_menu do |menu|
menu.push :news,
{ controller: '/news', project_id: nil, action: 'index' },
context: :modules,
caption: I18n.t('label_news_plural'),
if: Proc.new {
(User.current.logged? || !Setting.login_required?) &&
User.current.allowed_to?(:view_news, nil, global: true)

Loading…
Cancel
Save