From 924ec35f98dbf773c901667a98f9b8d7cb36f90b Mon Sep 17 00:00:00 2001 From: root Date: Thu, 9 Apr 2015 22:40:32 +0200 Subject: [PATCH] Change plugin translation label to something meaningfull --- config/locales/en.yml | 2 +- config/locales/fr.yml | 2 +- init.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 8e6ba08ef49..28d286b7c8c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1,6 +1,6 @@ en: - module_name: Redmine Git Hosting + redmine_git_hosting: Redmine Git Hosting ########### MISCELANOUS ########### label_enabled: Enabled diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 07e73da963f..a3d10199258 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -1,6 +1,6 @@ fr: - module_name: Redmine Git Hosting + redmine_git_hosting: Redmine Git Hosting ########### MISCELANOUS ########### label_enabled: Activé diff --git a/init.rb b/init.rb index 8dcaee6b85d..044e3c1621a 100644 --- a/init.rb +++ b/init.rb @@ -121,7 +121,7 @@ end Redmine::MenuManager.map :admin_menu do |menu| - menu.push :redmine_git_hosting, { controller: 'settings', action: 'plugin', id: 'redmine_git_hosting' }, caption: :module_name + menu.push :redmine_git_hosting, { controller: 'settings', action: 'plugin', id: 'redmine_git_hosting' }, caption: :redmine_git_hosting end Redmine::MenuManager.map :top_menu do |menu|