What's New
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic.
Tagged: comments, reviews, stproductcomments
Hi,
I’m sorry, I can’t give you FTP or BO access. In your screenshot the date for Admin comment is displayed correctly, but look at the “2 Minute ago” string. The “Minute” should be plural “Minutes”. Plural shows for “1” and singular shows for “2+”. This also affects Minutes/Hours/Days/Weeks/Months/Years.
The plurality is clearly mixed up in modules/stproductcomments/views/templates/hook/timeago.tpl:
{$timeago['y']} {if $timeago['y']>1}{l s='Year' d='Shop.Theme.Panda'}{else}{l s='Years' d='Shop.Theme.Panda'}{/if}
{elseif key($timeago)=='m'}
should be
{$timeago['y']} {if $timeago['y']>1}{l s='Years' d='Shop.Theme.Panda'}{else}{l s='Year' d='Shop.Theme.Panda'}{/if}
{elseif key($timeago)=='m'}
because $timeago > 1 = 2+
Also, you didn’t address the star rating issue. The star ratings and plurality are a much bigger problem than admin comment date. I can hide that date with custom CSS.
Can you please fix the plurality and the star rating so that it shows correctly when I disable Review Criteria? The problem is with the module, not with my setup.
Hi,
1. Thanks for the bug report, I fixed the plurality problem on my dev verson, which will be released in the next update.
2. It requires at least one criterion, otherwise, the module can’t work fine. there is an alternative way, just add some spaces for the criterion to resolve it, see attached screenshot.
Best regards.
You must be logged in to reply to this topic.