diff --git a/plinth/modules/config/__init__.py b/plinth/modules/config/__init__.py
index af28b5a8f..e732f1f81 100644
--- a/plinth/modules/config/__init__.py
+++ b/plinth/modules/config/__init__.py
@@ -22,7 +22,7 @@ import os
import socket
import augeas
-from django.utils.translation import ugettext_lazy
+from django.utils.translation import ugettext_lazy as _
from plinth import actions
from plinth import app as app_module
@@ -34,6 +34,8 @@ version = 2
is_essential = True
+name = _('General Configuration')
+
depends = ['firewall', 'names']
manual_page = 'Configure'
@@ -57,14 +59,12 @@ class ConfigApp(app_module.App):
def __init__(self):
"""Create components for the app."""
super().__init__()
- menu_item = menu.Menu('menu-config', ugettext_lazy('Configure'), None,
- 'fa-cog', 'config:index',
- parent_url_name='system')
+ menu_item = menu.Menu('menu-config', _('Configure'), None, 'fa-cog',
+ 'config:index', parent_url_name='system')
self.add(menu_item)
- domain_type = DomainType('domain-type-static',
- ugettext_lazy('Domain Name'), 'config:index',
- can_have_certificate=True)
+ domain_type = DomainType('domain-type-static', _('Domain Name'),
+ 'config:index', can_have_certificate=True)
self.add(domain_type)
diff --git a/plinth/modules/config/templates/config.html b/plinth/modules/config/templates/config.html
deleted file mode 100644
index 39fb5bd65..000000000
--- a/plinth/modules/config/templates/config.html
+++ /dev/null
@@ -1,48 +0,0 @@
-{% extends "base.html" %}
-{% comment %}
-#
-# This file is part of FreedomBox.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see
- - {% trans 'Learn more...' %} - -
- {% endif %} - - - -{% endblock %} diff --git a/plinth/modules/config/urls.py b/plinth/modules/config/urls.py index 676e60a0f..5d4570bba 100644 --- a/plinth/modules/config/urls.py +++ b/plinth/modules/config/urls.py @@ -14,7 +14,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see