Pending

User tests: Successful: Unsuccessful:

avatar WebMechanic
WebMechanic
19 Feb 2012

...to search for language files.

allows a single line of
$lang->load('plg_'.$folder.'_'.$element, array(JPATH_ADMINISTRATOR,JPATH_PLUGINS.'/'.$folder.'/'.$element), true, false, false);
to perform the same as a bulks of
$lang->load('plg_'.$folder.'_'.$element, JPATH_ADMINISTRATOR, null, false, false) || $lang->load('plg_'.$folder.'_'.$element, JPATH_PLUGINS.'/'.$folder.'/'.$element, null, false, false) || $lang->load('plg_'.$folder.'_'.$element, JPATH_ADMINISTRATOR, $lang->getDefault(), false, false) || $lang->load('plg_'.$folder.'_'.$element, JPATH_PLUGINS.'/'.$folder.'/'.$element, $lang->getDefault(), false, false);

I'll add subsequent pull requests where this change is used.
Next part will handle "tpl_" files.

avatar WebMechanic WebMechanic - open - 19 Feb 2012
avatar nicksavov
nicksavov - comment - 29 Mar 2013

Thanks for coding this, WebMechanic!

While we’re transitioning to a new integrated tracker, could you report the issue on our current main tracker at JoomlaCode and cross-reference each with a link to the other? Here’s the process for reporting on the other tracker:
http://docs.joomla.org/Filing_bugs_and_issues

Alternatively, let me know if you’d like me to create it for you and I can go ahead and do that.

Thanks in advance and thanks again for coding this, WebMechanic!

avatar nicksavov
nicksavov - comment - 5 May 2013

I'm closing this one, since it looks like #132 has the same code.

Thanks WebMechanic!

avatar nicksavov nicksavov - close - 5 May 2013
avatar coolbung coolbung - reference | 927b5b1 - 28 Aug 13

Add a Comment

Login with GitHub to post a comment