mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Switch to Django i18n for code strings
Django i18n layer is on top of gettext and provide may crucial features such as per-request locales, lazy translations etc.
This commit is contained in:
1 parent
02cd89b60d
commit
3df1a88824
65 files changed
+302
-289
No files matched your search
@@ -20,7 +20,7 @@ Forms for configuring date and time
|
||||
"""
|
||||
|
||||
from django import forms
|
||||
from gettext import gettext as _
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
import glob
|
||||
import re
|
||||
|
||||
|
||||
Reference in new issue
Block a user