# SPDX-License-Identifier: AGPL-3.0-or-later """FreedomBox privacy app.""" from django import forms from django.utils.translation import gettext_lazy as _ from plinth import cfg from plinth.utils import format_lazy class PrivacyForm(forms.Form): """Privacy configuration form.""" enable_popcon = forms.BooleanField( label=_('Periodically submit a list of apps used (suggested)'), required=False, help_text=format_lazy( _('Help Debian/{box_name} developers by participating in the ' 'Popularity Contest package survey program. When enabled, a ' 'list of apps used on this system will be anonymously submitted ' 'to Debian every week. Statistics for the data collected are ' 'publicly available at popcon.debian.org. Submission happens over ' 'the Tor network for additional anonymity if Tor app is enabled.' ), box_name=_(cfg.box_name)))