? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
5 Apr 2021

Make sure we use the namespaced Text:: instead of JText::

avatar brianteeman brianteeman - open - 5 Apr 2021
avatar brianteeman brianteeman - change - 5 Apr 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Apr 2021
Category Administration com_languages
avatar brianteeman brianteeman - change - 5 Apr 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 5 Apr 2021
Category Administration com_languages Administration com_languages com_modules
avatar Quy Quy - test_item - 5 Apr 2021 - Tested successfully
avatar Quy
Quy - comment - 5 Apr 2021

I have tested this item successfully on 08a9844


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

avatar richard67 richard67 - test_item - 5 Apr 2021 - Tested successfully
avatar richard67
richard67 - comment - 5 Apr 2021

I have tested this item successfully on 08a9844


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

avatar richard67
richard67 - comment - 5 Apr 2021

RTC


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

avatar richard67 richard67 - change - 5 Apr 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 5 Apr 2021

RTC


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

avatar richard67
richard67 - comment - 5 Apr 2021

Drone failure is not related to this PR. It comes from the 4.0-dev branch and will be fixed with #33026 .

avatar TLWebdesign
TLWebdesign - comment - 5 Apr 2021

Sorry i have no clue how to do a PR but i can tell you there are two more files having JText:: PHP code in it in this repo after doing a search:

Factory::getDocument()->addScriptDeclaration("var COM_JOOMLAUPDATE_VIEW_DEFAULT_SHOW_MORE_EXTENSION_COMPATIBILITY_INFORMATION = '" . JText::sprintf('COM_JOOMLAUPDATE_VIEW_DEFAULT_SHOW_MORE_EXTENSION_COMPATIBILITY_INFORMATION', '<span class="icon-chevron-right large-icon" style="font-size:0.85rem"></span>', true) . "';");

Factory::getDocument()->addScriptDeclaration("var COM_JOOMLAUPDATE_VIEW_DEFAULT_SHOW_LESS_EXTENSION_COMPATIBILITY_INFORMATION = '" . JText::sprintf('COM_JOOMLAUPDATE_VIEW_DEFAULT_SHOW_LESS_EXTENSION_COMPATIBILITY_INFORMATION', '<span class="icon-chevron-up large-icon" style="font-size:0.85rem"></span>', true) . "';");

$oldVersion = JText::_('JLIB_UNKNOWN');

avatar richard67
richard67 - comment - 5 Apr 2021

@TLWebdesign You've checked the staging branch, as far as I can see. On that branch they are ok, we only want to get rid of the JText is the 4.0-dev branch, as far as I know.

avatar TLWebdesign
TLWebdesign - comment - 5 Apr 2021

Hi @richard67 i checked the 4.0-dev branche. downloaded the package and did a search.

avatar TLWebdesign
TLWebdesign - comment - 5 Apr 2021

Maybe i posted the wrong links then here i guess. Will try to correct them :)

Hmm links are the same so i think i did it correctly tho. Very much a beginner on this so excuse me if it was incorrect tho.

What i did was download 4.0-dev branche and then did a search for JText:: on my Mac. Then looked those files up on github i the 4.0-dev staging branche and got the perma link of the corresponding line.

avatar infograf768
infograf768 - comment - 6 Apr 2021

As far as I could check, @TLWebdesign findings are correct in 4.0-dev

avatar richard67
richard67 - comment - 6 Apr 2021

There might come more of these JTexts when the upmerge from 3.10-dev will be continued.

avatar richard67
richard67 - comment - 6 Apr 2021

@brianteeman Do you want to fix the 3 other places found by @TLWebdesign in the 4.0-dev branch? Or will you make another PR for these plus the other ones which might come when George continues the upmerge from 3.10-dev?

avatar TLWebdesign
TLWebdesign - comment - 6 Apr 2021

This is quite a low skilled job changing this. i wouldn't mind spending my time on this. So you guys can do more higher skilled stuff.

avatar brianteeman
brianteeman - comment - 6 Apr 2021

They are not normal JText - they need to be tested

Please merge this for now. @wilsonge usually catches them when he commits

avatar wilsonge wilsonge - change - 6 Apr 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-04-06 09:27:47
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 6 Apr 2021
avatar wilsonge wilsonge - merge - 6 Apr 2021
avatar wilsonge
wilsonge - comment - 6 Apr 2021

@TLWebdesign definitely happy for you to do some PR's though - every bit definitely helps :)

Thanks!

avatar brianteeman
brianteeman - comment - 6 Apr 2021

thank you

Add a Comment

Login with GitHub to post a comment