XF 1.5 Phrase working but wrong language

ge66

Well-known member
I have put the following in EXTRA.css
Code:
.discussionListItem .lastPostInfo .username:before
{
    content: "{xen:phrase last_message}: ";
}
and it works in the way that the phrase is in english not in swedish wich is the chosen language.

Could this be done in an other way or might it be a bug?
 
There's no expectation of phrases being used in CSS, so it's more that it leads to undefined behavior. You'd need to approach it differently.
 
Top Bottom