diff --git a/plinth/modules/config/config.py b/plinth/modules/config/config.py index 8fbe984da..cd78025c1 100644 --- a/plinth/modules/config/config.py +++ b/plinth/modules/config/config.py @@ -149,7 +149,8 @@ def init(): domainname_services = None domain_added.send_robust(sender='config', domain_type='domainname', - name=domainname, description=_('Domain Name'), + name=domainname, + description=ugettext_lazy('Domain Name'), services=domainname_services) diff --git a/plinth/modules/power/__init__.py b/plinth/modules/power/__init__.py index 9557512ef..f8f4c4e56 100644 --- a/plinth/modules/power/__init__.py +++ b/plinth/modules/power/__init__.py @@ -19,7 +19,7 @@ Plinth module for power controls. """ -from django.utils.translation import ugettext as _ +from django.utils.translation import ugettext_lazy as _ from plinth import cfg