Attempt to install multilingual sample data without having installed any additional languages
Grey out the "Install" button if the criteria hasn't been met
Required to click "Install", then confirm an alert message, then a danger alert is displayed
Labels |
Added:
?
|
I'm no fan of either actually.
The text already states what the requirements are, and when you press the button it clearly says what you're missing. That's fine for me.
If we grey out the button, you would also have to dynamically tell the user somehow what exactly he is missing. Maybe by clicking the button you'd get a help text or whatever. In the end, you just complicate the code but don't gain anything. But that's a personal opinion.
I think this alert is fine. Obsfuscating the possibility would make it a hidden feature, as well as multilang in general by the way.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-04 08:51:09 |
Closed_By | ⇒ | joomla-cms-bot |
Status | Closed | ⇒ | Duplicate Report |
Closed_By | joomla-cms-bot | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/23634
See #20749 for a change in that behavior, which would completely hide the option if the criteria is not met.
You suggestions would be an alternative, but would require an API change in how the module works.