diff --git a/readingbricks/templates/404.html b/readingbricks/templates/404.html index 7262fe7..468eec1 100644 --- a/readingbricks/templates/404.html +++ b/readingbricks/templates/404.html @@ -5,7 +5,11 @@
+ {% if language == "en" %} +

Page not found. Please check the URL.

+ {% else %}

Страница не найдена. Проверьте правильность написания адреса.

+ {% endif %}
diff --git a/readingbricks/templates/about.html b/readingbricks/templates/about.html index cb5ea89..332aa5c 100644 --- a/readingbricks/templates/about.html +++ b/readingbricks/templates/about.html @@ -4,8 +4,13 @@
+ {% if language == "en" %} +

Interface guide

+

Once, it will be written... And right now you can look at the README.md from the GitHub repository of the project.

+ {% else %}

Обзор интерфейса

Когда-нибудь он будет написан... А пока можно обратиться к README.md из GitHub-репозитория этого проекта.

+ {% endif %}
diff --git a/readingbricks/templates/empty_result.html b/readingbricks/templates/empty_result.html index 4e334d2..4d1bd24 100644 --- a/readingbricks/templates/empty_result.html +++ b/readingbricks/templates/empty_result.html @@ -6,10 +6,17 @@
+ {% if language == "en" %} +

Nothing found

+

The below query has been entered:

+

{{ query }}

+

This query has been processed, but there are no matching notes. Please try to search something else.

+ {% else %}

Ничего не найдено

Введён следующий запрос:

{{ query }}

Этот запрос корректно обработан, но не нашлось ни одной заметки, соответствующей ему. Попробуйте поискать что-нибудь другое.

+ {% endif %}
diff --git a/readingbricks/templates/invalid_query.html b/readingbricks/templates/invalid_query.html index 9d6147b..2345ed7 100644 --- a/readingbricks/templates/invalid_query.html +++ b/readingbricks/templates/invalid_query.html @@ -6,10 +6,17 @@
+ {% if language == "en" %} +

The query can not be processed

+

The below query has been entered:

+

{{ query }}

+

Please check the syntax. Only existing tags, parentheses, and logical operators (AND, OR, NOT) are allowed after tags: keyword. Also check spelling of tags. Probably, space is used instead of underscore.

+ {% else %}

Запрос не может быть обработан

Введён следующий запрос:

{{ query }}

-

Проверьте синтаксис — разрешены только существующие метки, круглые скобки и операторы AND, OR и NOT. Также проверьте правильность написания меток: возможно, для какой-либо метки использован пробел вместо нижнего подчёркивания.

+

Проверьте синтаксис — после ключевого слова tags: разрешены только существующие метки, круглые скобки и операторы AND, OR и NOT. Также проверьте правильность написания меток: возможно, для какой-либо метки использован пробел вместо нижнего подчёркивания.

+ {% endif %}
diff --git a/readingbricks/templates/regular_page.html b/readingbricks/templates/regular_page.html index 12e4734..2d8f63f 100644 --- a/readingbricks/templates/regular_page.html +++ b/readingbricks/templates/regular_page.html @@ -8,7 +8,11 @@
{% if table_of_contents is defined %}
+ {% if language == "en" %} +

Contents

+ {% else %}

Содержание

+ {% endif %} {{ table_of_contents }}
{% endif %}