diff --git a/templates/base.html b/templates/base.html index 4453a85..ae66abf 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,9 +1,9 @@ - + - {% block title %}Python Books{% endblock %} + {% block title %}Книги по Python{% endblock %} @@ -23,31 +23,31 @@ @@ -76,9 +76,9 @@ diff --git a/templates/books/detail.html b/templates/books/detail.html index 569216d..3ce8a1e 100644 --- a/templates/books/detail.html +++ b/templates/books/detail.html @@ -25,7 +25,7 @@

{{ book.title }}

- {{ book.total_pages }} pages + {{ book.total_pages }} стр. @@ -42,7 +42,7 @@

{{ book.title }}

-

Description

+

Описание

{{ book.description }}

@@ -50,11 +50,11 @@

Description

- View on {{ book.publisher.name }} +Посмотреть на {{ book.publisher.name }}
@@ -63,7 +63,7 @@

Description

-

Comments

+

Комментарии

@@ -73,17 +73,17 @@

Comments

hx-swap="afterbegin">
@@ -107,7 +107,7 @@

{{ comment.user.username }}

{% empty %}
-

No comments yet. Be the first to share your thoughts!

+

Комментариев пока нет. Станьте первым, кто поделится своими мыслями!

{% endfor %}
diff --git a/templates/books/index.html b/templates/books/index.html index 1a00ba7..284afb2 100644 --- a/templates/books/index.html +++ b/templates/books/index.html @@ -1,15 +1,15 @@ {% extends 'base.html' %} -{% block title %}Python Books - Find the best Python programming books{% endblock %} +{% block title %}Книги по Python - Найдите лучшие книги по программированию на Python{% endblock %} {% block content %}
-

Python Books

-

Discover the best Python programming books for every skill level. From beginners to experts, find your next great read.

+

Книги по Python

+

Откройте для себя лучшие книги по программированию на Python для любого уровня навыков. От новичков до экспертов - найдите свою следующую отличную книгу.

@@ -18,15 +18,15 @@

Python Books

-

Filter Books

+

Фильтр книг

Filter Books
Filter Books hx-trigger="change" hx-target="#books-container" hx-push-url="true"> - - - - - + + + + +
diff --git a/templates/books/partials/books_grid.html b/templates/books/partials/books_grid.html index f701a2b..7de480f 100644 --- a/templates/books/partials/books_grid.html +++ b/templates/books/partials/books_grid.html @@ -24,7 +24,7 @@

{{ book.title }}

hx-target="#modal-content" hx-swap="innerHTML" onclick="book_modal.showModal()"> - View Details +Подробнее
@@ -87,7 +87,7 @@

{{ book.title }}

-

No books found

-

Try adjusting your search or filter criteria.

+

Книги не найдены

+

Попробуйте изменить критерии поиска или фильтрации.

{% endif %} \ No newline at end of file