Open joerg-walter-de opened 3 years ago
Let's say, I have the two keys ok and not_ok that are used as state:
{ a: { state: 'ok' }, b: { state: 'ok } }
But it has to be translated in the a context into 'Yes' and in the b context into 'Fine'.
Is it possible to do that and if so how?
Somehow I would have to write this:
<p> {{__ "ok"}} </p>
But I would like to write something like:
<p> {{__ "ok" context='a'}} </p>
Let's say, I have the two keys ok and not_ok that are used as state:
{ a: { state: 'ok' }, b: { state: 'ok } }
But it has to be translated in the a context into 'Yes' and in the b context into 'Fine'.
Is it possible to do that and if so how?
Somehow I would have to write this:
<p> {{__ "ok"}} </p>
But I would like to write something like:
<p> {{__ "ok" context='a'}} </p>