diff --git a/ArticlesApp/views.py b/ArticlesApp/views.py index 8099c19..d9851f3 100644 --- a/ArticlesApp/views.py +++ b/ArticlesApp/views.py @@ -85,8 +85,8 @@ def ArticlesPageView(request, year=None): Dict = get_articles(art_kwargs=kwargs) Dict.update({ 'page': { - 'title': _('Страница списка новостей'), - 'description': _('Все новости сайта tripwb.com'), + 'title': _('Новости сервиса доставки посылок | TWB'), + 'description': _('Обновления, полезные статьи и свежие новости от TWB ✓ Актуальные новости в мире доставок по всему СНГ ➡️ Следите за нашими новостями'), 'keywords': _('Все новости сайта tripwb.com'), } }) diff --git a/AuthApp/views.py b/AuthApp/views.py index 6a499b8..f3a4ccc 100644 --- a/AuthApp/views.py +++ b/AuthApp/views.py @@ -62,15 +62,15 @@ def profile_page_View(request, page_name, id=None): request.user.user_profile.save(update_fields=['mailing_on']) del request.session['mailingSubscribeRequired'] - title = _('Личный кабинет пользователя') + ' ' + request.user.first_name + ' ' + request.user.last_name - - Dict.update({ - 'page': { - 'title': title, - 'description': title, - 'keywords': title, - } - }) + # title = _('Личный кабинет пользователя') + ' ' + request.user.first_name + ' ' + request.user.last_name + # + # Dict.update({ + # 'page': { + # 'title': title, + # 'description': title, + # 'keywords': title, + # } + # }) # if request.GET and 'mobile' in request.GET and request.GET['mobile'] == 'true': # Dict.update({ diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index 609c6d0..bc5fe7f 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -39,12 +39,13 @@ msgid "Статьи" msgstr "Articles" #: ArticlesApp/views.py:88 -msgid "Страница списка новостей" -msgstr "News list page" +msgid "Новости сервиса доставки посылок | TWB" +msgstr "Parcel Delivery Service News | TWB" #: ArticlesApp/views.py:89 ArticlesApp/views.py:90 -msgid "Все новости сайта tripwb.com" -msgstr "All website news on tripwb.com" +msgid "Обновления, полезные статьи и свежие новости от TWB ✓ Актуальные новости в мире доставок по всему СНГ ➡️ Следите за нашими новостями" +msgstr "Updates, useful articles, and fresh news from TWB ✓ Current news in the world of deliveries throughout the CIS ➡️ Stay tuned for our updates" + #: AuthApp/admin.py:52 msgid "Дополнительно" diff --git a/templates/blocks/profile/b_subscribe_current.html b/templates/blocks/profile/b_subscribe_current.html index 86d54d1..004b0f3 100644 --- a/templates/blocks/profile/b_subscribe_current.html +++ b/templates/blocks/profile/b_subscribe_current.html @@ -18,12 +18,12 @@