{% if counter.state is same as 'ready' %} {{ "start" | trans }} {% elseif counter.state is same as 'completed' %} {{ "Reset" | trans }} {% endif %}