Where to modify the following text: "Vote registered successfully!" (SOLVED) 7 years 3 weeks ago #1

  • Uyttebroeck Michel
  • Localtime: 10:29
  • Europe/Bucharest
  • Posts: 15
Hi all,

Where to modify the following text: "Vote registered successfully!"
I can't see this text within the language file.

Thanks !!
Michel
The administrator has disabled public write access.

Re: Where to modify the following text: "Vote registered successfully!" 7 years 3 weeks ago #2

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 10:29
  • Europe/Bucharest
  • Posts: 4632
Hello!

1. Edit [Joomla dir]\components\com_hotornot\controller.php and change line 63 from:
$msg   =  JText::_('Vote registered successfully!');

to:
$msg   =  JText::_('COM_HOTORONOT_VOTE_REGISTERED');

2. Add to the language file and translate:
COM_HOTORONOT_VOTE_REGISTERED="YOUR TRANSLATION HERE"
thePHPfactory Customer Support
The administrator has disabled public write access.

Re: Where to modify the following text: "Vote registered successfully!" 7 years 3 weeks ago #3

  • Uyttebroeck Michel
  • Localtime: 10:29
  • Europe/Bucharest
  • Posts: 15
Thanks Alex. It worked fine.
Cheers

Michel
The administrator has disabled public write access.