1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-07-09 05:30:19 +02:00

Translate models in english

This commit is contained in:
2021-10-23 18:31:03 +02:00
parent 2a17a32d4c
commit 52ecd59bf6
21 changed files with 210 additions and 155 deletions

View File

@ -1,7 +1,7 @@
from django.core.management import BaseCommand
from django.db import transaction
from media.forms import generate_side_identifier
from media.models import BD, Manga, Roman
from media.models import Comic, Manga, Novel
class Command(BaseCommand):
@ -24,11 +24,11 @@ class Command(BaseCommand):
t = options["type"]
medium_class = None
if t == "bd":
medium_class = BD
medium_class = Comic
elif t == "manga":
medium_class = Manga
elif t == "roman":
medium_class = Roman
medium_class = Novel
interactive_mode = not options["noninteractivemode"]