From ed0a22ec4606ceafbfce09263a457e9fd3d02f13 Mon Sep 17 00:00:00 2001 From: SDE Date: Sun, 21 Jan 2024 22:03:33 +0300 Subject: [PATCH 1/6] 0.4.61 menu links problem --- templates/blocks/b_sections_buttons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/blocks/b_sections_buttons.html b/templates/blocks/b_sections_buttons.html index 6e2a966..9c6ef10 100644 --- a/templates/blocks/b_sections_buttons.html +++ b/templates/blocks/b_sections_buttons.html @@ -10,7 +10,7 @@ {% if section.description %}
{{ section.description }}
{% endif %} -
{% translate "перейти в раздел" %}
+
{% translate "!!!!!!" %}
{% endfor %} From eccba9e089d65ca5a3e3a4b8598889648cdcf60d Mon Sep 17 00:00:00 2001 From: SDE Date: Sun, 21 Jan 2024 22:05:06 +0300 Subject: [PATCH 2/6] 0.4.62 menu links problem --- templates/blocks/b_sections_buttons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/blocks/b_sections_buttons.html b/templates/blocks/b_sections_buttons.html index 9c6ef10..c14b723 100644 --- a/templates/blocks/b_sections_buttons.html +++ b/templates/blocks/b_sections_buttons.html @@ -10,7 +10,7 @@ {% if section.description %}
{{ section.description }}
{% endif %} -
{% translate "!!!!!!" %}
+
{% trans "перейти в раздел" %}
{% endfor %} From 094ddc242ef4582508c18c73b999b98bcfdae273 Mon Sep 17 00:00:00 2001 From: SDE Date: Sun, 21 Jan 2024 22:18:35 +0300 Subject: [PATCH 3/6] 0.4.63 menu links problem --- GeneralApp/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneralApp/forms.py b/GeneralApp/forms.py index bc59d09..ee4a79b 100644 --- a/GeneralApp/forms.py +++ b/GeneralApp/forms.py @@ -1,6 +1,6 @@ from django import forms from django.contrib.auth.forms import AuthenticationForm -from django.utils.translation import gettext_lazy as _ +from django.utils.translation import gettext as _ from django.core.exceptions import ValidationError from django.forms import widgets From 126dba4eb7056cbfa3094b426fb77301bcef7c6c Mon Sep 17 00:00:00 2001 From: SDE Date: Sun, 21 Jan 2024 22:21:06 +0300 Subject: [PATCH 4/6] 0.4.64 translate problem --- GeneralApp/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneralApp/forms.py b/GeneralApp/forms.py index ee4a79b..1d1245e 100644 --- a/GeneralApp/forms.py +++ b/GeneralApp/forms.py @@ -13,7 +13,7 @@ class FeedbackForm(forms.Form): name = forms.CharField(label=_('Имя'), required=True) company = forms.CharField(label=_('Компания'), required=True) - contacts = forms.CharField(label=_('Ваш email или телефон'), required=True) + contacts = forms.CharField(label=_('email или телефон'), required=True) description = forms.CharField(label=_('Тематика запроса'), required=True) agreement = forms.BooleanField( From b0dcf9ce8773928f857272f6ccecc52e59223bc0 Mon Sep 17 00:00:00 2001 From: SDE Date: Sun, 21 Jan 2024 22:21:55 +0300 Subject: [PATCH 5/6] 0.4.65 translate problem --- GeneralApp/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneralApp/forms.py b/GeneralApp/forms.py index 1d1245e..ee4a79b 100644 --- a/GeneralApp/forms.py +++ b/GeneralApp/forms.py @@ -13,7 +13,7 @@ class FeedbackForm(forms.Form): name = forms.CharField(label=_('Имя'), required=True) company = forms.CharField(label=_('Компания'), required=True) - contacts = forms.CharField(label=_('email или телефон'), required=True) + contacts = forms.CharField(label=_('Ваш email или телефон'), required=True) description = forms.CharField(label=_('Тематика запроса'), required=True) agreement = forms.BooleanField( From 2f704650171a7d3ff259d48e7ddcf11473619bc5 Mon Sep 17 00:00:00 2001 From: SDE Date: Sun, 21 Jan 2024 22:27:28 +0300 Subject: [PATCH 6/6] 0.4.66 translate problem --- GeneralApp/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneralApp/forms.py b/GeneralApp/forms.py index ee4a79b..bc59d09 100644 --- a/GeneralApp/forms.py +++ b/GeneralApp/forms.py @@ -1,6 +1,6 @@ from django import forms from django.contrib.auth.forms import AuthenticationForm -from django.utils.translation import gettext as _ +from django.utils.translation import gettext_lazy as _ from django.core.exceptions import ValidationError from django.forms import widgets