Merge pull request #266 from jgibbon/feature/filtered-chat-placeholder

Add a different placeholder text for no filtered chats
This commit is contained in:
Sebastian Wolf 2021-01-02 21:13:10 +01:00 committed by GitHub
commit 53441b5554
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 90 additions and 1 deletions

View file

@ -335,7 +335,8 @@ Page {
ViewPlaceholder { ViewPlaceholder {
enabled: chatListView.count === 0 enabled: chatListView.count === 0
text: qsTr("You don't have any chats yet.") text: chatSearchField.text === "" ? qsTr("You don't have any chats yet.") : qsTr("No matching chats found.")
hintText: qsTr("You can search public chats or create a new chat via the pull-down menu.")
} }
VerticalScrollDecorator {} VerticalScrollDecorator {}

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation>Tippen Sie auf die Titelleiste, um Ihre Chats zu filtern</translation> <translation>Tippen Sie auf die Titelleiste, um Ihre Chats zu filtern</translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation>Keine passenden Chats gefunden.</translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation>Sie können über das Pull-Down-Menü öffentliche Chats finden oder einen Neuen erstellen.</translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation>Tap on the title bar to filter your chats</translation> <translation>Tap on the title bar to filter your chats</translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation>No matching chats found.</translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation>You can search public chats or create a new chat via the pull-down menu.</translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1073,6 +1073,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1085,6 +1085,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1073,6 +1073,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1095,6 +1095,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1095,6 +1095,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1073,6 +1073,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source> <source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>No matching chats found.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can search public chats or create a new chat via the pull-down menu.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>PinnedMessageItem</name> <name>PinnedMessageItem</name>