? ? Pending

User tests: Successful: Unsuccessful:

avatar dieudonnetimma
dieudonnetimma
31 Jul 2018

Pull Request for Issue # .

Summary of Changes

In the administration section of the menu component it is possible in the view "Manage all menuitems" to see all menu items. In this table we can see for each item in the column title: the title, the alias and the menu type. The problem was that the menu type was not translated before.

Testing Instructions

-Create a menuitem with a type

  • go to the view "manage all menuitem"

Expected result

-The menutype of the menuitem is translated

Actual result

-The menutype of the menuitem is not translated

Documentation Changes Required

avatar dieudonnetimma dieudonnetimma - open - 31 Jul 2018
avatar dieudonnetimma dieudonnetimma - change - 31 Jul 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jul 2018
Category Unit Tests Repository Administration com_admin
avatar roland-d roland-d - change - 31 Jul 2018
The description was changed
avatar roland-d roland-d - edited - 31 Jul 2018
avatar brianteeman
brianteeman - comment - 31 Jul 2018

You are trying to merge the Joomla 4 branch into staging (which won't work obviously)

If you only meant to make this change in Joomla 4 then you can edit this PR here on github by selecting the edit button next to the title and selecting 4.0-dev as the branch

If you meant to make this change in Joomla 3 then you will need to change the branch at your end and when updated push the changes

avatar roland-d
roland-d - comment - 31 Jul 2018

@brianteeman I noticed as well and relinked it against 4.0, now it is just 1 file. Thanks for noticing.

avatar roland-d roland-d - change - 31 Jul 2018
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jul 2018
Category Unit Tests Repository Administration com_admin Administration com_menus
avatar brianteeman
brianteeman - comment - 31 Jul 2018

@roland-d I didnt simply because the description said nothing about the joomla version so couldnt be certain ;)

avatar brianteeman
brianteeman - comment - 31 Jul 2018

Definitely a bug. But won't this change then mean it won't work with 3pd components that have not been updated to this new file layout. IIRC both layouts will work

avatar roland-d roland-d - change - 31 Jul 2018
Title
Fixed the translation of the view type in menuitem
[4.0] Fixed the translation of the view type in menuitem
avatar roland-d roland-d - edited - 31 Jul 2018
avatar wilsonge
wilsonge - comment - 31 Jul 2018

Yes we need to do a series of if checks here - there's already one for the view folder (instead of views)

avatar dieudonnetimma dieudonnetimma - change - 31 Jul 2018
Labels Added: ?
Removed: ?
avatar Bakual
Bakual - comment - 1 Aug 2018

Code looks fine beside a minor CS issue.

avatar wilsonge wilsonge - change - 1 Aug 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-08-01 12:51:49
Closed_By wilsonge
avatar wilsonge wilsonge - close - 1 Aug 2018
avatar wilsonge wilsonge - merge - 1 Aug 2018
avatar wilsonge
wilsonge - comment - 1 Aug 2018

Nice stuff! Thanks!

Add a Comment

Login with GitHub to post a comment