From b638add396dfdd45f3d22b166ad1cfb239718136 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 23 Oct 2021 18:46:41 +0200 Subject: [PATCH] Fix translations --- med/urls.py | 6 +++--- media/locale/fr/LC_MESSAGES/django.po | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/med/urls.py b/med/urls.py index d7a9e27..84e0379 100644 --- a/med/urls.py +++ b/med/urls.py @@ -14,12 +14,12 @@ from .admin import admin_site # API router router = routers.DefaultRouter() router.register(r'authors', media.views.AuthorViewSet) -router.register(r'media/bd', media.views.ComicViewSet) +router.register(r'media/comic', media.views.ComicViewSet) router.register(r'media/manga', media.views.MangaViewSet) router.register(r'media/cd', media.views.CDViewSet) -router.register(r'media/vinyle', media.views.VinylViewSet) +router.register(r'media/vinyl', media.views.VinylViewSet) router.register(r'media/novel', media.views.NovelViewSet) -router.register(r'media/revue', media.views.ReviewViewSet) +router.register(r'media/review', media.views.ReviewViewSet) router.register(r'media/future', media.views.FutureMediumViewSet) router.register(r'borrowed_items', media.views.EmpruntViewSet) router.register(r'games', media.views.GameViewSet) diff --git a/media/locale/fr/LC_MESSAGES/django.po b/media/locale/fr/LC_MESSAGES/django.po index 428af50..4d4f603 100644 --- a/media/locale/fr/LC_MESSAGES/django.po +++ b/media/locale/fr/LC_MESSAGES/django.po @@ -94,11 +94,11 @@ msgid "Tell that the medium is present in the Mediatek." msgstr "Indique que le medium est présent à la Mediatek." #: models.py:93 models.py:355 -msgid "Comic" +msgid "comic" msgstr "BD" #: models.py:94 -msgid "Comics" +msgid "comics" msgstr "BDs" #: models.py:155