diff --git a/plinth/modules/tor/__init__.py b/plinth/modules/tor/__init__.py index a6fcaaab1..c64feb83a 100644 --- a/plinth/modules/tor/__init__.py +++ b/plinth/modules/tor/__init__.py @@ -7,7 +7,7 @@ from django.utils.translation import gettext_lazy as _ from plinth import action_utils from plinth import app as app_module -from plinth import menu +from plinth import cfg, menu from plinth import setup as setup_module from plinth.daemon import (Daemon, app_is_running, diagnose_netcat, diagnose_port_listening) @@ -19,6 +19,7 @@ from plinth.modules.torproxy.utils import is_apt_transport_tor_enabled from plinth.modules.users.components import UsersAndGroups from plinth.package import Packages from plinth.signals import domain_added, domain_removed +from plinth.utils import format_lazy from . import manifest, privileged, utils @@ -31,6 +32,13 @@ _description = [ 'Tor Project recommends that you use the ' '' 'Tor Browser.'), + _('This app provides relay services to contribute to Tor network and help ' + 'others overcome censorship.'), + format_lazy( + _('This app provides an onion domain to expose {box_name} services ' + 'via the Tor network. Using Tor browser, one can access {box_name} ' + 'from the internet even when using an ISP that limits servers at ' + 'home.'), box_name=_(cfg.box_name)), ] diff --git a/plinth/modules/torproxy/__init__.py b/plinth/modules/torproxy/__init__.py index 3163aedcc..e9a24d992 100644 --- a/plinth/modules/torproxy/__init__.py +++ b/plinth/modules/torproxy/__init__.py @@ -28,8 +28,11 @@ _description = [ '' 'Tor Browser.'), format_lazy( - _('A Tor SOCKS port is available on your {box_name} for internal ' - 'networks on TCP port 9050.'), box_name=_(cfg.box_name)) + _('This app provides a web proxy on your {box_name} for internal ' + 'networks on TCP port 9050 using the SOCKS protocol. This can be ' + 'used by various apps to access the internet via the Tor network. ' + 'ISP censorship can be circumvented using upstream bridges.'), + box_name=_(cfg.box_name)) ]