Bug in com_weblinks

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

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
http://www.joomlis.net

 
User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19000
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
from
JUtility::sendAdminMail($adminRow->name, $adminRow->email, '', 'Weblink', $post['title']." URL link ".$post[url], $user->get('username'), JURI::base());
to
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

 

Locked

Return to “Joomla! 1.5 Bug Reporting”