? ? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
8 Jul 2019

Pull Request for Issue #25344
Replaces #25472

Summary of Changes

Loading main administrator joomla xx-XX.ini is not a good idea as it may override some frontend xx-XX.ini strings.
The only reason $lang->load('joomla', JPATH_ADMINISTRATOR); was added for com_menus and com_modules was to get these strings from backend.
These calls are now deleted.

The correct solution was to add then in frontend.
Some looks weird to add:

JTOGGLE_HIDE_SIDEBAR="Hide the sidebar"
JTOGGLE_SHOW_SIDEBAR="Show the sidebar"

but as they show as untranslated when using the Field xtd, I added them.
(it would be interesting to find out why they are needed there and if corrected, delete them in 4.0)

Testing Instructions

Set Language debug on and load each xtd plugin when editing an article in frontend.
Check if any string is missing.

After patch

The main display change with Protostar is the corrected JGLOBAL_LIST_ALIAS="(<span>Alias</span>: %s)" string.

@SharkyKZ @Quy

avatar infograf768 infograf768 - open - 8 Jul 2019
avatar infograf768 infograf768 - change - 8 Jul 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jul 2019
Category Front End com_modules Language & Strings
avatar infograf768 infograf768 - change - 8 Jul 2019
The description was changed
avatar infograf768 infograf768 - edited - 8 Jul 2019
avatar infograf768 infograf768 - change - 9 Jul 2019
Labels Added: ? ?
avatar infograf768
infograf768 - comment - 9 Jul 2019

@Quy Should be OK now. tks.

avatar Quy Quy - test_item - 10 Jul 2019 - Tested successfully
avatar Quy
Quy - comment - 10 Jul 2019

I have tested this item successfully on 659eeca


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

avatar joomla-cms-bot joomla-cms-bot - change - 10 Jul 2019
Category Front End com_modules Language & Strings Administration com_fields Front End com_modules Language & Strings
avatar infograf768
infograf768 - comment - 10 Jul 2019

@Quy
Please test again. I found out why

JTOGGLE_HIDE_SIDEBAR
JTOGGLE_SHOW_SIDEBAR

was showing as untranslated for the Field xtd plugin.
Sidebar was also loaded for modal which should not have been done. :)
Therefore corrected the view.html.php and took off the strings from frontend.

avatar Quy Quy - test_item - 10 Jul 2019 - Tested successfully
avatar Quy
Quy - comment - 10 Jul 2019

I have tested this item successfully on 9442de7


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

avatar Quy
Quy - comment - 10 Jul 2019

I have tested this item successfully on 9442de7


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

avatar richard67 richard67 - test_item - 10 Jul 2019 - Tested successfully
avatar richard67
richard67 - comment - 10 Jul 2019

I have tested this item successfully on 22b09f6


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

avatar richard67
richard67 - comment - 10 Jul 2019

I have tested this item successfully on 22b09f6


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

avatar Quy Quy - change - 10 Jul 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 10 Jul 2019

RTC


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

avatar Quy
Quy - comment - 10 Jul 2019

RTC


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

avatar infograf768
infograf768 - comment - 12 Jul 2019

@HLeithner
Please merge so that TTs can work on it asap.

avatar infograf768 infograf768 - change - 12 Jul 2019
Labels Added: ?
avatar HLeithner HLeithner - change - 12 Jul 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-07-12 07:50:50
Closed_By HLeithner
avatar HLeithner HLeithner - close - 12 Jul 2019
avatar HLeithner HLeithner - merge - 12 Jul 2019
avatar HLeithner
HLeithner - comment - 12 Jul 2019

thx

Add a Comment

Login with GitHub to post a comment