Actions
Feature #15715
closedMake "Activity" translation at project menu independent of "Activity" translation at TimeEntry form.
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Translations
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Wont fix
Description
It would be more flexible if translation of "Activity" label at project menu is independent of "Activity" label at Time Entry form.
Right now, both translations rely on "label_activity" entry at locales yml files.
Possible solution for this might be:
1. Add new entry at locales files, named for example "label_menu_activity"
2. At ..\redmine-2.4.1-1\apps\redmine\htdocs\lib\redmine.rb
change this line:
menu.push :activity, { :controller => 'activities', :action => 'index' }
with this line:
menu.push :activity, { :controller => 'activities', :action => 'index' } , :caption => :label_menu_activity
3. At
..\redmine-2.4.1-1\apps\redmine\htdocs\app\views\activities\index.html.erb
change all occurrances of string "label_activity" to string "label_menu_activity" 4. Restart redmine
Updated by Go MAEDA over 4 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
field_activity is used in the context of time tracking. So, we don't have to add a new key you suggested.
The translation for both keys is the same in many languages, but in some languages such as hu, ja, and ru, different translations are used for those keys.
Actions