{% if version.operation %}
{% set phase = version.operation.phase %}
{% if phase == 'preparing' %}{{ _('about.update_preparing') }} {{ version.operation.target }}{% if version.operation.step == 'wheel' %} · {{ _('about.update_step_wheel') }}{% elif version.operation.step == 'browser' %} · {{ _('about.update_step_browser') }}{% elif version.operation.step == 'offline_confirm' %} · {{ _('about.update_step_offline_confirm') }}{% endif %}
{% elif phase == 'ready' %}{{ _('about.update_waiting') }} {{ version.operation.target }}
{% else %}{{ _('about.update_switching') }}{% endif %}
{% if phase == 'ready' %}
{% endif %}
{% elif version.update_available %}
{% elif version.last_update and version.last_update.result == 'failed' %}
{{ _('about.update_failed') }}
{% endif %}