Commit 3ed1c6b7 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(mainWindow/conversation): use placeholder on textarea

parent c2881ac6
...@@ -48,6 +48,10 @@ ...@@ -48,6 +48,10 @@
<source>displayMessages</source> <source>displayMessages</source>
<translation>Messages</translation> <translation>Messages</translation>
</message> </message>
<message>
<source>newMessagePlaceholder</source>
<translation>Enter your message</translation>
</message>
</context> </context>
<context> <context>
<name>home</name> <name>home</name>
......
...@@ -48,6 +48,10 @@ ...@@ -48,6 +48,10 @@
<source>displayMessages</source> <source>displayMessages</source>
<translation>Messages</translation> <translation>Messages</translation>
</message> </message>
<message>
<source>newMessagePlaceholder</source>
<translation>Entrer votre message.</translation>
</message>
</context> </context>
<context> <context>
<name>home</name> <name>home</name>
......
...@@ -147,6 +147,7 @@ ColumnLayout { ...@@ -147,6 +147,7 @@ ColumnLayout {
ScrollBar.vertical: ScrollBar { } ScrollBar.vertical: ScrollBar { }
TextArea.flickable: TextArea { TextArea.flickable: TextArea {
id: textArea id: textArea
placeholderText: qsTr('newMessagePlaceholder')
wrapMode: TextArea.Wrap wrapMode: TextArea.Wrap
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment