diff --git a/inventory/models.py b/inventory/models.py index a8a2ce5..f7aa776 100644 --- a/inventory/models.py +++ b/inventory/models.py @@ -13,7 +13,7 @@ class Category(models.Model): class Meta: ordering = ["name"] - verbose_name = "catégorie" + verbose_name = "étagère" def __str__(self): return self.name diff --git a/inventory/templates/inventory/category.html b/inventory/templates/inventory/category.html index 30301c0..700b559 100644 --- a/inventory/templates/inventory/category.html +++ b/inventory/templates/inventory/category.html @@ -4,7 +4,8 @@

{{ category.name }}

{% with game_list=category.game_set.all %} -

Il y a {{ game_list|length }} jeu{{ game_list|pluralize:"x" }} dans cette catégorie :

+

Il y a {{ game_list|length }} jeu{{ game_list|pluralize:"x" }} dans cette +étagère :

{% for game in game_list %} {% include "./partials/game_item.html" %} {% endfor %} diff --git a/inventory/templates/inventory/category_list.html b/inventory/templates/inventory/category_list.html index 0176595..2a39175 100644 --- a/inventory/templates/inventory/category_list.html +++ b/inventory/templates/inventory/category_list.html @@ -1,9 +1,9 @@ {% extends "base.html" %} {% block "content" %} -

Liste des catégories

+

Liste des étagères

-

Il y a {{ paginator.count }} catégorie{{ paginator.count|pluralize }} de jeux :

+

Il y a {{ paginator.count }} étagère{{ paginator.count|pluralize }} de jeux :

{% include "partials/pagination.html" %} {% for category in category_list %} diff --git a/inventory/templates/inventory/inventory.html b/inventory/templates/inventory/inventory.html index f1129fc..a9d0219 100644 --- a/inventory/templates/inventory/inventory.html +++ b/inventory/templates/inventory/inventory.html @@ -12,9 +12,9 @@
- Liste des catégories + Liste des étagères

- Chaque jeu est rangé dans une unique catégorie comme en salle Jeux + Chaque jeu est rangé dans une unique étagère comme en salle Jeux