fix: translations
This commit is contained in:
+2
-2
@@ -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(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user