From b331ba979d9daa02a575e27cfa92d2b152ea458a Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 28 Jul 2015 11:55:19 +0530 Subject: [PATCH] tor: Update menu item with generic name --- plinth/modules/tor/templates/tor.html | 2 +- plinth/modules/tor/tor.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plinth/modules/tor/templates/tor.html b/plinth/modules/tor/templates/tor.html index 2860c9516..ad35369d6 100644 --- a/plinth/modules/tor/templates/tor.html +++ b/plinth/modules/tor/templates/tor.html @@ -22,7 +22,7 @@ {% block content %} -

Tor

+

Anonymity Network (Tor)

Status

diff --git a/plinth/modules/tor/tor.py b/plinth/modules/tor/tor.py index 5f6eba542..a2627bb05 100644 --- a/plinth/modules/tor/tor.py +++ b/plinth/modules/tor/tor.py @@ -38,9 +38,10 @@ class TorForm(forms.Form): # pylint: disable=W0232 def init(): - """Initialize the Tor module""" + """Initialize the Tor module.""" menu = cfg.main_menu.get('apps:index') - menu.add_urlname('Tor', 'glyphicon-eye-close', 'tor:index', 30) + menu.add_urlname(_('Anonymity Network (Tor)'), 'glyphicon-eye-close', + 'tor:index', 30) @package.required(['tor'])