[% USE Comma; # Note - if we want to i18n the commas we should try # 'Template::Plugin::Number::Format' %] [% stats = c.cobrand.front_stats_data(); new_text = stats.recency == '1 week' ? nget( "%s report in past week", "%s reports in past week", stats.new ) : nget( "%s report recently", "%s reports recently", stats.new ); fixed_text = nget( "%s fixed in past month", "%s fixed in past month", stats.fixed ); updates_text = nget( "%s update on reports", "%s updates on reports", stats.updates ); %]
[% tprintf( new_text, stats.new ) | comma %]
[% tprintf( fixed_text, stats.fixed ) | comma %]
[% IF c.cobrand.moniker != 'zurich' %]
[% tprintf( updates_text, stats.updates ) | comma %]
[% END %]