Javascript phrase parameters

How do you pass a parameter to a phrase in javascript? I'm trying the following, but I don't see the substituted value:

my_phrase has the following in my phrases.xml file: '{myParam} man'

XF.phrase("my_phrase",{"{myParam}":'weeee'})

Unfortunately, I only see my_phrase rendered on the page.

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