enable i18n
This commit is contained in:
parent
91c9e2ae74
commit
07e7dd2dd2
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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, _("不看了")],
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue