?
avatar GeneticsPro
GeneticsPro
12 Aug 2016

Steps to reproduce the issue

Now a name for the library, for example:
<name>The Joomla!</name>

And in the Extension Manager language file is ignored:
if (!in_array($item->type, array('language', 'template', 'library')))
{
$item->name = JText::_($item->name);
}

Expected result

Library name:
<name>lib_joomla</name>

en-GB.lib_joomla.sys.ini:
LIB_JOOMLA="The Joomla!"

if (!in_array($item->type, array('language', 'template')))
{
$item->name = JText::_($item->name);
}

Additional comments

Joomla Library - is only an example.

avatar GeneticsPro GeneticsPro - open - 12 Aug 2016
avatar brianteeman brianteeman - change - 12 Aug 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 14 Aug 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 14 Aug 2016
Labels Removed: ?
avatar zero-24
zero-24 - comment - 14 Aug 2016

see: #11595

avatar zero-24
zero-24 - comment - 14 Aug 2016

I have completly removed that check.

avatar zero-24
zero-24 - comment - 14 Aug 2016

So both is possible using <name>My Lib Name</name> and <name>lib_joomla</name>

avatar zero-24 zero-24 - change - 14 Aug 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-08-14 14:30:27
Closed_By zero-24
avatar joomla-cms-bot joomla-cms-bot - close - 14 Aug 2016
avatar zero-24
zero-24 - comment - 14 Aug 2016

Set to "closed" on behalf of @zero-24 by The JTracker Application at issues.joomla.org/joomla-cms/11567

avatar zero-24
zero-24 - comment - 14 Aug 2016

Closing as there is a PR.


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

Add a Comment

Login with GitHub to post a comment