Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8559

getNavigationList should return translated labels

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.4, 4.0.4
    • Fix Version/s: 3.4.5, 4.0.5
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When you edit a report in a non-english linguage, the option provided in the 'Parent Menu' select list are not translated.
      This is due to the core method getNavigationList which returns non-translated labels.

      A solution is provided in the attached patch, it inializes the i18n singleton and ask for translation in the _getNavigationLabel method.
      It affects the CRM/Core/BAO/Navigation.php file.

        Attachments

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              tonthon tonthon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - Not Specified
                Not Specified