{% extends "clairvia/base.html" %} {% block page %}settings{% endblock %} {% block meta %}{% endblock %} {% block title %}{{ t('set_title') }} - Clairvia{% endblock %} {% block header %}
{{ ic.mark(28) }}Clairvia
{% endblock %} {% block main %}

{{ ic.icon('sliders') }}{{ t('set_title') }}

{{ t('set_intro') }}

{%- if done in ('saved', 'reset') %}

{{ ic.icon('check') }}{{ t('set_saved') if done == 'saved' else t('set_reset_done') }}

{%- elif done in ('noengine', 'invalid') %} {%- elif done in ('ranksaved', 'rankcleared') %}

{{ ic.icon('check') }}{{ t('rank_saved') if done == 'ranksaved' else t('rank_cleared') }}

{%- elif done in ('rankinvalid', 'ranktoomany') %} {%- endif %} {%- if skipped %}

{{ ic.icon('info') }}{{ t('rank_skipped', n=skipped) }}

{%- endif %}

{{ ic.icon('sync' if account.signed_in else 'lock') }} {%- if account.signed_in %}{{ t('set_sync_on') }} {%- elif account.enabled %}{{ t('set_sync_signin') }} {{ t('acc_signin') }} {%- else %}{{ t('set_sync_local') }}{% endif %}

{{ ic.icon('shield') }}

{{ t('set_safe') }}

{%- if safe_locked %}{{ ic.icon('lock') }}{{ t('set_locked') }}{% endif %}

{{ t('set_safe_d') }}

{{ t('set_safe') }}
{%- if unsafe and safesearch != '0' %}

{{ ic.icon('alert') }}{{ t('set_safe_gap', engines=unsafe | join(', ')) }}

{%- endif %}
{{ ic.icon('globe') }}

{{ t('set_region') }}

{%- if language_locked %}{{ ic.icon('lock') }}{{ t('set_locked') }}{% endif %}

{{ t('set_region_d') }}

{%- if unlocalized and search_language != 'all' %}

{{ ic.icon('info') }}{{ t('set_lang_gap', engines=unlocalized | join(', ')) }}

{%- endif %}
{%- if suggest.available %}
{{ ic.icon('suggest') }}

{{ t('sug_label') }}

{{ t('set_suggest_d') }}

{{ t('sug_label') }}
{%- endif %}
{{ ic.icon('keyboard') }}

{{ t('keys_title') }}

{{ t('keys_d') }}

{{ t('keys_title') }}
{{ kb.table(t) }}
{{ ic.icon('database') }}

{{ t('set_engines') }}

{{ t('set_engines_d') }}

{%- for group in engine_groups %}
{{ ic.icon(category_icons.get(group.category, 'search')) }}{{ category_label(group.category) }} {{ t('set_engines_count', n=group.on, total=group.engines | length) }} {{ ic.icon('chevron-down', 'engine-group-chevron') }}
{{ category_label(group.category) }}
    {%- for engine in group.engines %}
  • {%- endfor %}
{%- endfor %}
{{ ic.icon('chevron-left', 'flip-rtl') }}{{ t('set_back') }}
{{ ic.icon('raise') }}

{{ t('rank_title') }}

{{ t('rank_count', n=rank_rules | length, max=rank_max) }}

{{ t('rank_d') }}

{%- if rank_rules %}
    {%- for rule in rank_rules %}
  • {{ ic.icon(rank_icons[rule.action]) }}{{ rule.label }}
  • {%- endfor %}
{%- else %}

{{ ic.icon('info') }}{{ t('rank_empty') }}

{%- endif %}
{{ ic.icon('upload') }}{{ t('rank_import') }}{{ ic.icon('chevron-down', 'engine-group-chevron') }}
{%- if rank_rules %} {{ ic.icon('download') }}{{ t('rank_export') }} {%- endif %}
{{ ic.icon('lens') }}

{{ t('lens_title') }}

{{ t('lens_d') }}

{%- for lens in lenses %}
{{ ic.icon(lens.icon) }}{{ t('lens_' ~ lens.id) }} {{ t('lens_n_' ~ lens.kind, n=lens.sites | length) }}{{ ic.icon('chevron-down', 'engine-group-chevron') }}

{{ lens.sites | join(', ') }}

{%- endfor %}

{{ ic.icon('shield') }}{{ t('rank_private') }}

{% endblock %}