? Success

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
4 Feb 2016

This is just a small PR which change the text of state dropdown (generated by JHtmlGrid::state method) from a text to a language item

We have language items JPUBLISHED, JUNPUBLISHED and I think we should use it instead of Published and Unpublished string at the moment.

I found this issue while supporting a customer site. His site language is Italian but when I used JHtmlGrid::state('published'), that English text Published and Unpublished are not translated.

avatar joomdonation joomdonation - open - 4 Feb 2016
avatar joomdonation joomdonation - change - 4 Feb 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Feb 2016
Labels Added: ?
avatar anibalsanchez anibalsanchez - test_item - 5 Feb 2016 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 5 Feb 2016

I have tested this item :white_check_mark: successfully on dd87b1c

Test OK


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

avatar brianteeman brianteeman - change - 8 Feb 2016
Category Language & Strings Libraries
avatar richard67
richard67 - comment - 12 Feb 2016

If I knew where to find a state dropdown where this problem occurs, or which code snippet to use to generate such if it is not in standard backend or frontent templates somewhere, then I could test this PR, too.


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

avatar joomdonation
joomdonation - comment - 12 Feb 2016

Thanks Richard. Just add this code to administrator/components/com_content/content.php for example.

echo JHtmlGrid::state();

Check and make sure:

  1. For English language, before and after patch, the dropdown generated by the above command is the same

  2. For Italia language (maybe for other languages), before patch, the text Published and Unpublished in the dropdown is not translated. After patch, these text is translated to Italia language

avatar richard67 richard67 - test_item - 12 Feb 2016 - Tested successfully
avatar richard67
richard67 - comment - 12 Feb 2016

I have tested this item :white_check_mark: successfully on dd87b1c


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

avatar brianteeman brianteeman - change - 15 Feb 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 15 Feb 2016

Thanks for testing - setting RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 15 Feb 2016
Labels Added: ?
avatar Kubik-Rubik Kubik-Rubik - change - 18 Feb 2016
Milestone Added:
avatar Kubik-Rubik
Kubik-Rubik - comment - 18 Feb 2016

Thank you @joomdonation and testers!

avatar Kubik-Rubik Kubik-Rubik - close - 18 Feb 2016
avatar joomla-cms-bot joomla-cms-bot - close - 18 Feb 2016
avatar Kubik-Rubik Kubik-Rubik - reference | cf62e62 - 18 Feb 16
avatar Kubik-Rubik Kubik-Rubik - merge - 18 Feb 2016
avatar Kubik-Rubik Kubik-Rubik - change - 18 Feb 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-02-18 08:47:44
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - close - 18 Feb 2016
avatar joomla-cms-bot joomla-cms-bot - change - 18 Feb 2016
Labels Removed: ?
avatar joomdonation joomdonation - head_ref_deleted - 18 Feb 2016

Add a Comment

Login with GitHub to post a comment