? ? Pending

User tests: Successful: Unsuccessful:

avatar rjcf18
rjcf18
14 Apr 2017

Summary of Changes

Deleted an unused language string (COM_BANNERS_BANNERS_NO_ITEM_SELECTED) due because there is another language string (COM_BANNERS_NO_BANNERS_SELECTED) with almost the exact same content that is in fact used elsewhere. The deleted one had "No Banners selected." and the one that is used and that remained had "No banners selected.".

Testing Instructions

You can see that the deleted language string is not used anywhere:
deepinscreenshot20170414203623

And the other similar language string is in fact used:
deepinscreenshot20170414212149

Expected result

No longer have an unused lang string while there is another that has the same content and that is used.

Actual result

An unused lang string alongside another lang string with the same content.

avatar rjcf18 rjcf18 - open - 14 Apr 2017
avatar rjcf18 rjcf18 - change - 14 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Apr 2017
Category Administration Language & Strings
avatar brianteeman
brianteeman - comment - 14 Apr 2017

For long and boring reasons it is not our practice to delete unused strings.

avatar rjcf18
rjcf18 - comment - 14 Apr 2017

Oh ok I didn't know that sorry. Will take that into account from now on.

avatar zero-24
zero-24 - comment - 14 Apr 2017

@rjcf18 can you readd that string and add ; The following string are deprecated and will be removed with 4.0. before that line?

avatar brianteeman
brianteeman - comment - 14 Apr 2017

@zero-24 don't forget a lot of unused strings have already been removed from j4 back in September

avatar rjcf18
rjcf18 - comment - 14 Apr 2017

Sure I can do that. I can put something like ; This string is deprecated and will later be removed..

avatar rjcf18 rjcf18 - change - 14 Apr 2017
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 14 Apr 2017

P!ease use the exact string that @zero-24 stated

avatar rjcf18
rjcf18 - comment - 14 Apr 2017

I've placed the comment to flag the lang string as deprecated.

avatar rjcf18
rjcf18 - comment - 14 Apr 2017

Ah ok sure.

avatar wilsonge
wilsonge - comment - 15 Apr 2017

https://github.com/joomla/joomla-cms/blob/staging/libraries/legacy/controller/admin.php#L120 This string is used through a concat of the prefix here: https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_banners/controllers/banners.php#L27

Tbh this should always be picked up by the javascript in the backend. But if somehow it gets forced through server side then this string will be used.

avatar wilsonge wilsonge - change - 15 Apr 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-04-15 22:22:42
Closed_By wilsonge
avatar wilsonge wilsonge - close - 15 Apr 2017

Add a Comment

Login with GitHub to post a comment