xslate errors
jbarrett opened this issue · comments
John Barrett commented
$ perl -Ilib bin/ddg_publisher test_publish
Publishing to /home/ubuntu/projects/duckduckgo-publisher/test_publish
- DDG::Publisher::Site::Duckduckhack
- DDG::Publisher::Site::Duckduckgo
Text::Xslate: Missing argument in sprintf at /opt/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Locale/Simple.pm line 124.
(/home/ubuntu/projects/duckduckgo-publisher/share/site/duckduckgo//bang.tx:15) at lib/DDG/Publisher/SiteRole.pm line 181.
----------------------------------------------------------------------------
<div style="margin-bottom:15px;"></div>
<: l('We call these commands %s, and this syntax works for 100s of sites:','!bangs') :>
----------------------------------------------------------------------------
- DDG::Publisher::Site::Dontbubbleus
- DDG::Publisher::Site::Donttrackus
Text::Xslate: Argument "<a href="h..." isn't numeric in sprintf at /opt/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Locale/Simple.pm line 124.
(/home/ubuntu/projects/duckduckgo-publisher/share/site/donttrackus//index.tx:83) at lib/DDG/Publisher/SiteRole.pm line 181.
----------------------------------------------------------------------------
<h4><: l("Your saved searches can be legally requested,%sand then come back to haunt you.", r('</h4>
----------------------------------------------------------------------------
6733 files generated
I don't believe these are related to erroneous translations - placeholders seem to be present and correct in all published translations for each token.