fix: translations

This commit is contained in:
Pablo Moreno
2025-01-17 21:25:51 +01:00
parent 551096b2c0
commit ae26a8d09c
10 changed files with 452 additions and 573 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ class CategoryView(TemplateView):
category = ProductCategory.objects.get(slug=slug)
return {
"title": _(f'{settings.web_title} - {category.name}'),
"title": _(f"{settings.web_title} - {category.name}"),
"description": settings.web_description,
"category": category,
"filter_by_category": True,
@@ -61,7 +61,7 @@ class ProductDetail(TemplateView):
return {
"product": product,
"title": f'{settings.web_title} - {product.name}',
"title": f"{settings.web_title} - {product.name}",
"description": product.description,
"image": product.images.first(),
}