? ? Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
4 Jul 2019

Pull Request for Issue #25415 .

Summary of Changes

  1. Change icon and class for the message related to contact errors in the multilanguage status module.
    2. Remove text "Warning! " from the beginning of the language string for that message.

These 2 changes are made with separate commits for each change, so if it turns out that only one of them is accepted, then it can be cherry-picked.

Testing Instructions

See issue #25415 .

Expected result

Consistent display of all warnings, i.e. show contact related warning like all the others with warning class and icon but no text "Warning! " at the beginning.

Actual result

All warnings have warning class and icon and no text "Warning! " at the beginning. Only the text related to contact errors has class and icon for info but text "Warning! " at the beginning.

Documentation Changes Required

None.

avatar richard67 richard67 - open - 4 Jul 2019
avatar richard67 richard67 - change - 4 Jul 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jul 2019
Category Administration com_languages Language & Strings
avatar richard67
richard67 - comment - 4 Jul 2019

@brianteeman I'd like to know your opinion if both changes, 1. icon and class, and 2. the removal of "Warning! " from the beginning of the text are good, or if you think only one of them is better. I think both together is most consistent with other warnings in the multilanguage status module's modal. I've made separate commits so each change can be cherry-picked.

avatar brianteeman
brianteeman - comment - 4 Jul 2019

In joomla 3 you will have to keep the word"warning" in the text. In joomla 4 these messages should all have a headline saying "warning" (and if they dont yet then its just because its on my todo)

The other changes are fine and enough to resolve this issue

avatar richard67
richard67 - comment - 4 Jul 2019

@brianteeman Hmm, the other texts dont's start with "Warning! ". What these warnings all have is a hidden (class="element-invisible") span with JText::_('WARNING'), and so I've changed that hidden span for the questionable warning from JText::_('INFO') to JText::_('WARNING'), Is it that what you mean?

avatar brianteeman
brianteeman - comment - 4 Jul 2019

and the others are wrong which is why I fixed them in j4 ;)

avatar richard67
richard67 - comment - 4 Jul 2019

Ahh. Got it. Will undo the corresponding commit to remove the test part.

avatar brianteeman
brianteeman - comment - 4 Jul 2019

The hidden span is for screen reader users as they cant see the icon or colour

avatar richard67 richard67 - change - 4 Jul 2019
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jul 2019
Category Administration com_languages Language & Strings Administration com_languages
avatar richard67
richard67 - comment - 4 Jul 2019

Yes, that's why I changed that, too. Thanks for advise. I really appreciate that. PR should be ready now.

avatar brianteeman
brianteeman - comment - 4 Jul 2019

I have tested this item successfully on 19ba859


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

avatar brianteeman brianteeman - test_item - 4 Jul 2019 - Tested successfully
avatar alikon
alikon - comment - 4 Jul 2019

I have tested this item successfully on 19ba859


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

avatar alikon alikon - test_item - 4 Jul 2019 - Tested successfully
avatar alikon alikon - change - 4 Jul 2019
Status Pending Ready to Commit
avatar alikon
alikon - comment - 4 Jul 2019

RTC


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Jul 2019

Thanks Guys for your Work.

avatar richard67 richard67 - change - 5 Jul 2019
The description was changed
avatar richard67 richard67 - edited - 5 Jul 2019
avatar HLeithner
HLeithner - comment - 20 Jul 2019

thx

avatar HLeithner HLeithner - change - 20 Jul 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-07-20 18:58:17
Closed_By HLeithner
Labels Added: ?
Removed: ?
avatar HLeithner HLeithner - close - 20 Jul 2019
avatar HLeithner HLeithner - merge - 20 Jul 2019
avatar richard67
richard67 - comment - 20 Jul 2019

Thanks

Add a Comment

Login with GitHub to post a comment