fix crashes due to persistent ChatCore stored in qml files

This commit is contained in:
Gaelle Braud 2025-12-16 17:05:46 +01:00
parent b34e4c24da
commit 785005012d
8 changed files with 130 additions and 134 deletions

View file

@ -3429,19 +3429,19 @@ Stellen Sie sicher, dass Sie keine sensiblen Informationen teilen!</translation>
<context>
<name>ConversationInfos</name>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="191"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="190"/>
<source>one_one_infos_call</source>
<extracomment>&quot;Appel&quot;</extracomment>
<translation>Anrufen</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="205"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="204"/>
<source>one_one_infos_unmute</source>
<extracomment>&quot;Sourdine&quot;</extracomment>
<translation>Stummschaltung aufheben</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="205"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="204"/>
<source>one_one_infos_mute</source>
<translation>Stummschalten</translation>
</message>
@ -3451,121 +3451,121 @@ Stellen Sie sicher, dass Sie keine sensiblen Informationen teilen!</translation>
<translation type="obsolete">Suchen</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="272"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="271"/>
<source>group_infos_participants</source>
<translation>Teilnehmer (%1)</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="289"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="288"/>
<source>group_infos_media_docs</source>
<extracomment>Medias &amp; documents</extracomment>
<translation>Medien &amp; Dokumente</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="295"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="294"/>
<source>group_infos_shared_medias</source>
<extracomment>Shared medias</extracomment>
<translation>Geteilte Medien</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="306"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="305"/>
<source>group_infos_shared_docs</source>
<extracomment>Shared documents</extracomment>
<translation>Geteilte Dokumente</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="319"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="318"/>
<source>group_infos_other_actions</source>
<extracomment>Other actions</extracomment>
<translation>Weitere Aktionen</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="325"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="324"/>
<source>group_infos_ephemerals</source>
<translation>Flüchtige Nachrichten: </translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="325"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="324"/>
<source>group_infos_enable_ephemerals</source>
<translation>Flüchtige Nachrichten aktivieren</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="227"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="226"/>
<source>group_infos_meeting</source>
<extracomment>Schedule a meeting</extracomment>
<translation>Meeting planen</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="336"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="335"/>
<source>group_infos_leave_room</source>
<extracomment>Leave chat room</extracomment>
<translation>Chat verlassen</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="341"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="340"/>
<source>group_infos_leave_room_toast_title</source>
<extracomment>Leave Chat Room ?</extracomment>
<translation>Chat verlassen?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="343"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="342"/>
<source>group_infos_leave_room_toast_message</source>
<extracomment>All the messages will be removed from the chat room. Do you want to continue ?</extracomment>
<translation>Alle Nachrichten werden aus dem Chat entfernt. Möchten Sie fortfahren?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="356"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="355"/>
<source>group_infos_delete_history</source>
<extracomment>Delete history</extracomment>
<translation>Verlauf löschen</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="361"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="360"/>
<source>group_infos_delete_history_toast_title</source>
<extracomment>Delete history ?</extracomment>
<translation>Verlauf löschen?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="363"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="362"/>
<source>group_infos_delete_history_toast_message</source>
<extracomment>All the messages will be removed from the chat room. Do you want to continue ?</extracomment>
<translation>Alle Nachrichten werden aus dem Chat entfernt. Möchten Sie fortfahren?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="230"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="229"/>
<source>one_one_infos_open_contact</source>
<extracomment>Show contact</extracomment>
<translation>Kontakt anzeigen</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="232"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="231"/>
<source>one_one_infos_create_contact</source>
<extracomment>Create contact</extracomment>
<translation>Kontakt erstellen</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="377"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="376"/>
<source>one_one_infos_ephemerals</source>
<translation>Flüchtige Nachrichten: </translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="377"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="376"/>
<source>one_one_infos_enable_ephemerals</source>
<translation>Flüchtige Nachrichten aktivieren</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="387"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="386"/>
<source>one_one_infos_delete_history</source>
<translation>Verlauf löschen</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="392"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="391"/>
<source>one_one_infos_delete_history_toast_title</source>
<extracomment>Delete history ?</extracomment>
<translation>Verlauf löschen?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="394"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="393"/>
<source>one_one_infos_delete_history_toast_message</source>
<extracomment>All the messages will be removed from the chat room. Do you want to continue ?</extracomment>
<translation>Alle Nachrichten werden aus dem Chat entfernt. Möchten Sie fortfahren?</translation>
@ -4596,7 +4596,7 @@ Ablauf: %1</translation>
<context>
<name>ManageParticipants</name>
<message>
<location filename="../../view/Page/Layout/Chat/ManageParticipants.qml" line="45"/>
<location filename="../../view/Page/Layout/Chat/ManageParticipants.qml" line="44"/>
<source>group_infos_manage_participants</source>
<translation>Teilnehmer</translation>
</message>
@ -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="145"/>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="144"/>
<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="431"/>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="430"/>
<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="638"/>
<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="640"/>
<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="669"/>
<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="703"/>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="702"/>
<source>conversations_title</source>
<extracomment>Conversations</extracomment>
<translation>Konversationen</translation>

