diff --git a/bookwyrm/settings.py b/bookwyrm/settings.py index 4e8708b9c..de24c4f74 100644 --- a/bookwyrm/settings.py +++ b/bookwyrm/settings.py @@ -30,11 +30,6 @@ EMAIL_USE_TLS = env('EMAIL_USE_TLS', True) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) LOCALE_PATHS = [os.path.join(BASE_DIR, 'locale'),] -LANGUAGES = [ - ('en-US', _('English')), - ('en-beep', _('Beep')), -] - # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ @@ -143,6 +138,11 @@ AUTH_PASSWORD_VALIDATORS = [ # https://docs.djangoproject.com/en/2.0/topics/i18n/ LANGUAGE_CODE = 'en-us' +LANGUAGES = [ + ('en-us', _('English')), + ('en-beep', _('Beep')), +] + TIME_ZONE = 'UTC' diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index c658ac3ff..70c44e078 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -55,13 +55,13 @@ diff --git a/celerywyrm/settings.py b/celerywyrm/settings.py index c27072c2a..92986d8e4 100644 --- a/celerywyrm/settings.py +++ b/celerywyrm/settings.py @@ -142,9 +142,9 @@ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' -USE_I18N = True +USE_I18N = False -USE_L10N = True +USE_L10N = False USE_TZ = True diff --git a/locale/en_BEEP/LC_MESSAGES/django.mo b/locale/en_BEEP/LC_MESSAGES/django.mo new file mode 100644 index 000000000..26c5ec5a3 Binary files /dev/null and b/locale/en_BEEP/LC_MESSAGES/django.mo differ diff --git a/bookwyrm/locale/en-beep/LC_MESSAGES/django.po b/locale/en_BEEP/LC_MESSAGES/django.po similarity index 100% rename from bookwyrm/locale/en-beep/LC_MESSAGES/django.po rename to locale/en_BEEP/LC_MESSAGES/django.po diff --git a/locale/en_US/LC_MESSAGES/django.mo b/locale/en_US/LC_MESSAGES/django.mo new file mode 100644 index 000000000..810d27177 Binary files /dev/null and b/locale/en_US/LC_MESSAGES/django.mo differ diff --git a/bookwyrm/locale/en-US/LC_MESSAGES/django.po b/locale/en_US/LC_MESSAGES/django.po similarity index 99% rename from bookwyrm/locale/en-US/LC_MESSAGES/django.po rename to locale/en_US/LC_MESSAGES/django.po index 9ecbea8ca..475f4ecfc 100644 --- a/bookwyrm/locale/en-US/LC_MESSAGES/django.po +++ b/locale/en_US/LC_MESSAGES/django.po @@ -98,7 +98,7 @@ msgstr "" #: bookwyrm/templates/book.html:215 bookwyrm/templates/search_results.html:84 #: bookwyrm/templates/user/user_layout.html:60 msgid "Lists" -msgstr "lirsts" +msgstr "" #: bookwyrm/templates/book.html:244 msgid "rated it"