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
@@ -21,7 +21,7 @@ Forms for first boot module.
|
||||
|
||||
from django.contrib import auth
|
||||
from django.contrib import messages
|
||||
from gettext import gettext as _
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
from plinth import actions
|
||||
from plinth.errors import ActionError
|
||||
|
||||
Reference in new issue
Block a user