View file

@ -3337,138 +3337,138 @@ Only your correspondent can decrypt them.</translation>
<context>
<name>ConversationInfos</name>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="191"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="190"/>
<source>one_one_infos_call</source>
<extracomment>&quot;Appel&quot;</extracomment>
<translation>Call</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="205"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="204"/>
<source>one_one_infos_unmute</source>
<extracomment>&quot;Sourdine&quot;</extracomment>
<translation>Unmute</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="205"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="204"/>
<source>one_one_infos_mute</source>
<translation>Mute</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="272"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="271"/>
<source>group_infos_participants</source>
<translation>Participants (%1)</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="289"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="288"/>
<source>group_infos_media_docs</source>
<extracomment>Medias &amp; documents</extracomment>
<translation>Medias &amp; documents</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="295"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="294"/>
<source>group_infos_shared_medias</source>
<extracomment>Shared medias</extracomment>
<translation>Shared medias</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="306"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="305"/>
<source>group_infos_shared_docs</source>
<extracomment>Shared documents</extracomment>
<translation>Shared documents</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="319"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="318"/>
<source>group_infos_other_actions</source>
<extracomment>Other actions</extracomment>
<translation>Other actions</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="325"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="324"/>
<source>group_infos_ephemerals</source>
<translation>Ephemeral messages : </translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="325"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="324"/>
<source>group_infos_enable_ephemerals</source>
<translation>Enable ephemeral messages</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="227"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="226"/>
<source>group_infos_meeting</source>
<extracomment>Schedule a meeting</extracomment>
<translation>Schedule a meeting</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="336"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="335"/>
<source>group_infos_leave_room</source>
<extracomment>Leave chat room</extracomment>
<translation>Leave Chat Room</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="341"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="340"/>
<source>group_infos_leave_room_toast_title</source>
<extracomment>Leave Chat Room ?</extracomment>
<translation>Leave Chat Room ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="343"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="342"/>
<source>group_infos_leave_room_toast_message</source>
<extracomment>All the messages will be removed from the chat room. Do you want to continue ?</extracomment>
<translation>All the messages will be removed from the chat room. Do you want to continue ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="356"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="355"/>
<source>group_infos_delete_history</source>
<extracomment>Delete history</extracomment>
<translation>Delete history</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="361"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="360"/>
<source>group_infos_delete_history_toast_title</source>
<extracomment>Delete history ?</extracomment>
<translation>Delete history ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="363"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="362"/>
<source>group_infos_delete_history_toast_message</source>
<extracomment>All the messages will be removed from the chat room. Do you want to continue ?</extracomment>
<translation>All the messages will be removed from the chat room. Do you want to continue ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="230"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="229"/>
<source>one_one_infos_open_contact</source>
<extracomment>Show contact</extracomment>
<translation>Show contact</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="232"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="231"/>
<source>one_one_infos_create_contact</source>
<extracomment>Create contact</extracomment>
<translation>Create contact</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="377"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="376"/>
<source>one_one_infos_ephemerals</source>
<translation>Ephemeral messages : </translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="377"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="376"/>
<source>one_one_infos_enable_ephemerals</source>
<translation>Enable ephemeral messages</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="387"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="386"/>
<source>one_one_infos_delete_history</source>
<translation>Delete history</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="392"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="391"/>
<source>one_one_infos_delete_history_toast_title</source>
<extracomment>Delete history ?</extracomment>
<translation>Delete history ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="394"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="393"/>
<source>one_one_infos_delete_history_toast_message</source>
<extracomment>All the messages will be removed from the chat room. Do you want to continue ?</extracomment>
<translation>All the messages will be removed from the chat room. Do you want to continue ?</translation>
@ -4494,7 +4494,7 @@ Expiration : %1</translation>
<context>
<name>ManageParticipants</name>
<message>
<location filename="../../view/Page/Layout/Chat/ManageParticipants.qml" line="45"/>
<location filename="../../view/Page/Layout/Chat/ManageParticipants.qml" line="44"/>
<source>group_infos_manage_participants</source>
<translation>Participants</translation>
</message>
@ -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="145"/>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="144"/>
<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="431"/>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="430"/>
<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="638"/>
<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="640"/>
<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="669"/>
<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="703"/>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="702"/>
<source>conversations_title</source>
<extracomment>Conversations</extracomment>
<translation>Conversations</translation>

