0.0.247 add translate for words with letter А

This commit is contained in:
2023-11-21 18:29:02 +03:00
parent a2688c4a15
commit c660d8cb72
31 changed files with 250 additions and 182 deletions

View File

@@ -1,4 +1,9 @@
{% load static %}
{% load i18n %}
{%trans "Введите сообщение..." as p_write_msg %}
{%trans "Тема запроса" as p_create_ticket %}
<form class="form-create-ticket" name="create-ticket">
{% if errors.all__ %}<div class="errors_all" style="margin-bottom: 12px;width: 100%;font-size: 16px;">{{ errors.all__ }}</div>{% endif %}
@@ -20,7 +25,7 @@
class="el-form-create-ticket"
name="name"
id="id_name"
placeholder="Тема запроса"
placeholder= "{{ p_create_ticket }}"
value="{% if form.adding_machine.name %}{{ form.initial.name }}{% endif %}"
>
{% if form.errors.name %}<div class="errors">{{ form.errors.name }}</div>{% endif %}
@@ -30,7 +35,8 @@
<textarea name="text"
id="id_text"
class="el-form-create-ticket-textarea"
placeholder="Введите сообщение..."
placeholder="{{ p_write_msg }}"
{# placeholder=p_write_msg #}
value="{% if form.adding_machine.text %}{{ form.initial.text }}{% endif %}"
onclick="countLetters()"
oninput="countLetters()"
@@ -41,7 +47,7 @@
</div>
<div class="form-create-tickets-btns">
<button class="create-ticket-btn" onclick="createTicket(this)">Создать тикет</button>
<button class="create-ticket-btn" onclick="createTicket(this)">{% translate "Создать тикет" %}</button>
<button class="attach-file-btn" onclick="attachFileCreateTicket()"></button>
{# <input class="create-ticket-file" type="file" value="">#}