mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
14442b1db2
commit
8451c0b2dc
2 files changed
+9
-6
No files matched your search
+3
-3
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user