View file

@ -3332,138 +3332,138 @@ en bout. Seul votre correspondant peut les déchiffrer.</translation>
<context>
<name>ConversationInfos</name>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="191"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="190"/>
<source>one_one_infos_call</source>
<extracomment>&quot;Appel&quot;</extracomment>
<translation>Appel</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="205"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="204"/>
<source>one_one_infos_unmute</source>
<extracomment>&quot;Sourdine&quot;</extracomment>
<translation>Réactiver les notifications</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="205"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="204"/>
<source>one_one_infos_mute</source>
<translation>Sourdine</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="272"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="271"/>
<source>group_infos_participants</source>
<translation>Participants (%1)</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="289"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="288"/>
<source>group_infos_media_docs</source>
<extracomment>Medias &amp; documents</extracomment>
<translation>Medias &amp; documents</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="295"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="294"/>
<source>group_infos_shared_medias</source>
<extracomment>Shared medias</extracomment>
<translation>Médias partagés</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="306"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="305"/>
<source>group_infos_shared_docs</source>
<extracomment>Shared documents</extracomment>
<translation>Documents partagés</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="319"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="318"/>
<source>group_infos_other_actions</source>
<extracomment>Other actions</extracomment>
<translation>Autres actions</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="325"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="324"/>
<source>group_infos_ephemerals</source>
<translation>Messages éphémères : </translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="325"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="324"/>
<source>group_infos_enable_ephemerals</source>
<translation>Activer les messages éphémères</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="227"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="226"/>
<source>group_infos_meeting</source>
<extracomment>Schedule a meeting</extracomment>
<translation>Programmer une réunion</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="336"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="335"/>
<source>group_infos_leave_room</source>
<extracomment>Leave chat room</extracomment>
<translation>Quitter la conversation</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="341"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="340"/>
<source>group_infos_leave_room_toast_title</source>
<extracomment>Leave Chat Room ?</extracomment>
<translation>Quitter la conversation ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="343"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="342"/>
<source>group_infos_leave_room_toast_message</source>
<extracomment>All the messages will be removed from the chat room. Do you want to continue ?</extracomment>
<translation>Vous ne recevrez ni pourrez envoyer des messages dans cette conversation, quitter ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="356"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="355"/>
<source>group_infos_delete_history</source>
<extracomment>Delete history</extracomment>
<translation>Supprimer l&apos;historique</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="361"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="360"/>
<source>group_infos_delete_history_toast_title</source>
<extracomment>Delete history ?</extracomment>
<translation>Supprimer l&apos;historique ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="363"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="362"/>
<source>group_infos_delete_history_toast_message</source>
<extracomment>All the messages will be removed from the chat room. Do you want to continue ?</extracomment>
<translation>Tous les messages seront supprimés. Souhaitez-vous continuer ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="230"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="229"/>
<source>one_one_infos_open_contact</source>
<extracomment>Show contact</extracomment>
<translation>Voir le contact</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="232"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="231"/>
<source>one_one_infos_create_contact</source>
<extracomment>Create contact</extracomment>
<translation>Créer un contact</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="377"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="376"/>
<source>one_one_infos_ephemerals</source>
<translation>Messages éphémères : </translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="377"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="376"/>
<source>one_one_infos_enable_ephemerals</source>
<translation>Activer les messages éphémères</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="387"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="386"/>
<source>one_one_infos_delete_history</source>
<translation>Supprimer l&apos;historique</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="392"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="391"/>
<source>one_one_infos_delete_history_toast_title</source>
<extracomment>Delete history ?</extracomment>
<translation>Supprimer l&apos;historique ?</translation>
</message>
<message>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="394"/>
<location filename="../../view/Page/Layout/Chat/ConversationInfos.qml" line="393"/>
<source>one_one_infos_delete_history_toast_message</source>
<extracomment>All the messages will be removed from the chat room. Do you want to continue ?</extracomment>
<translation>Tous les messages seront supprimés. Souhaitez-vous continuer ?</translation>
@ -4489,7 +4489,7 @@ Expiration : %1</translation>
<context>
<name>ManageParticipants</name>
<message>
<location filename="../../view/Page/Layout/Chat/ManageParticipants.qml" line="45"/>
<location filename="../../view/Page/Layout/Chat/ManageParticipants.qml" line="44"/>
<source>group_infos_manage_participants</source>
<translation>Participants</translation>
</message>
@ -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="145"/>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="144"/>
<source>unencrypted_conversation_warning</source>
<extracomment>This conversation is not encrypted !</extracomment>
<translation>Cette conversation n&apos;est pas chiffrée !</translation>
</message>
<message>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="431"/>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="430"/>
<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="638"/>
<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="640"/>
<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="669"/>
<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="703"/>
<location filename="../../view/Page/Form/Chat/SelectedChatView.qml" line="702"/>
<source>conversations_title</source>
<extracomment>Conversations</extracomment>
<translation>Conversations</translation>

