No Code Attached Yet bug good first issue
avatar dzandut
dzandut
7 Feb 2022

Steps to reproduce the issue

Enable email display

Expected result

The value of the language variable

Actual result

language variable

System information (as much as possible)

Additional comments

No required variable in language files
extra characters "> at the end of the variable

76 <span class="visually-hidden"><?php echo Text::_('COM_CONTACT_EMAIL'); ?>"></span>
avatar dzandut dzandut - open - 7 Feb 2022
avatar dzandut dzandut - change - 7 Feb 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 7 Feb 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Feb 2022
avatar chmst
chmst - comment - 7 Feb 2022

I cannot replicate this with English language. Which language is it?

avatar chmst chmst - change - 7 Feb 2022
Labels Added: Information Required
avatar chmst chmst - labeled - 7 Feb 2022
avatar brianteeman
brianteeman - comment - 7 Feb 2022

@chmst the code is clearly wrong as there is an extra " and there is no language string com_contact_email

avatar chmst
chmst - comment - 7 Feb 2022

my bad, was looking at the wrong place.

avatar chmst chmst - change - 7 Feb 2022
Labels Removed: Information Required
avatar chmst chmst - unlabeled - 7 Feb 2022
avatar dzandut
dzandut - comment - 7 Feb 2022

I think that this is for any language, since this variable is not in English.

If I try to find the COM_CONTACT_EMAIL variable
it is not in more than one language file

Specifically, I checked, I did a variable search throughout the project. I have default English and German installed

76 <span class="visually-hidden"><?php echo Text::_('COM_CONTACT_EMAIL'); ?>"></span>

Located on the following path
components/com_contact/tmpl/contact/default_address.php

I think the variable should be in the file
language/en-GB/com_contact.ini
But she's not there as in other language files


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36957.
avatar chmst chmst - change - 7 Feb 2022
Labels Added: bug
avatar chmst chmst - labeled - 7 Feb 2022
avatar chmst chmst - change - 7 Feb 2022
Labels Added: good first issue
avatar chmst chmst - labeled - 7 Feb 2022
avatar prakhar3062
prakhar3062 - comment - 8 Feb 2022

Can i work on this issue, i will try to resolve to resolve the bug

avatar chmst
chmst - comment - 8 Feb 2022

Go for it :)

avatar prakhar3062
prakhar3062 - comment - 9 Feb 2022

I have made the pr

avatar alikon alikon - change - 9 Feb 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-02-09 07:23:54
Closed_By alikon
avatar alikon alikon - close - 9 Feb 2022
avatar alikon
alikon - comment - 9 Feb 2022

please test #36976

Add a Comment

Login with GitHub to post a comment