apps: Fix app names and short descriptions not being translated

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati authored and James Valleroy committed 2018-04-08 10:57:19 -04:00
1 parent 14442b1db2
commit 8451c0b2dc
2 files changed
+9 -6

No files matched your search

+3 -3
View File
@@ -25,10 +25,8 @@ import random
import re
import string
from django.utils.functional import lazy
import ruamel.yaml
from plinth.modules import names
from django.utils.functional import lazy
def import_from_gi(library, version):
@@ -75,6 +73,8 @@ def is_user_admin(request, cached=False):
def get_domain_names():
"""Return the domain name(s)"""
from plinth.modules import names
domain_names = []
for domain_type, domains in names.domains.items():