?
avatar Quy
Quy
18 Sep 2020

Steps to reproduce the issue

Go to System > Redirects
Use browser's inspector to hover over close icon.
See markup for untranslated text.

jclose

avatar Quy Quy - open - 18 Sep 2020
avatar joomla-cms-bot joomla-cms-bot - change - 18 Sep 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Sep 2020
avatar Formatio-hippocampi
Formatio-hippocampi - comment - 19 Sep 2020

Issue confirmed.

avatar sandewt
sandewt - comment - 19 Sep 2020

I confirm this issue.


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

avatar infograf768
infograf768 - comment - 19 Sep 2020

In fact this is happens everytime a message is displayed whether in redirects or save success, etc.
Code is in `/media/vendor/joomla-custom-elements/js/joomla-alert-es5.js

3 strings are concerned
JCLOSE
JOPEN
JOK

We can create the strings for JOPEN and JOK (and use some existing ones for close, for example JLIB_HTML_BEHAVIOR_CLOSE="Close"

As these alerts are used everywhere (back and frontend) and they are js, we have to declare them somewhere.
Any idea where?

Text::script('JLIB_HTML_BEHAVIOR_CLOSE', true);
Text::script('JOPEN', true);
Text::script('JOK', true);

avatar infograf768
infograf768 - comment - 19 Sep 2020

Found out, will make patch, creating also the 3 strings and adding the declaration in message .php

avatar infograf768 infograf768 - change - 19 Sep 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-09-19 07:07:53
Closed_By infograf768
avatar infograf768 infograf768 - close - 19 Sep 2020
avatar infograf768
infograf768 - comment - 19 Sep 2020

Please test
#30684

Closing as we have a patch

Add a Comment

Login with GitHub to post a comment