3👍
I resolved this by doing the translations separately and using the escapejs filter.
{% trans "String one" as string_one %}
{% trans "String two" as string_two %}
<select data-bind="
optstr: [{value: 'none', label: '{{ string_one|escapejs }}'},
{value: 'open', label: '{{ string_two|escapejs }}'}],
value: actionType
"></select>
Source:stackexchange.com