From 2270a0aa827c9c8a98a2c4de6b2c8a9e27400517 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 13 Sep 2020 20:10:26 +0200 Subject: [PATCH] Use underscore in locales --- locale/{en-pirate => en_pirate}/LC_MESSAGES/django.po | 0 note_kfet/settings/base.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename locale/{en-pirate => en_pirate}/LC_MESSAGES/django.po (100%) diff --git a/locale/en-pirate/LC_MESSAGES/django.po b/locale/en_pirate/LC_MESSAGES/django.po similarity index 100% rename from locale/en-pirate/LC_MESSAGES/django.po rename to locale/en_pirate/LC_MESSAGES/django.po diff --git a/note_kfet/settings/base.py b/note_kfet/settings/base.py index 2c12d037..0a187a77 100644 --- a/note_kfet/settings/base.py +++ b/note_kfet/settings/base.py @@ -154,7 +154,7 @@ from django.utils.translation import gettext_lazy as _ LANGUAGES = [ ('de', _('German')), ('en', _('English')), - ('en-pirate', _('Pirate Slang')), + ('en_pirate', _('Pirate Slang')), ('es', _('Spanish')), ('fr', _('French')), ]