[MGNLCMNT-30] Don't concatenate translation messages, use proper formatting ("3 comments") Created: 25/Nov/10  Updated: 14/Mar/12  Resolved: 10/Dec/10

Status: Closed
Project: Commenting (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2

Type: Improvement Priority: Major
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

If we use concatenation (i.e <em>${msgCount}</em> ${i18n.get('template.comments.comments',[msgCount)} this, then the only option is to display "0 comments" instead of "no comments".

We probably did this to keep the msgCount in between <em> tags, but the trade-off of having the <em> in the translation file seems lower than having poor textual content.



 Comments   
Comment by Eric Hechinger [ 14/Mar/12 ]

Tested 4.5.1

Generated at Mon Feb 12 00:02:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.