mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Use ugettext_lazy during init of config and power modules.
This commit is contained in:
parent
99dbf78662
commit
48295abccc
@ -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)
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user