Actions
Defect #2977
closedactivity plural
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Translations
Target version:
-
Start date:
2009-03-16
Due date:
% Done:
0%
Estimated time:
Resolution:
Wont fix
Affected version:
Description
As we have
label_issue: Issue label_issue_plural: Issues
we need
label_activity: Activity label_activity_plural: Activities
Updated by Jean-Philippe Lang over 15 years ago
Where this string would be used?
Updated by Ernad Husremovic over 15 years ago
I have changed that on my local branch at every place where we point to set of activities
diff --git a/lib/redmine.rb b/lib/redmine.rb index c8d64b8..834fb62 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -130,7 +130,7 @@ end Redmine::MenuManager.map :project_menu do |menu| menu.push :overview, { :controller => 'projects', :action => 'show' } - menu.push :activity, { :controller => 'projects', :action => 'activity' } + menu.push :activity, { :controller => 'projects', :action => 'activity' }, :caption => :label_activity_plural menu.push :roadmap, { :controller => 'projects', :action => 'roadmap' }, :if => Proc.new { |p| p.versions.any? } menu.push :issues, { :controller => 'issues', :action => 'index' }, :param => :project_id, :caption => :label_issue_plural
In my language (bosnian), usage of singular form makes translation quite bad.
Because of that I have translated label_activity as plural, but there are places where singular is necessary (i.e timesheet plugin)
Updated by Jean-Philippe Lang over 15 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
There's no reason why the menu item (label_acitivity) should be plural (label_activity_plural).
Don't know where this plugin uses this string but it should perhaps use field_activity instead.
Actions