Parser is missing keys with parameters
Closed this issue · 2 comments
GabrielCousin commented
I am facing this problem. Those two types of keys seems to be ignored while updating catalog into POedit.
{{i18n-t "{{count}}% stuff" count=var}}
<%= _t("I like {{stuff}}.", { stuff: something }) %>
guillaumepotier commented
Done
guillaumepotier commented
Still missing support for that
_t("Send <span class='Instructions-em'>{{event_keyword}}</span> followed by a space and your message to <span class='Instructions-em'>{{event_sms}}</span>.", {
event_keyword: _.escape(getInfo("wiz.keyword")),
event_sms: sms_number
})
but meh, fuck it, use an intermediate var for _.escape(getInfo("wiz.keyword"))
<3