ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Missing caption in file redmine.rb (Bug #1118)


Added by Jan Kowalski at 2012-08-13 03:36 pm. Updated at 2012-12-16 11:53 am.


Status:Closed Start date:2012-08-13
Priority:Normal Due date:
Assignee:Felix Schäfer % Done:

0%

Category:Translations
Target version:3.4.0
Remote issue URL: Affected version:

Description

Hello.
I found the missing piece of code in the file \lib\redmine.rb
He was responsible for displaying the correct name on the menu for other language.

  menu.push(:time_entries, { :controller => 'timelog', :action => 'index' }, {
              :param => :project_id,
              :if => Proc.new {|p| User.current.allowed_to?(:view_time_entries, p) }
            });
  menu.push(:new_time_entry, { :controller => 'timelog', :action => 'new' }, {
              :param => :project_id,
              :if => Proc.new {|p| User.current.allowed_to?(:log_time, p) },
              :parent => :time_entries
            })
  menu.push(:time_entry_report, { :controller => 'time_entry_reports', :action => 'report' }, {
              :param => :project_id,
              :if => Proc.new {|p| User.current.allowed_to?(:view_time_entries, p) },
              :parent => :time_entries
            })

In each section is missing an entry:

:caption => : ... ,

These captions are not in the language files and show only in english => Time entries, New time entry, Time entry reports


Associated revisions

Revision ce5524ba
Added by C-Moreira at 2012-11-22 11:54 am

Add localized translation for Time entry menu. #1118

History

Updated by Felix Schäfer at 2012-11-22 01:49 pm

To clarify: menu entries implicitly use a caption of the form label_name_of_the_menu_entry if none is set, thus those 3 entries have the label_time_entries, label_new_time_entry and label_time_entry_report captions.

Carlos was so kind as to provide the portuguese translations for these, and we've added the strings to the english locale file too (which means the strings will be copied over from english to all other locales before the next release). Jan, is there another language you'd like to contribute a translation for?

  • Assignee set to Felix Schäfer
  • Status changed from Open to Needs more information
  • Target version changed from 4.0.0 to 3.4.0

Updated by Jan Kowalski at 2012-11-26 01:01 pm

Polish :)

Updated by Felix Schäfer at 2012-11-26 03:18 pm

Jan, if you can contribute them (see ce5524ba for an example) I'll happily merge them.

Updated by Felix Schäfer at 2012-12-16 11:53 am

Closing this, feel free to open a new issue with additional translations.

  • Status changed from Needs more information to Closed

Also available in: Atom PDF