you_have_x_new_unread_conversations with %d ???



I don't understand how the value (%d) in that phrase is replaced.

In navigation_visitor_tab:
<a href="{xen:link conversations}" rel="Menu" class="navLink NoPopupGadget">{xen:phrase inbox}
<strong class="itemCount {xen:if {$visitor.conversations_unread}, '', 'Zero'}"
id="ConversationsMenu_Counter" data-text="{xen:phrase you_have_x_new_unread_conversations}">
<span class="Total">{xen:number $visitor.conversations_unread}</span>
<span class="arrow"></span>

The phrase contains: "You have %d new unread conversation(s)."

I know that the %d is the total of unread conversation. But how to sepcify the value?


Well-known member
As a note...
when pasting code and asking for help....

You should click this code.png image in your editor and paste the code in the box that pops up and then click insert.
This will preserve your code in the post without changing it and without parsing smileys.


Well-known member
The %d is replaced when phrases are compiled with their integer value. Here, it's the number between the span I believe.