Bug in com_weblinks

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
User avatar
Joomla! Intern
Joomla! Intern
Posts: 75
Joined: Wed Jan 30, 2008 3:06 pm
Location: Iceland

Bug in com_weblinks

Post by RadoX » Fri Feb 15, 2008 4:42 am

When posting a weblink I get e-mail as an admin, looks like this....
Halló Administrator,
Notandi sendi Weblink:
[ Test44 URL link http://test.is ]
hefur verið sent inn af notandanum:
[ Loony ]
fyrir http://localhost/Joomla/.
The "Weblink" is not translated!
I found a way to translate it for me in ./components/com_weblinks/controllers/weblink.php
// send email notification to admins
foreach ($adminRows as $adminRow) {
JUtility::sendAdminMail($adminRow->name, $adminRow->email, '', 'Vefhlekk', $post['title']." URL link ".$post[url], $user->get('username'), JURI::base());
But I think it would be better if you would do a translation string.
Admin of the Joomlís! community
Member of the Icelandic Joomla Translation Team

User avatar
Joomla! Master
Joomla! Master
Posts: 19014
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Bug in com_weblinks

Post by infograf768 » Wed Feb 20, 2008 6:31 am

Change line 106
JUtility::sendAdminMail($adminRow->name, $adminRow->email, '', 'Weblink', $post['title']." URL link ".$post[url], $user->get('username'), JURI::base());
JUtility::sendAdminMail($adminRow->name, $adminRow->email, '', JText::_( 'Web Link' ), $post['title']." URL link ".$post[url], $user->get('username'), JURI::base());

Moving to Q&T and tracking issue
Jean-Marie Simonet / infograf · http://www.info-graf.fr
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group



Return to “Joomla! 1.5 Bug Reporting”