XF 1.5 xen:phrase not showing up properly ?

Wyvh

Member
Greetings,
I have set the following code in the message_user_info template to show up a different phrase if user's like count = 1 or not.

Code:
<xen:if is="{xen:number $user.like_count} == 1"><de>{xen:phrase user_clicked_sg, 'count={xen:number $user.like_count}'}"</de></xen:if>
<xen:if is="{xen:number $user.like_count} != 1"><de>{xen:phrase user_clicked_pl, 'count={xen:number $user.like_count}'}"</de></xen:if>

Somehow, the following is showing (I checked on my personnal account which has more than 1 like)

<de>user_clicked_pl"</de>

If needed, here's the phrase used: This user's content has been liked {count} times
Any idea ?

Thank you.
 
Hey,
Thank you for replying.

I just found out, somehow thanks to you, that I might be the dumbest person living.
The cause was pretty simple: my phrases were titled "user_clicked" instead of "user_cliked".

Sorry for not noticing this earlier, haven't really paid attention.
Issue solved
 
Top Bottom