enable i18n

This commit is contained in:
Your Name 2024-02-11 23:20:30 -05:00 committed by Henri Dickson
parent 91c9e2ae74
commit 07e7dd2dd2
2 changed files with 2 additions and 1 deletions

View file

@ -319,6 +319,7 @@ MIDDLEWARE = [
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"hijack.middleware.HijackUserMiddleware",
"django.middleware.locale.LocaleMiddleware",
"tz_detect.middleware.TimezoneMiddleware",
"auditlog.middleware.AuditlogMiddleware",
# "maintenance_mode.middleware.MaintenanceModeMiddleware", # this should be last if enabled

View file

@ -52,7 +52,7 @@ SHELF_LABELS = [
# disable all shelves for PodcastEpisode
[ItemCategory.Performance, ShelfType.WISHLIST, _("想看")],
# disable progress shelf for Performance
[ItemCategory.Performance, ShelfType.PROGRESS, _("")],
[ItemCategory.Performance, ShelfType.PROGRESS, ""],
[ItemCategory.Performance, ShelfType.COMPLETE, _("看过")],
[ItemCategory.Performance, ShelfType.DROPPED, _("不看了")],
]