{% extends "base.html" %} {% from "_icons.html" import icon %} {#- Voices (#390, DESIGN.md "Voices"): one panel per language pack with its files, then the one download with its hosts and consent (VA-03, D-252). -#} {% block title %}{{ t('setup.title') }} ยท {{ t('common.app') }}{% endblock %} {% block main %}

{{ t('setup.title') }}

{{ t('setup.intro') }}

{% if installed %}

{{ icon('check', 'l') }}{{ t('setup.installed') }}

{% endif %} {% for pack in packs %}
{{ icon('voices') }}

{{ pack.name }}

{% if pack.installed %} {{ icon('check', 's') }}{{ t('setup.chip_installed') }} {% else %} {{ icon('download', 's') }}{{ t('setup.chip_missing') }} {% endif %}
{#- one card per voice with a sample (#419); a pack not installed shows its cards greyed, with what it would download, and fetches nothing -#} {% if pack.files %}
{% for file in pack.files %} {% endfor %}
{{ t('setup.files_of', name=pack.name) }}
{{ t('setup.file') }}{{ t('setup.size') }}{{ t('setup.licence') }}
{{ file.target }}{{ file.size }}{{ file.licence }}
{% endif %}
{% endfor %}
{{ icon('download') }}

{{ t('setup.files') }}

{{ t('setup.total', size=total, missing=missing) }}

{{ t('setup.hosts') }}

{{ t('setup.privacy') }}

{% if not installed %}

{% endif %}

{% endblock %}