View file

@ -7,8 +7,7 @@ import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils
Rectangle {
anchors.centerIn: parent
property EventLogGui eventLogGui
property var eventLogCore: eventLogGui.core
visible: eventLogCore.handled
visible: eventLogGui.core.handled
height: row.height + Utils.getSizeWithScreenRatio(15)
width: row.width + Utils.getSizeWithScreenRatio(15)
radius: Utils.getSizeWithScreenRatio(10)
@ -27,7 +26,7 @@ Rectangle {
}
Text {
id: message
text: eventLogCore.eventDetails
text: eventLogGui.core.eventDetails
font: Typography.p3
color: DefaultStyle.main2_400
}

View file

@ -53,8 +53,7 @@ FocusScope {
let addresses = [];
for (let i = 0; i < sourceList.length; ++i) {
const participantGui = sourceList[i]
const participantCore = participantGui.core
addresses.push(participantCore.sipAddress)
addresses.push(participantGui.core.sipAddress)
}
UtilsCpp.createGroupCall(mainItem.chat?.core.title, addresses)
}

View file

@ -13,11 +13,10 @@ import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils
ColumnLayout {
id: mainItem
property ChatGui chatGui
property var chatCore: chatGui.core
property var contactObj: chatGui ? UtilsCpp.findFriendByAddress(mainItem.chatCore.peerAddress) : null
property var contactObj: chatGui ? UtilsCpp.findFriendByAddress(mainItem.chatGui.core.peerAddress) : null
property FriendGui contact: contactObj ? contactObj.value : null
property bool isAppFriend: contact && contact.core.isAppFriend
property bool isGroup: chatCore && chatCore.isGroupChat
property bool isGroup: chatGui && chatGui.core.isGroupChat
spacing: 0
signal ephemeralSettingsRequested()
signal showSharedFilesRequested(bool showMedias)
@ -29,7 +28,7 @@ ColumnLayout {
Avatar {
Layout.alignment: Qt.AlignHCenter
contact: mainItem.contact
displayNameVal: mainItem.chatCore.avatarUri
displayNameVal: mainItem.chatGui.core.avatarUri
secured: mainItem.chatGui && mainItem.chatGui.core.isSecured
Layout.preferredWidth: Utils.getSizeWithScreenRatio(100)
Layout.preferredHeight: Utils.getSizeWithScreenRatio(100)
@ -51,7 +50,7 @@ ColumnLayout {
popup.contentItem: RowLayout {
Text {
id: chatroomaddress
text: chatCore?.chatRoomAddress || ""
text: chatGui?.core?.chatRoomAddress || ""
}
SmallButton {
icon.source: AppIcons.copy
@ -70,10 +69,10 @@ ColumnLayout {
RowLayout {
id: titleMainItem
property bool isEditingSubject: false
property bool canEditSubject: mainItem.chatCore.meAdmin && mainItem.chatCore.isGroupChat
property bool canEditSubject: mainItem.chatGui.core.meAdmin && mainItem.chatGui.core.isGroupChat
function saveSubject() {
mainItem.chatCore.lSetSubject(title.text)
mainItem.chatGui.core.lSetSubject(title.text)
}
Item {
@ -96,7 +95,7 @@ ColumnLayout {
anchors.margins: 6
font: Typography.p1
color: DefaultStyle.main2_700
text: mainItem.chatCore.title || ""
text: mainItem.chatGui.core.title || ""
enabled: titleMainItem.isEditingSubject
wrapMode: TextEdit.Wrap
horizontalAlignment: Text.AlignHCenter
@ -142,7 +141,7 @@ ColumnLayout {
Text {
font: Typography.p1
color: DefaultStyle.main2_700
text: mainItem.chatCore.title || ""
text: mainItem.chatGui.core.title || ""
}
}
@ -156,7 +155,7 @@ ColumnLayout {
Text {
font: Typography.p3
color: DefaultStyle.main2_700
text: SettingsCpp.hideSipAddresses ? UtilsCpp.getUsername(mainItem.chatCore.peerAddress) : mainItem.chatCore.peerAddress
text: SettingsCpp.hideSipAddresses ? UtilsCpp.getUsername(mainItem.chatGui.core.peerAddress) : mainItem.chatGui.core.peerAddress
Layout.alignment: Qt.AlignHCenter
Layout.topMargin: Utils.getSizeWithScreenRatio(5)
}
@ -171,7 +170,7 @@ ColumnLayout {
}
RowLayout {
visible: !mainItem.chatCore.isReadOnly
visible: !mainItem.chatGui.core.isReadOnly
spacing: Utils.getSizeWithScreenRatio(10)
Layout.alignment: Qt.AlignHCenter
Layout.topMargin: Utils.getSizeWithScreenRatio(30)
@ -200,11 +199,11 @@ ColumnLayout {
Layout.maximumWidth: Utils.getSizeWithScreenRatio(130)
button.icon.width: Utils.getSizeWithScreenRatio(24)
button.icon.height: Utils.getSizeWithScreenRatio(24)
button.icon.source: mainItem.chatCore.muted ? AppIcons.bell : AppIcons.bellSlash
button.icon.source: mainItem.chatGui.core.muted ? AppIcons.bell : AppIcons.bellSlash
//: "Sourdine"
label: mainItem.chatCore.muted ? qsTr("one_one_infos_unmute") : qsTr("one_one_infos_mute")
label: mainItem.chatGui.core.muted ? qsTr("one_one_infos_unmute") : qsTr("one_one_infos_mute")
button.onClicked: {
mainItem.chatCore.muted = !mainItem.chatCore.muted
mainItem.chatGui.core.muted = !mainItem.chatGui.core.muted
}
}
LabelButton {
@ -232,12 +231,12 @@ ColumnLayout {
: qsTr("one_one_infos_create_contact")
button.onClicked: {
if (mainItem.isGroup)
UtilsCpp.getMainWindow().scheduleMeeting(mainItem.chatCore.title, mainItem.chatCore.participantsAddresses)
UtilsCpp.getMainWindow().scheduleMeeting(mainItem.chatGui.core.title, mainItem.chatGui.core.participantsAddresses)
else {
if (mainItem.isAppFriend)
mainWindow.displayContactPage(mainItem.contact.core.defaultAddress)
else
mainWindow.displayCreateContactPage("",mainItem.chatCore.peerAddress)
mainWindow.displayCreateContactPage("",mainItem.chatGui.core.peerAddress)
}
}
}
@ -269,13 +268,13 @@ ColumnLayout {
active: mainItem.isGroup
sourceComponent: GroupChatInfoParticipants {
Layout.fillWidth: true
title: qsTr("group_infos_participants").arg(mainItem.chatCore.participants.length)
participants: mainItem.chatCore.participants
chatCore: mainItem.chatCore
title: qsTr("group_infos_participants").arg(mainItem.chatGui.core.participants.length)
participants: mainItem.chatGui.core.participants
chatGui: mainItem.chatGui
onManageParticipantsRequested: mainItem.manageParticipantsRequested()
}
Connections {
target: mainItem.chatCore
target: mainItem.chatGui.core
onParticipantsChanged : { // hacky reload to update intric height
participantLoader.active = false
participantLoader.active = true
@ -321,8 +320,8 @@ ColumnLayout {
? [
{
icon: AppIcons.clockCountDown,
visible: !mainItem.chatCore.isReadOnly,
text: mainItem.chatCore.ephemeralEnabled ? qsTr("group_infos_ephemerals")+UtilsCpp.getEphemeralFormatedTime(mainItem.chatCore.ephemeralLifetime) : qsTr("group_infos_enable_ephemerals"),
visible: !mainItem.chatGui.core.isReadOnly,
text: mainItem.chatGui.core.ephemeralEnabled ? qsTr("group_infos_ephemerals")+UtilsCpp.getEphemeralFormatedTime(mainItem.chatGui.core.ephemeralLifetime) : qsTr("group_infos_enable_ephemerals"),
color: DefaultStyle.main2_600,
showRightArrow: false,
action: function() {
@ -331,7 +330,7 @@ ColumnLayout {
},
{
icon: AppIcons.signOut,
visible: !mainItem.chatCore.isReadOnly,
visible: !mainItem.chatGui.core.isReadOnly,
//: Leave chat room
text: qsTr("group_infos_leave_room"),
color: DefaultStyle.main2_600,
@ -344,7 +343,7 @@ ColumnLayout {
"",
function(confirmed) {
if (confirmed) {
mainItem.chatCore.lLeave()
mainItem.chatGui.core.lLeave()
}
})
}
@ -364,7 +363,7 @@ ColumnLayout {
"",
function(confirmed) {
if (confirmed) {
mainItem.chatCore.lDeleteHistory()
mainItem.chatGui.core.lDeleteHistory()
}
})
}
@ -373,8 +372,8 @@ ColumnLayout {
: [
{
icon: AppIcons.clockCountDown,
visible: !mainItem.chatCore.isReadOnly,
text: mainItem.chatCore.ephemeralEnabled ? qsTr("one_one_infos_ephemerals")+UtilsCpp.getEphemeralFormatedTime(mainItem.chatCore.ephemeralLifetime) : qsTr("one_one_infos_enable_ephemerals"),
visible: !mainItem.chatGui.core.isReadOnly,
text: mainItem.chatGui.core.ephemeralEnabled ? qsTr("one_one_infos_ephemerals")+UtilsCpp.getEphemeralFormatedTime(mainItem.chatGui.core.ephemeralLifetime) : qsTr("one_one_infos_enable_ephemerals"),
color: DefaultStyle.main2_600,
showRightArrow: false,
action: function() {
@ -395,7 +394,7 @@ ColumnLayout {
"",
function(confirmed) {
if (confirmed) {
mainItem.chatCore.lDeleteHistory()
mainItem.chatGui.core.lDeleteHistory()
}
})
}

View file

@ -15,10 +15,10 @@ ColumnLayout {
id: mainItem
property var title: String
property var participants
property var chatCore
property ChatGui chatGui
signal manageParticipantsRequested()
property bool isGroupEditable: chatCore && chatCore.meAdmin && !chatCore.isReadOnly
property bool isGroupEditable: chatGui && chatGui.core.meAdmin && !chatGui.core.isReadOnly
RowLayout {
Text {
@ -145,7 +145,7 @@ ColumnLayout {
icon.height: Utils.getSizeWithScreenRatio(32)
onClicked: {
detailOptions.close()
mainItem.chatCore.lToggleParticipantAdminStatusAtIndex(index)
mainItem.chatGui.core.lToggleParticipantAdminStatusAtIndex(index)
}
}
IconLabelButton {
@ -182,7 +182,7 @@ ColumnLayout {
"",
function(confirmed) {
if (confirmed) {
mainItem.chatCore.lRemoveParticipantAtIndex(index)
mainItem.chatGui.core.lRemoveParticipantAtIndex(index)
}
})
}

View file

@ -13,7 +13,6 @@ import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils
Rectangle {
id: mainItem
property ChatGui chatGui
property var chatCore: chatGui.core
Layout.fillHeight: true
Layout.fillWidth: true
Layout.topMargin: Utils.getSizeWithScreenRatio(9)
@ -37,7 +36,7 @@ Rectangle {
style: ButtonStyle.noBackground
icon.source: AppIcons.leftArrow
onClicked: {
mainItem.chatCore.lSetParticipantsAddresses(manageParticipantsLayout.selectedParticipants)
mainItem.chatGui.core.lSetParticipantsAddresses(manageParticipantsLayout.selectedParticipants)
mainItem.done()
}
}
@ -56,11 +55,11 @@ Rectangle {
Layout.topMargin: Utils.getSizeWithScreenRatio(9)
Layout.bottomMargin: Utils.getSizeWithScreenRatio(17)
Layout.alignment: Qt.AlignVCenter
selectedParticipants: mainItem.chatCore.participantsAddresses
selectedParticipants: mainItem.chatGui.core.participantsAddresses
focus: true
onVisibleChanged: {
if (visible)
selectedParticipants = mainItem.chatCore.participantsAddresses
selectedParticipants = mainItem.chatGui.core.participantsAddresses
}
}
Item {