From e3b4ecc1dd18c8cb5111710136b601091f09edbe Mon Sep 17 00:00:00 2001 From: Nikita Konev Date: Sat, 7 Dec 2024 16:52:23 +0300 Subject: [PATCH] message_edit_placeholder_short --- frontend/src/TipTapEditor.vue | 2 +- frontend/src/locale/en.js | 1 + frontend/src/locale/ru.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/TipTapEditor.vue b/frontend/src/TipTapEditor.vue index 95fb3fb59..740c22e5d 100644 --- a/frontend/src/TipTapEditor.vue +++ b/frontend/src/TipTapEditor.vue @@ -262,7 +262,7 @@ export default { if (this.chatStore.shouldShowSendMessageButtons) { return this.$vuetify.locale.t('$vuetify.message_edit_placeholder') } else { - return null + return this.$vuetify.locale.t('$vuetify.message_edit_placeholder_short') } }, }), diff --git a/frontend/src/locale/en.js b/frontend/src/locale/en.js index 4f682621b..0a433acf5 100644 --- a/frontend/src/locale/en.js +++ b/frontend/src/locale/en.js @@ -52,6 +52,7 @@ export default { invalid_email: "Invalid email", participants: "participants", message_edit_placeholder: "Press Ctrl + Enter to send, Esc to clear. You also can drag and drop an image's file on this label. Also you can paste an image from the editor.", + message_edit_placeholder_short: "Write a message...", message_editing: "Editing message", message_creating: "New message", message_broadcast: "Broadcast", diff --git a/frontend/src/locale/ru.js b/frontend/src/locale/ru.js index 0713e056c..4e24f57ab 100644 --- a/frontend/src/locale/ru.js +++ b/frontend/src/locale/ru.js @@ -52,6 +52,7 @@ export default { invalid_email: "Некорректный email", participants: "участника(ов)", message_edit_placeholder: "Нажмите Ctrl + Enter для отправки сообщения, Esc для очистки. Также можно перетащить файл картинки на эту надпись. Также можно вставить скопированное изображение из редактора.", + message_edit_placeholder_short: "Напишите сообщение...", message_editing: "Редактирование сообщения", message_creating: "Новое сообщение", message_broadcast: "Показать всем",