mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
display ephemeral status in chat header
This commit is contained in:
parent
a6832576d3
commit
e78e1fffbb
4 changed files with 39 additions and 25 deletions
|
|
@ -5874,37 +5874,37 @@ Um sie in einem kommerziellen Projekt zu aktivieren, kontaktieren Sie uns bitte.
|
|||
<translation>Gruppenanruf starten?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="131"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="145"/>
|
||||
<source>unencrypted_conversation_warning</source>
|
||||
<extracomment>This conversation is not encrypted !</extracomment>
|
||||
<translation>Dieser Chat ist nicht verschlüsselt!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="417"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="431"/>
|
||||
<source>reply_to_label</source>
|
||||
<extracomment>Reply to %1</extracomment>
|
||||
<translation>Auf %1 antworten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="623"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="637"/>
|
||||
<source>shared_medias_title</source>
|
||||
<extracomment>Shared medias</extracomment>
|
||||
<translation>Geteilte Medien</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="625"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="639"/>
|
||||
<source>shared_documents_title</source>
|
||||
<extracomment>Shared documents</extracomment>
|
||||
<translation>Geteilte Dokumente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="654"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="668"/>
|
||||
<source>forward_to_title</source>
|
||||
<extracomment>Forward to…</extracomment>
|
||||
<translation>Weiterleiten an…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="688"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="702"/>
|
||||
<source>conversations_title</source>
|
||||
<extracomment>Conversations</extracomment>
|
||||
<translation>Konversationen</translation>
|
||||
|
|
|
|||
|
|
@ -5751,37 +5751,37 @@ To enable them in a commercial project, please contact us.</translation>
|
|||
<translation>Start a group call ?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="131"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="145"/>
|
||||
<source>unencrypted_conversation_warning</source>
|
||||
<extracomment>This conversation is not encrypted !</extracomment>
|
||||
<translation>This conversation is not encrypted !</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="417"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="431"/>
|
||||
<source>reply_to_label</source>
|
||||
<extracomment>Reply to %1</extracomment>
|
||||
<translation>Reply to %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="623"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="637"/>
|
||||
<source>shared_medias_title</source>
|
||||
<extracomment>Shared medias</extracomment>
|
||||
<translation>Shared medias</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="625"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="639"/>
|
||||
<source>shared_documents_title</source>
|
||||
<extracomment>Shared documents</extracomment>
|
||||
<translation>Shared documents</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="654"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="668"/>
|
||||
<source>forward_to_title</source>
|
||||
<extracomment>Forward to…</extracomment>
|
||||
<translation>Froward to…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="688"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="702"/>
|
||||
<source>conversations_title</source>
|
||||
<extracomment>Conversations</extracomment>
|
||||
<translation>Conversations</translation>
|
||||
|
|
|
|||
|
|
@ -5746,37 +5746,37 @@ Pour les activer dans un projet commercial, merci de nous contacter.</translatio
|
|||
<translation>Démarrer un appel de groupe ?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="131"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="145"/>
|
||||
<source>unencrypted_conversation_warning</source>
|
||||
<extracomment>This conversation is not encrypted !</extracomment>
|
||||
<translation>Cette conversation n'est pas chiffrée !</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="417"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="431"/>
|
||||
<source>reply_to_label</source>
|
||||
<extracomment>Reply to %1</extracomment>
|
||||
<translation>Réponse à %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="623"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="637"/>
|
||||
<source>shared_medias_title</source>
|
||||
<extracomment>Shared medias</extracomment>
|
||||
<translation>Médias partagés</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="625"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="639"/>
|
||||
<source>shared_documents_title</source>
|
||||
<extracomment>Shared documents</extracomment>
|
||||
<translation>Documents partagés</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="654"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="668"/>
|
||||
<source>forward_to_title</source>
|
||||
<extracomment>Forward to…</extracomment>
|
||||
<translation>Transférer à…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="688"/>
|
||||
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="702"/>
|
||||
<source>conversations_title</source>
|
||||
<extracomment>Conversations</extracomment>
|
||||
<translation>Conversations</translation>
|
||||
|
|
|
|||
|
|
@ -103,13 +103,27 @@ FocusScope {
|
|||
Layout.preferredWidth: Utils.getSizeWithScreenRatio(45)
|
||||
Layout.preferredHeight: Utils.getSizeWithScreenRatio(45)
|
||||
}
|
||||
Text {
|
||||
text: mainItem.chat?.core.title || ""
|
||||
color: DefaultStyle.main2_600
|
||||
maximumLineCount: 1
|
||||
font {
|
||||
pixelSize: Typography.h4.pixelSize
|
||||
weight: Utils.getSizeWithScreenRatio(400)
|
||||
ColumnLayout {
|
||||
Text {
|
||||
text: mainItem.chat?.core.title || ""
|
||||
color: DefaultStyle.main2_600
|
||||
maximumLineCount: 1
|
||||
font {
|
||||
pixelSize: Typography.h4.pixelSize
|
||||
weight: Utils.getSizeWithScreenRatio(400)
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
visible: mainItem.chat.core.ephemeralEnabled
|
||||
EffectImage {
|
||||
colorizationColor: DefaultStyle.main1_500_main
|
||||
Layout.preferredWidth: Utils.getSizeWithScreenRatio(14)
|
||||
Layout.preferredHeight: Utils.getSizeWithScreenRatio(14)
|
||||
imageSource: AppIcons.clockCountDown
|
||||
}
|
||||
Text {
|
||||
text: UtilsCpp.getEphemeralFormatedTime(mainItem.chat.core.ephemeralLifetime)
|
||||
}
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue