Project

General

Profile

Actions

Defect #649

closed

Menu translations broken

Defect #649: Menu translations broken

Added by Michael Pirogov almost 19 years ago. Updated almost 19 years ago.

Status:
Closed
Priority:
High
Category:
Translations
Target version:
-
Resolution:
Affected version:

Description

Menu translations broken in /lib/redmine.rb after r1137.

Missed :caption => in menu items.


Related issues 1 (0 open — 1 closed)

Related to Redmine - Patch #650: Menu translationClosedJean-Philippe LangActions

Updated by Michael Pirogov almost 19 years ago Actions #1

Patch has been included in #650

Updated by Jean-Philippe Lang almost 19 years ago Actions #2

Some :caption options were intentionally removed in r1137, since menu names are now automatically mapped to the proper localized string if it exists (eg. if the menu name is :foo, the translated string :label_foo will be automatically used if it exists).

Look at the very end of this diff:
http://www.redmine.org/repositories/diff/redmine//trunk/lib/redmine/menu_manager.rb?rev=1137

It works fine for me. Could you confirm the bug ?

Updated by Michael Pirogov almost 19 years ago Actions #3

OK. Fresh checkout seems to be working. Fault is somewhere on my side. This issue have to be closed. Thanks and sorry for the havoc.

Updated by Jean-Philippe Lang almost 19 years ago Actions #4

  • Status changed from New to Closed

Updated by Michael Pirogov almost 19 years ago Actions #5

  • Status changed from Closed to Reopened

Got it :)

If I use any plugin, then all top menus translations are broken. Try to add extra/sample_plugin to the vendor/plugins/ directory, restart rails and you'll see. Probably it cause of that plugin uses its own ymls?

Updated by Jean-Philippe Lang almost 19 years ago Actions #6

  • Status changed from Reopened to Closed
  • % Done changed from 0 to 100

Applied in changeset r1172.

Actions

Also available in: PDF Atom