?
avatar tranduyhung
tranduyhung
23 Aug 2015

There are 2 language keys which I can't find them anywhere in Joomla language files

JLIB_APPLICATION_ERROR_CREATE_NOT_PERMITTED - used in

https://github.com/joomla/joomla-cms/blob/master/administrator/components/com_media/controllers/folder.php#L168

JERROR_CORE_CREATE_NOT_PERMITTED - used in

https://github.com/joomla/joomla-cms/blob/master/administrator/components/com_templates/models/style.php#L169 and https://github.com/joomla/joomla-cms/blob/master/administrator/components/com_modules/models/module.php#L398

If they are really missing. What language ini file should we add them to? Can we just simply say "Create not permitted." just like in com_media?

COM_MEDIA_ERROR_CREATE_NOT_PERMITTED="Create not permitted."
avatar tranduyhung tranduyhung - open - 23 Aug 2015
avatar infograf768
infograf768 - comment - 23 Aug 2015

imho the constant JLIB_APPLICATION_ERROR_CREATE_NOT_PERMITTED should just be replaced by COM_MEDIA_ERROR_CREATE_NOT_PERMITTED in https://github.com/joomla/joomla-cms/blob/master/administrator/components/com_media/controllers/folder.php#L168

And a new string
JERROR_CORE_CREATE_NOT_PERMITTED="Create not permitted"
should be added to administrator/language/en-GB/en-GB.ini in alpha order (i.e after line 158)

avatar zero-24 zero-24 - change - 23 Aug 2015
Status New Confirmed
avatar zero-24 zero-24 - change - 23 Aug 2015
Category Language & Strings
avatar zero-24 zero-24 - change - 23 Aug 2015
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2015-08-23 08:52:24
Closed_By zero-24
avatar zero-24
zero-24 - comment - 23 Aug 2015

Closing as here is a PR: #7752 Thanks @tranduyhung and @infograf768


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

avatar zero-24 zero-24 - close - 23 Aug 2015
avatar zero-24 zero-24 - close - 23 Aug 2015
avatar zero-24 zero-24 - close - 23 Aug 2015
avatar zero-24 zero-24 - change - 23 Sep 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment