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

          [CRM-8559] getNavigationList should return translated labels
          Rajan P Mayekar added a comment -

          Fixed in 35520.

            People

            • Assignee:
              Rajan P Mayekar
              Reporter:
              tonthon

              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