By Marco Ruggiero on Saturday, 02 January 2016
Posted in General Issues
Replies 8
Likes 0
Views 488
Votes 0
After the publication of an announcement I have this error:

Warning: sprintf(): Too few arguments in /var/www/vhosts/djmoro.com/httpdocs/site/libraries/joomla/language/text.php on line 312

Thank you for watching
happy 2016
Indeed, the string was false in fr-FR.com_easysocial.ini:
APP_USER_BROADCASTS_STREAM_TITLE_POSTED_NEW_ANNOUNCEMENT_TITLE="%1$s a créé la nouvelle annonce %2$"


Deleted %2$ -> ok

Thanks
·
Monday, 04 January 2016 14:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Please ensure that your translated language string for the following has the word %1$s


APP_USER_BROADCASTS_STREAM_TITLE_POSTED_NEW_ANNOUNCEMENT_TITLE="%1$s posted a new announcement"


You are most likely getting this error because the language string is missing the %1$s in the string.
·
Sunday, 03 January 2016 00:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Marco, it seems like the translator may have added an additional word there.
·
Monday, 04 January 2016 21:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

Translator (that is me among others has the following (attached snapshot) in Transifex. So issue is not in translation, but rather in the English string or in code...

Regards
·
Tuesday, 05 January 2016 17:16
·
0 Likes
·
0 Votes
·
0 Comments
·
So the question is: where is the error?
ES and Joomla are updated with the latest version
I have nothing changed in the translation of ES (except this chain)

By removing the second variable is the problem (for the moment) solved ...
·
Tuesday, 05 January 2016 18:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Looks like the english string needs to be updated on Transifex, we'll push it
·
Wednesday, 06 January 2016 00:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you.

French translation is now updated.
·
Wednesday, 06 January 2016 17:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Altitudes for the fast translation service! 2 thumbs up just like our support
·
Wednesday, 06 January 2016 22:16
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post