- Add translations for: ar, de, es, fr, it, ja, ko, nl, pl, ru, tr, uk, zh_CN - Fix raw_payload not being saved in messages - Fix content field stored as array instead of JSON string - Fix profilePicUrl extraction from Evolution API - Add content preview column in messages table - Improve message display with proper text/media handling
43 lines
2.0 KiB
PHP
43 lines
2.0 KiB
PHP
<?php
|
||
|
||
declare(strict_types=1);
|
||
|
||
return [
|
||
'send_message' => 'Отправить Сообщение WhatsApp',
|
||
'modal_heading' => 'Отправить Сообщение WhatsApp',
|
||
'modal_description' => 'Отправить сообщение на номер WhatsApp.',
|
||
'send' => 'Отправить Сообщение',
|
||
|
||
// Form fields
|
||
'instance' => 'Экземпляр',
|
||
'instance_helper' => 'Выберите экземпляр WhatsApp для отправки сообщения.',
|
||
'number' => 'Номер Телефона',
|
||
'number_helper' => 'Введите номер телефона с кодом страны (например, 79123456789).',
|
||
'type' => 'Тип Сообщения',
|
||
'message' => 'Сообщение',
|
||
'message_placeholder' => 'Введите сообщение здесь...',
|
||
'caption' => 'Подпись',
|
||
'caption_placeholder' => 'Необязательная подпись для медиа...',
|
||
'media' => 'Медиафайл',
|
||
'media_helper' => 'Загрузите файл для отправки.',
|
||
|
||
// Location fields
|
||
'latitude' => 'Широта',
|
||
'longitude' => 'Долгота',
|
||
'location_name' => 'Название Места',
|
||
'location_name_placeholder' => 'например, Мой Офис',
|
||
'location_address' => 'Адрес',
|
||
'location_address_placeholder' => 'например, ул. Главная 123, Город',
|
||
|
||
// Contact fields
|
||
'contact_name' => 'Имя Контакта',
|
||
'contact_number' => 'Телефон Контакта',
|
||
|
||
// Notifications
|
||
'success_title' => 'Сообщение Отправлено!',
|
||
'success_body' => 'Ваше сообщение WhatsApp успешно отправлено.',
|
||
'error_title' => 'Ошибка Отправки',
|
||
'missing_required_fields' => 'ID экземпляра и номер телефона обязательны.',
|
||
'unsupported_type' => 'Неподдерживаемый тип сообщения.',
|
||
];
|