https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-03-16T22:16:10ZRedmineRedmine - Defect #2977: activity pluralhttps://www.redmine.org/issues/2977?journal_id=80822009-03-16T22:16:10ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Where this string would be used?</p> Redmine - Defect #2977: activity pluralhttps://www.redmine.org/issues/2977?journal_id=80902009-03-17T08:30:56ZErnad Husremovic
<ul></ul><p>I have changed that on my local branch at every place where we point to set of activities</p>
<pre>
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
</pre>
<p>In my language (bosnian), usage of singular form makes translation quite bad.</p>
<p>Because of that I have translated label_activity as plural, but there are places where singular is necessary (i.e <a href="https://projects.littlestreamsoftware.com/projects/redmine-timesheet" class="external">timesheet plugin</a>)</p> Redmine - Defect #2977: activity pluralhttps://www.redmine.org/issues/2977?journal_id=88282009-04-24T17:34:36ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Wont fix</i></li></ul><p>There's no reason why the menu item (label_acitivity) should be plural (label_activity_plural).<br />Don't know where this plugin uses this string but it should perhaps use field_activity instead.</p>