? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
3 Feb 2017

When creating custom admin menus, one can choose as title a language string constant.
For example
screen shot 2017-02-03 at 08 24 37

These constants (when they exist in core pack or overrides. I chose here some which are present in the sys.ini) will be translated in the menu items Manager as well as in the Menu itself

Menu items manager
screen shot 2017-02-03 at 08 19 57

Menu itself
screen shot 2017-02-03 at 10 41 36

BUT, as you can see in the first screenshot, they are not translated in the "Parent Item" and "Ordering" dropdown.

This patch passes them through JText to get them translated there too.
After patch, one would get:

screen shot 2017-02-03 at 10 31 06
screen shot 2017-02-03 at 10 30 56

To test, create some custom admin menu items with existing Constant (some examples can be seen above).
Edit one of these menu items.
Patch and edit again.

It is useful to set debug language ON in global Configuration to ease testing

@izharaazmi @franz-wohlkoenig @AlexRed

avatar infograf768 infograf768 - open - 3 Feb 2017
avatar infograf768 infograf768 - change - 3 Feb 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Feb 2017
Category Administration com_menus
8ff97fb 3 Feb 2017 avatar infograf768 oops
avatar infograf768 infograf768 - change - 3 Feb 2017
Labels Added: ?
b7f6847 3 Feb 2017 avatar infograf768 cs
avatar izharaazmi
izharaazmi - comment - 3 Feb 2017

I have tested this item successfully on b7f6847


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13889.

avatar izharaazmi izharaazmi - test_item - 3 Feb 2017 - Tested successfully
avatar AlexRed
AlexRed - comment - 3 Feb 2017

I have tested this item successfully on b7f6847

Patch ok for me


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13889.

avatar infograf768 infograf768 - change - 3 Feb 2017
Status Pending Ready to Commit
avatar AlexRed AlexRed - test_item - 3 Feb 2017 - Tested successfully
avatar infograf768
infograf768 - comment - 3 Feb 2017

rtc. tks for testing.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13889.

avatar wilsonge wilsonge - change - 4 Feb 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-04 17:49:55
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 4 Feb 2017
avatar wilsonge wilsonge - merge - 4 Feb 2017

Add a Comment

Login with GitHub to post a comment