Add a different placeholder text for no filtered chats

This commit is contained in:
John Gibbon 2021-01-02 20:22:19 +01:00
parent fd7de65c19
commit cc0cc94dc5
12 changed files with 90 additions and 1 deletions

View file

@ -335,7 +335,8 @@ Page {
ViewPlaceholder {
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 {}

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation>Tippen Sie auf die Titelleiste, um Ihre Chats zu filtern</translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation>Tap on the title bar to filter your chats</translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1073,6 +1073,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1085,6 +1085,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1073,6 +1073,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1095,6 +1095,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1095,6 +1095,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1073,6 +1073,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation>
</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>
<name>PinnedMessageItem</name>

View file

@ -1084,6 +1084,14 @@
<source>Tap on the title bar to filter your chats</source>
<translation type="unfinished"></translation>
</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>
<name>PinnedMessageItem</name>